Module Import alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Str With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword NameLoad keyword TupleLoad Str Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword NameLoad keyword TupleLoad Str Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list decorator_list
N/A N/A webob.exc networking_cisco.plugins.ml2.drivers.cisco.n1kv constants n1kv_const networking_cisco.plugins.ml2.drivers.cisco.n1kv exceptions n1kv_exc networking_cisco.plugins.ml2.drivers.cisco.n1kv n1kv_client networking_cisco.plugins.ml2.drivers.cisco.n1kv n1kv_db networking_cisco.plugins.ml2.drivers.cisco.n1kv policy_profile_service networking_cisco.tests.unit.ml2.drivers.cisco.n1kv test_cisco_n1kv_mech neutron.extensions portbindings neutron.plugins.ml2 config ml2_config neutron.tests.unit.db test_db_base_plugin_v2 TestN1KVMechDriverPortsV2 N/A N/A test_db_base_plugin_v2 TestPortsV2 N/A test_cisco_n1kv_mech TestN1KVMechanismDriver N/A N/A VIF_TYPE N/A portbindings VIF_TYPE_OVS N/A HAS_PORT_FILTER True setUp N/A N/A self N/A N/A N/A N/A self load_policy_profile_extension True N/A N/A N/A N/A super TestN1KVMechDriverPortsV2 self setUp N/A pp N/A N/A policy_profile_service PolicyProfilePlugin N/A N/A N/A pp _populate_policy_profiles N/A test_create_port_with_default_n1kv_policy_profile_id N/A N/A self restrict_policy_profiles N/A False N/A N/A Test port create without passing policy profile id. N/A N/A N/A N/A N/A ml2_config cfg CONF set_override restrict_policy_profiles restrict_policy_profiles ml2_cisco_n1kv N/A N/A N/A self port port N/A N/A pp N/A N/A n1kv_db get_policy_profile_by_name N/A test_cisco_n1kv_mech DEFAULT_PP N/A profile_binding N/A N/A n1kv_db get_policy_binding N/A N/A port N/A port N/A id N/A N/A N/A self assertEqual N/A profile_binding profile_id N/A pp N/A id N/A port_tenant N/A N/A port N/A port N/A tenant_id N/A N/A N/A self assert_profile_binding_exists binding policy_profile_bindings tenant_id port_tenant profile_id N/A pp N/A id N/A test_create_port_with_default_n1kv_policy_profile_id_restricted N/A N/A self N/A N/A N/A 
        Test port creation with default policy profile, with restricted access
        to policy profiles.

         N/A N/A N/A self test_create_port_with_default_n1kv_policy_profile_id restrict_policy_profiles True N/A test_create_port_non_default_profile_restricted N/A N/A self N/A N/A N/A 
        Test port creation with a test policy profile, and restricted
        access to policy profiles.

         N/A port_profiles N/A N/A N/A N/A n1kv_client Client list_port_profiles N/A test_port_profile N/A N/A port_profiles N/A N/A test_cisco_n1kv_mech TEST_PP N/A properties N/A N/A N/A N/A N/A ml2_config cfg CONF set_override restrict_policy_profiles True ml2_cisco_n1kv N/A N/A N/A self network network N/A N/A N/A N/A self _create_port N/A self fmt N/A N/A network N/A network N/A id expected_res_status N/A N/A N/A webob exc HTTPBadRequest code tenant_id N/A N/A network N/A network N/A tenant_id set_context True arg_list N/A n1kv:profile N/A N/A n1kv_const N1KV_PROFILE N/A test_cisco_n1kv_mech TEST_PP N/A N/A N/A self assert_profile_binding_absent binding policy_profile_bindings tenant_id N/A N/A network N/A network N/A tenant_id profile_id N/A test_port_profile N/A id N/A port_data N/A port N/A network_id tenant_id N/A n1kv_const N1KV_PROFILE N/A N/A network N/A network N/A id N/A self admin_tenant N/A test_cisco_n1kv_mech TEST_PP N/A N/A N/A self create_resource resource ports data port_data tenant_id N/A self admin_tenant is_admin True expected_status N/A N/A N/A webob exc HTTPCreated code api N/A self api N/A N/A N/A self assert_profile_binding_exists binding policy_profile_bindings tenant_id N/A self admin_tenant profile_id N/A test_port_profile N/A id N/A test_create_port_non_default_profile_unrestricted N/A N/A self N/A N/A N/A 
        Test port creation with a test policy profile, and unrestricted
        access to policy profiles.

         N/A port_profiles N/A N/A N/A N/A n1kv_client Client list_port_profiles N/A test_port_profile N/A N/A port_profiles N/A N/A test_cisco_n1kv_mech TEST_PP N/A properties N/A N/A N/A N/A N/A ml2_config cfg CONF set_override restrict_policy_profiles False ml2_cisco_n1kv N/A N/A N/A self network network N/A 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 expected_res_status N/A N/A N/A webob exc HTTPCreated code tenant_id N/A N/A network N/A network N/A tenant_id set_context True arg_list N/A n1kv:profile N/A N/A n1kv_const N1KV_PROFILE N/A test_cisco_n1kv_mech TEST_PP N/A port N/A N/A self deserialize N/A self fmt res N/A port_tenant N/A N/A port N/A port N/A tenant_id N/A N/A N/A self assert_profile_binding_exists binding policy_profile_bindings tenant_id port_tenant profile_id N/A test_port_profile N/A id N/A test_delete_port_with_default_n1kv_policy_profile_id N/A N/A self N/A N/A N/A Test port delete without passing policy profile id. N/A N/A N/A self network network N/A 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 N/A N/A N/A webob exc HTTPCreated code tenant_id N/A N/A network N/A network N/A tenant_id set_context True N/A port N/A N/A self deserialize N/A self fmt res N/A req N/A N/A self new_delete_request ports N/A N/A port N/A port N/A id N/A N/A N/A req get_response N/A self api N/A N/A N/A self assertRaises N/A n1kv_exc PortBindingNotFound N/A n1kv_db get_policy_binding N/A N/A port N/A port N/A id N/A N/A