Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore NameLoad TryExcept body 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 handlers ExceptHandler type NameLoad name NameStore body Pass If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call NameLoad Str
N/A __future__ print_function N/A atexit N/A requests pyVim connect tools cli tools tasks N/A N/A N/A N/A N/A requests packages urllib3 disable_warnings setup_args N/A N/A N/A N/A N/A Adds additional ARGS to allow the vm name or uuid to
    be set.
     N/A parser N/A N/A cli build_arg_parser N/A N/A N/A parser add_argument -j --uuid help BIOS UUID of the VirtualMachine you want to reboot. N/A N/A N/A parser add_argument -n --name help DNS Name of the VirtualMachine you want to reboot. N/A N/A N/A parser add_argument -i --ip help IP Address of the VirtualMachine you want to reboot N/A my_args N/A N/A parser parse_args N/A N/A N/A cli prompt_for_password my_args N/A N/A ARGS N/A setup_args N/A SI None N/A N/A 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 N/A N/A IOError N/A ex N/A N/A N/A N/A SI N/A N/A N/A SystemExit Unable to connect to host with supplied info. N/A VM None N/A N/A ARGS uuid N/A N/A VM N/A N/A N/A N/A SI content searchIndex FindByUuid None N/A ARGS uuid True False N/A N/A N/A ARGS name N/A N/A VM N/A N/A N/A N/A SI content searchIndex FindByDnsName None N/A ARGS name True N/A N/A N/A ARGS ip N/A N/A VM N/A N/A N/A N/A SI content searchIndex FindByIp None N/A ARGS ip True N/A N/A VM None N/A N/A N/A SystemExit Unable to locate VirtualMachine. N/A N/A print N/A N/A Found: {0} format N/A VM name N/A N/A print N/A N/A The current powerState is: {0} format N/A N/A VM runtime powerState N/A N/A N/A format N/A N/A VM runtime powerState poweredOn N/A N/A N/A print N/A N/A Attempting to power off {0} format N/A VM name N/A TASK N/A N/A VM PowerOffVM_Task N/A N/A N/A tasks wait_for_tasks SI N/A TASK N/A N/A print N/A N/A {0} format N/A N/A TASK info state N/A N/A print Destroying VM from vSphere. N/A TASK N/A N/A VM Destroy_Task N/A N/A N/A tasks wait_for_tasks SI N/A TASK N/A N/A print Done.