Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Lambda arguments args NameParam defaults SubscriptLoad NameLoad Slice Num Lambda arguments args NameParam defaults IfExp NameLoad SubscriptLoad NameLoad Slice Num Str Lambda arguments args NameParam defaults IfExp NameLoad SubscriptLoad NameLoad Slice Num Str orelse Assign NameStore Dict Return TupleLoad NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad comprehension NameStore NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore IfExp NameLoad Dict Str NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Str Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TryExcept body If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr If UnaryOpNot Call AttributeLoad NameLoad attr Str body Return handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Return ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Return Assign NameStore Num For NameStore AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body AugAssignAdd NameStore Num Print NameLoad If NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Dict Str Str NameLoad Call NameLoad AttributeLoad NameLoad attr Print Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Print BinOpMod Str Dict Str Str NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str 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 Str keyword Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Print BinOpMod Str Dict Str Str NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A Clustering v1 node action implementations N/A logging N/A six N/A sys cliff command cliff lister cliff show openstack exceptions sdk_exc openstackclient.common exceptions exc openstackclient.common utils senlinclient.common.i18n _ senlinclient.common.i18n _LI senlinclient.common utils senlin_utils ListNode N/A N/A lister Lister N/A N/A Show list of nodes. N/A log N/A N/A logging getLogger N/A __name__ .ListNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super ListNode self get_parser prog_name N/A N/A N/A parser add_argument --cluster metavar <cluster> help N/A _ ID or name of cluster from which nodes are to be listed N/A N/A N/A parser add_argument --filters metavar <key1=value1;key2=value2...> help N/A _ Filter parameters to apply on returned nodes. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: ['status','name'] action append N/A N/A N/A parser add_argument --sort metavar <key>[:<direction>] help N/A _ Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are:'['index', 'name', 'status', 'init_at', 'created_at', 'updated_at']' N/A N/A N/A parser add_argument --limit metavar <limit> help N/A _ Limit the number of nodes returned N/A N/A N/A parser add_argument --marker metavar <id> help N/A _ Only return nodes that appear after the given node ID N/A N/A N/A parser add_argument --global-project default False action store_true help N/A _ Indicate that this node list should include nodes from all projects. This option is subject to access policy checking. Default is False N/A N/A N/A parser add_argument --full-id default False action store_true help N/A _ Print full IDs in list N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A columns N/A id name index status cluster_id physical_id profile_name created_at updated_at N/A queries N/A cluster_id sort limit marker global_project N/A parsed_args cluster N/A parsed_args sort N/A parsed_args limit N/A parsed_args marker N/A parsed_args global_project N/A N/A parsed_args filters N/A N/A N/A N/A queries update N/A N/A senlin_utils format_parameters N/A parsed_args filters N/A nodes N/A N/A senlin_client nodes queries N/A N/A N/A parsed_args full_id N/A N/A formatters N/A id cluster_id physical_id N/A N/A N/A x N/A N/A x N/A 8 N/A N/A N/A x N/A N/A x N/A x N/A 8 N/A N/A N/A x N/A N/A x N/A x N/A 8 N/A N/A formatters N/A N/A N/A columns N/A N/A N/A utils get_item_properties n columns formatters formatters N/A n nodes N/A N/A ShowNode N/A N/A show ShowOne N/A N/A Show detailed info about the specified node. N/A log N/A N/A logging getLogger N/A __name__ .ShowNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super ShowNode self get_parser prog_name N/A N/A N/A parser add_argument --details default False action store_true help N/A _ Include physical object details N/A N/A N/A parser add_argument node metavar <node> help N/A _ Name or ID of the node to show the details for N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A N/A _show_node senlin_client N/A parsed_args node N/A parsed_args details N/A N/A _show_node N/A N/A senlin_client node_id show_details N/A False N/A N/A Show detailed info about the specified node. N/A args N/A show_details N/A show_details True None N/A N/A N/A node N/A N/A senlin_client get_node node_id args args N/A N/A N/A N/A sdk_exc ResourceNotFound N/A N/A N/A N/A exc CommandError N/A N/A _ Node not found: %s node_id N/A formatters N/A metadata data N/A senlin_utils json_formatter N/A senlin_utils json_formatter N/A N/A show_details node N/A N/A N/A formatters N/A details N/A N/A senlin_utils nested_dict_formatter N/A list N/A N/A N/A node N/A details keys N/A property value N/A columns N/A sorted N/A list N/A N/A six iterkeys node N/A N/A columns N/A N/A utils get_dict_properties N/A N/A node to_dict columns formatters formatters N/A CreateNode N/A N/A show ShowOne N/A N/A Create the node. N/A log N/A N/A logging getLogger N/A __name__ .CreateNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super CreateNode self get_parser prog_name N/A N/A N/A parser add_argument --profile metavar <profile> required True help N/A _ Profile Id or Name used for this node N/A N/A N/A parser add_argument --cluster metavar <cluster> help N/A _ Cluster Id or Name for this node N/A N/A N/A parser add_argument --role metavar <role> help N/A _ Role for this node in the specific cluster N/A N/A N/A parser add_argument --metadata metavar <key1=value1;key2=value2...> help N/A _ Metadata values to be attached to the node. This can be specified multiple times, or once with key-value pairs separated by a semicolon action append N/A N/A N/A parser add_argument name metavar <node-name> help N/A _ Name of the node to create N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A attrs N/A name cluster_id profile_id role metadata N/A parsed_args name N/A parsed_args cluster N/A parsed_args profile N/A parsed_args role N/A N/A senlin_utils format_parameters N/A parsed_args metadata N/A node N/A N/A senlin_client create_node attrs N/A N/A _show_node senlin_client N/A node id N/A N/A UpdateNode N/A N/A show ShowOne N/A N/A Update the node. N/A log N/A N/A logging getLogger N/A __name__ .UpdateNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super UpdateNode self get_parser prog_name N/A N/A N/A parser add_argument --name metavar <name> help N/A _ New name for the node N/A N/A N/A parser add_argument --profile metavar <profile-id> help N/A _ ID of new profile to use N/A N/A N/A parser add_argument --role metavar <role> help N/A _ Role for this node in the specific cluster N/A N/A N/A parser add_argument --metadata metavar <key1=value1;key2=value2...> help N/A _ Metadata values to be attached to the node. Metadata can be specified multiple times, or once with key-value pairs separated by a semicolon action append N/A N/A N/A parser add_argument node metavar <node> help N/A _ Name or ID of node to update N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A node N/A N/A senlin_client find_node N/A parsed_args node N/A N/A node None N/A N/A N/A N/A exc CommandError N/A N/A _ Node not found: %s N/A parsed_args node N/A attrs N/A name role profile_id metadata N/A parsed_args name N/A parsed_args role N/A parsed_args profile N/A N/A senlin_utils format_parameters N/A parsed_args metadata N/A N/A N/A senlin_client update_node N/A node id attrs N/A N/A _show_node senlin_client N/A node id N/A N/A DeleteNode N/A N/A command Command N/A N/A Delete the node(s). N/A log N/A N/A logging getLogger N/A __name__ .DeleteNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super DeleteNode self get_parser prog_name N/A N/A N/A parser add_argument node metavar <node> nargs + help N/A _ Name or ID of node(s) to delete N/A N/A N/A parser add_argument --force action store_true help N/A _ Skip yes/no prompt (assume yes) N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A N/A N/A N/A N/A N/A parsed_args force N/A N/A N/A sys stdin isatty N/A N/A N/A N/A N/A sys stdout write N/A _ Are you sure you want to delete this node(s) [y/N]? N/A prompt_response N/A N/A N/A N/A N/A sys stdin readline lower N/A N/A N/A N/A prompt_response startswith y N/A N/A N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A self log info N/A _LI Ctrl-c detected. N/A N/A N/A EOFError N/A N/A N/A N/A N/A self log info N/A _LI Ctrl-d detected N/A N/A failure_count 0 N/A nid N/A parsed_args node N/A N/A N/A N/A N/A N/A senlin_client delete_node nid False N/A N/A N/A Exception N/A ex N/A N/A failure_count 1 N/A ex N/A failure_count N/A N/A N/A N/A exc CommandError N/A N/A _ Failed to delete %(count)s of the %(total)s specified node(s). N/A count total failure_count N/A len N/A parsed_args node N/A Request accepted N/A N/A CheckNode N/A N/A command Command N/A N/A Check the node(s). N/A log N/A N/A logging getLogger N/A __name__ .CheckNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super CheckNode self get_parser prog_name N/A N/A N/A parser add_argument node metavar <node> nargs + help N/A _ ID or name of node(s) to check. N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A nid N/A parsed_args node N/A N/A N/A N/A resp N/A N/A senlin_client check_node nid N/A N/A N/A N/A sdk_exc ResourceNotFound N/A N/A N/A N/A exc CommandError N/A N/A _ Node not found: %s nid N/A N/A Node check request on node %(nid)s is accepted by action %(action)s. N/A nid action nid N/A resp N/A action N/A N/A RecoverNode N/A N/A command Command N/A N/A Recover the node(s). N/A log N/A N/A logging getLogger N/A __name__ .RecoverNode get_parser N/A N/A self prog_name N/A N/A N/A parser N/A N/A N/A super RecoverNode self get_parser prog_name N/A N/A N/A parser add_argument node metavar <node> nargs + help N/A _ ID or name of node(s) to recover. N/A parser N/A take_action N/A N/A self parsed_args N/A N/A N/A N/A N/A N/A self log debug take_action(%s) parsed_args N/A senlin_client N/A N/A N/A self app client_manager clustering N/A nid N/A parsed_args node N/A N/A N/A N/A resp N/A N/A senlin_client recover_node nid N/A N/A N/A N/A sdk_exc ResourceNotFound N/A N/A N/A N/A exc CommandError N/A N/A _ Node not found: %s nid N/A N/A Node recover request on node %(nid)s is accepted by action %(action)s. N/A nid action nid N/A resp N/A action N/A N/A