[Libvirt-cim] [PATCH 07 of 29] LogicalDisk, Memory, NetworkPort, Processor: OpenWbem support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Dec 19 12:19:58 UTC 2007


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1198064992 -3600
# Node ID 8d747cfb847e372b06300dc1abf0e0e2d9653518
# Parent  b5932d3a178fad406a082a619d5ad0770b0b5952
LogicalDisk, Memory, NetworkPort, Processor: OpenWbem support

- rename provider from DeviceProvider to Device
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r b5932d3a178f -r 8d747cfb847e schema/LogicalDisk.mof
--- a/schema/LogicalDisk.mof	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/LogicalDisk.mof	Wed Dec 19 12:49:52 2007 +0100
@@ -2,7 +2,8 @@
 
 [Description (
 	"A class derived from CIM_LogicalDisk to represent "
-	"the Xen virtual disks on the system.")
+	"the Xen virtual disks on the system."),
+ Provider("cmpi::Virt_Device")
 ]
 class Xen_LogicalDisk : CIM_LogicalDisk
 {
@@ -10,7 +11,8 @@ class Xen_LogicalDisk : CIM_LogicalDisk
 
 [Description (
 	"A class derived from CIM_LogicalDisk to represent "
-	"the KVM virtual disks on the system.")
+	"the KVM virtual disks on the system."),
+ Provider("cmpi::Virt_Device")
 ]
 class KVM_LogicalDisk : CIM_LogicalDisk
 {
diff -r b5932d3a178f -r 8d747cfb847e schema/LogicalDisk.registration
--- a/schema/LogicalDisk.registration	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/LogicalDisk.registration	Wed Dec 19 12:49:52 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_LogicalDisk root/virt Virt_DeviceProvider Virt_Device instance
-KVM_LogicalDisk root/virt Virt_DeviceProvider Virt_Device instance
+Xen_LogicalDisk root/virt Virt_Device Virt_Device instance
+KVM_LogicalDisk root/virt Virt_Device Virt_Device instance
diff -r b5932d3a178f -r 8d747cfb847e schema/Memory.mof
--- a/schema/Memory.mof	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/Memory.mof	Wed Dec 19 12:49:52 2007 +0100
@@ -2,7 +2,8 @@
 
 [Description (
         "A class derived from CIM_Memory to represent "
-        "the Xen virtual memory.")
+        "the Xen virtual memory."),
+ Provider("cmpi::Virt_Device")
 ]
 class Xen_Memory : CIM_Memory
 {
@@ -10,7 +11,8 @@ class Xen_Memory : CIM_Memory
 
 [Description (
         "A class derived from CIM_Memory to represent "
-        "the KVM virtual memory.")
+        "the KVM virtual memory."),
+ Provider("cmpi::Virt_Device")
 ]
 class KVM_Memory : CIM_Memory
 {
diff -r b5932d3a178f -r 8d747cfb847e schema/Memory.registration
--- a/schema/Memory.registration	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/Memory.registration	Wed Dec 19 12:49:52 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_Memory root/virt Virt_DeviceProvider Virt_Device instance
-KVM_Memory root/virt Virt_DeviceProvider Virt_Device instance
+Xen_Memory root/virt Virt_Device Virt_Device instance
+KVM_Memory root/virt Virt_Device Virt_Device instance
diff -r b5932d3a178f -r 8d747cfb847e schema/NetworkPort.mof
--- a/schema/NetworkPort.mof	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/NetworkPort.mof	Wed Dec 19 12:49:52 2007 +0100
@@ -2,7 +2,8 @@
 
 [Description (
 	"A class derived from CIM_NetworkPort to represent "
-	"the Xen virtual network interfaces on the system.")
+	"the Xen virtual network interfaces on the system."),
+ Provider("cmpi::Virt_Device")
 ]
 class Xen_NetworkPort : CIM_NetworkPort
 {
@@ -10,7 +11,8 @@ class Xen_NetworkPort : CIM_NetworkPort
 
 [Description (
 	"A class derived from CIM_NetworkPort to represent "
-	"the KVM virtual network interfaces on the system.")
+	"the KVM virtual network interfaces on the system."),
+ Provider("cmpi::Virt_Device")
 ]
 class KVM_NetworkPort : CIM_NetworkPort
 {
diff -r b5932d3a178f -r 8d747cfb847e schema/NetworkPort.registration
--- a/schema/NetworkPort.registration	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/NetworkPort.registration	Wed Dec 19 12:49:52 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_NetworkPort root/virt Virt_DeviceProvider Virt_Device instance
-KVM_NetworkPort root/virt Virt_DeviceProvider Virt_Device instance
+Xen_NetworkPort root/virt Virt_Device Virt_Device instance
+KVM_NetworkPort root/virt Virt_Device Virt_Device instance
diff -r b5932d3a178f -r 8d747cfb847e schema/Processor.mof
--- a/schema/Processor.mof	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/Processor.mof	Wed Dec 19 12:49:52 2007 +0100
@@ -2,7 +2,8 @@
 
 [Description (
 	"A class derived from CIM_Processor to represent "
-	"the Xen virtual processors.")
+	"the Xen virtual processors."),
+ Provider("cmpi::Virt_Device")
 ]
 class Xen_Processor : CIM_Processor
 {
@@ -10,7 +11,8 @@ class Xen_Processor : CIM_Processor
 
 [Description (
 	"A class derived from CIM_Processor to represent "
-	"the KVM virtual processors.")
+	"the KVM virtual processors."),
+ Provider("cmpi::Virt_Device")
 ]
 class KVM_Processor : CIM_Processor
 {
diff -r b5932d3a178f -r 8d747cfb847e schema/Processor.registration
--- a/schema/Processor.registration	Wed Dec 19 12:44:42 2007 +0100
+++ b/schema/Processor.registration	Wed Dec 19 12:49:52 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_Processor root/virt Virt_DeviceProvider Virt_Device instance
-KVM_Processor root/virt Virt_DeviceProvider Virt_Device instance
+Xen_Processor root/virt Virt_Device Virt_Device instance
+KVM_Processor root/virt Virt_Device Virt_Device instance




More information about the Libvirt-cim mailing list