summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_Software.mof208
-rw-r--r--mof/LMI_Software.reg24
2 files changed, 163 insertions, 69 deletions
diff --git a/mof/LMI_Software.mof b/mof/LMI_Software.mof
index 6538f18..824659e 100644
--- a/mof/LMI_Software.mof
+++ b/mof/LMI_Software.mof
@@ -176,7 +176,7 @@ class LMI_SoftwareIdentityResource : CIM_SoftwareIdentityResource {
[Implemented(true), Override("HealthState")]
uint16 HealthState;
-
+
[Implemented(true), Description(
"Whether or not a GPG signature check should be performed"
" on the packages gotten from this repository.")]
@@ -352,18 +352,18 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
[Implemented(True), Override("CheckSoftwareIdentity")]
uint32 CheckSoftwareIdentity(
- [IN, Description (
+ [IN, Description (
"Reference to the SoftwareIdentity to be checked." )]
- LMI_SoftwareIdentity REF Source,
- [IN, Description (
+ LMI_SoftwareIdentity REF Source,
+ [IN, Description (
"Reference to the ManagedElement that the Software "
"Identity is going to be installed in (or updated)." )]
- CIM_ManagedElement REF Target,
- [IN, Description (
+ CIM_ManagedElement REF Target,
+ [IN, Description (
"Reference to the Collection to which the Software "
"Identity will be added." )]
- LMI_SystemSoftwareCollection REF Collection,
- [IN ( false ), OUT, Description (
+ LMI_SystemSoftwareCollection REF Collection,
+ [IN ( false ), OUT, Description (
"The parameter describes the characteristics of the "
"installation/update that will take place if the "
"Source Software Identity is installed: \n"
@@ -393,26 +393,26 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
"have serious consequences. \n"
"MAY be added to specified collection : The "
"SoftwareIndentity MAY be added to specified "
- "Collection." ),
- ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
- "..", "0x7FFF..0xFFFF" },
- Values { "Target automatic reset",
- "System automatic reset",
- "Separate target reset Required",
- "Separate system reset Required",
- "Manual Reboot Required", "No Reboot Required",
- "User Intervention recommended",
- "MAY be added to specified Collection",
+ "Collection." ),
+ ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
+ "..", "0x7FFF..0xFFFF" },
+ Values { "Target automatic reset",
+ "System automatic reset",
+ "Separate target reset Required",
+ "Separate system reset Required",
+ "Manual Reboot Required", "No Reboot Required",
+ "User Intervention recommended",
+ "MAY be added to specified Collection",
"DMTF Reserved", "Vendor Specific" }]
uint16 InstallCharacteristics[]);
[Implemented(True), Override("InstallFromSoftwareIdentity")]
uint32 InstallFromSoftwareIdentity(
- [IN ( false ), OUT, Description (
+ [IN ( false ), OUT, Description (
"Reference to the job (may be null if job completed)."
)]
- LMI_SoftwareInstallationJob REF Job,
- [IN, Description (
+ LMI_SoftwareInstallationJob REF Job,
+ [IN, Description (
"Options to control the install process.\n"
"Defer target/system reset : do not automatically "
"reset the target/system.\n"
@@ -439,21 +439,21 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
"AdministrativeMode: Perform the install or update "
"of the software in the administrative mode. "
"ScheduleInstallAt: Indicates the time at which "
- "theinstall or update of the software will occur." ),
- ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
- "10", "11", "12", "13", "..", "32768..65535" },
- Values { "Defer target/system reset",
- "Force installation", "Install", "Update", "Repair",
- "Reboot", "Password", "Uninstall", "Log",
- "SilentMode", "AdministrativeMode",
- "ScheduleInstallAt", "DMTF Reserved",
- "Vendor Specific" },
- ArrayType ( "Indexed" ),
- ModelCorrespondence {
- "CIM_SoftwareInstallationService.InstallOptionsValues[]",
+ "theinstall or update of the software will occur." ),
+ ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
+ "10", "11", "12", "13", "..", "32768..65535" },
+ Values { "Defer target/system reset",
+ "Force installation", "Install", "Update", "Repair",
+ "Reboot", "Password", "Uninstall", "Log",
+ "SilentMode", "AdministrativeMode",
+ "ScheduleInstallAt", "DMTF Reserved",
+ "Vendor Specific" },
+ ArrayType ( "Indexed" ),
+ ModelCorrespondence {
+ "CIM_SoftwareInstallationService.InstallOptionsValues[]",
"CIM_SoftwareInstallationServiceCapabilities.SupportedInstallOptions[]" }]
- uint16 InstallOptions[],
- [IN, Description (
+ uint16 InstallOptions[],
+ [IN, Description (
"InstallOptionsValues is an array of strings "
"providing additional information to InstallOptions "
"for the method to install the software. Each entry "
@@ -476,22 +476,22 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
"\"Defer target/system reset\", \"Force "
"installation\",\"Install\", \"Update\", \"Repair\" "
"or \"Reboot\" then a value at the corresponding "
- "index of InstallOptionValues shall be NULL." ),
- ArrayType ( "Indexed" ),
- ModelCorrespondence {
+ "index of InstallOptionValues shall be NULL." ),
+ ArrayType ( "Indexed" ),
+ ModelCorrespondence {
"CIM_SoftwareInstallationService.InstallOptions[]" }]
- string InstallOptionsValues[],
- [IN, Description (
+ string InstallOptionsValues[],
+ [IN, Description (
"Reference to the source of the install." )]
- LMI_SoftwareIdentity REF Source,
- [IN, Description (
+ LMI_SoftwareIdentity REF Source,
+ [IN, Description (
"The installation target. If NULL then the "
"SOftwareIdentity will be added to Collection only. "
"The underlying implementation is expected to be "
"able to obtain any necessary metadata from the "
"Software Identity." )]
- CIM_ManagedElement REF Target,
- [IN, Description (
+ CIM_ManagedElement REF Target,
+ [IN, Description (
"Reference to the Collection to which the Software "
"Identity SHALL be added. If NULL then the Software "
"Identity will not be added to a Collection." )]
@@ -499,34 +499,34 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
[Implemented(True), Override("InstallFromURI")]
uint32 InstallFromURI(
- [IN ( false ), OUT, Description (
+ [IN ( false ), OUT, Description (
"Reference to the job (may be null if job completed)."
)]
- LMI_SoftwareInstallationJob REF Job,
- [IN, Description (
+ LMI_SoftwareInstallationJob REF Job,
+ [IN, Description (
"A URI for the software based on RFC 2079." )]
- string URI,
+ string URI,
[IN, Description ( "The installation target." )]
- CIM_ManagedElement REF Target,
- [IN, Description (
+ CIM_ManagedElement REF Target,
+ [IN, Description (
"Options to control the install process. \n"
"See the InstallOptions parameter of the "
"SoftwareInstallationService.InstallFromSoftwareIdentity "
- "method for the description of these values." ),
- ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
- "10", "11", "12", "13", "..", "32768..65535" },
- Values { "Defer target/system reset",
- "Force installation", "Install", "Update", "Repair",
- "Reboot", "Password", "Uninstall", "Log",
- "SilentMode", "AdministrativeMode",
- "ScheduleInstallAt", "DMTF Reserved",
- "Vendor Specific" },
- ArrayType ( "Indexed" ),
- ModelCorrespondence {
- "CIM_SoftwareInstallationService.InstallFromURI.InstallOptionsValues[]",
+ "method for the description of these values." ),
+ ValueMap { "2", "3", "4", "5", "6", "7", "8", "9",
+ "10", "11", "12", "13", "..", "32768..65535" },
+ Values { "Defer target/system reset",
+ "Force installation", "Install", "Update", "Repair",
+ "Reboot", "Password", "Uninstall", "Log",
+ "SilentMode", "AdministrativeMode",
+ "ScheduleInstallAt", "DMTF Reserved",
+ "Vendor Specific" },
+ ArrayType ( "Indexed" ),
+ ModelCorrespondence {
+ "CIM_SoftwareInstallationService.InstallFromURI.InstallOptionsValues[]",
"CIM_SoftwareInstallationServiceCapabilities.SupportedInstallOptions[]" }]
- uint16 InstallOptions[],
- [IN, Description (
+ uint16 InstallOptions[],
+ [IN, Description (
"InstallOptionsValues is an array of strings "
"providing additionalinformation to InstallOptions "
"for the method to install the software. Each entry "
@@ -539,19 +539,89 @@ class LMI_SoftwareInstallationService : CIM_SoftwareInstallationService {
"description of the InstallOptionsValues parameter "
"of the "
"SoftwareInstallationService.InstallFromSoftwareIdentity "
- "method." ),
- ArrayType ( "Indexed" ),
- ModelCorrespondence {
+ "method." ),
+ ArrayType ( "Indexed" ),
+ ModelCorrespondence {
"CIM_SoftwareInstallationService.InstallFromByteStream.InstallOptions[]" }]
string InstallOptionsValues[]);
};
+class LMI_SoftwareInstallationServiceCapabilities :
+ CIM_SoftwareInstallationServiceCapabilities {
+
+ [Implemented(true), Override("InstanceID")]
+ string InstanceID;
+
+ [Implemented(true), Override("CanAddToCollection")]
+ boolean CanAddToCollection;
+
+ [Implemented(true), Override("Caption")]
+ string SupportedTargetTypes[];
+
+ [Implemented(true), Override("SupportedInstallOptions")]
+ uint16 SupportedInstallOptions[];
+
+ [Implemented(true), Override("Description")]
+ string Description;
+
+ [Implemented(true), Override("SupportedURISchemes")]
+ uint16 SupportedURISchemes[];
+
+ [Implemented(true), Override("SupportedAsynchronousActions")]
+ uint16 SupportedAsynchronousActions[];
+
+ [Implemented(true), Override("SupportedSynchronousActions")]
+ uint16 SupportedSynchronousActions[];
+
+};
+
+[Association]
+class LMI_AssociatedSoftwareInstallationServiceCapabilities :
+ CIM_ElementCapabilities {
+
+ [Override("Capabilities")]
+ LMI_SoftwareInstallationServiceCapabilities REF Capabilities;
+
+ [Override("ManagedElement")]
+ LMI_SoftwareInstallationService REF ManagedElement;
+
+ [Implemented(true), Override("Characteristics")]
+ uint16 Characteristics[];
+
+};
+
+[Association]
+class LMI_HostedSoftwareInstallationService : CIM_HostedService {
+
+ [Override("Antecedent")]
+ Linux_ComputerSystem REF Antecedent;
+
+ [Override("Dependent")]
+ LMI_SoftwareInstallationService REF Dependent;
+
+};
+
+[Association]
+class LMI_SoftwareInstallationServiceAffectsElement :
+ CIM_ServiceAffectsElement {
+
+ [Override("AffectingElement")]
+ LMI_SoftwareInstallationService REF AffectingElement;
+
+ [Implemented(true), Override("ElementEffects")]
+ uint16 ElementEffects[];
+
+ [Implemented(true), Override("OtherElementEffectsDescriptions")]
+ string OtherElementEffectsDescriptions[];
+
+};
+
class LMI_SoftwareInstallationJob : LMI_ConcreteJob {
[Implemented(true), Override("InstanceID")]
string InstanceID;
-
+
[Implemented(true), Override("Caption")]
string Caption;
@@ -594,7 +664,7 @@ class LMI_AssociatedSoftwareJobMethodResult : LMI_AssociatedJobMethodResult {
[Association]
class LMI_OwningSoftwareJobElement : LMI_OwningJobElement {
-
+
[Override("OwningElement")]
LMI_SoftwareInstallationService REF OwningElement;
diff --git a/mof/LMI_Software.reg b/mof/LMI_Software.reg
index 1c98fab..d8e05ee 100644
--- a/mof/LMI_Software.reg
+++ b/mof/LMI_Software.reg
@@ -52,6 +52,30 @@
type: instance method
namespace: root/cimv2
+[LMI_SoftwareInstallationServiceCapabilities]
+ provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
+ location: pyCmpiProvider
+ type: instance method
+ namespace: root/cimv2
+
+[LMI_AssociatedSoftwareInstallationServiceCapabilities]
+ provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
+ location: pyCmpiProvider
+ type: instance association
+ namespace: root/cimv2
+
+[LMI_HostedSoftwareInstallationService]
+ provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
+ location: pyCmpiProvider
+ type: instance association
+ namespace: root/cimv2
+
+[LMI_SoftwareInstallationServiceAffectsElement]
+ provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
+ location: pyCmpiProvider
+ type: instance association
+ namespace: root/cimv2
+
[LMI_SoftwareInstallationJob]
provider: /usr/lib/python2.7/site-packages/openlmi/software/cimom_entry.py
location: pyCmpiProvider