]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
sriov: implement spoofchecking configuration
authorRoman Bogorodskiy <rbogorodskiy@mirantis.com>
Thu, 16 Apr 2015 07:07:55 +0000 (09:07 +0200)
committerRoman Bogorodskiy <rbogorodskiy@mirantis.com>
Wed, 29 Jul 2015 17:38:25 +0000 (19:38 +0200)
commitaa2236a8bf4e7d2bc1d8cf38a18ea8de067fb7c6
treeef64a01ab43e678915808122d9d17eb48117b3d4
parente96172e7a210d7f3fdecbe2e962a1890c08df20d
sriov: implement spoofchecking configuration

- Make sriov agent to set the spoofchecking on VFs
  according to port_security_enabled attribute of the port.
- Extend vf management sanity check to probe spoof checking
  capability

Implements: blueprint sriov-spoofchk
Change-Id: I4d1060be26ee6cbd7d766c2bde364f694533de69
neutron/cmd/sanity/checks.py
neutron/plugins/ml2/drivers/mech_sriov/agent/eswitch_manager.py
neutron/plugins/ml2/drivers/mech_sriov/agent/pci_lib.py
neutron/plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py
neutron/tests/unit/agent/linux/test_ip_link_support.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/test_eswitch_manager.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/test_pci_lib.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/agent/test_sriov_nic_agent.py