Module Import alias ImportFrom alias identifier ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict NameLoad ListLoad TupleLoad NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword ListLoad Num Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A mock oslo_db exception exc sqlalchemy.orm query N/A neutron.db.api db neutron.plugins.ml2.drivers type_vlan neutron.tests.unit testlib_api N/A TENANT_NET phys_net2 N/A VLAN_MIN 200 N/A VLAN_MAX 209 N/A VLAN_OUTSIDE 100 N/A NETWORK_VLAN_RANGES N/A TENANT_NET N/A N/A VLAN_MIN VLAN_MAX HelpersTest N/A N/A testlib_api SqlTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super HelpersTest self setUp N/A N/A self driver N/A N/A type_vlan VlanTypeDriver N/A N/A N/A self driver network_vlan_ranges NETWORK_VLAN_RANGES N/A N/A N/A N/A self driver _sync_vlan_allocations N/A N/A self session N/A N/A db get_session N/A check_raw_segment N/A N/A self expected observed N/A N/A N/A N/A key value N/A N/A expected items N/A N/A N/A N/A self assertEqual value N/A observed N/A key N/A test_primary_keys N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A set N/A physical_network vlan_id N/A N/A self driver primary_keys N/A test_allocate_specific_unallocated_segment_in_pools N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET vlan_id VLAN_MIN N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session expected N/A N/A N/A self check_raw_segment expected observed N/A test_allocate_specific_allocated_segment_in_pools N/A N/A self N/A N/A N/A raw_segment N/A dict physical_network TENANT_NET vlan_id VLAN_MIN N/A N/A N/A N/A self driver allocate_fully_specified_segment N/A self session raw_segment N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session raw_segment N/A N/A N/A self assertIsNone observed N/A test_allocate_specific_finally_allocated_segment_in_pools N/A N/A self N/A N/A N/A raw_segment N/A dict physical_network TENANT_NET vlan_id VLAN_MIN N/A N/A N/A N/A mock patch object N/A query Query update return_value 0 N/A N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session raw_segment N/A N/A N/A self assertIsNone observed N/A test_allocate_specific_unallocated_segment_outside_pools N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET vlan_id VLAN_OUTSIDE N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session expected N/A N/A N/A self check_raw_segment expected observed N/A test_allocate_specific_allocated_segment_outside_pools N/A N/A self N/A N/A N/A raw_segment N/A dict physical_network TENANT_NET vlan_id VLAN_OUTSIDE N/A N/A N/A N/A self driver allocate_fully_specified_segment N/A self session raw_segment N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session raw_segment N/A N/A N/A self assertIsNone observed N/A test_allocate_specific_finally_unallocated_segment_outside_pools N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET vlan_id VLAN_MIN N/A N/A N/A N/A mock patch object N/A N/A self driver model save N/A N/A observed N/A N/A N/A self driver allocate_fully_specified_segment N/A self session expected N/A N/A N/A self check_raw_segment expected observed N/A test_allocate_partial_segment_without_filters N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET N/A observed N/A N/A N/A self driver allocate_partially_specified_segment N/A self session N/A N/A N/A self check_raw_segment expected observed N/A test_allocate_partial_segment_with_filter N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET N/A observed N/A N/A N/A self driver allocate_partially_specified_segment N/A self session expected N/A N/A N/A self check_raw_segment expected observed N/A test_allocate_partial_segment_no_resource_available N/A N/A self N/A N/A N/A i N/A range VLAN_MIN N/A VLAN_MAX 1 N/A N/A N/A N/A N/A self driver allocate_partially_specified_segment N/A self session N/A observed N/A N/A N/A self driver allocate_partially_specified_segment N/A self session N/A N/A N/A self assertIsNone observed N/A test_allocate_partial_segment_outside_pools N/A N/A self N/A N/A N/A raw_segment N/A dict physical_network other_phys_net N/A observed N/A N/A N/A self driver allocate_partially_specified_segment N/A self session raw_segment N/A N/A N/A self assertIsNone observed N/A test_allocate_partial_segment_first_attempt_fails N/A N/A self N/A N/A N/A expected N/A dict physical_network TENANT_NET N/A N/A N/A N/A mock patch object N/A query Query update side_effect N/A 0 1 N/A N/A N/A N/A self assertRaises N/A exc RetryRequest N/A N/A self driver allocate_partially_specified_segment N/A self session expected N/A observed N/A N/A N/A self driver allocate_partially_specified_segment N/A self session expected N/A N/A N/A self check_raw_segment expected observed N/A N/A