]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Detect if iproute2 support SR-IOV commands
authorIrena Berezovsky <irenab@mellanox.com>
Mon, 18 Aug 2014 10:52:36 +0000 (13:52 +0300)
committerIrena Berezovsky <irenab@mellanox.com>
Wed, 29 Oct 2014 09:34:52 +0000 (11:34 +0200)
commit18b683a844e878b8b1dfbd656a22f4d5613f70c3
treee032addbdb45c7d810a8aadd453d3fff1c0055ed
parent5499bd5a38a1b03bd7ff56cd6bdde0a1c2922bc9
Detect if iproute2 support SR-IOV commands

Add sanity_check that 'ip link' command supports VF management and
link state changes of VF by parsing 'ip link help' command output.

Co-authored-by: Samer Deeb <samerd@mellanox.com>
Closes bug: 1349302

Change-Id: I5a72a9061a76c39960076f078905371f07069431
neutron/agent/linux/ip_link_support.py [new file with mode: 0644]
neutron/cmd/sanity/checks.py
neutron/cmd/sanity_check.py
neutron/tests/functional/sanity/test_sanity.py
neutron/tests/unit/agent/linux/test_ip_link_support.py [new file with mode: 0644]