Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"""This module contains the general information for BiosVfBmeDmaMitigation ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class BiosVfBmeDmaMitigationConsts:
VP_BME_DMA_MITIGATION_DISABLED = "Disabled"
VP_BME_DMA_MITIGATION_ENABLED = "Enabled"
_VP_BME_DMA_MITIGATION_DISABLED = "disabled"
_VP_BME_DMA_MITIGATION_ENABLED = "enabled"
VP_BME_DMA_MITIGATION_PLATFORM_DEFAULT = "platform-default"
class BiosVfBmeDmaMitigation(ManagedObject):
"""This is BiosVfBmeDmaMitigation class."""
consts = BiosVfBmeDmaMitigationConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("BiosVfBmeDmaMitigation", "biosVfBmeDmaMitigation", "bme-dma-mitigation", VersionMeta.Version401a, "InputOutput", 0x1f, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], [None]),
"modular": MoMeta("BiosVfBmeDmaMitigation", "biosVfBmeDmaMitigation", "bme-dma-mitigation", VersionMeta.Version404b, "InputOutput", 0x1f, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], [None])
}
prop_meta = {
"classic": {
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version401a, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version401a, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []),
self.num_of_cores_enabled = None
self.num_of_cpus = None
self.num_of_eth_host_ifs = None
self.num_of_fc_host_ifs = None
self.num_of_threads = None
self.oper_power = None
self.original_uuid = None
self.presence = None
self.serial = None
self.status = None
self.total_memory = None
self.usr_lbl = None
self.uuid = None
self.vendor = None
ManagedObject.__init__(self, "ComputeServerNode", parent_mo_or_dn, **kwargs)
def __init__(self, parent_mo_or_dn, **kwargs):
self._dirty_mask = 0
self.status = None
self.vp_partial_mirror_percent = None
self.child_action = None
ManagedObject.__init__(self, "BiosVfPartialMirrorPercent", parent_mo_or_dn, **kwargs)
"""This module contains the general information for BiosVfMemoryMappedIOAbove4GB ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class BiosVfMemoryMappedIOAbove4GBConsts:
VP_MEMORY_MAPPED_IOABOVE4_GB_DISABLED = "Disabled"
VP_MEMORY_MAPPED_IOABOVE4_GB_ENABLED = "Enabled"
_VP_MEMORY_MAPPED_IOABOVE4_GB_DISABLED = "disabled"
_VP_MEMORY_MAPPED_IOABOVE4_GB_ENABLED = "enabled"
VP_MEMORY_MAPPED_IOABOVE4_GB_PLATFORM_DEFAULT = "platform-default"
class BiosVfMemoryMappedIOAbove4GB(ManagedObject):
"""This is BiosVfMemoryMappedIOAbove4GB class."""
consts = BiosVfMemoryMappedIOAbove4GBConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("BiosVfMemoryMappedIOAbove4GB", "biosVfMemoryMappedIOAbove4GB", "Memory-mapped-IO-above-4GB", VersionMeta.Version151f, "InputOutput", 0x1f, [], ["admin", "read-only", "user"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"]),
"modular": MoMeta("BiosVfMemoryMappedIOAbove4GB", "biosVfMemoryMappedIOAbove4GB", "Memory-mapped-IO-above-4GB", VersionMeta.Version2013e, "InputOutput", 0x1f, [], ["admin", "read-only", "user"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"])
}
prop_meta = {
"classic": {
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []),
def __init__(self, parent_mo_or_dn, **kwargs):
self._dirty_mask = 0
self.child_action = None
self.reset_reason = None
self.status = None
ManagedObject.__init__(self, "SiocResetReason", parent_mo_or_dn, **kwargs)
PRESENCE_NA = "NA"
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"
class EquipmentTpm(ManagedObject):
"""This is EquipmentTpm class."""
consts = EquipmentTpmConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("EquipmentTpm", "equipmentTpm", "tpm", VersionMeta.Version201a, "OutputOnly", 0xf, [], ["read-only"], ['computeBoard'], [], ["Get"]),
"modular": MoMeta("EquipmentTpm", "equipmentTpm", "tpm", VersionMeta.Version2013e, "OutputOnly", 0xf, [], ["read-only"], ['computeBoard'], [], ["Get"])
}
prop_meta = {
"classic": {
"active_status": MoPropertyMeta("active_status", "activeStatus", "string", VersionMeta.Version201a, MoPropertyMeta.READ_ONLY, None, None, None, None, ["NA", "activated", "deactivated", "unknown"], []),
"child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version201a, MoPropertyMeta.INTERNAL, None, None, None, None, [], []),
def __init__(self, parent_mo_or_dn, **kwargs):
self._dirty_mask = 0
self.status = None
self.vp_package_c_state_limit = None
self.child_action = None
ManagedObject.__init__(self, "BiosVfPackageCStateLimit", parent_mo_or_dn, **kwargs)
VP_SLOT_SIOCNVME1_LINK_SPEED_PLATFORM_DEFAULT = "platform-default"
VP_SLOT_SIOCNVME2_LINK_SPEED_AUTO = "Auto"
VP_SLOT_SIOCNVME2_LINK_SPEED_DISABLED = "Disabled"
VP_SLOT_SIOCNVME2_LINK_SPEED_GEN1 = "GEN1"
VP_SLOT_SIOCNVME2_LINK_SPEED_GEN2 = "GEN2"
VP_SLOT_SIOCNVME2_LINK_SPEED_GEN3 = "GEN3"
VP_SLOT_SIOCNVME2_LINK_SPEED_PLATFORM_DEFAULT = "platform-default"
VP_SLOT_SIOCNVME1_STATE_DISABLED = "Disabled"
VP_SLOT_SIOCNVME1_STATE_ENABLED = "Enabled"
VP_SLOT_SIOCNVME1_STATE_PLATFORM_DEFAULT = "platform-default"
VP_SLOT_SIOCNVME2_STATE_DISABLED = "Disabled"
VP_SLOT_SIOCNVME2_STATE_ENABLED = "Enabled"
VP_SLOT_SIOCNVME2_STATE_PLATFORM_DEFAULT = "platform-default"
class BiosVfPCISlotOptionROMEnable(ManagedObject):
"""This is BiosVfPCISlotOptionROMEnable class."""
consts = BiosVfPCISlotOptionROMEnableConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("BiosVfPCISlotOptionROMEnable", "biosVfPCISlotOptionROMEnable", "PCI-Slot-OptionROM-Enable", VersionMeta.Version151f, "InputOutput", 0x7fffffffffffffffffffffffffff, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"]),
"modular": MoMeta("BiosVfPCISlotOptionROMEnable", "biosVfPCISlotOptionROMEnable", "PCI-Slot-OptionROM-Enable", VersionMeta.Version2013e, "InputOutput", 0x3ffffffffffffff, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"])
}
prop_meta = {
"classic": {
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version151f, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []),
"""This module contains the general information for BiosVfKTIPrefetch ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class BiosVfKTIPrefetchConsts:
VP_KTIPREFETCH_DISABLED = "Disabled"
VP_KTIPREFETCH_ENABLED = "Enabled"
_VP_KTIPREFETCH_DISABLED = "disabled"
_VP_KTIPREFETCH_ENABLED = "enabled"
VP_KTIPREFETCH_PLATFORM_DEFAULT = "platform-default"
class BiosVfKTIPrefetch(ManagedObject):
"""This is BiosVfKTIPrefetch class."""
consts = BiosVfKTIPrefetchConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("BiosVfKTIPrefetch", "biosVfKTIPrefetch", "kti-prefetch", VersionMeta.Version304a, "InputOutput", 0x1f, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"]),
"modular": MoMeta("BiosVfKTIPrefetch", "biosVfKTIPrefetch", "kti-prefetch", VersionMeta.Version404b, "InputOutput", 0x1f, [], ["admin"], ['biosPlatformDefaults', 'biosSettings'], [], ["Get", "Set"])
}
prop_meta = {
"classic": {
"dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version304a, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []),
"rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version304a, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []),
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class DownloadClientCertificateConsts:
ADMIN_ACTION_CONTENT_CERT_UPLOAD = "content-cert-upload"
ADMIN_ACTION_REMOTE_CERT_UPLOAD = "remote-cert-upload"
PROTOCOL_FTP = "ftp"
PROTOCOL_HTTP = "http"
PROTOCOL_NONE = "none"
PROTOCOL_SCP = "scp"
PROTOCOL_SFTP = "sftp"
PROTOCOL_TFTP = "tftp"
class DownloadClientCertificate(ManagedObject):
"""This is DownloadClientCertificate class."""
consts = DownloadClientCertificateConsts()
naming_props = set([])
mo_meta = {
"classic": MoMeta("DownloadClientCertificate", "downloadClientCertificate", "kmip-client-cert-download", VersionMeta.Version302b, "InputOutput", 0x7ff, [], ["admin", "read-only", "user"], ['kmipManagement'], [], [None]),
"modular": MoMeta("DownloadClientCertificate", "downloadClientCertificate", "kmip-client-cert-download", VersionMeta.Version303a, "InputOutput", 0x7ff, [], ["admin", "read-only", "user"], ['kmipManagement'], [], [None])
}
prop_meta = {
"classic": {
"admin_action": MoPropertyMeta("admin_action", "adminAction", "string", VersionMeta.Version401a, MoPropertyMeta.READ_WRITE, 0x2, 0, 510, None, ["content-cert-upload", "remote-cert-upload"], []),
"certificate_content": MoPropertyMeta("certificate_content", "certificateContent", "string", VersionMeta.Version401a, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, [], []),