]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
SR-IOV: Add Agent QoS driver to support bandwidth limit
authorMoshe Levi <moshele@mellanox.com>
Fri, 7 Aug 2015 14:35:48 +0000 (17:35 +0300)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Wed, 12 Aug 2015 09:37:02 +0000 (09:37 +0000)
commit995c35221bd9d51a71022902a00a1d9e23449787
tree26378e9a0f4417c3302f71365236c6ae5b3a8414
parentdf257dec56ae3c1f834b0c423ae55ec85164981a
SR-IOV: Add Agent QoS driver to support bandwidth limit

This patch adds SR-IOV agent driver which uses eswitch manager to set VF
rate limit. It also updates the agent to call port_delete api of the
extension manager to cleanup when port is deleted.

Partially-Implements: blueprint ml2-sriov-qos-with-bwlimiting
Change-Id: I364fc8158e502d4dcc3510d6157f12969961a11d
doc/source/devref/quality_of_service.rst
neutron/plugins/ml2/drivers/mech_sriov/agent/eswitch_manager.py
neutron/plugins/ml2/drivers/mech_sriov/agent/extension_drivers/__init__.py [new file with mode: 0755]
neutron/plugins/ml2/drivers/mech_sriov/agent/extension_drivers/qos_driver.py [new file with mode: 0755]
neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py
neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/extension_drivers/__init__.py [new file with mode: 0755]
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/extension_drivers/test_qos_driver.py [new file with mode: 0755]
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/test_eswitch_manager.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/test_sriov_nic_agent.py
setup.cfg