Module ImportFrom alias Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Expr Call NameLoad Str AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str While AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str
N/A __future__ print_function N/A 
A Python script for changing the name of an object. Demonstrates the use
of tasks in an asynchronous way.
 N/A atexit N/A argparse N/A getpass pyVim connect pyvmomi_tools.cli cursor get_args N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument -s --host required True action store help Remote host to connect to N/A N/A N/A parser add_argument -u --user required True action store help User name to use when connecting to host N/A N/A N/A parser add_argument -p --password required False action store help Password to use when connecting to host N/A N/A N/A parser add_argument -o --port required False action store help port to use, default 443 default 443 N/A N/A N/A parser add_argument -n --name required True action store help Name of the entity to look for. N/A N/A N/A parser add_argument -r --new_name required False action store help New name of the entity. N/A _args N/A N/A parser parse_args N/A N/A N/A _args password None N/A N/A N/A _args password N/A N/A getpass getpass prompt N/A Enter password for host %s and user %s:  N/A N/A _args host N/A _args user N/A _args N/A N/A args N/A get_args N/A si N/A N/A connect SmartConnect host N/A args host user N/A args user pwd N/A args password port N/A args port N/A N/A N/A atexit register N/A connect Disconnect si N/A entity N/A N/A N/A N/A si content rootFolder find_by_name N/A args name N/A N/A entity None N/A N/A N/A print A object named {0} could not be found N/A args name N/A N/A exit N/A N/A args new_name N/A N/A new_name N/A args new_name N/A N/A new_name N/A N/A args name 0 N/A N/A print 
name        : {0}
 N/A entity name N/A N/A print 
    renaming from {0} to {1}
 N/A args name new_name N/A task N/A N/A entity Rename new_name N/A N/A print task status: 
 N/A N/A task is_alive N/A N/A N/A N/A cursor spinner renaming N/A N/A print 


rename finished
