imcsdk package

Subpackages

Submodules

This is an auto-generated module. It contains supporting classes for Filter and External Method.

class imcsdk.imcbasetype.ConfigConfig(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is ConfigConfig class.

class imcsdk.imcbasetype.ConfigMap(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is ConfigMap class.

class imcsdk.imcbasetype.ConfigSet(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is ConfigSet class.

class imcsdk.imcbasetype.FilterFilter(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is FilterFilter class.

class imcsdk.imcbasetype.Method(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is Method class.

class imcsdk.imcbasetype.Pair(**kwargs)[source]

Bases: imcsdk.imccore.BaseObject

This is Pair class.

This is auto-generated module containing Constants information.

class imcsdk.imcconstants.BootOrderEnum[source]
BOOT_ORDER_ENUM_1 = '1'
BOOT_ORDER_ENUM_2 = '2'
BOOT_ORDER_ENUM_3 = '3'
BOOT_ORDER_ENUM_4 = '4'
BOOT_ORDER_ENUM_5 = '5'
class imcsdk.imcconstants.EmptyStringOrHostNameOrIPv4Address[source]
VALUE_0_0_0_0 = '0.0.0.0'
class imcsdk.imcconstants.EmptyStringOrHostNameOrIPv4AddressOrIPv6Address[source]
class imcsdk.imcconstants.EnabledDisabled[source]
DISABLED = 'disabled'
ENABLED = 'enabled'
class imcsdk.imcconstants.NamingId[source]
AAA_GET_COMPUTE_AUTH_TOKENS = 'aaaGetComputeAuthTokens'
AAA_KEEP_ALIVE = 'aaaKeepAlive'
AAA_LDAP = 'aaaLdap'
AAA_LDAP_ROLE_GROUP = 'aaaLdapRoleGroup'
AAA_LOGIN = 'aaaLogin'
AAA_LOGOUT = 'aaaLogout'
AAA_REFRESH = 'aaaRefresh'
AAA_SESSION = 'aaaSession'
AAA_USER = 'aaaUser'
AAA_USER_EP = 'aaaUserEp'
AAA_USER_POLICY = 'aaaUserPolicy'
ADAPTOR_CFG_BACKUP = 'adaptorCfgBackup'
ADAPTOR_CFG_IMPORTER = 'adaptorCfgImporter'
ADAPTOR_CONNECTOR_INFO = 'adaptorConnectorInfo'
ADAPTOR_ETH_COMP_QUEUE_PROFILE = 'adaptorEthCompQueueProfile'
ADAPTOR_ETH_GEN_PROFILE = 'adaptorEthGenProfile'
ADAPTOR_ETH_INTERRUPT_PROFILE = 'adaptorEthInterruptProfile'
ADAPTOR_ETH_ISCSIPROFILE = 'adaptorEthISCSIProfile'
ADAPTOR_ETH_OFFLOAD_PROFILE = 'adaptorEthOffloadProfile'
ADAPTOR_ETH_RECV_QUEUE_PROFILE = 'adaptorEthRecvQueueProfile'
ADAPTOR_ETH_USNICPROFILE = 'adaptorEthUSNICProfile'
ADAPTOR_ETH_WORK_QUEUE_PROFILE = 'adaptorEthWorkQueueProfile'
ADAPTOR_EXT_ETH_IF = 'adaptorExtEthIf'
ADAPTOR_EXT_IP_V6_RSS_HASH_PROFILE = 'adaptorExtIpV6RssHashProfile'
ADAPTOR_FC_BOOT_TABLE = 'adaptorFcBootTable'
ADAPTOR_FC_CDB_WORK_QUEUE_PROFILE = 'adaptorFcCdbWorkQueueProfile'
ADAPTOR_FC_ERROR_RECOVERY_PROFILE = 'adaptorFcErrorRecoveryProfile'
ADAPTOR_FC_GEN_PROFILE = 'adaptorFcGenProfile'
ADAPTOR_FC_INTERRUPT_PROFILE = 'adaptorFcInterruptProfile'
ADAPTOR_FC_PERSISTENT_BINDINGS = 'adaptorFcPersistentBindings'
ADAPTOR_FC_PORT_FLOGI_PROFILE = 'adaptorFcPortFLogiProfile'
ADAPTOR_FC_PORT_PLOGI_PROFILE = 'adaptorFcPortPLogiProfile'
ADAPTOR_FC_PORT_PROFILE = 'adaptorFcPortProfile'
ADAPTOR_FC_RECV_QUEUE_PROFILE = 'adaptorFcRecvQueueProfile'
ADAPTOR_FC_WORK_QUEUE_PROFILE = 'adaptorFcWorkQueueProfile'
ADAPTOR_GEN_PROFILE = 'adaptorGenProfile'
ADAPTOR_HOST_ETH_IF = 'adaptorHostEthIf'
ADAPTOR_HOST_FC_IF = 'adaptorHostFcIf'
ADAPTOR_IP_V4_RSS_HASH_PROFILE = 'adaptorIpV4RssHashProfile'
ADAPTOR_IP_V6_RSS_HASH_PROFILE = 'adaptorIpV6RssHashProfile'
ADAPTOR_PORT_PROFILES = 'adaptorPortProfiles'
ADAPTOR_RSS_PROFILE = 'adaptorRssProfile'
ADAPTOR_UNIT = 'adaptorUnit'
ADAPTOR_VMFEX_ETH_IF = 'adaptorVMFexEthIf'
ADAPTOR_VMFEX_ETH_PROFILE = 'adaptorVMFexEthProfile'
ADVANCED_POWER_PROFILE = 'advancedPowerProfile'
ALLBITS_FILTER = 'allbitsFilter'
AND_FILTER = 'andFilter'
ANYBIT_FILTER = 'anybitFilter'
BIOS_BOOT_DEV = 'biosBootDev'
BIOS_BOOT_DEV_GRP = 'biosBootDevGrp'
BIOS_BOOT_DEV_PRECISION = 'biosBootDevPrecision'
BIOS_BOOT_MODE = 'biosBootMode'
BIOS_BOT = 'biosBOT'
BIOS_PASSWORD = 'biosPassword'
BIOS_PLATFORM_DEFAULTS = 'biosPlatformDefaults'
BIOS_SETTINGS = 'biosSettings'
BIOS_UNIT = 'biosUnit'
BIOS_VF_ADJACENT_CACHE_LINE_PREFETCH = 'biosVfAdjacentCacheLinePrefetch'
BIOS_VF_ALTITUDE = 'biosVfAltitude'
BIOS_VF_ASPMSUPPORT = 'biosVfASPMSupport'
BIOS_VF_ASSERT_NMION_PERR = 'biosVfAssertNMIOnPERR'
BIOS_VF_ASSERT_NMION_SERR = 'biosVfAssertNMIOnSERR'
BIOS_VF_AUTONUMOUS_CSTATE_ENABLE = 'biosVfAutonumousCstateEnable'
BIOS_VF_BOOT_OPTION_RETRY = 'biosVfBootOptionRetry'
BIOS_VF_CDNENABLE = 'biosVfCDNEnable'
BIOS_VF_CDNSUPPORT = 'biosVfCDNSupport'
BIOS_VF_CKE_LOW_POLICY = 'biosVfCkeLowPolicy'
BIOS_VF_CONSOLE_REDIRECTION = 'biosVfConsoleRedirection'
BIOS_VF_CORE_MULTI_PROCESSING = 'biosVfCoreMultiProcessing'
BIOS_VF_CPUENERGY_PERFORMANCE = 'biosVfCPUEnergyPerformance'
BIOS_VF_CPUFREQUENCY_FLOOR = 'biosVfCPUFrequencyFloor'
BIOS_VF_CPUPERFORMANCE = 'biosVfCPUPerformance'
BIOS_VF_CPUPOWER_MANAGEMENT = 'biosVfCPUPowerManagement'
BIOS_VF_DCUPREFETCH = 'biosVfDCUPrefetch'
BIOS_VF_DEMAND_SCRUB = 'biosVfDemandScrub'
BIOS_VF_DIRECT_CACHE_ACCESS = 'biosVfDirectCacheAccess'
BIOS_VF_DRAMCLOCK_THROTTLING = 'biosVfDRAMClockThrottling'
BIOS_VF_DRAM_REFRESH_RATE = 'biosVfDramRefreshRate'
BIOS_VF_ENHANCED_INTEL_SPEED_STEP_TECH = 'biosVfEnhancedIntelSpeedStepTech'
BIOS_VF_EXECUTE_DISABLE_BIT = 'biosVfExecuteDisableBit'
BIOS_VF_EXTENDED_APIC = 'biosVfExtendedAPIC'
BIOS_VF_FRB2_ENABLE = 'biosVfFRB2Enable'
BIOS_VF_HARDWARE_PREFETCH = 'biosVfHardwarePrefetch'
BIOS_VF_HWPMENABLE = 'biosVfHWPMEnable'
BIOS_VF_INTEL_HYPER_THREADING_TECH = 'biosVfIntelHyperThreadingTech'
BIOS_VF_INTEL_TURBO_BOOST_TECH = 'biosVfIntelTurboBoostTech'
BIOS_VF_INTEL_VIRTUALIZATION_TECHNOLOGY = 'biosVfIntelVirtualizationTechnology'
BIOS_VF_INTEL_VTFOR_DIRECTED_IO = 'biosVfIntelVTForDirectedIO'
BIOS_VF_IOHRESOURCE = 'biosVfIOHResource'
BIOS_VF_LEGACY_USBSUPPORT = 'biosVfLegacyUSBSupport'
BIOS_VF_LOMPORT_OPTION_ROM = 'biosVfLOMPortOptionROM'
BIOS_VF_LV_DIMMSUPPORT = 'biosVfLvDIMMSupport'
BIOS_VF_MEMORY_INTERLEAVE = 'biosVfMemoryInterleave'
BIOS_VF_MEMORY_MAPPED_IOABOVE4_GB = 'biosVfMemoryMappedIOAbove4GB'
BIOS_VF_MIRRORING_MODE = 'biosVfMirroringMode'
BIOS_VF_MMCFGBASE = 'biosVfMMCFGBase'
BIOS_VF_NUMAOPTIMIZED = 'biosVfNUMAOptimized'
BIOS_VF_ONBOARD_NIC = 'biosVfOnboardNIC'
BIOS_VF_ONBOARD_STORAGE = 'biosVfOnboardStorage'
BIOS_VF_ONBOARD_STORAGE_SWSTACK = 'biosVfOnboardStorageSWStack'
BIOS_VF_OSBOOT_WATCHDOG_TIMER = 'biosVfOSBootWatchdogTimer'
BIOS_VF_OSBOOT_WATCHDOG_TIMER_POLICY = 'biosVfOSBootWatchdogTimerPolicy'
BIOS_VF_OSBOOT_WATCHDOG_TIMER_TIMEOUT = 'biosVfOSBootWatchdogTimerTimeout'
BIOS_VF_OUT_OF_BAND_MGMT_PORT = 'biosVfOutOfBandMgmtPort'
BIOS_VF_PACKAGE_CSTATE_LIMIT = 'biosVfPackageCStateLimit'
BIOS_VF_PATROL_SCRUB = 'biosVfPatrolScrub'
BIOS_VF_PATROL_SCRUB_DURATION = 'biosVfPatrolScrubDuration'
BIOS_VF_PCH_USB30_MODE = 'biosVfPchUsb30Mode'
BIOS_VF_PCIOPTION_ROMS = 'biosVfPCIOptionROMs'
BIOS_VF_PCISLOT_OPTION_ROMENABLE = 'biosVfPCISlotOptionROMEnable'
BIOS_VF_PCI_ROM_CLP = 'biosVfPciRomClp'
BIOS_VF_POSTERROR_PAUSE = 'biosVfPOSTErrorPause'
BIOS_VF_PROCESSOR_C1_E = 'biosVfProcessorC1E'
BIOS_VF_PROCESSOR_C3_REPORT = 'biosVfProcessorC3Report'
BIOS_VF_PROCESSOR_C6_REPORT = 'biosVfProcessorC6Report'
BIOS_VF_PROCESSOR_CSTATE = 'biosVfProcessorCState'
BIOS_VF_PSTATE_COORD_TYPE = 'biosVfPStateCoordType'
BIOS_VF_PWR_PERF_TUNING = 'biosVfPwrPerfTuning'
BIOS_VF_QPICONFIG = 'biosVfQPIConfig'
BIOS_VF_QPI_SNOOP_MODE = 'biosVfQpiSnoopMode'
BIOS_VF_RESUME_ON_ACPOWER_LOSS = 'biosVfResumeOnACPowerLoss'
BIOS_VF_SATA_MODE_SELECT = 'biosVfSataModeSelect'
BIOS_VF_SELECT_MEMORY_RASCONFIGURATION = 'biosVfSelectMemoryRASConfiguration'
BIOS_VF_SERIAL_PORT_AENABLE = 'biosVfSerialPortAEnable'
BIOS_VF_SPARING_MODE = 'biosVfSparingMode'
BIOS_VF_SR_IOV = 'biosVfSrIov'
BIOS_VF_TPMSUPPORT = 'biosVfTPMSupport'
BIOS_VF_UCSMBOOT_ORDER_RULE_CONTROL = 'biosVfUCSMBootOrderRuleControl'
BIOS_VF_USBBOOT_CONFIG = 'biosVfUSBBootConfig'
BIOS_VF_USBEMULATION = 'biosVfUSBEmulation'
BIOS_VF_USBPORTS_CONFIG = 'biosVfUSBPortsConfig'
BIOS_VF_VGA_PRIORITY = 'biosVfVgaPriority'
BIOS_VF_WORK_LOAD_CONFIG = 'biosVfWorkLoadConfig'
BW_FILTER = 'bwFilter'
CERTIFICATE_MANAGEMENT = 'certificateManagement'
COMM_HTTP = 'commHttp'
COMM_HTTPS = 'commHttps'
COMM_IPMI_LAN = 'commIpmiLan'
COMM_KVM = 'commKvm'
COMM_NTP_PROVIDER = 'commNtpProvider'
COMM_SNMP = 'commSnmp'
COMM_SNMP_TRAP = 'commSnmpTrap'
COMM_SNMP_USER = 'commSnmpUser'
COMM_SSH = 'commSsh'
COMM_SVC_EP = 'commSvcEp'
COMM_SYSLOG = 'commSyslog'
COMM_SYSLOG_CLIENT = 'commSyslogClient'
COMM_VMEDIA = 'commVMedia'
COMM_VMEDIA_MAP = 'commVMediaMap'
COMPUTE_BOARD = 'computeBoard'
COMPUTE_MB_POWER_STATS = 'computeMbPowerStats'
COMPUTE_RACK_UNIT = 'computeRackUnit'
COMPUTE_RACK_UNIT_MB_TEMP_STATS = 'computeRackUnitMbTempStats'
CONFIG_CONFIG = 'configConfig'
CONFIG_CONF_MO = 'configConfMo'
CONFIG_MAP = 'configMap'
CONFIG_RESOLVE_CHILDREN = 'configResolveChildren'
CONFIG_RESOLVE_CLASS = 'configResolveClass'
CONFIG_RESOLVE_DN = 'configResolveDn'
CONFIG_RESOLVE_PARENT = 'configResolveParent'
CONFIG_SET = 'configSet'
CURRENT_CERTIFICATE = 'currentCertificate'
DN = 'dn'
EQUIPMENT_FAN = 'equipmentFan'
EQUIPMENT_FAN_MODULE = 'equipmentFanModule'
EQUIPMENT_INDICATOR_LED = 'equipmentIndicatorLed'
EQUIPMENT_LOCATOR_LED = 'equipmentLocatorLed'
EQUIPMENT_PSU = 'equipmentPsu'
EQUIPMENT_PSU_COLD_REDUNDANCY = 'equipmentPsuColdRedundancy'
EQUIPMENT_PSU_FAN = 'equipmentPsuFan'
EQUIPMENT_TPM = 'equipmentTpm'
EQ_FILTER = 'eqFilter'
ERROR = 'error'
EVENT_SUBSCRIBE = 'eventSubscribe'
EVENT_UNSUBSCRIBE = 'eventUnsubscribe'
FAULT_INST = 'faultInst'
FILTER_FILTER = 'filterFilter'
FIRMWARE_BOOT_DEFINITION = 'firmwareBootDefinition'
FIRMWARE_BOOT_UNIT = 'firmwareBootUnit'
FIRMWARE_RUNNING = 'firmwareRunning'
FIRMWARE_UPDATABLE = 'firmwareUpdatable'
GENERATED_STORAGE_CONTROLLER_KEY_ID = 'generatedStorageControllerKeyId'
GENERATE_CERTIFICATE_SIGNING_REQUEST = 'generateCertificateSigningRequest'
GE_FILTER = 'geFilter'
GT_FILTER = 'gtFilter'
HUU_CONTROLLER = 'huuController'
HUU_FIRMWARE_CATALOG = 'huuFirmwareCatalog'
HUU_FIRMWARE_CATALOG_COMPONENT = 'huuFirmwareCatalogComponent'
HUU_FIRMWARE_COMPONENT = 'huuFirmwareComponent'
HUU_FIRMWARE_RUNNING = 'huuFirmwareRunning'
HUU_FIRMWARE_UPDATER = 'huuFirmwareUpdater'
HUU_FIRMWARE_UPDATE_CANCEL = 'huuFirmwareUpdateCancel'
HUU_FIRMWARE_UPDATE_STATUS = 'huuFirmwareUpdateStatus'
HUU_UPDATE_COMPONENT_STATUS = 'huuUpdateComponentStatus'
IOD_CONTROLLER = 'iodController'
IOD_SNAPSHOT_CANCEL = 'iodSnapshotCancel'
IOD_SNAPSHOT_START = 'iodSnapshotStart'
IOD_SNAPSHOT_STATUS = 'iodSnapshotStatus'
IP_BLOCKING = 'ipBlocking'
LE_FILTER = 'leFilter'
LSBOOT_BOOT_SECURITY = 'lsbootBootSecurity'
LSBOOT_DEF = 'lsbootDef'
LSBOOT_DEV_PRECISION = 'lsbootDevPrecision'
LSBOOT_EFI = 'lsbootEfi'
LSBOOT_HDD = 'lsbootHdd'
LSBOOT_ISCSI = 'lsbootIscsi'
LSBOOT_LAN = 'lsbootLan'
LSBOOT_LOCAL_STORAGE = 'lsbootLocalStorage'
LSBOOT_PCH_STORAGE = 'lsbootPchStorage'
LSBOOT_PXE = 'lsbootPxe'
LSBOOT_SAN = 'lsbootSan'
LSBOOT_SD = 'lsbootSd'
LSBOOT_STORAGE = 'lsbootStorage'
LSBOOT_UEFI_SHELL = 'lsbootUefiShell'
LSBOOT_USB = 'lsbootUsb'
LSBOOT_VIRTUAL_MEDIA = 'lsbootVirtualMedia'
LSBOOT_VMEDIA = 'lsbootVMedia'
LT_FILTER = 'ltFilter'
MEMORY_ARRAY = 'memoryArray'
MEMORY_UNIT = 'memoryUnit'
MEMORY_UNIT_ENV_STATS = 'memoryUnitEnvStats'
METHOD = 'method'
MGMT_BACKUP = 'mgmtBackup'
MGMT_CONTROLLER = 'mgmtController'
MGMT_IF = 'mgmtIf'
MGMT_IMPORTER = 'mgmtImporter'
NETWORK_ADAPTER_ETH_IF = 'networkAdapterEthIf'
NETWORK_ADAPTER_UNIT = 'networkAdapterUnit'
NE_FILTER = 'neFilter'
NOT_FILTER = 'notFilter'
ONE_TIME_BOOT_DEVICE = 'oneTimeBootDevice'
OR_FILTER = 'orFilter'
PAIR = 'pair'
PCI_EQUIP_SLOT = 'pciEquipSlot'
PID_CATALOG = 'pidCatalog'
PID_CATALOG_CPU = 'pidCatalogCpu'
PID_CATALOG_DIMM = 'pidCatalogDimm'
PID_CATALOG_HDD = 'pidCatalogHdd'
PID_CATALOG_PCIADAPTER = 'pidCatalogPCIAdapter'
POWER_BUDGET = 'powerBudget'
POWER_MONITOR = 'powerMonitor'
PROCESSOR_ENV_STATS = 'processorEnvStats'
PROCESSOR_UNIT = 'processorUnit'
SELF_ENCRYPT_STORAGE_CONTROLLER = 'selfEncryptStorageController'
SERVER_UTILIZATION = 'serverUtilization'
SOL_IF = 'solIf'
STANDARD_POWER_PROFILE = 'standardPowerProfile'
STORAGE_CONTROLLER = 'storageController'
STORAGE_CONTROLLER_PROPS = 'storageControllerProps'
STORAGE_CONTROLLER_SETTINGS = 'storageControllerSettings'
STORAGE_FLEX_FLASH_CONTROLLER = 'storageFlexFlashController'
STORAGE_FLEX_FLASH_CONTROLLER_PROPS = 'storageFlexFlashControllerProps'
STORAGE_FLEX_FLASH_OPERATIONAL_PROFILE = 'storageFlexFlashOperationalProfile'
STORAGE_FLEX_FLASH_PHYSICAL_DRIVE = 'storageFlexFlashPhysicalDrive'
STORAGE_FLEX_FLASH_VIRTUAL_DRIVE = 'storageFlexFlashVirtualDrive'
STORAGE_FLEX_FLASH_VIRTUAL_DRIVE_IMAGE_MAP = 'storageFlexFlashVirtualDriveImageMap'
STORAGE_LOCAL_DISK = 'storageLocalDisk'
STORAGE_LOCAL_DISK_PROPS = 'storageLocalDiskProps'
STORAGE_LOCAL_DISK_SLOT_EP = 'storageLocalDiskSlotEp'
STORAGE_LOCAL_DISK_USAGE = 'storageLocalDiskUsage'
STORAGE_OPERATION = 'storageOperation'
STORAGE_RAID_BATTERY = 'storageRaidBattery'
STORAGE_UNUSED_LOCAL_DISK = 'storageUnusedLocalDisk'
STORAGE_VIRTUAL_DRIVE = 'storageVirtualDrive'
STORAGE_VIRTUAL_DRIVE_CREATOR_USING_UNUSED_PHYSICAL_DRIVE = 'storageVirtualDriveCreatorUsingUnusedPhysicalDrive'
STORAGE_VIRTUAL_DRIVE_CREATOR_USING_VIRTUAL_DRIVE_GROUP = 'storageVirtualDriveCreatorUsingVirtualDriveGroup'
STORAGE_VIRTUAL_DRIVE_WITH_DRIVE_GROUP_SPACE = 'storageVirtualDriveWithDriveGroupSpace'
SUGGESTED_STORAGE_CONTROLLER_SECURITY_KEY = 'suggestedStorageControllerSecurityKey'
SYSDEBUG_MEP_LOG = 'sysdebugMEpLog'
SYSDEBUG_TECH_SUPPORT_EXPORT = 'sysdebugTechSupportExport'
SYSTEM_IOCONTROLLER = 'systemIOController'
TOP_ROOT = 'topRoot'
TOP_SYSTEM = 'topSystem'
UPLOAD_CERTIFICATE = 'uploadCertificate'
WCARD_FILTER = 'wcardFilter'
class imcsdk.imcconstants.NamingPropertyId[source]
ABSOLUTE_STATE_OF_CHARGE = 'absoluteStateOfCharge'
ACCESS = 'access'
ACCESS_POLICY = 'accessPolicy'
ACCOUNT_STATUS = 'accountStatus'
ACK = 'ack'
ACTIVE_SESSIONS = 'activeSessions'
ACTIVE_STATUS = 'activeStatus'
ACTUAL_BOOT_MODE = 'actualBootMode'
ADDRESS = 'address'
ADMIN_ACTION = 'adminAction'
ADMIN_DUPLEX = 'adminDuplex'
ADMIN_NET_SPEED = 'adminNetSpeed'
ADMIN_PERSISTENT_BINDINGS = 'adminPersistentBindings'
ADMIN_POWER = 'adminPower'
ADMIN_SPEED = 'adminSpeed'
ADMIN_STATE = 'adminState'
AFFECTED_DN = 'affectedDN'
ALLOW_BACKGROUND_INIT = 'allowBackgroundInit'
ALLOW_THROTTLE = 'allowThrottle'
AMBIENT_TEMP = 'ambientTemp'
ARCH = 'arch'
ARFS = 'arfs'
ARRAY = 'array'
ATTRIBUTE = 'attribute'
AUTH = 'auth'
AUTH_PWD = 'authPwd'
AUTO_DELETE_OLDEST = 'autoDeleteOldest'
AUTO_ENHANCED_IMPORT = 'autoEnhancedImport'
AUTO_NEG = 'autoNeg'
AUTO_SNAPSHOT = 'autoSnapshot'
AUTO_SYNC = 'autoSync'
AVAILABLE_MEMORY = 'availableMemory'
AVERAGE = 'average'
BACKEND_PORT_COUNT = 'backendPortCount'
BANK_LOCATOR = 'bankLocator'
BASEDN = 'basedn'
BATTERY_PRESENT = 'batteryPresent'
BATTERY_STATUS = 'batteryStatus'
BATTERY_TYPE = 'batteryType'
BATTERY_WARNING = 'batteryWarning'
BBU_PRESENT = 'bbuPresent'
BIND_DN = 'bindDn'
BIND_METHOD = 'bindMethod'
BLOCK_COUNT = 'blockCount'
BLOCK_SIZE = 'blockSize'
BOOT_BLOCK_VERSION = 'bootBlockVersion'
BOOT_DRIVE = 'bootDrive'
BOOT_DRIVE_IS_PHYSICAL_DRIVE = 'bootDriveIsPhysicalDrive'
BOOT_LUN = 'bootLun'
BOOT_VERSION = 'bootVersion'
BUS_ID = 'busId'
CACHE_FLUSH_INTERVAL = 'cacheFlushInterval'
CACHE_MEMORY_SIZE = 'cacheMemorySize'
CACHE_POLICY = 'cachePolicy'
CAPACITY = 'capacity'
CARDS_MANAGEABLE = 'cardsManageable'
CARD_MODE = 'cardMode'
CARD_SLOT = 'cardSlot'
CARD_STATUS = 'cardStatus'
CARD_TYPE = 'cardType'
CAUSE = 'cause'
CERTIFICATE_CONTENT = 'certificateContent'
CHANGE_SET = 'changeSet'
CHANNEL_NUMBER = 'channelNumber'
CHARGING_STATE = 'chargingState'
CIMC_MANAGEMENT_ENABLED = 'cimcManagementEnabled'
CIMC_RESET_REASON = 'cimcResetReason'
CIMC_SECURE_BOOT = 'cimcSecureBoot'
CLASS_OF_SERVICE = 'classOfService'
CLOCK = 'clock'
CLUSTER_ENABLE = 'clusterEnable'
CNTRL_ID = 'cntrlId'
COALESCING_TIME = 'coalescingTime'
COALESCING_TYPE = 'coalescingType'
CODE = 'code'
COERCED_SIZE = 'coercedSize'
COLOR = 'color'
COM2_SEC = 'com2Sec'
COMMON_NAME = 'commonName'
COMMUNITY = 'community'
COMPLETED_CHARGE_CYCLES = 'completedChargeCycles'
COMPLETION_QUEUE_COUNT = 'completionQueueCount'
COMPLETION_QUEUE_RING_SIZE = 'completionQueueRingSize'
COMPONENT = 'component'
COMPONENT_NAME = 'componentName'
COMPORT = 'comport'
CONFIGURATION_PENDING = 'configurationPending'
CONFIGURED_BOOT_MODE = 'configuredBootMode'
CONFIGURED_MODE = 'configuredMode'
CONSISTENCY_CHECK_RATE = 'consistencyCheckRate'
CONSUMED_POWER = 'consumedPower'
CONTROLLER = 'controller'
CONTROLLER_NAME = 'controllerName'
CONTROLLER_REPORTED = 'controllerReported'
CONTROLLER_STATUS = 'controllerStatus'
CORES = 'cores'
CORES_ENABLED = 'coresEnabled'
CORR_ACTION = 'corrAction'
CORR_TIME = 'corrTime'
COUNT = 'count'
COUNTRY_CODE = 'countryCode'
CPU_POWER_LIMIT = 'cpuPowerLimit'
CPU_SAFE_THROT_LVL = 'cpuSafeThrotLvl'
CPU_UTILIZATION = 'cpuUtilization'
CREATED = 'created'
CREATED_VIRTUAL_DRIVE_DN = 'createdVirtualDriveDn'
CRITICAL_PHYSICAL_DRIVE_COUNT = 'criticalPhysicalDriveCount'
CSR_STATUS = 'csrStatus'
CURRENT = 'current'
CURRENTSPEED = 'currentspeed'
CURRENT_LROP = 'currentLrop'
CURRENT_STATUS = 'currentStatus'
CURRENT_TIME = 'currentTime'
CURRENT_WRITE_CACHE_POLICY = 'currentWriteCachePolicy'
CURR_CAPACITY = 'currCapacity'
DATAWIDTH = 'datawidth'
DATE_OF_MANUFACTURE = 'dateOfManufacture'
DDNS_DOMAIN = 'ddnsDomain'
DDNS_ENABLE = 'ddnsEnable'
DEDICATED_HOT_SPARE_FOR_VDID = 'dedicatedHotSpareForVDId'
DEGRADED_VIRTUAL_DRIVE_COUNT = 'degradedVirtualDriveCount'
DELAY = 'delay'
DELAY_TYPE = 'delayType'
DEPLOYMENT = 'deployment'
DESCR = 'descr'
DESCRIPTION = 'description'
DESIGN_CAPACITY = 'designCapacity'
DESIGN_VOLTAGE = 'designVoltage'
DEVICE = 'device'
DEVICE_ID = 'deviceId'
DHCP_ENABLE = 'dhcpEnable'
DHCP_ID = 'dhcpId'
DHCP_ISCSI = 'dhcpISCSI'
DHCP_NETWORK_SETTINGS = 'dhcpNetworkSettings'
DHCP_TIMEOUT = 'dhcpTimeout'
DIMM_BLACK_LIST = 'dimmBlackList'
DISK = 'disk'
DISK_CACHE_POLICY = 'diskCachePolicy'
DN = 'dn'
DNS_ALTERNATE = 'dnsAlternate'
DNS_DOMAIN_SOURCE = 'dnsDomainSource'
DNS_PREFERRED = 'dnsPreferred'
DNS_SEARCH_DOMAIN = 'dnsSearchDomain'
DNS_SEARCH_FOREST = 'dnsSearchForest'
DNS_USING_DHCP = 'dnsUsingDhcp'
DOMAIN = 'domain'
DRIVES_ENABLED = 'drivesEnabled'
DRIVES_PER_SPAN = 'drivesPerSpan'
DRIVE_FIRMWARE = 'driveFirmware'
DRIVE_GROUP = 'driveGroup'
DRIVE_SCOPE = 'driveScope'
DRIVE_SERIAL_NUMBER = 'driveSerialNumber'
DRIVE_STATE = 'driveState'
DRIVE_STATUS = 'driveStatus'
DRIVE_TYPE = 'driveType'
ECC_BUCKET_LEAK_RATE = 'eccBucketLeakRate'
ELAPSED_SECONDS = 'elapsedSeconds'
EMAIL = 'email'
ENABLE = 'enable'
ENABLED_STATUS = 'enabledStatus'
ENABLE_COPYBACK_ON_SMART = 'enableCopybackOnSmart'
ENABLE_COPYBACK_TO_SSD_ON_SMART_ERROR = 'enableCopybackToSsdOnSmartError'
ENABLE_JBOD = 'enableJbod'
ENABLE_SSD_PATROL_READ = 'enableSsdPatrolRead'
ENCLOSURE_DEVICE_ID = 'enclosureDeviceId'
ENCRYPTION = 'encryption'
ENCRYPTION_STATE = 'encryptionState'
ENGINE_ID = 'engineId'
ERROR_DESCRIPTION = 'errorDescription'
ERROR_DETECT_TIMEOUT = 'errorDetectTimeout'
EXISTING_SECURITY_KEY = 'existingSecurityKey'
EXPECTED_MARGIN_OF_ERROR = 'expectedMarginOfError'
EXPOSE_ENCLOSURE_DEVICES = 'exposeEnclosureDevices'
EXT_ENABLED = 'extEnabled'
EXT_GW = 'extGw'
EXT_IP = 'extIp'
EXT_MASK = 'extMask'
FAILED_MEMORY = 'failedMemory'
FAILED_PHYSICAL_DRIVE_COUNT = 'failedPhysicalDriveCount'
FAIL_COUNT = 'failCount'
FAIL_WINDOW = 'failWindow'
FCP_ERROR_RECOVERY = 'fcpErrorRecovery'
FDE_CAPABLE = 'fdeCapable'
FDE_ENABLED = 'fdeEnabled'
FILTER = 'filter'
FIP_MODE = 'fipMode'
FIRMWARE_PACKAGE_BUILD = 'firmwarePackageBuild'
FIRMWARE_VERSION = 'firmwareVersion'
FLASH_PRESENT = 'flashPresent'
FOREIGN_LOCKED = 'foreignLocked'
FORM_FACTOR = 'formFactor'
FRONT_TEMP = 'frontTemp'
FSM_DESCR = 'fsmDescr'
FSM_PROGR = 'fsmProgr'
FSM_RMT_INV_ERR_CODE = 'fsmRmtInvErrCode'
FSM_RMT_INV_ERR_DESCR = 'fsmRmtInvErrDescr'
FSM_STAGE_DESCR = 'fsmStageDescr'
FSM_STATUS = 'fsmStatus'
FULL_CAPACITY = 'fullCapacity'
FW_VERSION = 'fwVersion'
GENERATED_KEY_ID = 'generatedKeyId'
GROUP_ATTRIBUTE = 'groupAttribute'
GROUP_AUTH = 'groupAuth'
HARD_CAP = 'hardCap'
HEALTH = 'health'
HIGHEST_SEVERITY = 'highestSeverity'
HOST = 'host'
HOSTNAME = 'hostname'
HOST_ACCESSIBLE = 'hostAccessible'
HOST_WWPN = 'hostWwpn'
HUU_IMAGE_VERSION = 'huuImageVersion'
ID = 'id'
IF_TYPE = 'ifType'
IGNORED_MEMORY = 'ignoredMemory'
IGNORE_COMP_CHECK = 'ignoreCompCheck'
IMAGE = 'image'
INDEX = 'index'
INITIATOR_CHAP_NAME = 'initiatorChapName'
INITIATOR_CHAP_SECRET = 'initiatorChapSecret'
INITIATOR_GATEWAY = 'initiatorGateway'
INITIATOR_IPADDRESS = 'initiatorIPAddress'
INITIATOR_NAME = 'initiatorName'
INITIATOR_PRIMARY_DNS = 'initiatorPrimaryDns'
INITIATOR_PRIORITY = 'initiatorPriority'
INITIATOR_SECONDARY_DNS = 'initiatorSecondaryDns'
INITIATOR_SUBNET_MASK = 'initiatorSubnetMask'
INITIATOR_TCPTIMEOUT = 'initiatorTCPTimeout'
INPUT = 'input'
INPUT_CURRENT = 'inputCurrent'
INPUT_VOLTAGE = 'inputVoltage'
INTERFACE_TYPE = 'interfaceType'
INTERNAL_STATE = 'internalState'
INTERRUPT_COUNT = 'interruptCount'
INTERRUPT_MODE = 'interruptMode'
IOD_IMAGE_VERSION = 'iodImageVersion'
IOH1_TEMP = 'ioh1Temp'
IOH2_TEMP = 'ioh2Temp'
IO_READ_ERROR_THRESHOLD = 'ioReadErrorThreshold'
IO_THROTTLE_COUNT = 'ioThrottleCount'
IO_UTILIZATION = 'ioUtilization'
IO_WRITE_ERROR_THRESHOLD = 'ioWriteErrorThreshold'
IP_HASH = 'ipHash'
IP_VER = 'ipVer'
ISCSI_BOOT = 'iscsiBoot'
ISCSI_BOOT_SUPPORTED = 'iscsiBootSupported'
ISO_SHARE = 'isoShare'
ISO_SHARE_FILE = 'isoShareFile'
ISO_SHARE_IP = 'isoShareIp'
ISO_SHARE_PATH = 'isoSharePath'
ISO_SHARE_TYPE = 'isoShareType'
ISSUER_COMMON_NAME = 'issuerCommonName'
ISSUER_COUNTRY_CODE = 'issuerCountryCode'
ISSUER_LOCALITY = 'issuerLocality'
ISSUER_ORGANIZATION = 'issuerOrganization'
ISSUER_ORGANIZATIONAL_UNIT = 'issuerOrganizationalUnit'
ISSUER_STATE = 'issuerState'
KEY = 'key'
KEY_ID = 'keyId'
LARGE_RECEIVE = 'largeReceive'
LAST_CONFIGURED_BOOT_ORDER_SOURCE = 'lastConfiguredBootOrderSource'
LAST_OPERATION_STATUS = 'lastOperationStatus'
LAST_QUERIED_TIME_STAMP = 'lastQueriedTimeStamp'
LAST_TRANSITION = 'lastTransition'
LC = 'lc'
LDAP_SERVER1 = 'ldapServer1'
LDAP_SERVER2 = 'ldapServer2'
LDAP_SERVER3 = 'ldapServer3'
LDAP_SERVER4 = 'ldapServer4'
LDAP_SERVER5 = 'ldapServer5'
LDAP_SERVER6 = 'ldapServer6'
LDAP_SERVER_PORT1 = 'ldapServerPort1'
LDAP_SERVER_PORT2 = 'ldapServerPort2'
LDAP_SERVER_PORT3 = 'ldapServerPort3'
LDAP_SERVER_PORT4 = 'ldapServerPort4'
LDAP_SERVER_PORT5 = 'ldapServerPort5'
LDAP_SERVER_PORT6 = 'ldapServerPort6'
LEARN_CYCLE_REQUESTED = 'learnCycleRequested'
LEARN_CYCLE_STATUS = 'learnCycleStatus'
LEARN_MODE = 'learnMode'
LINKUP_TIMEOUT = 'linkupTimeout'
LOCALITY = 'locality'
LOCAL_SEVERITY = 'localSeverity'
LOCAL_TIME = 'localTime'
LOCAL_VIDEO_STATE = 'localVideoState'
LOCATE_DIRECTORY_USING_DNS = 'locateDirectoryUsingDNS'
LOCATION = 'location'
LOCATOR_LEDSTATUS = 'locatorLEDStatus'
LOCKED = 'locked'
LROP_IN_PROGRESS = 'lropInProgress'
LUN = 'lun'
LUNS_PER_TARGET = 'lunsPerTarget'
MAC = 'mac'
MAC_ADDR = 'macAddr'
MAINTAIN_PD_FAIL_HISTORY = 'maintainPdFailHistory'
MANUFACTURER = 'manufacturer'
MANUFACTURER_DATE = 'manufacturerDate'
MANUFACTURER_ID = 'manufacturerId'
MAP = 'map'
MAPPING_STATUS = 'mappingStatus'
MAP_TYPE = 'mapType'
MAXIMUM = 'maximum'
MAXIMUM_SESSIONS = 'maximumSessions'
MAX_AVAILABLE_SPACE = 'maxAvailableSpace'
MAX_CPU_POWER = 'maxCpuPower'
MAX_DATA_FIELD_SIZE = 'maxDataFieldSize'
MAX_DEVICES = 'maxDevices'
MAX_MEMORY_POWER = 'maxMemoryPower'
MAX_OUTPUT = 'maxOutput'
MAX_POWER = 'maxPower'
MEDIA_ERROR_COUNT = 'mediaErrorCount'
MEDIA_TYPE = 'mediaType'
MEMORY_CONFIGURATION = 'memoryConfiguration'
MEMORY_CORRECTABLE_ERRORS = 'memoryCorrectableErrors'
MEMORY_POWER_LIMIT = 'memoryPowerLimit'
MEMORY_PRESENT = 'memoryPresent'
MEMORY_RASPOSSIBLE = 'memoryRASPossible'
MEMORY_SIZE = 'memorySize'
MEMORY_SPEED = 'memorySpeed'
MEMORY_TYPE_DETAIL = 'memoryTypeDetail'
MEMORY_UNCORRECTABLE_ERRORS = 'memoryUncorrectableErrors'
MEMORY_UTILIZATION = 'memoryUtilization'
MEM_SAFE_THROT_LVL = 'memSafeThrotLvl'
MFGID = 'mfgid'
MINIMUM = 'minimum'
MIN_CPU_POWER = 'minCpuPower'
MIN_MEMORY_POWER = 'minMemoryPower'
MIN_POWER = 'minPower'
MIN_REQUIRED_PHYSICAL_DRIVES = 'minRequiredPhysicalDrives'
MISS_RDG_TIMEOUT = 'missRdgTimeout'
MODE = 'mode'
MODEL = 'model'
MODULE = 'module'
MOUNT_OPTIONS = 'mountOptions'
MTU = 'mtu'
NAME = 'name'
NCQ_STATUS = 'ncqStatus'
NEW_VERSION = 'newVersion'
NEXT_LEARN_CYCLE = 'nextLearnCycle'
NIC_MODE = 'nicMode'
NIC_REDUNDANCY = 'nicRedundancy'
NON_COERCED_SIZE = 'nonCoercedSize'
NON_UTIL_PARTITION_NAME = 'nonUtilPartitionName'
NOTIFICATION_TYPE = 'notificationType'
NTP_ENABLE = 'ntpEnable'
NTP_SERVER1 = 'ntpServer1'
NTP_SERVER2 = 'ntpServer2'
NTP_SERVER3 = 'ntpServer3'
NTP_SERVER4 = 'ntpServer4'
NTP_SERVER_STATUS = 'ntpServerStatus'
NUMBER_OF_BLOCKS = 'numberOfBlocks'
NUM_INTF = 'numIntf'
NUM_OF_ADAPTORS = 'numOfAdaptors'
NUM_OF_COMPONENTS = 'numOfComponents'
NUM_OF_CORES = 'numOfCores'
NUM_OF_CORES_ENABLED = 'numOfCoresEnabled'
NUM_OF_CPUS = 'numOfCpus'
NUM_OF_ETH_HOST_IFS = 'numOfEthHostIfs'
NUM_OF_FAILED_DIMMS = 'numOfFailedDimms'
NUM_OF_FC_HOST_IFS = 'numOfFcHostIfs'
NUM_OF_IGNORED_DIMMS = 'numOfIgnoredDimms'
NUM_OF_THREADS = 'numOfThreads'
NUM_OF_VMFEX_IFS = 'numOfVMFexIfs'
NVDATA_VERSION = 'nvdataVersion'
NVRAM_PRESENT = 'nvramPresent'
OCCUR = 'occur'
OEM_ID = 'oemId'
OFFLINE_VIRTUAL_DRIVE_COUNT = 'offlineVirtualDriveCount'
ONLINE = 'online'
OPERABILITY = 'operability'
OPERATING_MODE = 'operatingMode'
OPERATION_IN_PROGRESS = 'operationInProgress'
OPER_DUPLEX = 'operDuplex'
OPER_NET_SPEED = 'operNetSpeed'
OPER_POWER = 'operPower'
OPER_SPEED = 'operSpeed'
OPER_STATE = 'operState'
OPER_STATUS = 'operStatus'
ORDER = 'order'
ORGANIZATION = 'organization'
ORGANIZATIONAL_UNIT = 'organizationalUnit'
ORIGINAL_UUID = 'originalUuid'
ORIG_SEVERITY = 'origSeverity'
OTHER_ERROR_COUNT = 'otherErrorCount'
OVERALL_DIMMSTATUS = 'overallDIMMStatus'
OVERALL_STATUS = 'overallStatus'
OVERALL_UTILIZATION = 'overallUtilization'
OWNERSHIP = 'ownership'
PARTITION_COUNT = 'partitionCount'
PARTITION_ID = 'partitionId'
PARTITION_NAME = 'partitionName'
PART_NUMBER = 'partNumber'
PART_REVISION = 'partRevision'
PASSPHRASE = 'passphrase'
PASSWORD = 'password'
PASSWORD_POLICY_RULES = 'passwordPolicyRules'
PASSWORD_PROTECTED = 'passwordProtected'
PATROL_READ_RATE = 'patrolReadRate'
PCI_ADDR = 'pciAddr'
PCI_ORDER = 'pciOrder'
PCI_SLOT = 'pciSlot'
PD_STATUS = 'pdStatus'
PENALTY_TIME = 'penaltyTime'
PERF = 'perf'
PERSISTENT_LUN_BIND = 'persistentLunBind'
PHYSICAL_DRIVE = 'physicalDrive'
PHYSICAL_DRIVES_LIST = 'physicalDrivesList'
PHYSICAL_DRIVE_COUNT = 'physicalDriveCount'
PHYSICAL_DRIVE_ID = 'physicalDriveId'
PHYS_DRIVE_COERCION_MODE = 'physDriveCoercionMode'
PID = 'pid'
PLATFORM_THERMAL = 'platformThermal'
PLAT_SAFE_THROT_LVL = 'platSafeThrotLvl'
POPULATED = 'populated'
PORT = 'port'
PORT_DOWN_IO_RETRY_COUNT = 'portDownIoRetryCount'
PORT_DOWN_TIMEOUT = 'portDownTimeout'
PORT_ID = 'portId'
PORT_PROFILE = 'portProfile'
PORT_PROFILES_COUNT = 'portProfilesCount'
PORT_PROFILES_NAME = 'portProfilesName'
POWER = 'power'
POWER_CHAR_STATUS = 'powerCharStatus'
POWER_LIMIT = 'powerLimit'
POWER_STATE = 'powerState'
PREBOOT_CLI_VERSION = 'prebootCliVersion'
PREDICTIVE_FAILURE_COUNT = 'predictiveFailureCount'
PREDICTIVE_FAIL_POLL_INTERVAL = 'predictiveFailPollInterval'
PRESENCE = 'presence'
PRESENT = 'present'
PREV_SEVERITY = 'prevSeverity'
PRIMARY_TARGET_BOOT_LUN = 'primaryTargetBootLun'
PRIMARY_TARGET_CHAP_NAME = 'primaryTargetChapName'
PRIMARY_TARGET_CHAP_SECRET = 'primaryTargetChapSecret'
PRIMARY_TARGET_IPADDRESS = 'primaryTargetIPAddress'
PRIMARY_TARGET_NAME = 'primaryTargetName'
PRIMARY_TARGET_PORT = 'primaryTargetPort'
PRIV = 'priv'
PRIVACY = 'privacy'
PRIVACY_PWD = 'privacyPwd'
PRODUCT_ID = 'productId'
PRODUCT_NAME = 'productName'
PRODUCT_REVISION = 'productRevision'
PROFILE_ENABLED = 'profileEnabled'
PROFILE_TYPE = 'profileType'
PROGRESS = 'progress'
PROGRESS_PERCENT = 'progressPercent'
PROT = 'prot'
PROTO = 'proto'
PROTOCOL = 'protocol'
PURPOSE = 'purpose'
PWD = 'pwd'
PXE_BOOT = 'pxeBoot'
RAID_CHIP_TEMP_CENTIGRADE = 'raidChipTempCentigrade'
RAID_LEVEL = 'raidLevel'
RAID_PRIMARY_MEMBER = 'raidPrimaryMember'
RAID_ROLE = 'raidRole'
RAID_SECONDARY_ROLE = 'raidSecondaryRole'
RAID_SUPPORT = 'raidSupport'
RATE_LIMIT = 'rateLimit'
RAW_SIZE = 'rawSize'
RD_ERR_COUNT_SLOT1_THRESHOLD = 'rdErrCountSlot1Threshold'
RD_ERR_COUNT_SLOT2_THRESHOLD = 'rdErrCountSlot2Threshold'
READ_ERROR_COUNT = 'readErrorCount'
READ_ERROR_THRESHOLD = 'readErrorThreshold'
READ_POLICY = 'readPolicy'
REAPPLY = 'reapply'
REAR_TEMP = 'rearTemp'
REBOOT_ON_UPDATE = 'rebootOnUpdate'
REBUILD_RATE = 'rebuildRate'
RECEIVE_QUEUE_COUNT = 'receiveQueueCount'
RECEIVE_QUEUE_RING_SIZE = 'receiveQueueRingSize'
RECEIVE_SIDE_SCALING = 'receiveSideScaling'
RECEIVE_SIDE_SCALING_EXT_IP_V6_HASH = 'receiveSideScalingExtIpV6Hash'
RECEIVE_SIDE_SCALING_EXT_TCPIP_V6_HASH = 'receiveSideScalingExtTCPIpV6Hash'
RECEIVE_SIDE_SCALING_IP_V4_HASH = 'receiveSideScalingIpV4Hash'
RECEIVE_SIDE_SCALING_IP_V6_HASH = 'receiveSideScalingIpV6Hash'
RECEIVE_SIDE_SCALING_TCPIP_V4_HASH = 'receiveSideScalingTCPIpV4Hash'
RECEIVE_SIDE_SCALING_TCPIP_V6_HASH = 'receiveSideScalingTCPIpV6Hash'
RECONSTRUCTION_RATE = 'reconstructionRate'
REDIRECT_STATE = 'redirectState'
REDUNDANT_MEMORY = 'redundantMemory'
RELATIVE_STATE_OF_CHARGE = 'relativeStateOfCharge'
REMAINING_CAPACITY = 'remainingCapacity'
REMOTE_FILE = 'remoteFile'
REMOTE_IP = 'remoteIp'
REMOTE_PATH = 'remotePath'
REMOTE_SERVER = 'remoteServer'
REMOTE_SEVERITY = 'remoteSeverity'
REMOTE_SHARE = 'remoteShare'
REMOTE_SHARE_FILE = 'remoteShareFile'
REMOTE_SHARE_IP = 'remoteShareIp'
REMOTE_SHARE_PASSWORD = 'remoteSharePassword'
REMOTE_SHARE_PATH = 'remoteSharePath'
REMOTE_SHARE_TYPE = 'remoteShareType'
REMOTE_SHARE_USERNAME = 'remoteShareUsername'
REQUESTED_WRITE_CACHE_POLICY = 'requestedWriteCachePolicy'
RESET_ON_ACTIVATE = 'resetOnActivate'
RESOURCE_ALLOCATION_TIMEOUT = 'resourceAllocationTimeout'
RETENTION_TIME = 'retentionTime'
RETRIES = 'retries'
REVISION = 'revision'
RING_SIZE = 'ringSize'
RN = 'rn'
ROLE = 'role'
RULE = 'rule'
RUNNING_FW_VERSION = 'runningFwVersion'
RUNNING_TIME = 'runningTime'
RUNNING_VERSION = 'runningVersion'
RUN_POW_CHAR_AT_BOOT = 'runPowCharAtBoot'
SAN_BOOT = 'sanBoot'
SAS_ADDRESS0 = 'sasAddress0'
SAS_ADDRESS1 = 'sasAddress1'
SAS_ADDRESS2 = 'sasAddress2'
SAS_ADDRESS3 = 'sasAddress3'
SAS_ADDRESS4 = 'sasAddress4'
SAS_ADDRESS5 = 'sasAddress5'
SAS_ADDRESS6 = 'sasAddress6'
SAS_ADDRESS7 = 'sasAddress7'
SECONDARY_TARGET_BOOT_LUN = 'secondaryTargetBootLun'
SECONDARY_TARGET_CHAP_NAME = 'secondaryTargetChapName'
SECONDARY_TARGET_CHAP_SECRET = 'secondaryTargetChapSecret'
SECONDARY_TARGET_IPADDRESS = 'secondaryTargetIPAddress'
SECONDARY_TARGET_NAME = 'secondaryTargetName'
SECONDARY_TARGET_PORT = 'secondaryTargetPort'
SECURED = 'secured'
SECURE_BOOT = 'secureBoot'
SECURITY_KEY = 'securityKey'
SECURITY_LEVEL = 'securityLevel'
SELF_ENCRYPT_ENABLED = 'selfEncryptEnabled'
SELF_SIGNED = 'selfSigned'
SEQUENCE_NUMBER = 'sequenceNumber'
SERIAL = 'serial'
SERIALNUMBER = 'serialnumber'
SERIAL_DEBUGGER_PRESENT = 'serialDebuggerPresent'
SERIAL_NUMBER = 'serialNumber'
SERVER_ID = 'serverId'
SESSION_TIMEOUT = 'sessionTimeout'
SEVERITY = 'severity'
SHARED_VIRTUAL_DRIVE_ID = 'sharedVirtualDriveId'
SIGNATURE = 'signature'
SIZE = 'size'
SLOT = 'slot'
SLOT_NUMBER = 'slotNumber'
SMBIOS_ID = 'smbiosId'
SNAPSHOT_CANCEL_OP = 'snapshotCancelOp'
SNAPSHOT_REPORT = 'snapshotReport'
SOCKETDESIGNATION = 'socketdesignation'
SOCKET_DESIGNATION = 'socketDesignation'
SPAN = 'span'
SPAN_DEPTH = 'spanDepth'
SPEED = 'speed'
SPINUP_DELAY = 'spinupDelay'
SPINUP_DRIVE_COUNT = 'spinupDriveCount'
SPIN_DOWN_UNCONFIGURED = 'spinDownUnconfigured'
STARTING_BLOCK = 'startingBlock'
STARTUP_FW_VERSION = 'startupFwVersion'
START_TIME = 'startTime'
STATE = 'state'
STATUS = 'status'
STEPPING = 'stepping'
STOP_ON_ERROR = 'stopOnError'
STRIP_SIZE = 'stripSize'
SUBDEVICE = 'subdevice'
SUBJECT = 'subject'
SUBTYPE = 'subtype'
SUBVENDOR = 'subvendor'
SUB_DEVICE_ID = 'subDeviceId'
SUB_VENDOR_ID = 'subVendorId'
SUGGESTED_SECURITY_KEY = 'suggestedSecurityKey'
SUPPORTED = 'supported'
SUPPORTS_RAID0 = 'supportsRaid0'
SUPPORTS_RAID00 = 'supportsRaid00'
SUPPORTS_RAID1 = 'supportsRaid1'
SUPPORTS_RAID10 = 'supportsRaid10'
SUPPORTS_RAID1E = 'supportsRaid1e'
SUPPORTS_RAID1E0RLQ0 = 'supportsRaid1e0rlq0'
SUPPORTS_RAID1ERLQ0 = 'supportsRaid1erlq0'
SUPPORTS_RAID5 = 'supportsRaid5'
SUPPORTS_RAID50 = 'supportsRaid50'
SUPPORTS_RAID6 = 'supportsRaid6'
SUPPORTS_RAID60 = 'supportsRaid60'
SUPPORTS_RAIDSRL03 = 'supportsRaidsrl03'
SUSPEND_PERIOD = 'suspendPeriod'
SYNC_MODE = 'syncMode'
SYS_CONTACT = 'sysContact'
SYS_LOCATION = 'sysLocation'
TAGS = 'tags'
TARGET_ID = 'targetId'
TARGET_WWPN = 'targetWwpn'
TCP_HASH = 'tcpHash'
TCP_RX_CHECKSUM = 'tcpRxChecksum'
TCP_SEGMENT = 'tcpSegment'
TCP_TX_CHECKSUM = 'tcpTxChecksum'
TEMPERATURE = 'temperature'
TEMPERATURE_HIGH = 'temperatureHigh'
THERMAL = 'thermal'
THERMAL_POW_LIMIT = 'thermalPowLimit'
THREADS = 'threads'
TIMEOUT = 'timeout'
TIME_COLLECTED = 'timeCollected'
TIME_OUT = 'timeOut'
TIME_ZONE = 'timeZone'
TOTAL_MEMORY = 'totalMemory'
TOTAL_SESSIONS = 'totalSessions'
TPM_REVISION = 'tpmRevision'
TRANSMIT_QUEUE_COUNT = 'transmitQueueCount'
TRANSMIT_QUEUE_RING_SIZE = 'transmitQueueRingSize'
TRANSPORT = 'transport'
TRAP_COMMUNITY = 'trapCommunity'
TRAY = 'tray'
TRUSTED_CLASS_OF_SERVICE = 'trustedClassOfService'
TTY_LOG_STATUS = 'ttyLogStatus'
TYPE = 'type'
UI = 'ui'
UPDATE_COMPONENT = 'updateComponent'
UPDATE_END_TIME = 'updateEndTime'
UPDATE_START_TIME = 'updateStartTime'
UPDATE_STATUS = 'updateStatus'
USED_PHYSICAL_DRIVE_IDS = 'usedPhysicalDriveIds'
USER = 'user'
USERNAME = 'username'
USER_PASSWORD_POLICY = 'userPasswordPolicy'
USNIC_COUNT = 'usnicCount'
USNIC_SUPPORTED = 'usnicSupported'
USR_LBL = 'usrLbl'
UUID = 'uuid'
VALID_FROM = 'validFrom'
VALID_TO = 'validTo'
VD_STATUS = 'vdStatus'
VENDOR = 'vendor'
VENDOR_ID = 'vendorId'
VERIFY_STATUS = 'verifyStatus'
VERIFY_UPDATE = 'verifyUpdate'
VERSION = 'version'
VIC_SLOT = 'vicSlot'
VIRTUAL_DRIVE = 'virtualDrive'
VIRTUAL_DRIVES_ENABLED = 'virtualDrivesEnabled'
VIRTUAL_DRIVE_COUNT = 'virtualDriveCount'
VIRTUAL_DRIVE_NAME = 'virtualDriveName'
VISIBILITY = 'visibility'
VLAN = 'vlan'
VLAN_ENABLE = 'vlanEnable'
VLAN_ID = 'vlanId'
VLAN_MODE = 'vlanMode'
VLAN_PRIORITY = 'vlanPriority'
VMQ = 'vmq'
VNTAG_MODE = 'vntagMode'
VOLTAGE = 'voltage'
VOLUME_NAME = 'volumeName'
VP_ADJACENT_CACHE_LINE_PREFETCH = 'vpAdjacentCacheLinePrefetch'
VP_ALL_USB_DEVICES = 'vpAllUsbDevices'
VP_ALTITUDE = 'vpAltitude'
VP_ASPMSUPPORT = 'vpASPMSupport'
VP_ASSERT_NMION_PERR = 'vpAssertNMIOnPERR'
VP_ASSERT_NMION_SERR = 'vpAssertNMIOnSERR'
VP_AUTONUMOUS_CSTATE_ENABLE = 'vpAutonumousCstateEnable'
VP_BAUD_RATE = 'vpBaudRate'
VP_BOOT_OPTION_RETRY = 'vpBootOptionRetry'
VP_CDNENABLE = 'vpCDNEnable'
VP_CDNSUPPORT = 'vpCDNSupport'
VP_CHANNEL_INTER_LEAVE = 'vpChannelInterLeave'
VP_CKE_LOW_POLICY = 'vpCkeLowPolicy'
VP_CONSOLE_REDIRECTION = 'vpConsoleRedirection'
VP_CORE_MULTI_PROCESSING = 'vpCoreMultiProcessing'
VP_CPUENERGY_PERFORMANCE = 'vpCPUEnergyPerformance'
VP_CPUFREQUENCY_FLOOR = 'vpCPUFrequencyFloor'
VP_CPUPERFORMANCE = 'vpCPUPerformance'
VP_CPUPOWER_MANAGEMENT = 'vpCPUPowerManagement'
VP_DEMAND_SCRUB = 'vpDemandScrub'
VP_DIRECT_CACHE_ACCESS = 'vpDirectCacheAccess'
VP_DRAMCLOCK_THROTTLING = 'vpDRAMClockThrottling'
VP_DRAM_REFRESH_RATE = 'vpDramRefreshRate'
VP_ENHANCED_INTEL_SPEED_STEP_TECH = 'vpEnhancedIntelSpeedStepTech'
VP_EXECUTE_DISABLE_BIT = 'vpExecuteDisableBit'
VP_EXTENDED_APIC = 'vpExtendedAPIC'
VP_FLOW_CONTROL = 'vpFlowControl'
VP_FRB2_ENABLE = 'vpFRB2Enable'
VP_HARDWARE_PREFETCH = 'vpHardwarePrefetch'
VP_HWPMENABLE = 'vpHWPMEnable'
VP_INTEL_HYPER_THREADING_TECH = 'vpIntelHyperThreadingTech'
VP_INTEL_TURBO_BOOST_TECH = 'vpIntelTurboBoostTech'
VP_INTEL_VIRTUALIZATION_TECHNOLOGY = 'vpIntelVirtualizationTechnology'
VP_INTEL_VTDATSSUPPORT = 'vpIntelVTDATSSupport'
VP_INTEL_VTDCOHERENCY_SUPPORT = 'vpIntelVTDCoherencySupport'
VP_INTEL_VTDINTERRUPT_REMAPPING = 'vpIntelVTDInterruptRemapping'
VP_INTEL_VTDPASS_THROUGH_DMASUPPORT = 'vpIntelVTDPassThroughDMASupport'
VP_INTEL_VTFOR_DIRECTED_IO = 'vpIntelVTForDirectedIO'
VP_IOHRESOURCE = 'vpIOHResource'
VP_IPPREFETCH = 'vpIPPrefetch'
VP_LEGACY_OSREDIRECTION = 'vpLegacyOSRedirection'
VP_LEGACY_USBSUPPORT = 'vpLegacyUSBSupport'
VP_LOMPORT0_STATE = 'vpLOMPort0State'
VP_LOMPORT1_STATE = 'vpLOMPort1State'
VP_LOMPORT2_STATE = 'vpLOMPort2State'
VP_LOMPORT3_STATE = 'vpLOMPort3State'
VP_LOMPORTS_ALL_STATE = 'vpLOMPortsAllState'
VP_LV_DDRMODE = 'vpLvDDRMode'
VP_MAKE_DEVICE_NON_BOOTABLE = 'vpMakeDeviceNonBootable'
VP_MEMORY_INTER_LEAVE = 'vpMemoryInterLeave'
VP_MEMORY_MAPPED_IOABOVE4_GB = 'vpMemoryMappedIOAbove4GB'
VP_MIRRORING_MODE = 'vpMirroringMode'
VP_MMCFGBASE = 'vpMMCFGBase'
VP_NUMAOPTIMIZED = 'vpNUMAOptimized'
VP_ONBOARD10_GBIT_LOM = 'vpOnboard10GbitLOM'
VP_ONBOARD_GBIT_LOM = 'vpOnboardGbitLOM'
VP_ONBOARD_SCUSTORAGE_SUPPORT = 'vpOnboardSCUStorageSupport'
VP_ONBOARD_SCUSTORAGE_SWSTACK = 'vpOnboardSCUStorageSWStack'
VP_OSBOOT_WATCHDOG_TIMER = 'vpOSBootWatchdogTimer'
VP_OSBOOT_WATCHDOG_TIMER_POLICY = 'vpOSBootWatchdogTimerPolicy'
VP_OSBOOT_WATCHDOG_TIMER_TIMEOUT = 'vpOSBootWatchdogTimerTimeout'
VP_OUT_OF_BAND_MGMT_PORT = 'vpOutOfBandMgmtPort'
VP_PACKAGE_CSTATE_LIMIT = 'vpPackageCStateLimit'
VP_PATROL_SCRUB = 'vpPatrolScrub'
VP_PATROL_SCRUB_DURATION = 'vpPatrolScrubDuration'
VP_PCH_USB30_MODE = 'vpPchUsb30Mode'
VP_PCIOPTION_ROMS = 'vpPCIOptionROMs'
VP_PCI_ROM_CLP = 'vpPciRomClp'
VP_POSTERROR_PAUSE = 'vpPOSTErrorPause'
VP_PROCESSOR_C1_E = 'vpProcessorC1E'
VP_PROCESSOR_C3_REPORT = 'vpProcessorC3Report'
VP_PROCESSOR_C6_REPORT = 'vpProcessorC6Report'
VP_PROCESSOR_CSTATE = 'vpProcessorCState'
VP_PSTATE_COORD_TYPE = 'vpPStateCoordType'
VP_PUTTY_KEY_PAD = 'vpPuttyKeyPad'
VP_PWR_PERF_TUNING = 'vpPwrPerfTuning'
VP_QPI_SNOOP_MODE = 'vpQpiSnoopMode'
VP_RANK_INTER_LEAVE = 'vpRankInterLeave'
VP_REDIRECTION_AFTER_POST = 'vpRedirectionAfterPOST'
VP_RESUME_ON_ACPOWER_LOSS = 'vpResumeOnACPowerLoss'
VP_SATA_MODE_SELECT = 'vpSataModeSelect'
VP_SELECT_MEMORY_RASCONFIGURATION = 'vpSelectMemoryRASConfiguration'
VP_SERIAL_PORT_AENABLE = 'vpSerialPortAEnable'
VP_SLOT10_STATE = 'vpSlot10State'
VP_SLOT1_STATE = 'vpSlot1State'
VP_SLOT2_STATE = 'vpSlot2State'
VP_SLOT3_STATE = 'vpSlot3State'
VP_SLOT4_STATE = 'vpSlot4State'
VP_SLOT5_STATE = 'vpSlot5State'
VP_SLOT6_STATE = 'vpSlot6State'
VP_SLOT7_STATE = 'vpSlot7State'
VP_SLOT8_STATE = 'vpSlot8State'
VP_SLOT9_STATE = 'vpSlot9State'
VP_SLOT_HBASTATE = 'vpSlotHBAState'
VP_SLOT_MEZZ_STATE = 'vpSlotMezzState'
VP_SLOT_MLOMSTATE = 'vpSlotMLOMState'
VP_SLOT_N1_STATE = 'vpSlotN1State'
VP_SLOT_N2_STATE = 'vpSlotN2State'
VP_SLOT_SASSTATE = 'vpSlotSASState'
VP_SPARING_MODE = 'vpSparingMode'
VP_SR_IOV = 'vpSrIov'
VP_STREAMER_PREFETCH = 'vpStreamerPrefetch'
VP_TERMINAL_TYPE = 'vpTerminalType'
VP_TPMSUPPORT = 'vpTPMSupport'
VP_UCSMBOOT_ORDER_RULE = 'vpUCSMBootOrderRule'
VP_USBEMUL6064 = 'vpUSBEmul6064'
VP_USB_PORT_FRONT = 'vpUsbPortFront'
VP_USB_PORT_INTERNAL = 'vpUsbPortInternal'
VP_USB_PORT_KVM = 'vpUsbPortKVM'
VP_USB_PORT_REAR = 'vpUsbPortRear'
VP_USB_PORT_SDCARD = 'vpUsbPortSDCard'
VP_USB_PORT_VMEDIA = 'vpUsbPortVMedia'
VP_VGA_PRIORITY = 'vpVgaPriority'
VP_WORK_LOAD_CONFIG = 'vpWorkLoadConfig'
WEB_BIOS_VERSION = 'webBiosVersion'
WIDTH = 'width'
WRITE_CACHE_POLICY = 'writeCachePolicy'
WRITE_ENABLED = 'writeEnabled'
WRITE_ERROR_COUNT = 'writeErrorCount'
WRITE_ERROR_THRESHOLD = 'writeErrorThreshold'
WRITE_POLICY = 'writePolicy'
WR_ERR_COUNT_SLOT1_THRESHOLD = 'wrErrCountSlot1Threshold'
WR_ERR_COUNT_SLOT2_THRESHOLD = 'wrErrCountSlot2Threshold'
WWNN = 'wwnn'
WWPN = 'wwpn'
class imcsdk.imcconstants.ObjectStatus[source]
CREATED = 'created'
DELETED = 'deleted'
MODIFIED = 'modified'
REMOVED = 'removed'
class imcsdk.imcconstants.Status[source]
CREATED = 'created'
DELETED = 'deleted'
MODIFIED = 'modified'
REMOVED = 'removed'
class imcsdk.imcconstants.SyslogSeverity[source]
ALERT = 'alert'
CRITICAL = 'critical'
DEBUG = 'debug'
EMERGENCY = 'emergency'
ERROR = 'error'
INFORMATIONAL = 'informational'
NOTICE = 'notice'
WARNING = 'warning'
class imcsdk.imcconstants.YesOrNo[source]
FALSE = 'false'
NO = 'no'
TRUE = 'true'
YES = 'yes'

This module contains the ImcSdk Core classes.

class imcsdk.imccore.AbstractFilter(class_id, tag_name=None)[source]

Bases: imcsdk.imccore.ImcBase

class AbstractFilter.

to_xml(xml_doc=None, option=None, elem_name=None)[source]

This method writes the xml representation of the Method object.

class imcsdk.imccore.BaseObject(class_id, tag_name=None)[source]

Bases: imcsdk.imccore.ImcBase

class BaseObject.

from_xml(elem, handle=None)[source]

This method creates the object from the xml representation of the Method object.

to_xml(xml_doc=None, option=None, elem_name=None)[source]

This method writes the xml representation of the Method object.

class imcsdk.imccore.ImcBase(class_id)[source]

Bases: object

This class acts as the base class for ManagedObject, ExternalMethod and AbstractFilter and BaseObject classes.

attr_get(key)[source]

This method gets attribute value of the Method object.

attr_set(key, value)[source]

This method sets attribute value of the Method object.

child

Getter Method of ImcBase Class

child_add(obj)[source]

Method adds the child managed object.

child_count()[source]

Method returns the child managed object count.

child_is_dirty()[source]

Method checks whether the child object is dirty or not.

child_mark_clean()[source]

Method Method cleans the dirty mask of child managed object.

child_remove(obj)[source]

Method removes the child managed object.

child_to_xml(xml_doc, option=None)[source]

Method writes the xml representation for the object.

clone()[source]

Method returns the clone of the Managed Object.

dirty_mask

Getter Method of ImcBase Class

elem_create(class_tag, xml_doc=None, override_tag=None)[source]
get_class_id()[source]
get_handle()[source]
is_dirty()[source]

Method checks whether the object is dirty or not.

mark_clean()[source]

Method cleans the dirty mask of the managed object.

write_object()[source]

Method writes the string representation of the object.

This module contains all the base classes for the Meta.

class imcsdk.imccoremeta.ImcVersion(version)[source]

Bases: object

This class handles the operations related to the ImcVersions. It provides the functionality to compare Imc version objects.

Attributes:
  • version (str): version string
compare_to(version)[source]

Method to compare Imc Version.

major

Getter Method of ImcVersion Class

minor

Getter Method of ImcVersion Class

mr

Getter Method of ImcVersion Class

patch

Getter Method of ImcVersion Class

version

Getter Method of UcsVersion Class

class imcsdk.imccoremeta.MethodMeta(name, xml_attribute, version)[source]

Bases: object

This class handles the meta information of the meta property of external method Object.

name

Getter Method of MethodMeta Class

version

Getter Method of MethodMeta Class

xml_attribute

Getter Method of MethodMeta Class

class imcsdk.imccoremeta.MethodPropertyMeta(name, xml_attribute, field_type, version, inp_out, is_complex_type)[source]

Bases: object

This class handles the meta information of the properties of external method Object.

field_type

Getter Method of MethodPropertyMeta Class

inp_out

Getter Method of MethodPropertyMeta Class

is_complex_type

Getter Method of MethodPropertyMeta Class

name

Getter Method of MethodPropertyMeta Class

version

Getter Method of MethodPropertyMeta Class

xml_attribute

Getter Method of MethodPropertyMeta Class

class imcsdk.imccoremeta.MoMeta(name, xml_attribute, rn, version, inp_out, mask, field_names, access, parents, children, verbs)[source]

Bases: object

This class handles the meta information of the managed Object.

ACCESS_TYPE_IO = 'InputOutput'
ACCESS_TYPE_OUTPUTONLY = 'OutputOnly'
access

Getter Method of MoMeta Class

children

Getter Method of MoMeta Class

field_names

Getter Method of MoMeta Class

inp_out

Getter Method of MoMeta Class

mask

Getter Method of MoMeta Class

name

Getter Method of MoMeta Class

parents

Getter Method of MoMeta Class

rn

Getter Method of MoMeta Class

verbs

Getter Method of MoMeta Class

version

Getter Method of MoMeta Class

xml_attribute

Getter Method of MoMeta Class

class imcsdk.imccoremeta.MoPropertyMeta(name, xml_attribute, field_type, version, access, mask, min_length, max_length, pattern, value_set, range_val)[source]

Bases: object

This class handles the meta information of the properties of managed Object.

CREATE_ONLY = 1
INTERNAL = 4
NAMING = 0
READ_ONLY = 2
READ_WRITE = 3
access

Getter Method of MoPropertyMeta Class

field_type

Getter Method of MoPropertyMeta Class

mask

Getter Method of MoPropertyMeta Class

name

Getter Method of MoPropertyMeta Class

restriction

Getter Method of MoPropertyMeta Class

validate_property_value(input_value)[source]

validate property value of mo.

version

Getter Method of MoPropertyMeta Class

xml_attribute

Getter Method of MoPropertyMeta Class

class imcsdk.imccoremeta.MoPropertyRestriction(min_length=None, max_length=None, pattern=None, value_set=None, range_val=None)[source]

Bases: object

This class handles the restriction information of the properties of managed object.

max_length

Getter Method of MoPropertyRestriction Class

min_length

Getter Method of MoPropertyRestriction Class

pattern

Getter Method of MoPropertyRestriction Class

range_roc

Getter Method of MoPropertyRestriction Class

range_val

Getter Method of MoPropertyRestriction Class

value_set

Getter Method of MoPropertyRestriction Class

value_set_roc

Getter Method of MoPropertyRestriction Class

class imcsdk.imccoremeta.WriteXmlOption[source]

Bases: object

Class used as enum.

ALL = 0
ALL_CONFIG = 1
DIRTY = 2

This module contains the ImcSdk Core utilities.

class imcsdk.imccoreutils.ClassIdMeta(class_id, include_prop=True, show_tree=True, depth=None)[source]

Bases: object

imcsdk.imccoreutils.extract_mo_tree_from_config_method_response(method_response, depth=None, show_level=[], print_tree=False, tree_dict={})[source]

extracts tree structure of any managed object from config method response

Args:
method_response (object): ExternalMethod depth (int or None): last level to process show_level (int list): levels to display print_tree (bool): if True, print mo tree tree_dict (dict): by default {}
Returns:
dictionary
Example:

response=handle.query_dn(“sys/rack-unit-1”, need_response=True)

tree_dict = write_mo_tree(response, depth=3, show_level=[1, 3])

imcsdk.imccoreutils.extract_molist_from_method_response(method_response, in_hierarchical=False)[source]

Methods extracts mo list from response received from imc server i.e. external method object

Args:

method_response (ExternalMethod Object): response in_hierarchical (bool): if True, return all the hierarchical child of

managed objects
Returns:
List of ManagedObjects
Example:

response = handle.query_dn(“sys/rack-unit-1”, need_response=True)

molist = extract_molist_from_method_response(method_response=response,
in_hierarchical=True)
imcsdk.imccoreutils.find_class_id_in_method_meta_ignore_case(class_id)[source]

Methods whether class_id is valid or not . Given class is case insensitive.

imcsdk.imccoreutils.find_class_id_in_mo_meta_ignore_case(class_id)[source]

Methods whether class_id is valid or not . Given class is case insensitive.

imcsdk.imccoreutils.get_imc_obj(class_id, elem, mo_obj=None)[source]

This creates object of type ExternalMethod or ManagedObject or GenericMo depending on element tag

Args:
class_id (str): class id elem (xml element): xml element mo_obj : parent managed object
Returns:
object of type ExternalMethod or ManagedObject or GenericMo
imcsdk.imccoreutils.get_meta_info(class_id, include_prop=True, show_tree=True, depth=None)[source]

Gets class id meta information

Args:
class_id (str): string matching class_id.(case insensitive) include_prop (bool): by default True. If False, excludes property. show_tree (bool): by default True. If False will not display mo tree. depth (int): depth to which hierarchy is displayed.
Returns:

None: If class_id is not present in meta. Or ClassIdMeta Object: class_id

xml_attribute rn min_version access access_privilege parents : parent list children : children list properties : property list props : {property_name : MoPropertyMeta Object}
Example:

meta = get_meta_info(class_id=”computerackunit”) meta = get_meta_info(class_id=”computerackunit”, depth=2) meta = get_meta_info(class_id=”computerackunit”, include_prop=False) meta = get_meta_info(class_id=”computerackunit”, show_tree=False)

print(meta.xml_attribute) print(meta.children) print(meta.props[“name”])

imcsdk.imccoreutils.get_mo_property_meta(class_id, key)[source]

Methods returns the mo property meta of the provided key for the given class_id.

Args:
class_id (str): class_id of mo key (str): prop of class_id
Returns:
Object of type MoPropertyMeta
Example:
prop_meta = get_mo_property_meta(class_id=”aaaUser”, key=”usr_lbl”)
imcsdk.imccoreutils.get_naming_props(rn_str, rn_pattern)[source]

extract naming property and its value from a given rn and its pattern

Args:
rn_str (str): rn value rn_pattern (str): rn pattern from mo_meta
Returns:
dictionary
Example:
naming_props = get_naming_props(rn_str=”psu-2”,
rn_pattern=”psu-[id]”)
imcsdk.imccoreutils.is_valid_class_id(class_id)[source]

Methods checks whether the provided class_id is valid or not.

imcsdk.imccoreutils.load_class(class_id)[source]

This loads the class into the current name space

Args:
class_id (str): class_id
Returns:
MangedObject or ExtenalMethod Object or None
imcsdk.imccoreutils.load_mo(elem)[source]

This loads the managed object into the current name space

Args:
elem (str): element
Returns:
MangedObject
imcsdk.imccoreutils.load_module(module_name)[source]

This loads the module into the current name space

Args:
module_name (str): module_name
Returns:
module_import
imcsdk.imccoreutils.print_mo_hierarchy(class_id, level=0, depth=None, show_level=[])[source]

print hierarchy of class_id

Args:
class_id (str): class id level (int): by default zero depth (int or None): last level to process show_level (int list): levels to display
Returns:
None
Example:
print_mo_hierarchy(class_id, level=0, depth=3, show_level=[1,3])
imcsdk.imccoreutils.search_class_id(class_id)[source]

case insensitive search for class_id in meta. if unable to find exact class_id, this will also suggest matching class_id.

Args:
class_id (str): string matching class_id.(case insensitive)
Returns:
(str) or None
Example:
class_ids = search_class_id(class_id=”aaa”)
imcsdk.imccoreutils.write_mo_tree(mo, level=0, depth=None, show_level=[], print_tree=True, tree_dict={}, dn=None)[source]

Prints tree structure of any managed object

Args:
mo (object): ManagedObject level (int): by default zero depth (int or None): last level to process show_level (int list): levels to display print_tree (bool): if True, print mo tree tree_dict (dict): by default {} dn (str): dn
Returns:
dictionary
Example:

mo=handle.query_dn(“sys/rack-unit-1”)

tree_dict = write_mo_tree(mo, depth=3, show_level=[1, 3])

imcsdk.imccoreutils.write_object(mo_or_list)[source]

This prints the managed object on the standard output.

class imcsdk.imcdriver.ImcDriver(proxy=None)[source]

Bases: object

This class is responsible to create http and https connection using urllib library.

Args:
proxy (str): The proxy object to be used to connect
Example:
driver = ImcDriver(proxy=”192.168.1.1:80”)
add_header(header_prop, header_value)[source]

Adds header to http/ https web request

Args:
header_prop (str): header name header_value (str): header value
Returns:
None
Example:

driver=ImcDriver()

driver.add_header(‘Cookie’, ‘xxxxxxxxxxxxxx’)

get(uri)[source]
post(uri, data=None, dump_xml=False, read=True)[source]

sends the web request and receives the response from imc server

Args:
uri (str): URI of the the IMC Server data (str): request data to send via post request dump_xml (bool): if True, displays request and response read (bool): if True, returns response.read() else returns object.
Returns:
response xml string or response object
Example:
response = post(“http://192.168.1.1:80”, data=xml_str)
redirect_uri

Getter method of ImcDriver class

remove_header(header_prop)[source]

Removes header from http/ https web request

Args:
header_prop (str): header name
Returns:
None
Example:

driver=ImcDriver()

driver.remove_header(‘Cookie’)

class imcsdk.imcdriver.SmartRedirectHandler[source]

Bases: urllib2.HTTPRedirectHandler

This class is to handle redirection error.

http_error_301(req, fp, code, msg, headers)[source]

This is to handle redirection error code 301

http_error_302(req, fp, code, msg, headers)[source]

This is to handle redirection error code 302

class imcsdk.imcdriver.TLS1Connection(host, **kwargs)[source]

Bases: httplib.HTTPSConnection

Like HTTPSConnection but more specific

connect()[source]

Overrides HTTPSConnection.connect to specify TLS version

class imcsdk.imcdriver.TLS1Handler[source]

Bases: urllib2.HTTPSHandler

Like HTTPSHandler but more specific

https_open(req)[source]

This module is responsible for event handling of the events exposed by IMC server.

class imcsdk.imceventhandler.ImcEventHandle(handle)[source]

Bases: object

This class provides api to add and remove event handler.

add(class_id=None, managed_object=None, prop=None, success_value=[], failure_value=[], transient_value=[], poll_sec=None, timeout_sec=None, call_back=None, context=None)[source]

Adds an event handler.

An event handler can be added using this method where an user can subscribe for the event channel from IMC and can monitor those events for any specific success value or failure value for a managed object.

Args:
class_id (str): managed object class id managed_object (ManagedObject) prop (str) - property of the managed object to monitor success_value (list) - success values of a prop failure_value (list) - failure values of a prop transient_value (list) - transient values of a prop poll_sec - specifies the time in seconds for polling event. timeout_sec - time after which method should stop monitoring. call_back - call back method
clean()[source]

Removes all the watch blocks from the event handler

get()[source]

Returns the list of event handlers.

remove(watch_block)[source]

Removes an event handler.

watch_block_add(params, filter_callback, capacity=500, callback=None)[source]

Internal method to add a watch block for starting event monitoring.

watch_block_remove(watch_block)[source]

Internal method to remove a watch block for stopping event monitoring.

class imcsdk.imceventhandler.MoChangeEvent(event_id=None, mo=None, change_list=None)[source]

Bases: object

This class provides structure to save an event generated for any change, its associated managed object and property change list. This functionality is used during add_event_handler.

class imcsdk.imceventhandler.WatchBlock(params, fmce, capacity, callback)[source]

Bases: object

This class handles the functionality about the Event Handling/Watch block. enqueue/dequeue fuctionality of events is handled by this class. This functionality is used during add_event_handler.

dequeue(miliseconds_timeout)[source]

Internal method to dequeue the events.

dequeue_default_callback(mce)[source]

Default callback method.

enqueue(cmce)[source]

Internal method to enqueue the events.

imcsdk.imceventhandler.wait(handle, mo, prop, value, cb, timeout_sec=None)[source]

Waits for mo.prop == value

Args:
handle(ImcHandle): connection handle to the server mo (Managed Object): managed object to watch prop (str): property to watch value (str): property value to wait for cb(function): callback on success timeout_sec (int): timeout
Returns:
None
Example:
This method is called from ImcHandle class, wait_for_event method

This module contains the SDK defined exceptions.

exception imcsdk.imcexception.ImcConnectionError(message)[source]

Bases: imcsdk.imcexception.ImcWrapperException

Cannot connect to imc Manager.

exception imcsdk.imcexception.ImcError[source]

Bases: exceptions.Exception

Base class for exceptions in imc module.

exception imcsdk.imcexception.ImcException(error_code, error_descr)[source]

Bases: imcsdk.imcexception.ImcError

Class to catch exception thrown from imc.

error_code

Getter Method of ImcException Class

error_descr

Getter Method of ImcException Class

exception imcsdk.imcexception.ImcLoginError(message, error_code=None)[source]

Bases: imcsdk.imcexception.ImcWrapperException

LoginFailure Error

exception imcsdk.imcexception.ImcOperationError(operation, error)[source]

Bases: imcsdk.imcexception.ImcWrapperException

Configuration Error.

exception imcsdk.imcexception.ImcValidationException(error_msg)[source]

Bases: imcsdk.imcexception.ImcError

Class to handle required attributes validation.

error_msg

Getter Method of ImcValidationException Class

imcsdk.imcexception.ImcWarning(warn_str)[source]

Method to throw warnings.

exception imcsdk.imcexception.ImcWrapperException[source]

Bases: exceptions.Exception

Parent class for all imcwrapper exceptions.

class imcsdk.imcfilter.ParseFilter(class_id, is_meta_classid)[source]

Bases: object

Supporting class to parse filter expression.

static and_operator(toks)[source]

method to support logical ‘and’ operator expression

static not_operator(toks)[source]

method to support logical ‘and’ operator expression

static or_operator(toks)[source]

method to support logical ‘or’ operator expression

parse_filter_obj(toks)[source]

Supporting class to parse filter expression.

parse_filter_str(filter_str)[source]

method to parse filter string

imcsdk.imcfilter.create_basic_filter(filter_name, **kwargs)[source]

Loads filter class

imcsdk.imcfilter.generate_infilter(class_id, filter_str, is_meta_class_id)[source]

Create FilterFilter object

Args:
class_id (str): class_id filter_str (str): filter expression is_meta_class_id (bool)
Returns:
True on successful connect
Example:
generate_infilter(“LsServer”,
‘(“usr_lbl, “mysp”, type=”eq”, flag=”I)’,
True)
imcsdk.imcfilter.handle_filter_max_component_limit(handle, l_filter)[source]

Method checks the filter count and if the filter count exceeds the max_components(number of filters), then the given filter objects get distributed among small groups and then again binded together in complex filters(like and , or) so that the count of filters can be reduced.

This is an auto-generated module. It contains supporting classes for Filter.

class imcsdk.imcfiltertype.AllbitsFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is AllbitsFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.AndFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is AndFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.AnybitFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is AnybitFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.BwFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is BwFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.EqFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is EqFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.GeFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is GeFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.GtFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is GtFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.LeFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is LeFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.LtFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is LtFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.NeFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is NeFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.NotFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is NotFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.OrFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is OrFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

class imcsdk.imcfiltertype.WcardFilter[source]

Bases: imcsdk.imccore.AbstractFilter

This is WcardFilter class.

create(**kwargs)[source]

This method populate the attribute of filter object.

This module contains the SDK general utilities.

class imcsdk.imcgenutils.FileReadStream(path, progress_cb)[source]

Bases: object

Internal class to show the progress while reading file.

read(size)[source]
class imcsdk.imcgenutils.Progress(interval=10)[source]

Bases: object

Internal class to show the progress in chunks of custom percentage

update(total, size, name=None)[source]
imcsdk.imcgenutils.check_output(*popenargs, **kwargs)[source]

Internal method to handle upload/download data from server.

imcsdk.imcgenutils.check_registry_key(java_key)[source]

Method checks for the java in the registry entries.

imcsdk.imcgenutils.convert_to_python_var_name(name)[source]

converts a imc server variable to python recommended format

Args:
name (str): string to be converted to python recommended format
imcsdk.imcgenutils.decrypt_password(cipher, key)[source]

Decrypts the password using the given key with which the password was encrypted first.

imcsdk.imcgenutils.download_file(driver, file_url, file_dir, file_name, progress=<imcsdk.imcgenutils.Progress object>)[source]

Downloads the file from web server

Args:
driver (ImcDriver) file_url (str): url to download the file file_dir (str): The directory to download to file_name (str): The destination file name for the download
Returns:
None
Example:

driver = ImcDriver()

download_file(driver=ImcDriver(), file_url=”http://fileurl”,
file_dir=’/home/user/backup’, file_name=’my_config_backup.xml’)
imcsdk.imcgenutils.encrypt_password(password, key)[source]

Encrypts the password using the given key.

Args:
password (str): password to be encrypted key (str): key to be used to encrypt the password
imcsdk.imcgenutils.expand_key(key, clen)[source]

Internal method supporting encryption and decryption functionality.

imcsdk.imcgenutils.from_safe_prop(word)[source]

removes ‘r_‘ from word.

imcsdk.imcgenutils.get_binary_path(binary)[source]

Checks the environment PATH variable for the specified binary file. If found, it returns the path in which it was found.

Example:
path = get_binary_path(‘javaws’)
imcsdk.imcgenutils.get_java_installation_path()[source]

Method returns the java installation path in the windows or Linux environment.

imcsdk.imcgenutils.get_java_version()[source]

Method to get java version.

imcsdk.imcgenutils.get_md5_sum(filename)[source]

Method to get md5sum for the image.

Args:
filename (str): file for which md5sum is to be computed
imcsdk.imcgenutils.get_sha_hash(input_string)[source]

Method returns the sha hash digest for a given string.

Args:
input_string (str): the input string for which sha has to be computed
imcsdk.imcgenutils.is_binary_in_path(path, binary)[source]

Checks if the given binary is available in the specified path.

Returns:
True or False (Boolean)
imcsdk.imcgenutils.is_python_reserved(word)[source]

Check if it is python reserved word.

imcsdk.imcgenutils.iteritems(d)[source]

Factor-out Py2-to-3 differences in dictionary item iterator methods

imcsdk.imcgenutils.make_dn(rn_array)[source]

Method forms Dn out of array of rns.

imcsdk.imcgenutils.to_python_propname(word)[source]

Converts any word to lowercase word separated by underscore

imcsdk.imcgenutils.to_safe_prop(word)[source]

Check if it is python reserved word, if yes returns word after prefixing it with ‘r_

imcsdk.imcgenutils.upload_file(driver, uri, file_dir, file_name, progress=<imcsdk.imcgenutils.Progress object>)[source]

Uploads the file on web server

Args:
driver (ImcDriver) uri (str): url to upload the file file_dir (str): The directory to download to file_name (str): The destination file name for the download
Returns:
None
Example:

driver = ImcDriver()

upload_file(driver=ImcDriver(), uri=”http://fileurl”,
file_dir=’/home/user/backup’, file_name=’my_config_backup.xml’)
imcsdk.imcgenutils.word_l(word)[source]

Method makes the first letter of the given string as lower case.

imcsdk.imcgenutils.word_u(word)[source]

Method makes the first letter of the given string as capital.

class imcsdk.imchandle.ImcHandle(ip, username, password, port=None, secure=None, proxy=None)[source]

Bases: imcsdk.imcsession.ImcSession

ImcHandle class is the user interface point for any Imc communication.

Args:
ip (str): The IP or Hostname of the IMC Server username (str): The username as configured on the Imc Server password (str): The password as configured on the Imc Server port (int or None): The port number to be used during connection secure (bool or None): True for secure connection, otherwise False proxy (str): The proxy object to be used to connect
Example:

handle = ImcHandle(“192.168.1.1”,”admin”,”password”)

handle = ImcHandle(“192.168.1.1”,”admin”,”password”, secure=True)

handle = ImcHandle(“192.168.1.1”,”admin”,”password”, secure=False)

handle = ImcHandle(“192.168.1.1”,”admin”,”password”, port=80)

handle = ImcHandle(“192.168.1.1”,”admin”,”password”, port=443)

handle = ImcHandle(“192.168.1.1”,”admin”,”password”, port=100,
secure=True)
handle = ImcHandle(“192.168.1.1”,”admin”,”password”, port=100,
secure=False)
add_mo(mo, modify_present=False)[source]

Adds a managed object.

Args:

mo (managedobject): ManagedObject to be added. modify_present (bool): True/False,

overwrite existing object if True
Returns:
None
Example:
obj = handle.add_mo(mo)
get_auth_token()[source]

Returns a token that is used for IMC authentication.

Args:
None
Returns:
auth_token (str)
Example:
handle.get_auth_token()
login(auto_refresh=False, force=False)[source]

Initiates a connection to the server referenced by the ImcHandle. A cookie is populated in the ImcHandle, if the login is successful.

Args:
auto_refresh (bool): if set to True, it refresh the cookie
continuously
force (bool): if set to True it reconnects even if cookie exists
and is valid for respective connection.
Returns:
True on successful connect
Example:

handle.login()

handle.login(auto_refresh=True)

handle.login(force=True)

handle.login(auto_refresh=True, force=True)

where handle is ImcHandle()

logout()[source]

Disconnects from the server referenced by the ImcHandle.

Args:
None
Returns:
True on successful disconnect
Example:

handle.logout()

where handle is ImcHandle()

process_xml_elem(elem)[source]

process_xml_elem is a helper method which posts xml elements to the server and returns parsed response. It’s role is to operate on the output of methods from Imcmethodfactory, which return xml element node(s).

Args:
elem (xml element object)
Returns:
mo list or external method object
Example:
elem = imcmethodfactory.config_resolve_class(cookie=
handle.cookie, class_id=”computeRackUnit”)

objs = handle.process_xml_elem(elem)

query_children(in_mo=None, in_dn=None, class_id=None, hierarchy=False)[source]

Finds children of a given managed object or distinguished name. Arguments can be specified to query only a specific type(class_id) of children. Arguments can also be specified to query only direct children or the entire hierarchy of children.

Args:
in_mo (managed object): query children managed object under this
object.
in_dn (dn string): query children managed object for a
given managed object of the respective dn.
class_id(str): by default None, if given find only specific
children object for a given class_id.
hierarchy(bool): if set to True will return all the child
hierarchical objects.
Returns:

managedobjectlist or None by default

managedobjectlist or None if hierarchy=True

Example:

mo_list = handle.query_children(in_mo=mo)

mo_list = handle.query_children(in_mo=mo, class_id=”classid”)

mo_list = handle.query_children(in_dn=dn)

mo_list = handle.query_children(in_dn=dn, class_id=”classid”)

query_classid(class_id=None, hierarchy=False, need_response=False)[source]

Finds an object using it’s class id.

Args:

class_id (str): class id of the object to be queried for.

hierarchy(bool): if set to True will return all the child
hierarchical objects.
need_response(bool): if set to True will return only response
object.
Returns:

managedobjectlist or None by default

managedobjectlist or None if hierarchy=True

methodresponse if need_response=True

Example:

obj = handle.query_classid(class_id=”computeRackUnit”)

obj = handle.query_classid(class_id=”computeRackUnit”,
hierarchy=True)
obj = handle.query_classid(class_id=”computeRackUnit”,
need_response=True)
query_dn(dn, hierarchy=False, need_response=False)[source]

Finds an object using it’s distinguished name.

Args:

dn (str): distinguished name of the object to be queried for. hierarchy(bool): True/False,

get all objects in hierarchy if True
need_response(bool): True/False,
return the response xml node, instead of parsed objects
Returns:

managedobject or None by default

managedobject list if hierarchy=True

externalmethod object if need_response=True

Example:

obj = handle.query_dn(“sys/rack-unit-1”)

obj = handle.query_dn(“sys/rack-unit-1”, hierarchy=True)

obj = handle.query_dn(“sys/rack-unit-1”, need_response=True

obj = handle.query_dn(“sys/rack-unit-1”, hierarchy=True, need_response=True)

remove_mo(mo)[source]

Removes a managed object.

Args:
mo (managedobject): Managed object to be removed.
Returns:
None
Example:
obj = handle.remove_mo(mo)
set_dump_xml()[source]

Enables the logging of xml requests and responses.

set_mo(mo)[source]
Modifies a managed object and adds it to ImcHandle commit buffer (if
not already in it).
Args:
mo (managedobject): Managed object with modified properties.
Returns:
None
Example:
obj = handle.set_mo(mo)
unset_dump_xml()[source]

Disables the logging of xml requests and responses.

This is an auto-generated module containing ManagedObject Meta information.

class imcsdk.imcmeta.VersionMeta[source]

This class contains all the ImcVersion supported by this package.

Version151f = <imcsdk.imccoremeta.ImcVersion object>
Version152 = <imcsdk.imccoremeta.ImcVersion object>
Version153 = <imcsdk.imccoremeta.ImcVersion object>
Version154 = <imcsdk.imccoremeta.ImcVersion object>
Version2010b = <imcsdk.imccoremeta.ImcVersion object>
Version201a = <imcsdk.imccoremeta.ImcVersion object>
Version202c = <imcsdk.imccoremeta.ImcVersion object>
Version203d = <imcsdk.imccoremeta.ImcVersion object>
Version204c = <imcsdk.imccoremeta.ImcVersion object>
Version208d = <imcsdk.imccoremeta.ImcVersion object>
Version209c = <imcsdk.imccoremeta.ImcVersion object>

This module contains the ImcSdk Core classes.

class imcsdk.imcmethod.ExternalMethod(method_id)[source]

Bases: imcsdk.imccore.ImcBase

This class represents the IMC Central Xml api’s query/configuration methods.

child_add(mo)[source]

This method adds child external method object to a external method object.

from_xml(elem, handle=None)[source]

Method updates/fills the object from the xml representation of the external method object.

get_error_response(error_code, error_descr)[source]

This methods sets error attributes of an external method object.

set_attr(key, value)[source]

This method sets the attribute of external method object.

to_xml(xml_doc=None, option=None, elem_name=None)[source]

Method writes the xml representation of the external method object.

This is an auto-generated module. It contains supporting classes for External Method.

imcsdk.imcmethodfactory.aaa_get_compute_auth_tokens(cookie)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.aaa_keep_alive(cookie)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.aaa_login(in_name, in_password)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.aaa_logout(in_cookie)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.aaa_refresh(in_cookie, in_name, in_password)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.config_conf_mo(cookie, dn, in_config, in_hierarchical='false')[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.config_resolve_children(cookie, class_id, in_dn, in_hierarchical='false')[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.config_resolve_class(cookie, class_id, in_hierarchical='false')[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.config_resolve_dn(cookie, dn, in_hierarchical='false')[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.config_resolve_parent(cookie, dn, in_hierarchical='false')[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.event_subscribe(cookie)[source]

Auto-generated IMC XML API Method.

imcsdk.imcmethodfactory.event_unsubscribe(cookie)[source]

Auto-generated IMC XML API Method.

This module contains the ManagedObject and GenericManagedObject Class.

class imcsdk.imcmo.GenericMo(class_id, parent_mo_or_dn=None, **kwargs)[source]

Bases: imcsdk.imccore.ImcBase

This class implements a Generic Managed Object.

Args:
class_id (str): class id of managed object parent_mo_or_dn (ManagedObject or str): parent managed object or dn
from_xml(elem, handle=None)[source]

This method is form objects out of xml element. This is called internally from imcxmlcode.from_xml_str method.

Example:

xml = ‘<testLsA a=”1” b=”2” c=”3” dn=”org-root/” rn=”“> <testLsB a=”1” b=”2” c=”3” dn=”org-root/” rn=”” /></testLsA>’

obj = xc.from_xml_str(xml)

print type(obj)

Outputs:
<class ‘imcsdk.imcmo.GenericMo’>
properties

Getter Method of GenericMO Class

to_mo()[source]

Converts GenericMo to ManagedObject

to_xml(xml_doc=None, option=None)[source]

This method returns the xml element node for the current object with it’s hierarchy.

Args:
xml_doc: document to which the Mo attributes are added.
Can be None.

option: not required for Generic Mo class object

Example:

from imcmsdk.imcmo import GenericMo

args = {“a”: 1, “b”: 2, “c”:3}

obj = GenericMo(“testLsA”, “org-root”, **args)

obj1 = GenericMo(“testLsB”, “org-root”, **args)

obj.add_child(obj1)

elem = obj.write_xml()

import imcmsdk.imcxmlcodec as xc

xc.to_xml_str(elem)

Output:

‘<testLsA a=”1” b=”2” c=”3” dn=”org-root/” rn=”“>

<testLsB a=”1” b=”2” c=”3” dn=”org-root/” rn=”” />

</testLsA>’

class imcsdk.imcmo.ManagedObject(class_id, parent_mo_or_dn=None, from_xml_response=False, **kwargs)[source]

Bases: imcsdk.imccore.ImcBase

This class structures/represents all the managed objects.

DUMMY_DIRTY = '0x1L'
from_xml(elem, handle=None)[source]

Method updates the object from the xml representation of the managed object.

is_dirty()[source]

This method checks if managed object is dirty.

make_rn()[source]

This method returns the Rn for a managed object.

mark_dirty()[source]

This method marks the managed object dirty.

parent_mo

Getter method of ManagedObject Class

show_hierarchy(level=0, depth=None, show_level=[])[source]

Method to return string representation of a managed object.

show_tree(level=0)[source]

Method to return string representation of a managed object.

sync_mo(mo)[source]

Method to return string representation of a managed object.

to_xml(xml_doc=None, option=None, elem_name=None)[source]

Method writes the xml representation of the managed object.

imcsdk.imcmo.generic_mo_from_xml(xml_str)[source]

create GenericMo object from xml string

imcsdk.imcmo.generic_mo_from_xml_elem(elem)[source]

create GenericMo object from xml element

class imcsdk.imcsession.ImcSession(ip, username, password, port=None, secure=None, proxy=None)[source]

Bases: object

ImcSession class is session interface for any Imc related communication. Parent class of ImcHandle, used internally by ImcHandle class.

channel
cookie
domains
dump_xml_request(elem)[source]
dump_xml_response(resp)[source]
evt_channel
file_download(url_suffix, file_dir, file_name, progress=<imcsdk.imcgenutils.Progress object>)[source]

Downloads the file from imc server

Args:
url_suffix (str): suffix url to be appended to
httphttps://host:port/ to locate the file on the server

file_dir (str): The directory to download to file_name (str): The destination file name for the download progress (imcgenutils.Progress): Class that has method to display progress

Returns:
None
Example:
file_download(url_suffix=’backupfile/config_backup.xml’, file_dir=’/home/user/backup’, file_name=’my_config_backup.xml’)
file_upload(url_suffix, file_dir, file_name, progress=<imcsdk.imcgenutils.Progress object>)[source]

Uploads the file on IMC server.

Args:
url_suffix (str): suffix url to be appended to
httphttps://host:port/ to locate the file on the server

file_dir (str): The directory to upload from file_name (str): The destination file name for the download progress (imcgenutils.Progress): Class that has method to display progress

Returns:
None
Example:

file_dir = “/home/user/backup”

file_name = “config_backup.xml”

uri_suffix = “operations/file-%s/importconfig.txt” % file_name

file_upload(url_suffix=uri_suffix, file_dir=file_dir, file_name=file_name)

imc
ip
last_update_time
name
post(uri, data=None, read=True)[source]

sends the request and receives the response from imcm server

Args:
uri (str): URI of the the imc Server data (str): request data to send via post request
Returns:
response xml string
Example:
response = post(“http://192.168.1.1:80”, data=xml_str)
post_elem(elem)[source]

sends the request and receives the response from imc server using xml element

Args:
elem (xml element)
Returns:
response xml string
Example:
response = post_elem(elem=xml_element)
post_xml(xml_str, read=True)[source]

sends the xml request and receives the response from imc server

Args:
xml_str (str): xml string
Returns:
response xml string
Example:
response = post_xml(‘<aaaLogin inName=”user” inPassword=”pass”>’)
priv
proxy
refresh_period
session_id
uri
username
version
imcsdk.imcxmlcodec.extract_root_elem(xml_str)[source]

extracts root xml element from xml string.

Args:
xml_str (str): xml string
Returns:
xml element
Example:
xml_str=’‘’ <lsClone dn=”org-root/ls-testsp” inHierarchical=”false” inServerName=”test” inTargetOrg=”“> </lsClone> ‘’’ root_element = extract_root_elem(xml_str)
imcsdk.imcxmlcodec.from_xml_str(xml_str, handle=None)[source]

Generates response object from the given xml string.

Args:
xml_str (str): xml string handle : ImcHandle
Returns:
object (external method or managed object or generic managed object)
Example:

xml_str=’‘’

<lsServer dn=”org-root/ls-testsp” dynamicConPolicyName=”test”

extIPPoolName=”ext-mgmt” name=”testsp” />

‘’‘

root_element = extract_root_elem(xml_str)

imcsdk.imcxmlcodec.to_xml_str(elem)[source]

Converts xml element to xml string.

Args:
elem (xml element)
Returns:
xml string
Example:
xml_str = to_xml_str(elem=xml_element)

Module contents