Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Import alias Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore CompareEq SubscriptLoad NameLoad Index Num Num If NameLoad body If CompareLt NameLoad TupleLoad Num Num Num body Raise Call NameLoad Str orelse If CompareLt NameLoad TupleLoad Num Num body Raise Call NameLoad Str Import alias identifier ImportFrom alias Import alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TryExcept body If CompareIs Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For NameStore NameLoad body If BoolOpOr CompareEq NameLoad SubscriptLoad NameLoad Index Str CompareEq NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Str body Expr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num If CompareEq SubscriptLoad NameLoad Index Str Str body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad orelse Expr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Break If UnaryOpNot NameLoad body Expr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad While NameLoad body Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad orelse Expr Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Expr Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str NameLoad body If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body If CompareIs SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str orelse Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Import alias Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A __future__ print_function __future__ unicode_literals __future__ division __future__ absolute_import builtins range future standard_library N/A N/A N/A standard_library install_aliases N/A sys N/A PYTHON_VERSION N/A N/A sys version_info N/A 3 N/A PY2 N/A N/A PYTHON_VERSION N/A 0 2 N/A PY2 N/A N/A N/A PYTHON_VERSION N/A 2 7 9 N/A N/A N/A Exception Must use Python 2.7.9 or later N/A N/A N/A PYTHON_VERSION N/A 3 4 N/A N/A N/A Exception Must use Python 3.4 or later N/A hpOneView hpov pprint pprint N/A re acceptEULA N/A N/A con N/A N/A N/A N/A N/A con get_eula_status N/A N/A N/A N/A N/A N/A con get_eula_status True N/A N/A N/A print EULA display needed N/A N/A N/A con set_eula no N/A N/A N/A Exception N/A e N/A N/A N/A print EXCEPTION: N/A N/A print e N/A login N/A N/A con credential N/A N/A N/A N/A N/A N/A N/A con login credential N/A N/A N/A N/A N/A print Login failed N/A get_server N/A N/A con srv server_id forcePowerOff name N/A N/A N/A sht None N/A N/A N/A N/A server_id upper UNASSIGNED N/A N/A profiles N/A N/A srv get_server_profiles N/A profile profiles N/A N/A N/A N/A profile N/A name name N/A N/A sht N/A N/A con get N/A profile N/A serverHardwareTypeUri N/A N/A None sht N/A N/A sht None N/A N/A N/A print Error, server hardware type not found N/A N/A N/A sys exit 1 N/A servers N/A N/A srv get_servers N/A located_server None N/A server servers N/A N/A ips N/A N/A server N/A mpHostInfo N/A mpIpAddresses N/A ip ips N/A N/A N/A N/A server_id N/A server N/A name N/A server_id N/A ip N/A address N/A N/A located_server server N/A N/A N/A server N/A state NoProfileApplied N/A N/A N/A print 
Error: server server_id already has a profile defined or is being monitored
 N/A N/A N/A sys exit 1 N/A N/A N/A server N/A powerState On N/A N/A forcePowerOff N/A N/A N/A N/A srv set_server_powerstate server Off force True N/A N/A N/A print Error: Server server_id  needs to be powered off N/A N/A N/A sys exit 1 N/A N/A N/A located_server N/A N/A N/A print Server  server_id  not found N/A N/A N/A sys exit 1 N/A sht N/A N/A con get N/A located_server N/A serverHardwareTypeUri N/A N/A sht N/A N/A N/A print Error, server hardware type not found N/A N/A N/A sys exit N/A N/A located_server sht N/A increment_name N/A N/A name N/A N/A N/A p N/A N/A re compile \([0-9]+\)$ N/A s N/A N/A p search name N/A s N/A N/A num N/A int N/A N/A N/A N/A s group strip () N/A inc N/A N/A ( N/A str N/A num 1 ) N/A dest_name N/A N/A re sub \([0-9]+\)$ inc name N/A N/A dest_name N/A name  (1) N/A dest_name N/A san_vol_copy_name N/A N/A sto name N/A N/A N/A dest_name N/A increment_name name N/A volumes N/A N/A sto get_storage_volumes N/A invalid True N/A invalid N/A N/A invalid False N/A vol N/A volumes N/A members N/A N/A N/A N/A vol N/A name dest_name N/A N/A dest_name N/A increment_name dest_name N/A invalid True N/A dest_name N/A fix_san N/A N/A con sto san N/A N/A N/A attachments N/A san N/A volumeAttachments N/A volumes N/A N/A vols attachments N/A N/A vol N/A N/A con get_by_uri N/A vols N/A volumeUri N/A N/A shareable vol N/A N/A N/A N/A vol N/A shareable N/A N/A dest_name N/A san_vol_copy_name sto N/A vol N/A name N/A N/A print N/A 	Copying Volume %s to %s N/A N/A vol N/A name dest_name N/A ret N/A N/A sto copy_storage_volume vol dest_name N/A paths N/A vols N/A storagePaths N/A path paths N/A N/A N/A storageTargets path N/A N/A N/A path N/A storageTargets N/A N/A N/A status path N/A N/A N/A path N/A status N/A N/A N/A volumes append N/A N/A N/A hpov common make_VolumeAttachmentV2 lun None lunType Auto volumeUri N/A ret N/A uri volumeStoragePoolUri N/A ret N/A storagePoolUri volumeStorageSystemUri N/A ret N/A storageSystemUri storagePaths paths N/A N/A N/A print N/A 	Mapping  Volume %s N/A vol N/A name N/A paths N/A vols N/A storagePaths N/A path paths N/A N/A N/A storageTargets path N/A N/A N/A path N/A storageTargets N/A N/A N/A status path N/A N/A N/A path N/A status N/A N/A N/A volumes append N/A N/A N/A hpov common make_VolumeAttachmentV2 lun None lunType Auto volumeUri N/A vol N/A uri volumeStoragePoolUri N/A vol N/A storagePoolUri volumeStorageSystemUri N/A vol N/A storageSystemUri storagePaths paths N/A san_storage N/A N/A N/A hpov common make_SanStorageV3 N/A san N/A hostOSType True None N/A N/A san_storage N/A volumeAttachments volumes N/A san_storage N/A copy_profile N/A N/A con srv sto name dest server sht N/A N/A N/A profiles N/A N/A srv get_server_profiles N/A profile profiles N/A N/A N/A N/A profile N/A name dest N/A N/A N/A print Error: profile with name dest already exsists N/A N/A N/A sys exit N/A profile profiles N/A N/A N/A N/A profile N/A name name N/A N/A N/A print N/A Copying Profile %s N/A profile N/A name N/A N/A profile N/A name dest N/A N/A serverHardwareUri profile N/A N/A N/A server None N/A N/A N/A profile N/A serverHardwareUri N/A server N/A uri N/A N/A N/A profile N/A serverHardwareUri N/A N/A uri sht N/A N/A N/A profile N/A serverHardwareTypeUri N/A sht N/A uri N/A N/A created profile N/A N/A N/A profile N/A created N/A N/A serialNumber profile N/A N/A N/A profile N/A serialNumber N/A N/A taskUri profile N/A N/A N/A profile N/A taskUri N/A N/A uri profile N/A N/A N/A profile N/A uri N/A N/A uuid profile N/A N/A N/A profile N/A uuid N/A N/A enclosureBay profile N/A N/A N/A profile N/A enclosureBay N/A N/A enclosureUri profile N/A N/A N/A profile N/A enclosureUri N/A N/A connections profile N/A N/A connections N/A profile N/A connections N/A conn connections N/A N/A N/A interconnectUri conn N/A N/A N/A conn N/A interconnectUri N/A N/A allocatedMbps conn N/A N/A N/A conn N/A allocatedMbps N/A N/A deploymentStatus conn N/A N/A N/A conn N/A deploymentStatus N/A N/A macType conn N/A N/A N/A N/A conn N/A macType Virtual N/A N/A N/A mac conn N/A N/A N/A conn N/A mac N/A N/A wwpnType conn N/A N/A N/A N/A conn N/A wwpnType Virtual N/A N/A N/A wwnn conn N/A N/A N/A conn N/A wwnn N/A N/A wwpn conn N/A N/A N/A conn N/A wwpn N/A N/A sanStorage profile N/A N/A N/A N/A N/A profile N/A sanStorage N/A manageSanStorage True N/A N/A san_storage N/A fix_san con sto N/A profile N/A sanStorage N/A N/A profile N/A sanStorage san_storage N/A ret N/A N/A srv post_server_profile profile N/A N/A serialNumberType ret N/A N/A N/A print 

Name:                 N/A ret N/A name N/A N/A print Description:          N/A ret N/A description N/A N/A print Type:                 N/A ret N/A type N/A N/A print wwnType:              N/A ret N/A wwnType N/A N/A print macType:              N/A ret N/A macType N/A N/A print serialNumberType:     N/A ret N/A serialNumberType N/A N/A print Firmware: N/A N/A print   manageFirmware:        N/A N/A ret N/A firmware N/A manageFirmware N/A N/A print   forceInstallFirmware:  N/A N/A ret N/A firmware N/A forceInstallFirmware N/A N/A print   firmwareBaselineUri:   N/A N/A ret N/A firmware N/A firmwareBaselineUri N/A N/A print Bios: N/A N/A print   manageBios:          N/A N/A ret N/A bios N/A manageBios N/A N/A print   overriddenSettings:  N/A N/A ret N/A bios N/A overriddenSettings N/A N/A print Boot: N/A N/A print   manageBoot:          N/A N/A ret N/A boot N/A manageBoot N/A N/A print   order:               N/A N/A ret N/A boot N/A order N/A N/A N/A pprint ret N/A N/A N/A sys exit 0 N/A N/A print N/A Can not locate profile: %s name N/A main N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser add_help True formatter_class N/A argparse RawTextHelpFormatter description 
   Copy Server Profile

    Usage:  N/A N/A N/A parser add_argument -a dest host required True help 
    HP OneView Appliance hostname or IP address N/A N/A N/A parser add_argument -u dest user required False default Administrator help 
    HP OneView Username N/A N/A N/A parser add_argument -p dest passwd required True help 
    HP OneView Password N/A N/A N/A parser add_argument -c dest cert required False help 
    Trusted SSL Certificate Bundle in PEM (Base64 EncodedDER) Format N/A N/A N/A parser add_argument -y dest proxy required False help 
    Proxy (host:port format N/A N/A N/A parser add_argument -j dest domain required False default Local help 
    HP OneView Authorized Login Domain N/A N/A N/A parser add_argument -n dest name required True help 
    Name of the source server profile N/A N/A N/A parser add_argument -d dest dest required True help 
    Name of the destination  server profile N/A N/A N/A parser add_argument -f dest forcePowerOff required False action store_true help 
    When set, forces power off of target server.
    Avoids error exit if server is up N/A N/A N/A parser add_argument -s dest server_id required True help 
    Destination  Server identification. There are multiple ways to specify
    the server id:

    . Hostname or IP address of the stand-alone server iLO
    . Server Hardware name of a server than has already been imported
      into HP OneView and is listed under Server Hardware
    . "UNASSIGNED" for creating an unassigned Server Profile N/A args N/A N/A parser parse_args N/A credential N/A authLoginDomain userName password N/A N/A N/A args domain upper N/A args user N/A args passwd N/A con N/A N/A hpov connection N/A args host N/A srv N/A N/A hpov servers con N/A sto N/A N/A hpov storage con N/A N/A args proxy N/A N/A N/A N/A con set_proxy N/A N/A N/A N/A args proxy split : N/A 0 N/A N/A N/A N/A args proxy split : N/A 1 N/A N/A args cert N/A N/A N/A N/A con set_trusted_ssl_bundle N/A args cert N/A N/A login con credential N/A N/A acceptEULA con N/A N/A server sht N/A get_server con srv N/A args server_id N/A args forcePowerOff N/A args name N/A N/A copy_profile con srv sto N/A args name N/A args dest server sht N/A N/A N/A __name__ __main__ N/A N/A sys N/A argparse N/A N/A N/A sys exit N/A main