
# HG changeset patch # User Richard Maciel <rmaciel@linux.vnet.ibm.com> # Date 1238703532 10800 # Node ID 33c94f360449aa4324eb42d7a630b7959c36613c # Parent c53de56e085d9ab893b5ef518dbcc4ccb9795531 Add support for the DiskDrive class Signed-off-by: Richard Maciel <rmaciel@linux.vnet.ibm.com> diff -r c53de56e085d -r 33c94f360449 Makefile.am --- a/Makefile.am Fri Apr 17 16:08:17 2009 -0300 +++ b/Makefile.am Thu Apr 02 17:18:52 2009 -0300 @@ -55,7 +55,8 @@ schema/InputPool.mof \ schema/HostedAccessPoint.mof \ schema/ServiceAccessBySAP.mof \ - schema/SAPAvailableForElement.mof + schema/SAPAvailableForElement.mof \ + schema/DiskDrive.mof INTEROP_MOFS = \ schema/ComputerSystem.mof \ @@ -129,7 +130,8 @@ schema/InputPool.registration \ schema/HostedAccessPoint.registration \ schema/ServiceAccessBySAP.registration \ - schema/SAPAvailableForElement.registration + schema/SAPAvailableForElement.registration \ + schema/DiskDrive.registration INTEROP_REGS = \ schema/RegisteredProfile.registration \ diff -r c53de56e085d -r 33c94f360449 schema/DiskDrive.mof --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/DiskDrive.mof Thu Apr 02 17:18:52 2009 -0300 @@ -0,0 +1,29 @@ +// Copyright IBM Corp. 2009 + +[Description ( + "A class derived from CIM_DiskDrive to represent " + "the Xen DiskDrive on the system."), + Provider("cmpi::Virt_Device") +] +class Xen_DiskDrive : CIM_DiskDrive +{ +}; + +[Description ( + "A class derived from CIM_DiskDrive to represent " + "the KVM DiskDrive on the system."), + Provider("cmpi::Virt_Device") +] +class KVM_DiskDrive : CIM_DiskDrive +{ +}; + +[Description ( + "A class derived from CIM_DiskDrive to represent " + "the LXC DiskDrive on the system."), + Provider("cmpi::Virt_Device") +] +class LXC_DiskDrive : CIM_DiskDrive +{ +}; + diff -r c53de56e085d -r 33c94f360449 schema/DiskDrive.registration --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/DiskDrive.registration Thu Apr 02 17:18:52 2009 -0300 @@ -0,0 +1,5 @@ +# Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes +Xen_DiskDrive root/virt Virt_Device Virt_Device instance +KVM_DiskDrive root/virt Virt_Device Virt_Device instance +LXC_DiskDrive root/virt Virt_Device Virt_Device instance