]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2
authorIrena Berezovsky <irenab@mellanox.com>
Wed, 16 Jul 2014 11:33:42 +0000 (14:33 +0300)
committerIrena Berezovsky <irenab@mellanox.com>
Wed, 23 Jul 2014 07:06:12 +0000 (10:06 +0300)
commitb4b1db30db41e418bc1774bb45c7d32be87e16be
tree58d1f008cdf427915e5ace3bbf04f4c571dcb48f
parent3c037a5869182b991d9257ba5831ed4bf5d132b4
ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2

This set of changes introduces SRIOV NIC Agent to run with
ML2 mechanism driver for SR-IOV capable NIC based switching.
This is the second part of a 2 part commit.

The review is submitted in two parts:
- Part 1
    The Mechanism Driver to support port binding for SR-IOV virtual
functions of SRIOV capable switching NICs.

- Part2 (this part)
    The SRIOV NIC Based L2 Agent.
Use  configurable list of mappings physical_networks to PF
        interfaces and configurable list of mappings PF interfaces
        to list of excluded VFs to get list of Virtual Functions that agent should manage.
Current implementation supports admin state updates.

Co-authored-by: Samer Deeb <samerd@mellanox.com>
Partially implements: blueprint ml2-sriov-nic-switch

Change-Id: I533ccee067935326d5837f90ba321a962e8dc2a6
14 files changed:
etc/neutron/plugins/ml2/ml2_conf_sriov.ini
neutron/plugins/sriovnicagent/__init__.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/common/__init__.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/common/config.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/common/exceptions.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/eswitch_manager.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/pci_lib.py [new file with mode: 0644]
neutron/plugins/sriovnicagent/sriov_nic_agent.py [new file with mode: 0644]
neutron/tests/unit/sriovnicagent/__init__.py [new file with mode: 0644]
neutron/tests/unit/sriovnicagent/test_eswitch_manager.py [new file with mode: 0644]
neutron/tests/unit/sriovnicagent/test_pci_lib.py [new file with mode: 0644]
neutron/tests/unit/sriovnicagent/test_sriov_agent_config.py [new file with mode: 0644]
neutron/tests/unit/sriovnicagent/test_sriov_neutron_agent.py [new file with mode: 0644]
setup.cfg