.. _LMI-ExtentEncryptionConfigurationService: LMI_ExtentEncryptionConfigurationService ---------------------------------------- Class reference =============== Subclass of :ref:`CIM_Service ` Service which configures LUKS formats on block devices. Key properties ^^^^^^^^^^^^^^ | :ref:`Name ` | :ref:`SystemName ` | :ref:`SystemCreationClassName ` | :ref:`CreationClassName ` Local properties ^^^^^^^^^^^^^^^^ *None* Local methods ^^^^^^^^^^^^^ .. _LMI-ExtentEncryptionConfigurationService-CloseEncryptionFormat: ``uint32`` **CloseEncryptionFormat** (:ref:`CIM_ConcreteJob ` Job, :ref:`LMI_EncryptionFormat ` Format) Closes a LUKS device. Appropriate device mapper device with clear-text data is destroyed and appropriate LMI_LUKSStorageExtent is removed. ============ ======================================= ValueMap Values ============ ======================================= 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use .. DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific ============ ======================================= **Parameters** *OUT* :ref:`CIM_ConcreteJob ` **Job** Reference to the created job. *IN* :ref:`LMI_EncryptionFormat ` **Format** LUKS format to close. .. _LMI-ExtentEncryptionConfigurationService-DeletePassphrase: ``uint32`` **DeletePassphrase** (:ref:`LMI_EncryptionFormat ` Format, ``string`` Passphrase) Remove a passphrase from LUKS format. **Parameters** *IN* :ref:`LMI_EncryptionFormat ` **Format** The format to remove the passphrase from. *IN* ``string`` **Passphrase** The passphrase to remove. .. _LMI-ExtentEncryptionConfigurationService-AddPassphrase: ``uint32`` **AddPassphrase** (:ref:`LMI_EncryptionFormat ` Format, ``string`` Passphrase, ``string`` NewPassphrase) Add new passphrase to LUKS format. LUKS supports up to 8 independent passphrases, adding any additional one will result in error. Application cannot specify which key slot will be used by which passphrase. **Parameters** *IN* :ref:`LMI_EncryptionFormat ` **Format** The format to add the passphrase to. *IN* ``string`` **Passphrase** Any of the existing passphrase to unlock the format. *IN* ``string`` **NewPassphrase** New passphrase to add. .. _LMI-ExtentEncryptionConfigurationService-CreateEncryptionFormat: ``uint32`` **CreateEncryptionFormat** (:ref:`CIM_StorageExtent ` InExtent, :ref:`LMI_EncryptionFormatSetting ` Goal, ``string`` Passphrase, :ref:`CIM_ConcreteJob ` Job, :ref:`LMI_EncryptionFormat ` Format) Formats a device to become a LUKS device. All previous data on the device is destroyed. ============ ======================================= ValueMap Values ============ ======================================= 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use .. DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific ============ ======================================= **Parameters** *IN* :ref:`CIM_StorageExtent ` **InExtent** The block device to format. *IN* :ref:`LMI_EncryptionFormatSetting ` **Goal** Parameteres of the LUKS format. This parameter is unused currently and must be NULL. *IN* ``string`` **Passphrase** Passphrase to use to encrypt the device. This is not the encryption key! *OUT* :ref:`CIM_ConcreteJob ` **Job** Reference to the created job. *OUT* :ref:`LMI_EncryptionFormat ` **Format** Created format. .. _LMI-ExtentEncryptionConfigurationService-OpenEncryptionFormat: ``uint32`` **OpenEncryptionFormat** (:ref:`LMI_EncryptionFormat ` Format, ``string`` ElementName, ``string`` Passphrase, :ref:`CIM_ConcreteJob ` Job, :ref:`CIM_StorageExtent ` Extent) Opens a LUKS device. This means new block device with clear-text data is created. This new device is represented by LMI_LUKSStorageDevice and is returned as 'Extent' output parameter. ============ ======================================= ValueMap Values ============ ======================================= 0 Job Completed with No Error 1 Not Supported 2 Unknown 3 Timeout 4 Failed 5 Invalid Parameter 6 In Use .. DMTF Reserved 4096 Method Parameters Checked - Job Started 4098..32767 Method Reserved 32768..65535 Vendor Specific ============ ======================================= **Parameters** *IN* :ref:`LMI_EncryptionFormat ` **Format** Format to open. *IN* ``string`` **ElementName** Desired ElementName of the newly created LMI_LUKSStorageDevice. This name is also used as device mapper name, i.e. device with path /dev/mapper/ will be created. *IN* ``string`` **Passphrase** Passphrase to unencrypt the device. *OUT* :ref:`CIM_ConcreteJob ` **Job** Reference to the created job. *OUT* :ref:`CIM_StorageExtent ` **Extent** Created CIM_StorageExtent which represents the clear-text block device. Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``uint16`` :ref:`RequestedState ` | ``uint16`` :ref:`HealthState ` | ``string`` :ref:`SystemCreationClassName ` | ``string`` :ref:`InstanceID ` | ``uint16`` :ref:`CommunicationStatus ` | ``string`` :ref:`SystemName ` | ``string[]`` :ref:`StatusDescriptions ` | ``string`` :ref:`Status ` | ``string`` :ref:`ElementName ` | ``string`` :ref:`Description ` | ``uint16`` :ref:`TransitioningToState ` | ``boolean`` :ref:`Started ` | ``datetime`` :ref:`TimeOfLastStateChange ` | ``uint16`` :ref:`PrimaryStatus ` | ``uint16`` :ref:`DetailedStatus ` | ``string`` :ref:`Name ` | ``datetime`` :ref:`InstallDate ` | ``uint16`` :ref:`EnabledDefault ` | ``uint16`` :ref:`EnabledState ` | ``string`` :ref:`Caption ` | ``string`` :ref:`StartMode ` | ``uint16[]`` :ref:`AvailableRequestedStates ` | ``uint64`` :ref:`Generation ` | ``string`` :ref:`OtherEnabledState ` | ``uint16[]`` :ref:`OperationalStatus ` | ``uint16`` :ref:`OperatingStatus ` | ``string`` :ref:`PrimaryOwnerContact ` | ``string`` :ref:`CreationClassName ` | ``string`` :ref:`PrimaryOwnerName ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`RequestStateChange ` | :ref:`StopService ` | :ref:`ChangeAffectedElementsAssignedSequence ` | :ref:`StartService `