Module ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Assign NameStore Dict Str Str Call NameLoad ListLoad Str Str Call NameLoad ListLoad Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Assign NameStore Dict Str Str ListLoad Str ListLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A oslo_config cfg neutron.common utils n_utils neutron.plugins.ml2.drivers.mech_sriov.agent.common config neutron.plugins.ml2.drivers.mech_sriov.agent sriov_nic_agent agent neutron.tests base TestSriovAgentConfig N/A N/A base BaseTestCase N/A N/A EXCLUDE_DEVICES_LIST N/A p7p1:0000:07:00.1;0000:07:00.2 p3p1:0000:04:00.3 N/A EXCLUDE_DEVICES_LIST_INVALID N/A p7p2:0000:07:00.1;0000:07:00.2 N/A EXCLUDE_DEVICES_WITH_SPACES_LIST N/A p7p1: 0000:07:00.1 ; 0000:07:00.2 p3p1:0000:04:00.3  N/A EXCLUDE_DEVICES_WITH_SPACES_ERROR N/A p7p1 p3p1:0000:04:00.3  N/A EXCLUDE_DEVICES N/A p7p1 p3p1 N/A set N/A 0000:07:00.1 0000:07:00.2 N/A set N/A 0000:04:00.3 N/A DEVICE_MAPPING_LIST N/A physnet7:p7p1 physnet3:p3p1 N/A DEVICE_MAPPING_WITH_ERROR_LIST N/A physnet7 physnet3:p3p1 N/A DEVICE_MAPPING_WITH_SPACES_LIST N/A physnet7 : p7p1 physnet3 : p3p1  N/A DEVICE_MAPPING N/A physnet7 physnet3 N/A p7p1 N/A p3p1 test_defaults N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A config DEFAULT_DEVICE_MAPPINGS N/A N/A N/A cfg CONF SRIOV_NIC physical_device_mappings N/A N/A N/A self assertEqual N/A config DEFAULT_EXCLUDE_DEVICES N/A N/A N/A cfg CONF SRIOV_NIC exclude_devices N/A N/A N/A self assertEqual 2 N/A N/A N/A cfg CONF AGENT polling_interval N/A test_device_mappings N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override physical_device_mappings N/A self DEVICE_MAPPING_LIST SRIOV_NIC N/A device_mappings N/A N/A n_utils parse_mappings N/A N/A N/A cfg CONF SRIOV_NIC physical_device_mappings unique_keys False N/A N/A N/A self assertEqual N/A self DEVICE_MAPPING device_mappings N/A test_device_mappings_with_error N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override physical_device_mappings N/A self DEVICE_MAPPING_WITH_ERROR_LIST SRIOV_NIC N/A N/A N/A self assertRaises ValueError N/A n_utils parse_mappings N/A N/A N/A cfg CONF SRIOV_NIC physical_device_mappings unique_keys False N/A test_device_mappings_with_spaces N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override physical_device_mappings N/A self DEVICE_MAPPING_WITH_SPACES_LIST SRIOV_NIC N/A device_mappings N/A N/A n_utils parse_mappings N/A N/A N/A cfg CONF SRIOV_NIC physical_device_mappings unique_keys False N/A N/A N/A self assertEqual N/A self DEVICE_MAPPING device_mappings N/A test_exclude_devices N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override exclude_devices N/A self EXCLUDE_DEVICES_LIST SRIOV_NIC N/A exclude_devices N/A N/A config parse_exclude_devices N/A N/A N/A cfg CONF SRIOV_NIC exclude_devices N/A N/A N/A self assertEqual N/A self EXCLUDE_DEVICES exclude_devices N/A test_exclude_devices_with_spaces N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override exclude_devices N/A self EXCLUDE_DEVICES_WITH_SPACES_LIST SRIOV_NIC N/A exclude_devices N/A N/A config parse_exclude_devices N/A N/A N/A cfg CONF SRIOV_NIC exclude_devices N/A N/A N/A self assertEqual N/A self EXCLUDE_DEVICES exclude_devices N/A test_exclude_devices_with_error N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override exclude_devices N/A self EXCLUDE_DEVICES_WITH_SPACES_ERROR SRIOV_NIC N/A N/A N/A self assertRaises ValueError N/A config parse_exclude_devices N/A N/A N/A cfg CONF SRIOV_NIC exclude_devices N/A test_validate_config_ok N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override physical_device_mappings N/A self DEVICE_MAPPING_LIST SRIOV_NIC N/A N/A N/A N/A cfg CONF set_override exclude_devices N/A self EXCLUDE_DEVICES_LIST SRIOV_NIC N/A config_parser N/A N/A agent SriovNicAgentConfigParser N/A N/A N/A config_parser parse N/A device_mappings N/A config_parser device_mappings N/A exclude_devices N/A config_parser exclude_devices N/A N/A N/A self assertEqual N/A self EXCLUDE_DEVICES exclude_devices N/A N/A N/A self assertEqual N/A self DEVICE_MAPPING device_mappings N/A test_validate_config_fail N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_override physical_device_mappings N/A self DEVICE_MAPPING_LIST SRIOV_NIC N/A N/A N/A N/A cfg CONF set_override exclude_devices N/A self EXCLUDE_DEVICES_LIST_INVALID SRIOV_NIC N/A config_parser N/A N/A agent SriovNicAgentConfigParser N/A N/A N/A self assertRaises ValueError N/A config_parser parse N/A N/A