This allows segments looked up ahead of time to be passed
into NetworkContext objects and NetworkContext objects to
be passed into PortContext objects. This allows us to avoid
doing segments lookups for every PortContext construction
when handling a bunch of ports (e.g. in RPC handler).
Conflicts:
neutron/plugins/ml2/driver_context.py
Change-Id: Ib4c43a7894fe1285ecf4bdf9af5e5f1b93b0b39b
Partial-Bug: #1665215
(cherry picked from commit 604e598a7d43b8b3a260969de84af737a4988c4e)
Reviewed: https:/ /review. openstack. org/465180 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a2ae48c2cee 71d8a27f44c5d5c fbfbdacc1fee00
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit a2ae48c2cee71d8 a27f44c5d5cfbfb dacc1fee00
Author: Kevin Benton <email address hidden>
Date: Thu Apr 6 05:01:30 2017 -0700
Allow offloading lookups in driver contexts
This allows segments looked up ahead of time to be passed
into NetworkContext objects and NetworkContext objects to
be passed into PortContext objects. This allows us to avoid
doing segments lookups for every PortContext construction
when handling a bunch of ports (e.g. in RPC handler).
Conflicts: plugins/ ml2/driver_ context. py
neutron/
Change-Id: Ib4c43a7894fe12 85ecf4bdf9af5e5 f1b93b0b39b 3a260969de84af7 37a4988c4e)
Partial-Bug: #1665215
(cherry picked from commit 604e598a7d43b8b