Module Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad Assign NameStore ListLoad Str Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str NameLoad Str NameLoad Str NameLoad NameLoad Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword ListLoad Str Str keyword ListLoad Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad ListLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad ListLoad Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad NameLoad Str keyword NameLoad keyword Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Str keyword NameLoad keyword Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A sys mox3 mox neutronclient.neutron.v2_0.lb.v2 loadbalancer lb neutronclient.tests.unit test_cli20 CLITestV20LbLoadBalancerJSON N/A N/A test_cli20 CLITestV20Base N/A test_create_loadbalancer_with_mandatory_params N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A cmd N/A N/A lb CreateLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A name lbaas-loadbalancer-name N/A vip_subnet_id vip-subnet N/A my_id my-id N/A args N/A vip_subnet_id N/A position_names N/A vip_subnet_id N/A position_values N/A vip_subnet_id N/A N/A N/A self _test_create_resource resource cmd name my_id args position_names position_values cmd_resource cmd_resource N/A test_create_loadbalancer_with_all_params N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A cmd N/A N/A lb CreateLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A name lbaas-loadbalancer-name N/A description lbaas-loadbalancer-desc N/A flavor_id lbaas-loadbalancer-flavor N/A vip_subnet_id vip-subnet N/A my_id my-id N/A args N/A --admin-state-down --description description --name name --flavor flavor_id vip_subnet_id N/A position_names N/A admin_state_up description name flavor_id vip_subnet_id N/A position_values N/A False description name flavor_id vip_subnet_id N/A N/A N/A self _test_create_resource resource cmd name my_id args position_names position_values cmd_resource cmd_resource N/A test_list_loadbalancers N/A N/A self N/A N/A N/A resources loadbalancers N/A cmd_resources lbaas_loadbalancers N/A cmd N/A N/A lb ListLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_list_resources resources cmd True cmd_resources cmd_resources N/A test_list_loadbalancers_pagination N/A N/A self N/A N/A N/A resources loadbalancers N/A cmd_resources lbaas_loadbalancers N/A cmd N/A N/A lb ListLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_list_resources_with_pagination resources cmd cmd_resources cmd_resources N/A test_list_loadbalancers_sort N/A N/A self N/A N/A N/A resources loadbalancers N/A cmd_resources lbaas_loadbalancers N/A cmd N/A N/A lb ListLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_list_resources resources cmd sort_key N/A name id sort_dir N/A asc desc cmd_resources cmd_resources N/A test_list_loadbalancers_limit N/A N/A self N/A N/A N/A resources loadbalancers N/A cmd_resources lbaas_loadbalancers N/A cmd N/A N/A lb ListLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_list_resources resources cmd page_size 1000 cmd_resources cmd_resources N/A test_show_loadbalancer_id N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A cmd N/A N/A lb ShowLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A args N/A --fields id N/A self test_id N/A N/A N/A self _test_show_resource resource cmd N/A self test_id args N/A id cmd_resource cmd_resource N/A test_show_loadbalancer_id_name N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A cmd N/A N/A lb ShowLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A args N/A --fields id --fields name N/A self test_id N/A N/A N/A self _test_show_resource resource cmd N/A self test_id args N/A id name cmd_resource cmd_resource N/A _test_update_lb N/A N/A self args expected_values N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A my_id myid N/A N/A N/A args insert 0 my_id N/A cmd N/A N/A lb UpdateLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_update_resource resource cmd my_id args expected_values cmd_resource cmd_resource N/A test_update_loadbalancer N/A N/A self N/A N/A N/A N/A N/A self _test_update_lb N/A --name newname N/A name newname N/A N/A N/A self _test_update_lb N/A --description check N/A description check N/A N/A N/A self _test_update_lb N/A --admin-state-up False N/A admin_state_up False N/A test_delete_loadbalancer N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd_resource lbaas_loadbalancer N/A cmd N/A N/A lb DeleteLoadBalancer N/A N/A test_cli20 MyApp N/A sys stdout None N/A my_id my-id N/A args N/A my_id N/A N/A N/A self _test_delete_resource resource cmd my_id args cmd_resource cmd_resource N/A test_retrieve_loadbalancer_stats N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd N/A N/A lb RetrieveLoadBalancerStats N/A N/A test_cli20 MyApp N/A sys stdout None N/A my_id N/A self test_id N/A fields N/A bytes_in bytes_out N/A args N/A --fields bytes_in --fields bytes_out my_id N/A N/A N/A N/A self mox StubOutWithMock cmd get_client N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self client httpclient request N/A N/A N/A N/A N/A N/A N/A cmd get_client MultipleTimes AndReturn N/A self client N/A query N/A N/A & join N/A N/A fields=%s field N/A field fields N/A expected_res N/A stats N/A bytes_in bytes_out 1234 4321 N/A resstr N/A N/A N/A self client serialize expected_res N/A path N/A getattr N/A self client lbaas_loadbalancer_path_stats N/A return_tup N/A N/A N/A test_cli20 MyResp 200 resstr N/A N/A N/A N/A N/A N/A N/A self client httpclient request N/A N/A test_cli20 end_url N/A path my_id query GET body None headers N/A N/A mox ContainsKeyValue X-Auth-Token N/A test_cli20 TOKEN AndReturn return_tup N/A N/A N/A N/A self mox ReplayAll N/A cmd_parser N/A N/A cmd get_parser N/A test_ resource N/A parsed_args N/A N/A cmd_parser parse_args args N/A N/A N/A cmd run parsed_args N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A _str N/A N/A N/A self fake_stdout make_string N/A N/A N/A self assertIn bytes_in _str N/A N/A N/A self assertIn 1234 _str N/A N/A N/A self assertIn bytes_out _str N/A N/A N/A self assertIn 4321 _str N/A test_get_loadbalancer_statuses N/A N/A self N/A N/A N/A resource loadbalancer N/A cmd N/A N/A lb RetrieveLoadBalancerStatus N/A N/A test_cli20 MyApp N/A sys stdout None N/A my_id N/A self test_id N/A args N/A my_id N/A N/A N/A N/A self mox StubOutWithMock cmd get_client N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self client httpclient request N/A N/A N/A N/A N/A N/A N/A cmd get_client MultipleTimes AndReturn N/A self client N/A expected_res N/A statuses N/A operating_status provisioning_status ONLINE ACTIVE N/A resstr N/A N/A N/A self client serialize expected_res N/A path N/A getattr N/A self client lbaas_loadbalancer_path_status N/A return_tup N/A N/A N/A test_cli20 MyResp 200 resstr N/A N/A N/A N/A N/A N/A N/A self client httpclient request N/A N/A test_cli20 end_url N/A path my_id GET body None headers N/A N/A mox ContainsKeyValue X-Auth-Token N/A test_cli20 TOKEN AndReturn return_tup N/A N/A N/A N/A self mox ReplayAll N/A cmd_parser N/A N/A cmd get_parser N/A test_ resource N/A parsed_args N/A N/A cmd_parser parse_args args N/A N/A N/A cmd run parsed_args N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A _str N/A N/A N/A self fake_stdout make_string N/A N/A N/A self assertIn operating_status _str N/A N/A N/A self assertIn ONLINE _str N/A N/A N/A self assertIn provisioning_status _str N/A N/A N/A self assertIn ACTIVE _str N/A N/A