The neutron_taas.tests.unit.services.drivers.test_linux_sriov_utils
Module¶
-
class
neutron_taas.tests.unit.services.drivers.test_linux_sriov_utils.
TestSriovNicUtils
(*args, **kwds)¶ Bases:
neutron_taas.tests.base.TaasTestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_execute_sysfs_command_both_add
(**keywargs)¶
-
test_execute_sysfs_command_both_rem
(**keywargs)¶
-
test_execute_sysfs_command_egress_add
(**keywargs)¶
-
test_execute_sysfs_command_egress_rem
(**keywargs)¶
-
test_execute_sysfs_command_ingress_add
(**keywargs)¶
-
test_execute_sysfs_command_ingress_rem
(**keywargs)¶
-
test_execute_sysfs_command_not_both_vf_to_vf_all_vlans_False
(**keywargs)¶
-
test_get_ifname_by_pci_address
(**keywargs)¶
-
test_get_ifname_by_pci_address_no_dev_info
(**keywargs)¶
-
test_get_list_from_ranges_str
()¶
-
test_get_mac_by_pci_address
(**keywargs)¶
-
test_get_mac_by_pci_address_no_content
(**keywargs)¶
-
test_get_mac_by_pci_address_wrong_dev_path
(**keywargs)¶
-
test_get_net_name_by_vf_pci_address
(**keywargs)¶
-
test_get_ranges_str_from_list
()¶
-
test_get_sriov_port_params
(**keywargs)¶
-
test_get_sriov_port_params_no_pci_slot
(**keywargs)¶
-
test_get_sysfs_netdev_path_with_pf_interface
()¶
-
test_get_sysfs_netdev_path_without_pf_interface
()¶
-
test_get_vf_num_by_pci_address
(**keywargs)¶
-
test_get_vf_num_by_pci_address_neg
()¶
-