Comment 2 for bug 1603443

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

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

commit af8ca1bca6657f7152eeb0ca55bc7f3a0aea2301
Author: David Shaughnessy <email address hidden>
Date: Fri Aug 19 17:29:44 2016 +0100

    Retain port info from DSCP rule creation.

    When a VM is deleted all info except the port number is removed.
    delete_dscp_marking requires the ofport to be present.
    This results in an exception being thrown when a port with
    the DSCP_Marking rule attached is deleted.

    This patch:
    - Stores the port info when the dscp_marking rule is updated
      or created.
    - Pops the stored info when the dscp_marking rule is removed
      from the port or the port is deleted.
    - Expands existing unit tests for the QoS Open vswitch driver
      to cover this scenario.

    Change-Id: I77f632fdc7d612267af9a4a3bf0f74288696332b
    Closes-bug: #1603443