commit 7502c26d385072c0e30a1849a579c44b37bbaf31
Author: Kevin Benton <email address hidden>
Date: Wed Feb 15 21:40:07 2017 -0800
Allow no network to be passed into PortContext
This allows a PortContext to be constructed without a network
passed in for cases like update_port_status that don't examine
bindings, segments, or any other network properties.
In the event that a mechanism driver is loaded that does reference
the 'network' property for these occasions, the context will look
up the network then in a late binding fashion.
This will improve the performance of the update_port_status call
from the provisioning blocks callback, which doesn't provide a
cached network to update_port_status.
Conflicts:
neutron/plugins/ml2/plugin.py
Partial-Bug: #1665215
Change-Id: I498791614fd456ab67c453cad691f7658d107123
(cherry picked from commit 60edb4c9519543a04d5ccc73c8b5371123fefcd8)
Reviewed: https:/ /review. openstack. org/439817 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7502c26d385 072c0e30a1849a5 79c44b37bbaf31
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 7502c26d385072c 0e30a1849a579c4 4b37bbaf31
Author: Kevin Benton <email address hidden>
Date: Wed Feb 15 21:40:07 2017 -0800
Allow no network to be passed into PortContext
This allows a PortContext to be constructed without a network
passed in for cases like update_port_status that don't examine
bindings, segments, or any other network properties.
In the event that a mechanism driver is loaded that does reference
the 'network' property for these occasions, the context will look
up the network then in a late binding fashion.
This will improve the performance of the update_port_status call
from the provisioning blocks callback, which doesn't provide a
cached network to update_port_status.
Conflicts: plugins/ ml2/plugin. py
neutron/
Partial-Bug: #1665215 ab67c453cad691f 7658d107123 04d5ccc73c8b537 1123fefcd8)
Change-Id: I498791614fd456
(cherry picked from commit 60edb4c9519543a