Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Assign NameStore ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad 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 Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr keyword ListLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A neutron context neutron.db agents_db neutron.db db_base_plugin_v2 neutron.extensions agent neutron.extensions availability_zone az_ext neutron.tests.common helpers neutron.tests.unit.db test_db_base_plugin_v2 AZExtensionManager N/A object N/A get_resources N/A N/A self N/A N/A N/A N/A N/A N/A N/A agent RESOURCE_ATTRIBUTE_MAP N/A agents update N/A N/A az_ext EXTENDED_ATTRIBUTES_2_0 N/A agents N/A N/A N/A N/A N/A az_ext Availability_zone get_resources N/A N/A N/A agent Agent get_resources N/A get_actions N/A N/A self N/A N/A N/A N/A N/A get_request_extensions N/A N/A self N/A N/A N/A N/A N/A N/A AZTestPlugin N/A N/A db_base_plugin_v2 NeutronDbPluginV2 N/A agents_db AgentDbMixin N/A N/A supported_extension_aliases N/A agent availability_zone N/A AZTestCommon N/A N/A test_db_base_plugin_v2 NeutronDbPluginV2TestCase N/A _register_azs N/A N/A self N/A N/A N/A N/A self agent1 N/A N/A helpers register_dhcp_agent host host1 az nova1 N/A N/A self agent2 N/A N/A helpers register_dhcp_agent host host2 az nova2 N/A N/A self agent3 N/A N/A helpers register_l3_agent host host2 az nova2 N/A N/A self agent4 N/A N/A helpers register_l3_agent host host3 az nova3 N/A N/A self agent5 N/A N/A helpers register_l3_agent host host4 az nova2 N/A N/A TestAZAgentCase N/A AZTestCommon N/A setUp N/A N/A self N/A N/A N/A plugin neutron.tests.unit.extensions.test_availability_zone.AZTestPlugin N/A ext_mgr N/A AZExtensionManager N/A N/A N/A N/A super TestAZAgentCase self setUp plugin plugin ext_mgr ext_mgr N/A test_list_availability_zones N/A N/A self N/A N/A N/A N/A N/A self _register_azs N/A N/A N/A helpers set_agent_admin_state N/A N/A self agent3 N/A id admin_state_up False N/A N/A N/A helpers set_agent_admin_state N/A N/A self agent4 N/A id admin_state_up False N/A expected N/A N/A name resource state nova1 network available N/A name resource state nova2 network available N/A name resource state nova2 router available N/A name resource state nova3 router unavailable N/A res N/A N/A self _list availability_zones N/A azs N/A res N/A availability_zones N/A N/A N/A self assertItemsEqual expected azs N/A ctx N/A N/A context Context noadmin N/A res N/A N/A self _list availability_zones neutron_context ctx N/A azs N/A res N/A availability_zones N/A N/A N/A self assertItemsEqual expected azs N/A test_list_agent_with_az N/A N/A self N/A N/A N/A N/A N/A helpers register_dhcp_agent host host1 az nova1 N/A res N/A N/A self _list agents N/A N/A N/A self assertEqual nova1 N/A N/A N/A res N/A agents N/A 0 N/A availability_zone N/A test_validate_availability_zones N/A N/A self N/A N/A N/A N/A N/A self _register_azs N/A ctx N/A N/A context Context tenant_id N/A N/A N/A N/A self plugin validate_availability_zones ctx network N/A nova1 nova2 N/A N/A N/A N/A self plugin validate_availability_zones ctx router N/A nova2 nova3 N/A N/A N/A self assertRaises N/A az_ext AvailabilityZoneNotFound N/A N/A self plugin validate_availability_zones ctx router N/A nova1 N/A N/A TestAZNetworkCase N/A AZTestCommon N/A setUp N/A N/A self N/A N/A N/A plugin neutron.plugins.ml2.plugin.Ml2Plugin N/A ext_mgr N/A AZExtensionManager N/A N/A N/A N/A super TestAZNetworkCase self setUp plugin plugin ext_mgr ext_mgr N/A test_availability_zones_in_create_response N/A N/A self N/A N/A N/A N/A N/A self network net N/A N/A N/A N/A self assertIn availability_zone_hints N/A net N/A network N/A N/A N/A self assertIn availability_zones N/A net N/A network N/A test_create_network_with_az N/A N/A self N/A N/A N/A N/A N/A self _register_azs N/A az_hints N/A nova1 N/A N/A N/A self network availability_zone_hints az_hints net N/A N/A res N/A N/A self _show networks N/A N/A net N/A network N/A id N/A N/A N/A self assertItemsEqual az_hints N/A N/A res N/A network N/A availability_zone_hints N/A test_create_network_with_azs N/A N/A self N/A N/A N/A N/A N/A self _register_azs N/A az_hints N/A nova1 nova2 N/A N/A N/A self network availability_zone_hints az_hints net N/A N/A res N/A N/A self _show networks N/A N/A net N/A network N/A id N/A N/A N/A self assertItemsEqual az_hints N/A N/A res N/A network N/A availability_zone_hints N/A test_create_network_without_az 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 _show networks N/A N/A net N/A network N/A id N/A N/A N/A self assertEqual N/A N/A N/A res N/A network N/A availability_zone_hints N/A test_create_network_with_empty_az N/A N/A self N/A N/A N/A N/A N/A self network availability_zone_hints N/A net N/A N/A res N/A N/A self _show networks N/A N/A net N/A network N/A id N/A N/A N/A self assertEqual N/A N/A N/A res N/A network N/A availability_zone_hints N/A test_create_network_with_not_exist_az N/A N/A self N/A N/A N/A res N/A N/A self _create_network N/A self fmt net True availability_zone_hints N/A nova3 N/A N/A N/A self assertEqual 404 N/A res status_int N/A N/A