Comment 22 for bug 1665215

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/newton)

Reviewed: https://review.openstack.org/439817
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7502c26d385072c0e30a1849a579c44b37bbaf31
Submitter: Jenkins
Branch: stable/newton

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)