diff options
Diffstat (limited to 'mof')
-rw-r--r-- | mof/Cura_Fan.mof (renamed from mof/Linux_Fan.mof) | 22 | ||||
-rw-r--r-- | mof/Cura_PowerManagement.mof | 58 | ||||
-rw-r--r-- | mof/Cura_Service.mof (renamed from mof/Linux_Service.mof) | 4 | ||||
-rw-r--r-- | mof/Linux_PowerManagement.mof | 58 |
4 files changed, 71 insertions, 71 deletions
diff --git a/mof/Linux_Fan.mof b/mof/Cura_Fan.mof index 33dc7d1..b632889 100644 --- a/mof/Linux_Fan.mof +++ b/mof/Cura_Fan.mof @@ -1,16 +1,16 @@ // -// Linux_Fan.mof +// Cura_Fan.mof // #pragma locale ("en_US") //#pragma namespace ("root/cimv2") // =================================================================== -// Linux_Fan +// Cura_Fan // =================================================================== -[ Provider("cmpi:cmpiLinux_FanProvider") ] -class Linux_Fan : CIM_Fan { +[ Provider("cmpi:cmpiCura_FanProvider") ] +class Cura_Fan : CIM_Fan { [ Key, Override("DeviceID"), Description("Uniquely identifies fan. It is a composition of @@ -79,10 +79,10 @@ class Linux_Fan : CIM_Fan { }; // =================================================================== -// Linux_FanSensor +// Cura_FanSensor // =================================================================== -[ Provider("cmpi:cmpiLinux_FanSensorProvider") ] -class Linux_FanSensor : CIM_NumericSensor { +[ Provider("cmpi:cmpiCura_FanSensorProvider") ] +class Cura_FanSensor : CIM_NumericSensor { [ Key, Override("DeviceID"), Description("Uniquely identifies fan. It is a composition of @@ -100,13 +100,13 @@ class Linux_FanSensor : CIM_NumericSensor { // Associations // =================================================================== [ Association, - Provider("cmpi:cmpiLinux_FanAssociatedSensorProvider") ] -class Linux_FanAssociatedSensor : CIM_AssociatedSensor { + Provider("cmpi:cmpiCura_FanAssociatedSensorProvider") ] +class Cura_FanAssociatedSensor : CIM_AssociatedSensor { [ Override("Antecedent") ] - Linux_FanSensor REF Antecedent; + Cura_FanSensor REF Antecedent; [ Override("Dependent") ] - Linux_Fan REF Dependent; + Cura_Fan REF Dependent; }; diff --git a/mof/Cura_PowerManagement.mof b/mof/Cura_PowerManagement.mof new file mode 100644 index 0000000..951b9db --- /dev/null +++ b/mof/Cura_PowerManagement.mof @@ -0,0 +1,58 @@ +[ Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_PowerManagementService: CIM_PowerManagementService +{ +}; + +[ Association, + Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService +{ + [ Override ("ServiceProvided"), + Max ( 1 ), + Description ( "The Service that is available." )] + Cura_PowerManagementService REF ServiceProvided; + + [ Override ("UserOfService"), + Description ( "The ManagedElement that can use the Service." )] + CIM_ComputerSystem REF UserOfService; +}; + +[ Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_PowerManagementCapabilities: CIM_PowerManagementCapabilities +{ +}; + +[ Association, + Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_HostedService: CIM_HostedService +{ + [ Override ("Antecedent"), + Min ( 1 ), + Max ( 1 ), + Description ( "The hosting System." )] + CIM_ComputerSystem REF Antecedent; + + [ Override ( "Dependent" ), + Weak, + Description ( "The Service hosted on the System." )] + Cura_PowerManagementService REF Dependent; +}; + +[ Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_ConcreteJob: CIM_ConcreteJob +{ +}; + +[ Provider("cmpi:cmpiCura_PowerManagement") ] +class Cura_ElementCapabilities: CIM_ElementCapabilities +{ + [ Key, + Min ( 1 ), + Description ( "The managed element." )] + Cura_PowerManagementService REF ManagedElement; + + [ Key, + Description ( "The Capabilities object associated with the element." )] + Cura_PowerManagementCapabilities REF Capabilities; +}; + diff --git a/mof/Linux_Service.mof b/mof/Cura_Service.mof index cf59c10..459147f 100644 --- a/mof/Linux_Service.mof +++ b/mof/Cura_Service.mof @@ -1,5 +1,5 @@ // -// Linux_Service.mof +// Cura_Service.mof // // Copyright (C) 2012 Red Hat, Inc. All rights reserved. // @@ -22,7 +22,7 @@ [ Description("Class representing Linux Service"), Provider("cmpi:Service") ] -class Linux_Service : CIM_Service +class Cura_Service : CIM_Service { [ Override("StartService"), Provider("cmpi:Service") ] diff --git a/mof/Linux_PowerManagement.mof b/mof/Linux_PowerManagement.mof deleted file mode 100644 index 417ebc8..0000000 --- a/mof/Linux_PowerManagement.mof +++ /dev/null @@ -1,58 +0,0 @@ -[ Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_PowerManagementService: CIM_PowerManagementService -{ -}; - -[ Association, - Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_AssociatedPowerManagementService: CIM_AssociatedPowerManagementService -{ - [ Override ("ServiceProvided"), - Max ( 1 ), - Description ( "The Service that is available." )] - Linux_PowerManagementService REF ServiceProvided; - - [ Override ("UserOfService"), - Description ( "The ManagedElement that can use the Service." )] - CIM_ComputerSystem REF UserOfService; -}; - -[ Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_PowerManagementCapabilities: CIM_PowerManagementCapabilities -{ -}; - -[ Association, - Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_HostedService: CIM_HostedService -{ - [ Override ("Antecedent"), - Min ( 1 ), - Max ( 1 ), - Description ( "The hosting System." )] - CIM_ComputerSystem REF Antecedent; - - [ Override ( "Dependent" ), - Weak, - Description ( "The Service hosted on the System." )] - Linux_PowerManagementService REF Dependent; -}; - -[ Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_ConcreteJob: CIM_ConcreteJob -{ -}; - -[ Provider("cmpi:cmpiLinux_PowerManagement") ] -class Linux_ElementCapabilities: CIM_ElementCapabilities -{ - [ Key, - Min ( 1 ), - Description ( "The managed element." )] - Linux_PowerManagementService REF ManagedElement; - - [ Key, - Description ( "The Capabilities object associated with the element." )] - Linux_PowerManagementCapabilities REF Capabilities; -}; - |