Module Import alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str ListLoad Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad ListLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body If CompareEq Call AttributeLoad NameLoad attr Str Str Str body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Return Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Dict Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Num For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignAdd AttributeStore NameLoad attr Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignSub AttributeStore NameLoad attr Num Assign NameStore Num If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore BinOpMult BinOpDiv AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If NameLoad body If UnaryOpNot NameLoad body Assign NameStore Str If UnaryOpNot CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad If NameLoad body If NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If NameLoad body If UnaryOpNot CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad If NameLoad body AugAssignAdd NameStore Str orelse Assign NameStore Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Dict Assign NameStore Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A sys neutronclient._i18n _ neutronclient.neutron v2_0 neutronV20 Purge N/A N/A neutronV20 NeutronCommand N/A N/A Delete all resources that belong to a given tenant. _pluralize N/A N/A self string N/A N/A N/A N/A string s N/A _get_resources N/A N/A self neutron_client resource_types tenant_id N/A N/A N/A resources N/A N/A resource_type resource_types N/A N/A N/A N/A resources append N/A N/A resource_type_plural N/A N/A self _pluralize resource_type N/A opts N/A fields N/A id tenant_id N/A N/A resource_type_plural ports N/A N/A N/A N/A N/A opts N/A fields append device_id N/A N/A N/A N/A opts N/A fields append device_owner N/A function N/A getattr neutron_client N/A list_%s resource_type_plural N/A N/A callable function N/A N/A returned_resources N/A N/A N/A function opts get resource_type_plural N/A N/A resource returned_resources N/A N/A N/A N/A resource N/A tenant_id tenant_id N/A N/A index N/A N/A resource_types index resource_type N/A N/A N/A N/A resources N/A index append resource N/A N/A self total_resources 1 N/A resources N/A _delete_resource N/A N/A self neutron_client resource_type resource N/A N/A N/A resource_id N/A resource N/A id N/A N/A resource_type port N/A N/A N/A N/A N/A resource get device_owner network:router_interface N/A N/A body N/A port_id resource_id N/A N/A N/A neutron_client remove_interface_router N/A resource N/A device_id body N/A N/A function N/A getattr neutron_client N/A delete_%s resource_type N/A N/A callable function N/A N/A N/A function resource_id N/A _purge_resources N/A N/A self neutron_client resource_types tenant_resources N/A N/A N/A deleted N/A N/A failed N/A N/A failures False N/A resources tenant_resources N/A N/A index N/A N/A tenant_resources index resources N/A resource_type N/A resource_types N/A index N/A N/A failed N/A resource_type 0 N/A N/A deleted N/A resource_type 0 N/A resource resources N/A N/A N/A N/A N/A N/A self _delete_resource neutron_client resource_type resource N/A N/A deleted N/A resource_type 1 N/A N/A self deleted_resources 1 N/A N/A N/A Exception N/A N/A failures True N/A N/A failed N/A resource_type 1 N/A N/A self total_resources 1 N/A percent_complete 100 N/A N/A N/A self total_resources 0 N/A N/A percent_complete N/A N/A N/A self deleted_resources N/A float N/A self total_resources 100 N/A N/A N/A N/A sys stdout write N/A 
Purging resources: %d%% complete. percent_complete N/A N/A N/A N/A sys stdout flush N/A N/A deleted failed failures N/A _build_message N/A N/A self deleted failed failures N/A N/A N/A msg N/A deleted_msg N/A N/A N/A resource value N/A N/A deleted items N/A N/A value N/A N/A N/A msg N/A N/A msg Deleted N/A N/A N/A value 1 N/A N/A resource N/A N/A self _pluralize resource N/A N/A N/A deleted_msg append N/A  %d %s N/A value resource N/A deleted_msg N/A N/A msg N/A N/A , join deleted_msg N/A failed_msg N/A N/A failures N/A N/A msg N/A N/A msg .  N/A msg The following resources could not be deleted: N/A N/A resource value N/A N/A failed items N/A N/A value N/A N/A N/A N/A value 1 N/A N/A resource N/A N/A self _pluralize resource N/A N/A N/A failed_msg append N/A  %d %s N/A value resource N/A msg N/A N/A , join failed_msg N/A msg N/A N/A msg . N/A N/A msg N/A _ Tenant has no supported resources. N/A msg N/A get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super Purge self get_parser prog_name N/A N/A N/A parser add_argument tenant metavar TENANT help N/A _ ID of Tenant owning the resources to be deleted. N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A neutron_client N/A N/A self get_client N/A N/A self any_failures False N/A resource_types N/A floatingip port router network security_group N/A deleted N/A N/A failed N/A N/A N/A self total_resources 0 N/A N/A self deleted_resources 0 N/A resources N/A N/A self _get_resources neutron_client resource_types N/A parsed_args tenant N/A N/A deleted failed failures N/A N/A self _purge_resources neutron_client resource_types resources N/A N/A 
%s N/A N/A self _build_message deleted failed failures N/A N/A