Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Dict Str Str Str Call NameLoad Str NameLoad Assign NameStore Dict Str Str Str Str Str Str ListLoad NameLoad ListLoad Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A mock oslo_utils uuidutils neutron.agent.l3 ha_router neutron.tests base N/A _uuid N/A uuidutils generate_uuid TestBasicRouterOperations N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestBasicRouterOperations self setUp N/A _create_router N/A N/A self router N/A None kwargs N/A N/A N/A router N/A N/A router N/A N/A mock MagicMock N/A N/A self agent_conf N/A N/A mock Mock N/A N/A self router_id N/A _uuid N/A N/A N/A ha_router HaRouter N/A N/A mock sentinel enqueue_state N/A self router_id router N/A self agent_conf N/A N/A mock sentinel driver kwargs N/A test_get_router_cidrs_returns_ha_cidrs N/A N/A self N/A N/A N/A ri N/A N/A self _create_router N/A device N/A N/A mock MagicMock N/A N/A N/A device name return_value eth2 N/A addresses N/A 15.1.2.2/24 15.1.2.3/32 N/A N/A ri _get_cidrs_from_keepalived N/A N/A mock MagicMock return_value addresses N/A N/A N/A self assertEqual N/A set addresses N/A N/A ri get_router_cidrs device N/A test__add_default_gw_virtual_route N/A N/A self N/A N/A N/A ri N/A N/A self _create_router N/A mock_instance N/A N/A mock Mock N/A N/A N/A mock_instance virtual_routes gateway_routes N/A N/A N/A ri _get_keepalived_instance N/A N/A mock Mock return_value mock_instance N/A subnets N/A N/A id cidr gateway_ip N/A _uuid 20.0.0.0/24 None N/A ex_gw_port N/A fixed_ips subnets extra_subnets id network_id mac_address N/A subnets N/A N/A _uuid N/A _uuid ca:fe:de:ad:be:ef N/A N/A N/A ri _add_default_gw_virtual_route ex_gw_port qg-abc N/A N/A N/A self assertEqual 0 N/A len N/A N/A mock_instance virtual_routes gateway_routes N/A N/A N/A subnets append N/A id cidr gateway_ip N/A _uuid 30.0.0.0/24 30.0.0.1 N/A N/A N/A ri _add_default_gw_virtual_route ex_gw_port qg-abc N/A N/A N/A self assertEqual 1 N/A len N/A N/A mock_instance virtual_routes gateway_routes N/A N/A