Comment 6 for bug 1719327

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

Reviewed: https://review.openstack.org/519066
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7b2f7a1f96787a490d56289c55b8ad7cb5ac030e
Submitter: Zuul
Branch: master

commit 7b2f7a1f96787a490d56289c55b8ad7cb5ac030e
Author: Moshe Levi <email address hidden>
Date: Sun Nov 12 08:55:15 2017 +0200

    Don't overwrite binding-profile

    Currently when providing existing direct port, nova-compute
    will overwrite the binding-profile information with pci_vendor_info
    and pci_slot. The binding-profile will be used to request
    NIC capabilities for SR-IOV ports [1]. This also allows to distinguish
    which neutron mechanism driver will bind the port [2].

    This patch updates the behaviour that on update port it will update,
    rather than overwrite, the binding-profile information with
    pci_vendor_info and pci_slot. And on unbind port it will remove
    only the pci_vendor_info and pci_slot from the port binding-profile
    rather than unsetting the entire field.

    [1] https://review.openstack.org/#/c/435954/
    [2] https://review.openstack.org/#/c/499203/

    Closes-Bug: #1719327

    Change-Id: Id847949b4761d51a14e5c2f39552f60a47889aa9