imcsdk.mometa.compute package

Submodules

This module contains the general information for ComputeBoard ManagedObject.

class imcsdk.mometa.compute.ComputeBoard.ComputeBoard(parent_mo_or_dn, **kwargs)[source]

Bases: imcsdk.imcmo.ManagedObject

This is ComputeBoard class.

consts = <imcsdk.mometa.compute.ComputeBoard.ComputeBoardConsts instance>
mo_meta = <imcsdk.imccoremeta.MoMeta object>
naming_props = set([])
prop_map = {'dn': 'dn', 'status': 'status', 'vendor': 'vendor', 'power': 'power', 'presence': 'presence', 'serial': 'serial', 'model': 'model', 'operPower': 'oper_power', 'childAction': 'child_action', 'perf': 'perf', 'id': 'id', 'rn': 'rn'}
prop_meta = {'dn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f850>, 'status': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d9371d0>, 'vendor': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d937250>, 'power': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f910>, 'presence': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d937050>, 'oper_power': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f810>, 'serial': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d937150>, 'model': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f7d0>, 'child_action': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f950>, 'perf': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f890>, 'id': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d90f750>, 'rn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d9370d0>}
class imcsdk.mometa.compute.ComputeBoard.ComputeBoardConsts[source]
OPER_POWER_DEGRADED = 'degraded'
OPER_POWER_ERROR = 'error'
OPER_POWER_NOT_SUPPORTED = 'not-supported'
OPER_POWER_OFF = 'off'
OPER_POWER_OFFDUTY = 'offduty'
OPER_POWER_OFFLINE = 'offline'
OPER_POWER_ON = 'on'
OPER_POWER_ONLINE = 'online'
OPER_POWER_POWER_SAVE = 'power-save'
OPER_POWER_TEST = 'test'
OPER_POWER_UNKNOWN = 'unknown'
PERF_LOWER_CRITICAL = 'lower-critical'
PERF_LOWER_NON_CRITICAL = 'lower-non-critical'
PERF_LOWER_NON_RECOVERABLE = 'lower-non-recoverable'
PERF_NOT_SUPPORTED = 'not-supported'
PERF_OK = 'ok'
PERF_UNKNOWN = 'unknown'
PERF_UPPER_CRITICAL = 'upper-critical'
PERF_UPPER_NON_CRITICAL = 'upper-non-critical'
PERF_UPPER_NON_RECOVERABLE = 'upper-non-recoverable'
POWER_DEGRADED = 'degraded'
POWER_ERROR = 'error'
POWER_NOT_SUPPORTED = 'not-supported'
POWER_OFF = 'off'
POWER_OFFDUTY = 'offduty'
POWER_OFFLINE = 'offline'
POWER_ON = 'on'
POWER_ONLINE = 'online'
POWER_POWER_SAVE = 'power-save'
POWER_TEST = 'test'
POWER_UNKNOWN = 'unknown'
PRESENCE_EMPTY = 'empty'
PRESENCE_EQUIPPED = 'equipped'
PRESENCE_EQUIPPED_IDENTITY_UNESTABLISHABLE = 'equipped-identity-unestablishable'
PRESENCE_EQUIPPED_NOT_PRIMARY = 'equipped-not-primary'
PRESENCE_EQUIPPED_WITH_MALFORMED_FRU = 'equipped-with-malformed-fru'
PRESENCE_INACCESSIBLE = 'inaccessible'
PRESENCE_MISMATCH = 'mismatch'
PRESENCE_MISMATCH_IDENTITY_UNESTABLISHABLE = 'mismatch-identity-unestablishable'
PRESENCE_MISSING = 'missing'
PRESENCE_NOT_SUPPORTED = 'not-supported'
PRESENCE_UNAUTHORIZED = 'unauthorized'
PRESENCE_UNKNOWN = 'unknown'

This module contains the general information for ComputeMbPowerStats ManagedObject.

class imcsdk.mometa.compute.ComputeMbPowerStats.ComputeMbPowerStats(parent_mo_or_dn, **kwargs)[source]

Bases: imcsdk.imcmo.ManagedObject

This is ComputeMbPowerStats class.

consts = <imcsdk.mometa.compute.ComputeMbPowerStats.ComputeMbPowerStatsConsts instance>
mo_meta = <imcsdk.imccoremeta.MoMeta object>
naming_props = set([])
prop_map = {'consumedPower': 'consumed_power', 'dn': 'dn', 'status': 'status', 'inputCurrent': 'input_current', 'timeCollected': 'time_collected', 'inputVoltage': 'input_voltage', 'rn': 'rn', 'childAction': 'child_action'}
prop_meta = {'dn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad21d0>, 'status': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2a90>, 'input_current': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2910>, 'time_collected': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2b10>, 'consumed_power': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2250>, 'rn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2a10>, 'input_voltage': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2990>, 'child_action': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10dad2350>}
class imcsdk.mometa.compute.ComputeMbPowerStats.ComputeMbPowerStatsConsts[source]

This module contains the general information for ComputeRackUnit ManagedObject.

class imcsdk.mometa.compute.ComputeRackUnit.ComputeRackUnit(parent_mo_or_dn, server_id, **kwargs)[source]

Bases: imcsdk.imcmo.ManagedObject

This is ComputeRackUnit class.

consts = <imcsdk.mometa.compute.ComputeRackUnit.ComputeRackUnitConsts instance>
mo_meta = <imcsdk.imccoremeta.MoMeta object>
naming_props = set([u'serverId'])
prop_map = {'status': 'status', 'presence': 'presence', 'totalMemory': 'total_memory', 'originalUuid': 'original_uuid', 'usrLbl': 'usr_lbl', 'serial': 'serial', 'numOfAdaptors': 'num_of_adaptors', 'numOfThreads': 'num_of_threads', 'operPower': 'oper_power', 'uuid': 'uuid', 'numOfFcHostIfs': 'num_of_fc_host_ifs', 'chassisSerial': 'chassis_serial', 'numOfCoresEnabled': 'num_of_cores_enabled', 'numOfEthHostIfs': 'num_of_eth_host_ifs', 'rn': 'rn', 'dn': 'dn', 'memorySpeed': 'memory_speed', 'adminPower': 'admin_power', 'vendor': 'vendor', 'numOfCpus': 'num_of_cpus', 'numOfCores': 'num_of_cores', 'model': 'model', 'childAction': 'child_action', 'availableMemory': 'available_memory', 'name': 'name', 'cimcResetReason': 'cimc_reset_reason', 'serverId': 'server_id'}
prop_meta = {'status': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20bb50>, 'total_memory': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b6d0>, 'presence': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20bad0>, 'num_of_fc_host_ifs': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20ba10>, 'num_of_adaptors': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a0d0>, 'oper_power': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20bf90>, 'serial': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b610>, 'child_action': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66ad10>, 'server_id': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b710>, 'available_memory': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a810>, 'num_of_eth_host_ifs': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b990>, 'admin_power': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66ae90>, 'chassis_serial': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a6d0>, 'usr_lbl': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b550>, 'num_of_cores': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a090>, 'rn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b5d0>, 'cimc_reset_reason': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66add0>, 'num_of_cores_enabled': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a350>, 'dn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a290>, 'vendor': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b290>, 'memory_speed': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a390>, 'num_of_cpus': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b7d0>, 'uuid': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b2d0>, 'name': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a2d0>, 'original_uuid': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b8d0>, 'num_of_threads': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d20b910>, 'model': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d66a1d0>}
class imcsdk.mometa.compute.ComputeRackUnit.ComputeRackUnitConsts[source]
ADMIN_POWER_BMC_RESET_DEFAULT = 'bmc-reset-default'
ADMIN_POWER_BMC_RESET_IMMEDIATE = 'bmc-reset-immediate'
ADMIN_POWER_CMOS_RESET_IMMEDIATE = 'cmos-reset-immediate'
ADMIN_POWER_CYCLE_IMMEDIATE = 'cycle-immediate'
ADMIN_POWER_DIAGNOSTIC_INTERRUPT = 'diagnostic-interrupt'
ADMIN_POWER_DOWN = 'down'
ADMIN_POWER_HARD_RESET_IMMEDIATE = 'hard-reset-immediate'
ADMIN_POWER_POLICY = 'policy'
ADMIN_POWER_SOFT_SHUT_DOWN = 'soft-shut-down'
ADMIN_POWER_UP = 'up'
MEMORY_SPEED_ = ''
MEMORY_SPEED_UNSPECIFIED = 'unspecified'
OPER_POWER_DEGRADED = 'degraded'
OPER_POWER_ERROR = 'error'
OPER_POWER_NOT_SUPPORTED = 'not-supported'
OPER_POWER_OFF = 'off'
OPER_POWER_OFFDUTY = 'offduty'
OPER_POWER_OFFLINE = 'offline'
OPER_POWER_ON = 'on'
OPER_POWER_ONLINE = 'online'
OPER_POWER_POWER_SAVE = 'power-save'
OPER_POWER_TEST = 'test'
OPER_POWER_UNKNOWN = 'unknown'
PRESENCE_EMPTY = 'empty'
PRESENCE_EQUIPPED = 'equipped'
PRESENCE_EQUIPPED_IDENTITY_UNESTABLISHABLE = 'equipped-identity-unestablishable'
PRESENCE_EQUIPPED_NOT_PRIMARY = 'equipped-not-primary'
PRESENCE_EQUIPPED_WITH_MALFORMED_FRU = 'equipped-with-malformed-fru'
PRESENCE_INACCESSIBLE = 'inaccessible'
PRESENCE_MISMATCH = 'mismatch'
PRESENCE_MISMATCH_IDENTITY_UNESTABLISHABLE = 'mismatch-identity-unestablishable'
PRESENCE_MISSING = 'missing'
PRESENCE_UNAUTHORIZED = 'unauthorized'
PRESENCE_UNKNOWN = 'unknown'

This module contains the general information for ComputeRackUnitMbTempStats ManagedObject.

class imcsdk.mometa.compute.ComputeRackUnitMbTempStats.ComputeRackUnitMbTempStats(parent_mo_or_dn, **kwargs)[source]

Bases: imcsdk.imcmo.ManagedObject

This is ComputeRackUnitMbTempStats class.

consts = <imcsdk.mometa.compute.ComputeRackUnitMbTempStats.ComputeRackUnitMbTempStatsConsts instance>
mo_meta = <imcsdk.imccoremeta.MoMeta object>
naming_props = set([])
prop_map = {'dn': 'dn', 'status': 'status', 'frontTemp': 'front_temp', 'ioh1Temp': 'ioh1_temp', 'timeCollected': 'time_collected', 'ioh2Temp': 'ioh2_temp', 'ambientTemp': 'ambient_temp', 'rn': 'rn', 'rearTemp': 'rear_temp', 'childAction': 'child_action'}
prop_meta = {'dn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d7faf90>, 'front_temp': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d7fa490>, 'ioh1_temp': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42d250>, 'status': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42d6d0>, 'time_collected': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42dc90>, 'ambient_temp': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d7fa0d0>, 'ioh2_temp': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42df50>, 'rn': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42d450>, 'rear_temp': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d42d8d0>, 'child_action': <imcsdk.imccoremeta.MoPropertyMeta object at 0x10d7fa850>}
class imcsdk.mometa.compute.ComputeRackUnitMbTempStats.ComputeRackUnitMbTempStatsConsts[source]
AMBIENT_TEMP_ = ''
FRONT_TEMP_ = ''
IOH1_TEMP_ = ''
IOH2_TEMP_ = ''
REAR_TEMP_ = ''

Module contents