commit 60edb4c9519543a04d5ccc73c8b5371123fefcd8
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.
Reviewed: https:/ /review. openstack. org/434680 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=60edb4c9519 543a04d5ccc73c8 b5371123fefcd8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 60edb4c9519543a 04d5ccc73c8b537 1123fefcd8
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.
Partial-Bug: #1665215 ab67c453cad691f 7658d107123
Change-Id: I498791614fd456