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.
Reviewed: https:/ /review. openstack. org/345915 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=af8ca1bca66 57f7152eeb0ca55 bc7f3a0aea2301
Committed: https:/
Submitter: Jenkins
Branch: master
commit af8ca1bca6657f7 152eeb0ca55bc7f 3a0aea2301
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. dscp_marking requires the ofport to be present.
delete_
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: I77f632fdc7d612 267af9a4a3bf0f7 4288696332b
Closes-bug: #1603443