Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad NameLoad NameLoad Num Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad Str AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr keyword NameLoad keyword Str NameStore body Assign NameStore ListLoad Dict Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Dict Str Dict AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad Str AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Num Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Assign NameStore ListLoad Dict Str Str Str Str With Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad NameStore body Assign NameStore Dict Str Dict AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore ListLoad Dict Str Str Dict Str Str NameLoad Str Assign NameStore Dict Str Dict AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword TupleLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Dict AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list decorator_list
N/A neutron_lib.api validators oslo_config cfg webob exc web_exc neutron.db allowedaddresspairs_db addr_pair_db neutron.db db_base_plugin_v2 neutron.db portsecurity_db neutron.extensions allowedaddresspairs addr_pair neutron.extensions portsecurity psec neutron.extensions securitygroup secgroup neutron manager neutron.tests.unit.db test_db_base_plugin_v2 N/A DB_PLUGIN_KLASS neutron.tests.unit.db.test_allowedaddresspairs_db.AllowedAddressPairTestPlugin AllowedAddressPairTestCase N/A N/A test_db_base_plugin_v2 NeutronDbPluginV2TestCase N/A setUp N/A N/A self plugin ext_mgr N/A None None N/A N/A N/A N/A N/A super AllowedAddressPairTestCase self setUp plugin N/A plugin_obj N/A N/A N/A manager NeutronManager get_plugin N/A N/A self _skip_port_security N/A port-security N/A plugin_obj supported_extension_aliases N/A N/A AllowedAddressPairTestPlugin N/A N/A portsecurity_db PortSecurityDbMixin N/A db_base_plugin_v2 NeutronDbPluginV2 N/A addr_pair_db AllowedAddressPairsMixin N/A N/A Test plugin that implements necessary calls on create/delete port for
    associating ports with port security and allowed address pairs.
     N/A supported_extension_aliases N/A allowed-address-pairs create_port N/A N/A self context port N/A N/A N/A p N/A port N/A port N/A N/A N/A N/A context session begin subtransactions True N/A N/A neutron_db N/A N/A N/A super AllowedAddressPairTestPlugin self create_port context port N/A N/A N/A p update neutron_db N/A N/A N/A validators is_attr_set N/A N/A p get N/A addr_pair ADDRESS_PAIRS N/A N/A N/A N/A self _process_create_allowed_address_pairs context p N/A p N/A N/A addr_pair ADDRESS_PAIRS N/A N/A N/A p N/A N/A addr_pair ADDRESS_PAIRS None N/A N/A port N/A port N/A update_port N/A N/A self context id port N/A N/A N/A delete_addr_pairs N/A N/A self _check_update_deletes_allowed_address_pairs port N/A has_addr_pairs N/A N/A self _check_update_has_allowed_address_pairs port N/A N/A N/A N/A context session begin subtransactions True N/A N/A ret_port N/A N/A N/A super AllowedAddressPairTestPlugin self update_port context id port N/A N/A N/A N/A port N/A port pop fixed_ips None N/A N/A N/A ret_port update N/A port N/A port N/A N/A delete_addr_pairs has_addr_pairs N/A N/A N/A N/A self _delete_allowed_address_pairs context id N/A N/A N/A self _process_create_allowed_address_pairs context ret_port N/A ret_port N/A N/A addr_pair ADDRESS_PAIRS N/A ret_port N/A N/A AllowedAddressPairDBTestCase N/A AllowedAddressPairTestCase N/A setUp N/A N/A self plugin ext_mgr N/A None None N/A N/A plugin N/A plugin DB_PLUGIN_KLASS N/A N/A N/A N/A super AllowedAddressPairDBTestCase self setUp plugin plugin ext_mgr ext_mgr N/A N/A TestAllowedAddressPairs N/A AllowedAddressPairDBTestCase N/A test_create_port_allowed_address_pairs_bad_format N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A bad_values N/A False True 1.1 1 N/A value bad_values N/A N/A N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id expected_res_status N/A N/A web_exc HTTPBadRequest code arg_list N/A N/A addr_pair ADDRESS_PAIRS allowed_address_pairs value N/A test_create_port_allowed_address_pairs N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A N/A addr_pair ADDRESS_PAIRS allowed_address_pairs address_pairs N/A port N/A N/A self deserialize N/A self fmt res N/A N/A N/A self assertEqual N/A N/A port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_create_port_security_true_allowed_address_pairs N/A N/A self N/A N/A N/A N/A self _skip_port_security N/A N/A N/A N/A self skipTest Plugin does not implement port-security extension N/A N/A N/A self network net N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A port_security_enabled N/A addr_pair ADDRESS_PAIRS port_security_enabled True allowed_address_pairs address_pairs N/A port N/A N/A self deserialize N/A self fmt res N/A N/A N/A self assertTrue N/A N/A port N/A port N/A N/A psec PORTSECURITY N/A N/A N/A self assertEqual N/A N/A port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_create_port_security_false_allowed_address_pairs N/A N/A self N/A N/A N/A N/A self _skip_port_security N/A N/A N/A N/A self skipTest Plugin does not implement port-security extension N/A N/A N/A self network net N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A port_security_enabled N/A addr_pair ADDRESS_PAIRS port_security_enabled False allowed_address_pairs address_pairs N/A N/A N/A self deserialize N/A self fmt res N/A N/A N/A self assertEqual 409 N/A res status_int N/A address_pairs N/A N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A port_security_enabled N/A addr_pair ADDRESS_PAIRS port_security_enabled False allowed_address_pairs address_pairs N/A port N/A N/A self deserialize N/A self fmt res N/A N/A N/A self assertFalse N/A N/A port N/A port N/A N/A psec PORTSECURITY N/A N/A N/A self assertEqual N/A N/A port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_create_port_bad_mac N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address ip_address invalid_mac 10.0.0.1 N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A test_create_port_bad_ip N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1222 N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A test_create_missing_ip_field N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address 00:00:00:00:00:01 N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A test_create_duplicate_mac_ip N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A test_more_than_max_allowed_address_pair N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_default max_allowed_address_pair 3 N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A mac_address ip_address 00:00:00:00:00:02 10.0.0.2 N/A mac_address ip_address 00:00:00:00:00:03 10.0.0.3 N/A mac_address ip_address 00:00:00:00:00:04 10.0.0.4 N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A test_equal_to_max_allowed_address_pair N/A N/A self N/A N/A N/A N/A N/A N/A cfg CONF set_default max_allowed_address_pair 3 N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A mac_address ip_address 00:00:00:00:00:02 10.0.0.2 N/A mac_address ip_address 00:00:00:00:00:03 10.0.0.3 N/A N/A N/A self _create_port_with_address_pairs address_pairs 201 N/A test_create_overlap_with_fixed_ip N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.2 N/A N/A N/A self network network N/A N/A N/A N/A self subnet network network cidr 10.0.0.0/24 subnet N/A N/A fixed_ips N/A N/A subnet_id ip_address N/A N/A subnet N/A subnet N/A id 10.0.0.2 N/A res N/A N/A self _create_port N/A self fmt N/A N/A network N/A network N/A id arg_list N/A N/A addr_pair ADDRESS_PAIRS fixed_ips allowed_address_pairs address_pairs fixed_ips fixed_ips N/A N/A N/A self assertEqual N/A res status_int 201 N/A port N/A N/A self deserialize N/A self fmt res N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_create_port_extra_args N/A N/A self N/A N/A N/A address_pairs N/A N/A mac_address ip_address icbb 00:00:00:00:00:01 10.0.0.1 agreed N/A N/A N/A self _create_port_with_address_pairs address_pairs 400 N/A _create_port_with_address_pairs N/A N/A self address_pairs ret_code N/A N/A N/A N/A N/A self network net N/A N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A N/A addr_pair ADDRESS_PAIRS allowed_address_pairs address_pairs N/A port N/A N/A self deserialize N/A self fmt res N/A N/A N/A self assertEqual N/A res status_int ret_code N/A N/A ret_code 201 N/A N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_update_add_address_pairs N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id N/A port N/A N/A self deserialize N/A self fmt res N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A update_port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A req N/A N/A self new_update_request ports update_port N/A N/A port N/A port N/A id N/A port N/A N/A self deserialize N/A self fmt N/A N/A req get_response N/A self api N/A N/A N/A self assertEqual N/A N/A port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A test_create_address_gets_port_mac N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A address_pairs N/A N/A ip_address 23.23.23.23 N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A port_security_enabled N/A addr_pair ADDRESS_PAIRS allowed_address_pairs address_pairs N/A port N/A N/A N/A self deserialize N/A self fmt res N/A port N/A port_addr_mac N/A N/A N/A port N/A N/A addr_pair ADDRESS_PAIRS N/A 0 N/A mac_address N/A N/A N/A self assertEqual port_addr_mac N/A port N/A mac_address N/A N/A N/A self _delete ports N/A port N/A id N/A test_update_port_security_off_address_pairs N/A N/A self N/A N/A N/A N/A self _skip_port_security N/A N/A N/A N/A self skipTest Plugin does not implement port-security extension N/A N/A N/A self network net N/A N/A N/A N/A self subnet network net subnet N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A N/A N/A self port subnet subnet arg_list N/A N/A psec PORTSECURITY N/A addr_pair ADDRESS_PAIRS N/A secgroup SECURITYGROUPS port_security_enabled True allowed_address_pairs address_pairs security_groups N/A port N/A N/A update_port N/A port N/A N/A psec PORTSECURITY False N/A req N/A N/A self new_update_request ports update_port N/A N/A port N/A port N/A id N/A res N/A N/A req get_response N/A self api N/A N/A N/A self assertEqual 409 N/A res status_int N/A test_update_with_none_and_own_mac_for_duplicate_ip N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id N/A port N/A N/A self deserialize N/A self fmt res N/A mac_address N/A N/A port N/A port N/A mac_address N/A address_pairs N/A N/A ip_address 10.0.0.1 N/A mac_address ip_address mac_address 10.0.0.1 N/A update_port N/A port N/A N/A addr_pair ADDRESS_PAIRS address_pairs N/A req N/A N/A self new_update_request ports update_port N/A N/A port N/A port N/A id N/A res N/A N/A req get_response N/A self api N/A N/A N/A self assertEqual 400 N/A res status_int N/A test_create_port_remove_allowed_address_pairs_with_list N/A N/A self N/A N/A N/A N/A N/A self _test_create_port_remove_allowed_address_pairs N/A N/A test_create_port_remove_allowed_address_pairs_with_none N/A N/A self N/A N/A N/A N/A N/A self _test_create_port_remove_allowed_address_pairs None N/A _test_create_port_remove_allowed_address_pairs N/A N/A self update_value N/A N/A N/A N/A N/A self network net N/A N/A address_pairs N/A N/A mac_address ip_address 00:00:00:00:00:01 10.0.0.1 N/A res N/A N/A self _create_port N/A self fmt N/A N/A net N/A network N/A id arg_list N/A N/A addr_pair ADDRESS_PAIRS allowed_address_pairs address_pairs N/A port N/A N/A self deserialize N/A self fmt res N/A update_port N/A port N/A N/A addr_pair ADDRESS_PAIRS update_value N/A req N/A N/A self new_update_request ports update_port N/A N/A port N/A port N/A id N/A port N/A N/A self deserialize N/A self fmt N/A N/A req get_response N/A self api N/A N/A N/A self assertEqual N/A N/A N/A port N/A port N/A N/A addr_pair ADDRESS_PAIRS N/A N/A N/A self _delete ports N/A N/A port N/A port N/A id N/A N/A