Comment 15 for bug 1665215

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

Reviewed: https://review.openstack.org/434680
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=60edb4c9519543a04d5ccc73c8b5371123fefcd8
Submitter: Jenkins
Branch: master

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.

    Partial-Bug: #1665215
    Change-Id: I498791614fd456ab67c453cad691f7658d107123