]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix the low level OVS driver to really do egress
authorMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 11 Aug 2015 11:51:16 +0000 (13:51 +0200)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Wed, 12 Aug 2015 09:37:45 +0000 (09:37 +0000)
commitd56fea0a39cbb53c36b0f7df3f7baef34588ec9a
tree90f4ce819dea8eb559ee7b51472b060edab29bce
parentb10f2280d7f099370ddabf61acc9630bb725f32e
Fix the low level OVS driver to really do egress

It seems that the Queue + QoS + linux-htb implementation was really
limiting ingress by default. So this patch switches the implementation
to the ovs ingress_policing_rate and ingress_policing_burst parameters
of the Interface table.

Later in time we may want to revise this, to make TC & queueing possible,
but this is good enough for egress limiting.

Also, removed the _update_bandwidth_limit del+set on OvS QoS driver for
the bandwidth limit rule update, since that's not needed anymore.

Change-Id: Ie802a235ae19bf679ba638563ac7377337448f2a
Partially-Implements: ml2-qos
neutron/agent/common/ovs_lib.py
neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py
neutron/tests/common/agents/l2_extensions.py
neutron/tests/functional/agent/l2/extensions/test_ovs_agent_qos_extension.py
neutron/tests/functional/agent/test_ovs_lib.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/extension_drivers/test_qos_driver.py