Speed up Neutron port bulk creation

Registered by Antoni Segura Puimedon on 2018-03-03

Currently creating 2000 ports takes about an hour due to the fact that while the API does present a bulk interface, internally it is broken into 2000 single operations. This should be treated as a single transaction all the way to sqlalchemy for optimal performance

Blueprint information

Status:
Complete
Approver:
Miguel Lavalle
Priority:
High
Drafter:
Antoni Segura Puimedon
Direction:
Needs approval
Assignee:
Nate Johnston
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon stein-rc1
Started by
Miguel Lavalle on 2018-09-24
Completed by
Miguel Lavalle on 2019-03-21

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/speed-up-neutron-bulk-creation,n,z

Addressed by: https://review.openstack.org/510830
    net_utils: Add a random mac generator

Addressed by: https://review.openstack.org/584061
    Incorporate capability for multiple mac generation

Addressed by: https://review.openstack.org/585028
    [WIP] Add bulk port creation of DB objects

Addressed by: https://review.openstack.org/592164
    Add bulk IP address assignment to ipam driver

Addressed by: https://review.openstack.org/594540
    [WIP] Utilize bulk port creation ops in ml2 plugin

Addressed by: https://review.openstack.org/613149
    Fix random_mac_generator to make proper EUI64s

Addressed by: https://review.openstack.org/624815
    [WIP] Utilize bulk port creation ops in ml2 plugin

Addressed by: https://review.openstack.org/644594
    [DNM] CI test

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.