neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch
Zachary ee423e1fa0 [Qos] Fix residues of ovs in ingress bw limit
When we delete vm port with attached QoS policy,
it is just doing nothing if vif_port does not exist.

This is fine for egress bandwidth limit as it is configured
directly on vif_port in OVS.

For ingress bw limit however it uses additional records in
Openvswitch database: qos and queue. Those records are not
cleaned up in such case.

This patch also records port in self.ports in the case of
bandwidth limit rules, just as in the case of dscp rules.
Never execute port clear if vif_port not exists. Finally, ovs
driver can clean such qos and queue records

Change-Id: Iddeb49e1e6538a178ca468df0fdf9e0617ca4f1c
Closes-Bug: #1726732
2017-12-05 18:36:20 +08:00
..
agent [Qos] Fix residues of ovs in ingress bw limit 2017-12-05 18:36:20 +08:00
mech_driver ovs mech: bind only if user request switchdev 2017-09-12 15:01:50 +03:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00