Module Import alias ImportFrom alias identifier ImportFrom alias 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 defaults body Expr 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 Str NameLoad 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 Expr 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 Str Assign NameStore ListLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad Dict Str Str Str Str Str Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list FunctionDef arguments args NameParam defaults body Expr 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 Str ListLoad Str Str Str Str Str Str Dict Str Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr 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 NameLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad ListLoad Dict Str Str Str Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr 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 decorator_list decorator_list
N/A N/A sys gbpclient.gbp.v2_0 groupbasedpolicy gbp gbpclient.tests.unit test_cli20 CLITestV20NetworkServicePolicyJSON N/A N/A test_cli20 CLITestV20Base N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CLITestV20NetworkServicePolicyJSON self setUp N/A test_create_nsp_with_mandatory_params N/A N/A self N/A N/A N/A network-service-policy-create with mandatory params. N/A resource network_service_policy N/A cmd N/A N/A gbp CreateNetworkServicePolicy N/A N/A test_cli20 MyApp N/A sys stdout None N/A name my-name N/A tenant_id my-tenant N/A my_id my-id N/A args N/A --tenant-id tenant_id name N/A position_names N/A name N/A position_values N/A name N/A N/A N/A self _test_create_resource resource cmd name my_id args position_names position_values tenant_id tenant_id N/A test_create_network_service_policy_with_all_params N/A N/A self N/A N/A N/A network-service-policy-create with all params. N/A resource network_service_policy N/A cmd N/A N/A gbp CreateNetworkServicePolicy N/A N/A test_cli20 MyApp N/A sys stdout None N/A name myname N/A tenant_id mytenant N/A description Mynsp N/A my_id someid N/A network_svc_params type=ip_single,name=vip,value=self_subnet N/A shared true N/A args N/A --tenant_id tenant_id --description description --network-service-params network_svc_params --shared shared name N/A position_names N/A name description network_service_params N/A net_params N/A N/A type name value ip_single vip self_subnet N/A position_values N/A name description net_params N/A N/A N/A self _test_create_resource resource cmd name my_id args position_names position_values tenant_id tenant_id shared shared N/A test_list_network_service_policies N/A N/A self N/A N/A N/A network-sercvice-policy-list. N/A resources network_service_policies N/A cmd N/A N/A gbp ListNetworkServicePolicy 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 N/A test_list_network_service_policies_with_pagination N/A N/A self N/A N/A N/A network-sercvice-policy-list. N/A resources network_service_policies N/A cmd N/A N/A gbp ListNetworkServicePolicy 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 N/A test_list_network_sercice_policies_sort N/A N/A self N/A N/A N/A network-service-policy-list --sort-key name --sort-key id
        --sort-key asc --sort-key desc
         N/A resources network_service_policies N/A cmd N/A N/A gbp ListNetworkServicePolicy 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 N/A test_list_network_service_polices_limit N/A N/A self N/A N/A N/A network-service-policy-list -P. N/A resources network_service_policies N/A cmd N/A N/A gbp ListNetworkServicePolicy 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 N/A test_show_network_service_policy_id N/A N/A self N/A N/A N/A network-service-policy-show test_id. N/A resource network_service_policy N/A cmd N/A N/A gbp ShowNetworkServicePolicy 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 N/A test_show_network_service_policy_id_name N/A N/A self N/A N/A N/A network-service-policy-show. N/A resource network_service_policy N/A cmd N/A N/A gbp ShowNetworkServicePolicy 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 N/A test_update_network_service_policy N/A N/A self N/A N/A N/A network-service-policy-update  myid --name myname --tags a b. N/A resource network_service_policy N/A cmd N/A N/A gbp UpdateNetworkServicePolicy N/A N/A test_cli20 MyApp N/A sys stdout None N/A N/A N/A self _test_update_resource resource cmd myid N/A myid --name myname --tags a b N/A name tags myname N/A a b N/A test_update_network_service_policy_with_allparams N/A N/A self N/A N/A N/A network-service-policy-update with all params. N/A resource network_service_policy N/A cmd N/A N/A gbp UpdateNetworkServicePolicy N/A N/A test_cli20 MyApp N/A sys stdout None N/A name nsp N/A description nsp description N/A my_id someid N/A network_svc_params type=ip_single,name=vip,value=self_subnet N/A shared true N/A args N/A my_id --name name --description description --network-service-params network_svc_params --shared shared --request-format json N/A params N/A name description network_service_params shared name description N/A N/A type name value ip_single vip self_subnet shared N/A N/A N/A self _test_update_resource resource cmd my_id args params N/A test_delete_network_service_policy N/A N/A self N/A N/A N/A network-service-policy-delete my-id. N/A resource network_service_policy N/A cmd N/A N/A gbp DeleteNetworkServicePolicy 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 N/A N/A