diff --git a/imcsdk/imcconstants.py b/imcsdk/imcconstants.py index 85326b5c..5d06dcda 100644 --- a/imcsdk/imcconstants.py +++ b/imcsdk/imcconstants.py @@ -191,7 +191,10 @@ class NamingId: CONFIG_RESOLVE_PARENT = "configResolveParent" CONFIG_SET = "configSet" CURRENT_CERTIFICATE = "currentCertificate" + DOWNLOAD_CLIENT_CERTIFICATE = "downloadClientCertificate" + DOWNLOAD_CLIENT_PRIVATE_KEY = "downloadClientPrivateKey" DOWNLOAD_LDAP_CACERTIFICATE = "downloadLdapCACertificate" + DOWNLOAD_ROOT_CACERTIFICATE = "downloadRootCACertificate" EQ_FILTER = "eqFilter" EQUIPMENT_FAN = "equipmentFan" EQUIPMENT_FAN_MODULE = "equipmentFanModule" @@ -205,7 +208,10 @@ class NamingId: EVENT_MANAGEMENT = "eventManagement" EVENT_SUBSCRIBE = "eventSubscribe" EVENT_UNSUBSCRIBE = "eventUnsubscribe" + EXPORT_CLIENT_CERTIFICATE = "exportClientCertificate" + EXPORT_CLIENT_PRIVATE_KEY = "exportClientPrivateKey" EXPORT_LDAP_CACERTIFICATE = "exportLdapCACertificate" + EXPORT_ROOT_CACERTIFICATE = "exportRootCACertificate" FAILED_MO = "failedMo" FAILED_MOS = "failedMos" FAN_POLICY = "fanPolicy" @@ -235,6 +241,9 @@ class NamingId: IOD_SNAPSHOT_STATUS = "iodSnapshotStatus" IP_BLOCKING = "ipBlocking" IP_FILTERING = "ipFiltering" + KMIP_MANAGEMENT = "kmipManagement" + KMIP_SERVER = "kmipServer" + KMIP_SERVER_LOGIN = "kmipServerLogin" LDAP_CACERTIFICATE = "ldapCACertificate" LDAP_CACERTIFICATE_MANAGEMENT = "ldapCACertificateManagement" LE_FILTER = "leFilter" @@ -447,6 +456,8 @@ class NamingPropertyId: CIMC_RESET_REASON = "cimcResetReason" CIMC_SECURE_BOOT = "cimcSecureBoot" CLASS_OF_SERVICE = "classOfService" + CLIENT_CERTIFICATE = "clientCertificate" + CLIENT_PRIVATE_KEY = "clientPrivateKey" CLOCK = "clock" CLUSTER_ENABLE = "clusterEnable" CMC1_IS_ACTIVE = "cmc1IsActive" @@ -653,6 +664,7 @@ class NamingPropertyId: IOD_IMAGE_VERSION = "iodImageVersion" IOH1_TEMP = "ioh1Temp" IOH2_TEMP = "ioh2Temp" + IP_ADDRESS = "ipAddress" IP_HASH = "ipHash" IP_VER = "ipVer" ISCSI_BOOT = "iscsiBoot" @@ -670,6 +682,7 @@ class NamingPropertyId: ISSUER_STATE = "issuerState" KEY = "key" KEY_ID = "keyId" + KEY_MANAGEMENT = "keyManagement" LARGE_RECEIVE = "largeReceive" LAST_CONFIGURED_BOOT_ORDER_SOURCE = "lastConfiguredBootOrderSource" LAST_OPERATION_STATUS = "lastOperationStatus" @@ -968,6 +981,7 @@ class NamingPropertyId: SECONDARY_TARGET_NAME = "secondaryTargetName" SECONDARY_TARGET_PORT = "secondaryTargetPort" SECURE_BOOT = "secureBoot" + SECURE_KEY_MANAGEMENT = "secureKeyManagement" SECURED = "secured" SECURITY_KEY = "securityKey" SECURITY_LEVEL = "securityLevel" @@ -993,6 +1007,7 @@ class NamingPropertyId: SERVER2_UPLINK6_SPEED = "server2Uplink6Speed" SERVER2_UTILIZATION = "server2Utilization" SERVER_ID = "serverId" + SERVER_ROOT_CACERTIFICATE = "serverRootCACertificate" SESSION_TIMEOUT = "sessionTimeout" SEVERITY = "severity" SHARED_VIRTUAL_DRIVE_ID = "sharedVirtualDriveId" @@ -1056,6 +1071,7 @@ class NamingPropertyId: TCP_TX_CHECKSUM = "tcpTxChecksum" TEMPERATURE = "temperature" TEMPERATURE_HIGH = "temperatureHigh" + TEST_CONNCTION_STATUS = "testConnctionStatus" THERMAL = "thermal" THERMAL_POW_LIMIT = "thermalPowLimit" THREADS = "threads" diff --git a/imcsdk/imcmeta.py b/imcsdk/imcmeta.py index f5f13692..af4b4a24 100644 --- a/imcsdk/imcmeta.py +++ b/imcsdk/imcmeta.py @@ -33,6 +33,7 @@ class VersionMeta: Version208d = ImcVersion("2.0(8d)") Version209c = ImcVersion("2.0(9c)") Version301c = ImcVersion("3.0(1c)") + Version302b = ImcVersion("3.0(2b)") MO_CLASS_ID = frozenset([ "AaaLdap", @@ -191,7 +192,10 @@ class VersionMeta: "ComputeRackUnit", "ComputeRackUnitMbTempStats", "CurrentCertificate", + "DownloadClientCertificate", + "DownloadClientPrivateKey", "DownloadLdapCACertificate", + "DownloadRootCACertificate", "EquipmentFan", "EquipmentFanModule", "EquipmentIndicatorLed", @@ -202,7 +206,10 @@ class VersionMeta: "EquipmentTpm", "Error", "EventManagement", + "ExportClientCertificate", + "ExportClientPrivateKey", "ExportLdapCACertificate", + "ExportRootCACertificate", "FanPolicy", "FaultInst", "FirmwareBootDefinition", @@ -227,6 +234,9 @@ class VersionMeta: "IodSnapshotStatus", "IpBlocking", "IpFiltering", + "KmipManagement", + "KmipServer", + "KmipServerLogin", "LdapCACertificate", "LdapCACertificateManagement", "LsbootBootSecurity", @@ -501,7 +511,10 @@ class VersionMeta: "ComputeRackUnit": MoMeta("ComputeRackUnit", "computeRackUnit", "rack-unit-[server_id]", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "user"], [u'topSystem'], [u'adaptorUnit', u'biosUnit', u'computeBoard', u'equipmentFanModule', u'equipmentIndicatorLed', u'equipmentLocatorLed', u'equipmentPsu', u'equipmentPsuColdRedundancy', u'eventManagement', u'faultInst', u'lsbootDef', u'lsbootDevPrecision', u'mgmtController', u'networkAdapterUnit', u'oneTimeBootDevice', u'oneTimePrecisionBootDevice', u'pciEquipSlot', u'powerBudget', u'powerMonitor', u'serverUtilization', u'solIf', u'sysdebugTechSupportExport', u'systemIOController'], ["Get", "Set"]), "ComputeRackUnitMbTempStats": MoMeta("ComputeRackUnitMbTempStats", "computeRackUnitMbTempStats", "temp-stats", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeBoard'], [], ["Get"]), "CurrentCertificate": MoMeta("CurrentCertificate", "currentCertificate", "curr-cert", VersionMeta.Version209c, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'certificateManagement'], [], [None]), + "DownloadClientCertificate": MoMeta("DownloadClientCertificate", "downloadClientCertificate", "kmip-client-cert-download", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + "DownloadClientPrivateKey": MoMeta("DownloadClientPrivateKey", "downloadClientPrivateKey", "kmip-private-key-download", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), "DownloadLdapCACertificate": MoMeta("DownloadLdapCACertificate", "downloadLdapCACertificate", "ldap-ca-cert-download", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'ldapCACertificateManagement'], [], ["Get"]), + "DownloadRootCACertificate": MoMeta("DownloadRootCACertificate", "downloadRootCACertificate", "kmip-ca-cert-download", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), "EquipmentFan": MoMeta("EquipmentFan", "equipmentFan", "fan-[id]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'equipmentFanModule'], [u'faultInst'], ["Get"]), "EquipmentFanModule": MoMeta("EquipmentFanModule", "equipmentFanModule", "fan-module-[tray]-[id]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [u'equipmentFan'], ["Get"]), "EquipmentIndicatorLed": MoMeta("EquipmentIndicatorLed", "equipmentIndicatorLed", "indicator-led-[id]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [], ["Get"]), @@ -512,7 +525,10 @@ class VersionMeta: "EquipmentTpm": MoMeta("EquipmentTpm", "equipmentTpm", "tpm", VersionMeta.Version201a, "OutputOnly", 0x1, [], ["read-only"], [u'computeBoard'], [], ["Get"]), "Error": MoMeta("Error", "error", "", VersionMeta.Version151f, "OutputOnly", 0x1, [], [""], [], [], [None]), "EventManagement": MoMeta("EventManagement", "eventManagement", "event-management", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [u'platformEventFilters'], ["Get", "Set"]), + "ExportClientCertificate": MoMeta("ExportClientCertificate", "exportClientCertificate", "kmip-client-cert-export", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + "ExportClientPrivateKey": MoMeta("ExportClientPrivateKey", "exportClientPrivateKey", "kmip-private-key-export", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), "ExportLdapCACertificate": MoMeta("ExportLdapCACertificate", "exportLdapCACertificate", "ldap-ca-cert-export", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'ldapCACertificateManagement'], [], ["Get"]), + "ExportRootCACertificate": MoMeta("ExportRootCACertificate", "exportRootCACertificate", "kmip-ca-cert-export", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), "FanPolicy": MoMeta("FanPolicy", "fanPolicy", "fan-policy", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeBoard'], [], ["Get", "Set"]), "FaultInst": MoMeta("FaultInst", "faultInst", "fault-[code]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'adaptorUnit', u'computeBoard', u'computeRackUnit', u'equipmentFan', u'equipmentPsu', u'memoryArray', u'memoryUnit', u'mgmtIf', u'pciEquipSlot', u'powerBudget', u'processorUnit', u'storageController', u'storageFlexFlashController', u'storageFlexFlashPhysicalDrive', u'storageFlexFlashVirtualDrive', u'storageLocalDisk', u'storageRaidBattery', u'storageVirtualDrive', u'sysdebugMEpLog'], [], ["Get"]), "FirmwareBootDefinition": MoMeta("FirmwareBootDefinition", "firmwareBootDefinition", "fw-boot-def", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'biosUnit', u'mgmtController', u'storageController', u'systemIOController'], [u'firmwareBootUnit'], ["Get"]), @@ -537,6 +553,9 @@ class VersionMeta: "IodSnapshotStatus": MoMeta("IodSnapshotStatus", "iodSnapshotStatus", "snapshotStatus", VersionMeta.Version151x, "OutputOnly", 0x1, [], ["read-only"], [u'iodController'], [], ["Get"]), "IpBlocking": MoMeta("IpBlocking", "ipBlocking", "ip-block", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'mgmtIf'], [], ["Get", "Set"]), "IpFiltering": MoMeta("IpFiltering", "ipFiltering", "ip-filter", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'mgmtIf'], [], ["Get", "Set"]), + "KmipManagement": MoMeta("KmipManagement", "kmipManagement", "kmip-mgmt", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'topSystem'], [u'downloadClientCertificate', u'downloadClientPrivateKey', u'downloadRootCACertificate', u'exportClientCertificate', u'exportClientPrivateKey', u'exportRootCACertificate', u'kmipServer', u'kmipServerLogin'], ["Get", "Set"]), + "KmipServer": MoMeta("KmipServer", "kmipServer", "kmip-server-[id]", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], ["Get", "Set"]), + "KmipServerLogin": MoMeta("KmipServerLogin", "kmipServerLogin", "kmip-login", VersionMeta.Version302b, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], ["Get", "Set"]), "LdapCACertificate": MoMeta("LdapCACertificate", "ldapCACertificate", "ldap-ca-cert", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "user"], [u'ldapCACertificateManagement'], [], ["Get", "Set"]), "LdapCACertificateManagement": MoMeta("LdapCACertificateManagement", "ldapCACertificateManagement", "ldap-ca-cert-mgmt", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "user"], [u'aaaLdap'], [u'downloadLdapCACertificate', u'exportLdapCACertificate', u'ldapCACertificate'], ["Get", "Set"]), "LsbootBootSecurity": MoMeta("LsbootBootSecurity", "lsbootBootSecurity", "boot-security", VersionMeta.Version201a, "InputOutput", 0x1, [], ["admin", "user"], [u'lsbootDef'], [], ["Get", "Set"]), @@ -569,9 +588,9 @@ class VersionMeta: "NetworkAdapterUnit": MoMeta("NetworkAdapterUnit", "networkAdapterUnit", "network-adapter-[slot]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [u'networkAdapterEthIf'], ["Get"]), "OneTimeBootDevice": MoMeta("OneTimeBootDevice", "oneTimeBootDevice", "boot-one-time", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [], ["Get", "Set"]), "OneTimePrecisionBootDevice": MoMeta("OneTimePrecisionBootDevice", "oneTimePrecisionBootDevice", "one-time-precision-boot", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [], ["Get", "Set"]), - "OsiCancel": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), + "OsiCancel": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], [None]), "OsiController": MoMeta("OsiController", "osiController", "osi", VersionMeta.Version301c, "OutputOnly", 0x1, [], ["read-only"], [u'topSystem'], [u'osiCancel', u'osiStart', u'osiStatus'], ["Get"]), - "OsiStart": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), + "OsiStart": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get"]), "OsiStatus": MoMeta("OsiStatus", "osiStatus", "osiStatus", VersionMeta.Version301c, "OutputOnly", 0x1, [], ["read-only"], [u'osiController'], [], ["Get"]), "PciEquipSlot": MoMeta("PciEquipSlot", "pciEquipSlot", "equipped-slot-[id]", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [u'faultInst'], ["Get"]), "PidCatalog": MoMeta("PidCatalog", "pidCatalog", "pid", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeBoard'], [u'activatePIDCatalog', u'pidCatalogCpu', u'pidCatalogDimm', u'pidCatalogHdd', u'pidCatalogPCIAdapter', u'uploadPIDCatalog'], ["Get"]), @@ -616,7 +635,7 @@ class VersionMeta: "SysdebugTechSupportExport": MoMeta("SysdebugTechSupportExport", "sysdebugTechSupportExport", "tech-support", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeRackUnit'], [], [None]), "SystemIOController": MoMeta("SystemIOController", "systemIOController", "sioc-[id]", VersionMeta.Version202c, "OutputOnly", 0x1, [], ["read-only"], [u'computeRackUnit'], [u'firmwareBootDefinition', u'firmwareRunning', u'firmwareUpdatable'], ["Get"]), "TopRoot": MoMeta("TopRoot", "topRoot", "", VersionMeta.Version151f, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [], [u'topSystem'], ["Get"]), - "TopSystem": MoMeta("TopSystem", "topSystem", "sys", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'topRoot'], [u'aaaLdap', u'aaaUserEp', u'certificateManagement', u'commSvcEp', u'computeRackUnit', u'huuController', u'iodController', u'mgmtBackup', u'mgmtImporter', u'mgmtInventory', u'osiController', u'storageSasExpander'], ["Get", "Set"]), + "TopSystem": MoMeta("TopSystem", "topSystem", "sys", VersionMeta.Version151f, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'topRoot'], [u'aaaLdap', u'aaaUserEp', u'certificateManagement', u'commSvcEp', u'computeRackUnit', u'huuController', u'iodController', u'kmipManagement', u'mgmtBackup', u'mgmtImporter', u'mgmtInventory', u'osiController', u'storageSasExpander'], ["Get", "Set"]), "UploadBiosProfile": MoMeta("UploadBiosProfile", "uploadBiosProfile", "upload-bios-profile", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'biosProfileManagement'], [], [None]), "UploadCertificate": MoMeta("UploadCertificate", "uploadCertificate", "upload-cert", VersionMeta.Version209c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'certificateManagement'], [], [None]), "UploadPIDCatalog": MoMeta("UploadPIDCatalog", "uploadPIDCatalog", "upload-catalog", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'pidCatalog'], [], ["Get"]), @@ -833,9 +852,9 @@ class VersionMeta: "NetworkAdapterUnit": MoMeta("NetworkAdapterUnit", "networkAdapterUnit", "network-adapter-[slot]", VersionMeta.Version2013e, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeServerNode'], [u'networkAdapterEthIf'], ["Get"]), "OneTimeBootDevice": MoMeta("OneTimeBootDevice", "oneTimeBootDevice", "boot-one-time", VersionMeta.Version2013e, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeServerNode'], [], ["Get", "Set"]), "OneTimePrecisionBootDevice": MoMeta("OneTimePrecisionBootDevice", "oneTimePrecisionBootDevice", "one-time-precision-boot", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin", "read-only", "user"], [u'computeServerNode'], [], ["Get", "Set"]), - "OsiCancel": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), + "OsiCancel": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], [None]), "OsiController": MoMeta("OsiController", "osiController", "osi", VersionMeta.Version301c, "OutputOnly", 0x1, [], ["read-only"], [u'computeServerNode'], [u'osiCancel', u'osiStart', u'osiStatus'], ["Get"]), - "OsiStart": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), + "OsiStart": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1, [], ["admin"], [u'osiController'], [], ["Get"]), "OsiStatus": MoMeta("OsiStatus", "osiStatus", "osiStatus", VersionMeta.Version301c, "OutputOnly", 0x1, [], ["read-only"], [u'osiController'], [], ["Get"]), "PciEquipSlot": MoMeta("PciEquipSlot", "pciEquipSlot", "equipped-slot-[id]", VersionMeta.Version2013e, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeServerNode'], [u'faultInst'], ["Get"]), "PidCatalog": MoMeta("PidCatalog", "pidCatalog", "pid", VersionMeta.Version2013e, "OutputOnly", 0x1, [], ["admin", "read-only", "user"], [u'computeBoard'], [u'activatePIDCatalog', u'pidCatalogCpu', u'pidCatalogDimm', u'pidCatalogHdd', u'pidCatalogPCIAdapter'], ["Get"]), diff --git a/imcsdk/mometa/download/DownloadClientCertificate.py b/imcsdk/mometa/download/DownloadClientCertificate.py new file mode 100644 index 00000000..6623358f --- /dev/null +++ b/imcsdk/mometa/download/DownloadClientCertificate.py @@ -0,0 +1,77 @@ +"""This module contains the general information for DownloadClientCertificate ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class DownloadClientCertificateConsts: + 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", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "download_progress": MoPropertyMeta("download_progress", "downloadProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "download_status": MoPropertyMeta("download_status", "downloadStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "downloadProgress": "download_progress", + "downloadStatus": "download_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.download_progress = None + self.download_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "DownloadClientCertificate", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/download/DownloadClientPrivateKey.py b/imcsdk/mometa/download/DownloadClientPrivateKey.py new file mode 100644 index 00000000..35425526 --- /dev/null +++ b/imcsdk/mometa/download/DownloadClientPrivateKey.py @@ -0,0 +1,77 @@ +"""This module contains the general information for DownloadClientPrivateKey ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class DownloadClientPrivateKeyConsts: + PROTOCOL_FTP = "ftp" + PROTOCOL_HTTP = "http" + PROTOCOL_NONE = "none" + PROTOCOL_SCP = "scp" + PROTOCOL_SFTP = "sftp" + PROTOCOL_TFTP = "tftp" + + +class DownloadClientPrivateKey(ManagedObject): + """This is DownloadClientPrivateKey class.""" + + consts = DownloadClientPrivateKeyConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("DownloadClientPrivateKey", "downloadClientPrivateKey", "kmip-private-key-download", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "download_progress": MoPropertyMeta("download_progress", "downloadProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "download_status": MoPropertyMeta("download_status", "downloadStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "downloadProgress": "download_progress", + "downloadStatus": "download_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.download_progress = None + self.download_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "DownloadClientPrivateKey", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/download/DownloadRootCACertificate.py b/imcsdk/mometa/download/DownloadRootCACertificate.py new file mode 100644 index 00000000..1706e0b6 --- /dev/null +++ b/imcsdk/mometa/download/DownloadRootCACertificate.py @@ -0,0 +1,77 @@ +"""This module contains the general information for DownloadRootCACertificate ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class DownloadRootCACertificateConsts: + PROTOCOL_FTP = "ftp" + PROTOCOL_HTTP = "http" + PROTOCOL_NONE = "none" + PROTOCOL_SCP = "scp" + PROTOCOL_SFTP = "sftp" + PROTOCOL_TFTP = "tftp" + + +class DownloadRootCACertificate(ManagedObject): + """This is DownloadRootCACertificate class.""" + + consts = DownloadRootCACertificateConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("DownloadRootCACertificate", "downloadRootCACertificate", "kmip-ca-cert-download", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "download_progress": MoPropertyMeta("download_progress", "downloadProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "download_status": MoPropertyMeta("download_status", "downloadStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "downloadProgress": "download_progress", + "downloadStatus": "download_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.download_progress = None + self.download_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "DownloadRootCACertificate", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/export/ExportClientCertificate.py b/imcsdk/mometa/export/ExportClientCertificate.py new file mode 100644 index 00000000..0d9266d9 --- /dev/null +++ b/imcsdk/mometa/export/ExportClientCertificate.py @@ -0,0 +1,77 @@ +"""This module contains the general information for ExportClientCertificate ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class ExportClientCertificateConsts: + PROTOCOL_FTP = "ftp" + PROTOCOL_HTTP = "http" + PROTOCOL_NONE = "none" + PROTOCOL_SCP = "scp" + PROTOCOL_SFTP = "sftp" + PROTOCOL_TFTP = "tftp" + + +class ExportClientCertificate(ManagedObject): + """This is ExportClientCertificate class.""" + + consts = ExportClientCertificateConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("ExportClientCertificate", "exportClientCertificate", "kmip-client-cert-export", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "export_progress": MoPropertyMeta("export_progress", "exportProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "export_status": MoPropertyMeta("export_status", "exportStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "exportProgress": "export_progress", + "exportStatus": "export_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.export_progress = None + self.export_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "ExportClientCertificate", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/export/ExportClientPrivateKey.py b/imcsdk/mometa/export/ExportClientPrivateKey.py new file mode 100644 index 00000000..c3b7d8fb --- /dev/null +++ b/imcsdk/mometa/export/ExportClientPrivateKey.py @@ -0,0 +1,77 @@ +"""This module contains the general information for ExportClientPrivateKey ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class ExportClientPrivateKeyConsts: + PROTOCOL_FTP = "ftp" + PROTOCOL_HTTP = "http" + PROTOCOL_NONE = "none" + PROTOCOL_SCP = "scp" + PROTOCOL_SFTP = "sftp" + PROTOCOL_TFTP = "tftp" + + +class ExportClientPrivateKey(ManagedObject): + """This is ExportClientPrivateKey class.""" + + consts = ExportClientPrivateKeyConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("ExportClientPrivateKey", "exportClientPrivateKey", "kmip-private-key-export", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "export_progress": MoPropertyMeta("export_progress", "exportProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "export_status": MoPropertyMeta("export_status", "exportStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "exportProgress": "export_progress", + "exportStatus": "export_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.export_progress = None + self.export_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "ExportClientPrivateKey", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/export/ExportRootCACertificate.py b/imcsdk/mometa/export/ExportRootCACertificate.py new file mode 100644 index 00000000..0b491d55 --- /dev/null +++ b/imcsdk/mometa/export/ExportRootCACertificate.py @@ -0,0 +1,77 @@ +"""This module contains the general information for ExportRootCACertificate ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class ExportRootCACertificateConsts: + PROTOCOL_FTP = "ftp" + PROTOCOL_HTTP = "http" + PROTOCOL_NONE = "none" + PROTOCOL_SCP = "scp" + PROTOCOL_SFTP = "sftp" + PROTOCOL_TFTP = "tftp" + + +class ExportRootCACertificate(ManagedObject): + """This is ExportRootCACertificate class.""" + + consts = ExportRootCACertificateConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("ExportRootCACertificate", "exportRootCACertificate", "kmip-ca-cert-export", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], [None]), + } + + + prop_meta = { + + "classic": { + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 255, None, [], []), + "export_progress": MoPropertyMeta("export_progress", "exportProgress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "export_status": MoPropertyMeta("export_status", "exportStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, None, None, None, [], []), + "protocol": MoPropertyMeta("protocol", "protocol", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["ftp", "http", "none", "scp", "sftp", "tftp"], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 256, None, [], []), + "remote_file": MoPropertyMeta("remote_file", "remoteFile", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, r"""[^\(\)~`'\?\\"";<>\|&\*\^$%]{0,128}""", [], []), + "remote_server": MoPropertyMeta("remote_server", "remoteServer", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "user": MoPropertyMeta("user", "user", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, 0, 256, None, [], []), + }, + + } + + prop_map = { + + "classic": { + "childAction": "child_action", + "dn": "dn", + "exportProgress": "export_progress", + "exportStatus": "export_status", + "protocol": "protocol", + "pwd": "pwd", + "remoteFile": "remote_file", + "remoteServer": "remote_server", + "rn": "rn", + "status": "status", + "user": "user", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.child_action = None + self.export_progress = None + self.export_status = None + self.protocol = None + self.pwd = None + self.remote_file = None + self.remote_server = None + self.status = None + self.user = None + + ManagedObject.__init__(self, "ExportRootCACertificate", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/kmip/KmipManagement.py b/imcsdk/mometa/kmip/KmipManagement.py new file mode 100644 index 00000000..e2da9ecf --- /dev/null +++ b/imcsdk/mometa/kmip/KmipManagement.py @@ -0,0 +1,68 @@ +"""This module contains the general information for KmipManagement ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class KmipManagementConsts: + ADMIN_ACTION_DELETE_CLIENT_CERTIFICATE = "delete-client-certificate" + ADMIN_ACTION_DELETE_CLIENT_PRIVATE_KEY = "delete-client-private-key" + ADMIN_ACTION_DELETE_ROOT_CA_CERTIFICATE = "delete-root-ca-certificate" + + +class KmipManagement(ManagedObject): + """This is KmipManagement class.""" + + consts = KmipManagementConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("KmipManagement", "kmipManagement", "kmip-mgmt", VersionMeta.Version302b, "InputOutput", 0x3f, [], ["admin", "read-only", "user"], [u'topSystem'], [u'downloadClientCertificate', u'downloadClientPrivateKey', u'downloadRootCACertificate', u'exportClientCertificate', u'exportClientPrivateKey', u'exportRootCACertificate', u'kmipServer', u'kmipServerLogin'], ["Get", "Set"]), + } + + + prop_meta = { + + "classic": { + "admin_action": MoPropertyMeta("admin_action", "adminAction", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 510, None, ["delete-client-certificate", "delete-client-private-key", "delete-root-ca-certificate"], []), + "client_certificate": MoPropertyMeta("client_certificate", "clientCertificate", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), + "client_private_key": MoPropertyMeta("client_private_key", "clientPrivateKey", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), + "description": MoPropertyMeta("description", "description", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 255, None, [], []), + "secure_key_management": MoPropertyMeta("secure_key_management", "secureKeyManagement", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, None, None, None, ["Disabled", "Enabled", "disabled", "enabled"], []), + "server_root_ca_certificate": MoPropertyMeta("server_root_ca_certificate", "serverRootCACertificate", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + }, + + } + + prop_map = { + + "classic": { + "adminAction": "admin_action", + "clientCertificate": "client_certificate", + "clientPrivateKey": "client_private_key", + "description": "description", + "dn": "dn", + "rn": "rn", + "secureKeyManagement": "secure_key_management", + "serverRootCACertificate": "server_root_ca_certificate", + "status": "status", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.admin_action = None + self.client_certificate = None + self.client_private_key = None + self.description = None + self.secure_key_management = None + self.server_root_ca_certificate = None + self.status = None + + ManagedObject.__init__(self, "KmipManagement", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/kmip/KmipServer.py b/imcsdk/mometa/kmip/KmipServer.py new file mode 100644 index 00000000..c72bc72f --- /dev/null +++ b/imcsdk/mometa/kmip/KmipServer.py @@ -0,0 +1,70 @@ +"""This module contains the general information for KmipServer ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class KmipServerConsts: + ADMIN_ACTION_DELETE = "delete" + ADMIN_ACTION_TEST_CONNECTION = "test-connection" + + +class KmipServer(ManagedObject): + """This is KmipServer class.""" + + consts = KmipServerConsts() + naming_props = set([u'id']) + + mo_meta = { + "classic": MoMeta("KmipServer", "kmipServer", "kmip-server-[id]", VersionMeta.Version302b, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], ["Get", "Set"]), + } + + + prop_meta = { + + "classic": { + "admin_action": MoPropertyMeta("admin_action", "adminAction", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, 0, 510, None, ["delete", "test-connection"], []), + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []), + "id": MoPropertyMeta("id", "id", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 510, None, [], ["1-2"]), + "ip_address": MoPropertyMeta("ip_address", "ipAddress", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, 0, 255, r"""(([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:([0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{0,4}|:[0-9A-Fa-f]{1,4})?|(:[0-9A-Fa-f]{1,4}){0,2})|(:[0-9A-Fa-f]{1,4}){0,3})|(:[0-9A-Fa-f]{1,4}){0,4})|:(:[0-9A-Fa-f]{1,4}){0,5})((:[0-9A-Fa-f]{1,4}){2}|:(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])(\.(25[0-5]|(2[0-4]|1[0-9]|[1-9])?[0-9])){3})|(([0-9A-Fa-f]{1,4}:){1,6}|:):[0-9A-Fa-f]{0,4}|([0-9A-Fa-f]{1,4}:){7}:) |((([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})|(([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)+)|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))""", [], []), + "port": MoPropertyMeta("port", "port", "uint", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, [], ["1-65535"]), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "test_connction_status": MoPropertyMeta("test_connction_status", "testConnctionStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_ONLY, None, 0, 510, None, [], []), + "timeout": MoPropertyMeta("timeout", "timeout", "uint", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x100, None, None, None, [], ["0-250"]), + }, + + } + + prop_map = { + + "classic": { + "adminAction": "admin_action", + "childAction": "child_action", + "dn": "dn", + "id": "id", + "ipAddress": "ip_address", + "port": "port", + "rn": "rn", + "status": "status", + "testConnctionStatus": "test_connction_status", + "timeout": "timeout", + }, + + } + + def __init__(self, parent_mo_or_dn, id, **kwargs): + self._dirty_mask = 0 + self.id = id + self.admin_action = None + self.child_action = None + self.ip_address = None + self.port = None + self.status = None + self.test_connction_status = None + self.timeout = None + + ManagedObject.__init__(self, "KmipServer", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/kmip/KmipServerLogin.py b/imcsdk/mometa/kmip/KmipServerLogin.py new file mode 100644 index 00000000..e7173223 --- /dev/null +++ b/imcsdk/mometa/kmip/KmipServerLogin.py @@ -0,0 +1,63 @@ +"""This module contains the general information for KmipServerLogin ManagedObject.""" + +from ...imcmo import ManagedObject +from ...imccoremeta import MoPropertyMeta, MoMeta +from ...imcmeta import VersionMeta + + +class KmipServerLoginConsts: + ADMIN_ACTION_CLEAR = "clear" + + +class KmipServerLogin(ManagedObject): + """This is KmipServerLogin class.""" + + consts = KmipServerLoginConsts() + naming_props = set([]) + + mo_meta = { + "classic": MoMeta("KmipServerLogin", "kmipServerLogin", "kmip-login", VersionMeta.Version302b, "InputOutput", 0xff, [], ["admin", "read-only", "user"], [u'kmipManagement'], [], ["Get", "Set"]), + } + + + prop_meta = { + + "classic": { + "account_status": MoPropertyMeta("account_status", "accountStatus", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x2, None, None, None, ["Disabled", "Enabled", "disabled", "enabled"], []), + "admin_action": MoPropertyMeta("admin_action", "adminAction", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x4, 0, 510, None, ["clear"], []), + "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version302b, MoPropertyMeta.INTERNAL, None, None, None, None, [], []), + "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x8, 0, 255, None, [], []), + "name": MoPropertyMeta("name", "name", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x10, 0, 255, None, [], []), + "pwd": MoPropertyMeta("pwd", "pwd", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, None, [], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + }, + + } + + prop_map = { + + "classic": { + "accountStatus": "account_status", + "adminAction": "admin_action", + "childAction": "child_action", + "dn": "dn", + "name": "name", + "pwd": "pwd", + "rn": "rn", + "status": "status", + }, + + } + + def __init__(self, parent_mo_or_dn, **kwargs): + self._dirty_mask = 0 + self.account_status = None + self.admin_action = None + self.child_action = None + self.name = None + self.pwd = None + self.status = None + + ManagedObject.__init__(self, "KmipServerLogin", parent_mo_or_dn, **kwargs) + diff --git a/imcsdk/mometa/kmip/__init__.py b/imcsdk/mometa/kmip/__init__.py new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/imcsdk/mometa/kmip/__init__.py @@ -0,0 +1 @@ + diff --git a/imcsdk/mometa/osi/OsiCancel.py b/imcsdk/mometa/osi/OsiCancel.py index af38d034..8dd08e91 100644 --- a/imcsdk/mometa/osi/OsiCancel.py +++ b/imcsdk/mometa/osi/OsiCancel.py @@ -17,8 +17,8 @@ class OsiCancel(ManagedObject): naming_props = set([]) mo_meta = { - "classic": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x3f, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), - "modular": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x3f, [], ["admin"], [u'osiController'], [], ["Get", "Set"]) + "classic": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x3f, [], ["admin"], [u'osiController'], [], [None]), + "modular": MoMeta("OsiCancel", "osiCancel", "osiCancel", VersionMeta.Version301c, "InputOutput", 0x3f, [], ["admin"], [u'osiController'], [], [None]) } diff --git a/imcsdk/mometa/osi/OsiStart.py b/imcsdk/mometa/osi/OsiStart.py index ccf6b353..fed93bec 100644 --- a/imcsdk/mometa/osi/OsiStart.py +++ b/imcsdk/mometa/osi/OsiStart.py @@ -32,8 +32,8 @@ class OsiStart(ManagedObject): naming_props = set([]) mo_meta = { - "classic": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1fffffff, [], ["admin"], [u'osiController'], [], ["Get", "Set"]), - "modular": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1fffffff, [], ["admin"], [u'osiController'], [], ["Get", "Set"]) + "classic": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1fffffff, [], ["admin"], [u'osiController'], [], ["Get"]), + "modular": MoMeta("OsiStart", "osiStart", "osiStart", VersionMeta.Version301c, "InputOutput", 0x1fffffff, [], ["admin"], [u'osiController'], [], ["Get"]) } diff --git a/imcsdk/mometa/self/SelfEncryptStorageController.py b/imcsdk/mometa/self/SelfEncryptStorageController.py index ec5dd398..ef5ba19b 100644 --- a/imcsdk/mometa/self/SelfEncryptStorageController.py +++ b/imcsdk/mometa/self/SelfEncryptStorageController.py @@ -10,6 +10,8 @@ class SelfEncryptStorageControllerConsts: ADMIN_ACTION_ENABLE_SELF_ENCRYPT = "enable-self-encrypt" ADMIN_ACTION_MODIFY_SELF_ENCRYPT = "modify-self-encrypt" ADMIN_ACTION_UNLOCK_SECURED_DRIVES = "unlock-secured-drives" + KEY_MANAGEMENT_LOCAL = "local" + KEY_MANAGEMENT_REMOTE = "remote" class SelfEncryptStorageController(ManagedObject): @@ -19,7 +21,7 @@ class SelfEncryptStorageController(ManagedObject): naming_props = set([]) mo_meta = { - "classic": MoMeta("SelfEncryptStorageController", "selfEncryptStorageController", "ctr-self-encrypt", VersionMeta.Version209c, "InputOutput", 0xff, [], ["admin", "read-only", "user"], [u'storageController'], [], ["Get", "Set"]), + "classic": MoMeta("SelfEncryptStorageController", "selfEncryptStorageController", "ctr-self-encrypt", VersionMeta.Version209c, "InputOutput", 0x1ff, [], ["admin", "read-only", "user"], [u'storageController'], [], ["Get", "Set"]), } @@ -31,9 +33,10 @@ class SelfEncryptStorageController(ManagedObject): "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x4, 0, 255, None, [], []), "existing_security_key": MoPropertyMeta("existing_security_key", "existingSecurityKey", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x8, 1, 33, None, [], []), "key_id": MoPropertyMeta("key_id", "keyId", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x10, 1, 256, None, [], []), - "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x20, 0, 255, None, [], []), - "security_key": MoPropertyMeta("security_key", "securityKey", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x40, 1, 33, None, [], []), - "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x80, None, None, None, ["", "created", "deleted", "modified", "removed"], []), + "key_management": MoPropertyMeta("key_management", "keyManagement", "string", VersionMeta.Version302b, MoPropertyMeta.READ_WRITE, 0x20, None, None, None, ["local", "remote"], []), + "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x40, 0, 255, None, [], []), + "security_key": MoPropertyMeta("security_key", "securityKey", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x80, 1, 33, None, [], []), + "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version209c, MoPropertyMeta.READ_WRITE, 0x100, None, None, None, ["", "created", "deleted", "modified", "removed"], []), }, } @@ -46,6 +49,7 @@ class SelfEncryptStorageController(ManagedObject): "dn": "dn", "existingSecurityKey": "existing_security_key", "keyId": "key_id", + "keyManagement": "key_management", "rn": "rn", "securityKey": "security_key", "status": "status", @@ -59,6 +63,7 @@ def __init__(self, parent_mo_or_dn, **kwargs): self.child_action = None self.existing_security_key = None self.key_id = None + self.key_management = None self.security_key = None self.status = None diff --git a/imcsdk/mometa/top/TopSystem.py b/imcsdk/mometa/top/TopSystem.py index ddd9b253..b2280628 100644 --- a/imcsdk/mometa/top/TopSystem.py +++ b/imcsdk/mometa/top/TopSystem.py @@ -444,7 +444,7 @@ class TopSystem(ManagedObject): naming_props = set([]) mo_meta = { - "classic": MoMeta("TopSystem", "topSystem", "sys", VersionMeta.Version151f, "InputOutput", 0x1f, [], ["admin", "read-only", "user"], [u'topRoot'], [u'aaaLdap', u'aaaUserEp', u'certificateManagement', u'commSvcEp', u'computeRackUnit', u'huuController', u'iodController', u'mgmtBackup', u'mgmtImporter', u'mgmtInventory', u'osiController', u'storageSasExpander'], ["Get", "Set"]), + "classic": MoMeta("TopSystem", "topSystem", "sys", VersionMeta.Version151f, "InputOutput", 0x1f, [], ["admin", "read-only", "user"], [u'topRoot'], [u'aaaLdap', u'aaaUserEp', u'certificateManagement', u'commSvcEp', u'computeRackUnit', u'huuController', u'iodController', u'kmipManagement', u'mgmtBackup', u'mgmtImporter', u'mgmtInventory', u'osiController', u'storageSasExpander'], ["Get", "Set"]), "modular": MoMeta("TopSystem", "topSystem", "sys", VersionMeta.Version2013e, "InputOutput", 0x3f, [], ["admin", "read-only", "user"], [u'topRoot'], [u'aaaLdap', u'aaaUserEp', u'certificateManagement', u'commSvcEp', u'equipmentChassis', u'sysdebugTechSupportExport'], ["Get", "Set"]) }