# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198064682 -3600
# Node ID b5932d3a178fad406a082a619d5ad0770b0b5952
# Parent 98cfb1a1d84a63aca65cd1a04fac1d5e25b87cf9
DiskPool, MemoryPool, NetPool, ProcessorPool: OpenWbem support
- rename provider from DevicePoolProvider to DevicePool
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 98cfb1a1d84a -r b5932d3a178f schema/DiskPool.mof
--- a/schema/DiskPool.mof Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/DiskPool.mof Wed Dec 19 12:44:42 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_DevicePool")]
class Xen_DiskPool : CIM_ResourcePool
{
};
+[Provider("cmpi::Virt_DevicePool")]
class KVM_DiskPool : CIM_ResourcePool
{
};
diff -r 98cfb1a1d84a -r b5932d3a178f schema/DiskPool.registration
--- a/schema/DiskPool.registration Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/DiskPool.registration Wed Dec 19 12:44:42 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_DiskPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
-KVM_DiskPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
+Xen_DiskPool root/virt Virt_DevicePool Virt_DevicePool instance
+KVM_DiskPool root/virt Virt_DevicePool Virt_DevicePool instance
diff -r 98cfb1a1d84a -r b5932d3a178f schema/MemoryPool.mof
--- a/schema/MemoryPool.mof Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/MemoryPool.mof Wed Dec 19 12:44:42 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_DevicePool")]
class Xen_MemoryPool : CIM_ResourcePool
{
};
+[Provider("cmpi::Virt_DevicePool")]
class KVM_MemoryPool : CIM_ResourcePool
{
};
diff -r 98cfb1a1d84a -r b5932d3a178f schema/MemoryPool.registration
--- a/schema/MemoryPool.registration Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/MemoryPool.registration Wed Dec 19 12:44:42 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_MemoryPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
-KVM_MemoryPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
+Xen_MemoryPool root/virt Virt_DevicePool Virt_DevicePool instance
+KVM_MemoryPool root/virt Virt_DevicePool Virt_DevicePool instance
diff -r 98cfb1a1d84a -r b5932d3a178f schema/NetPool.mof
--- a/schema/NetPool.mof Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/NetPool.mof Wed Dec 19 12:44:42 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_DevicePool")]
class Xen_NetworkPool : CIM_ResourcePool
{
};
+[Provider("cmpi::Virt_DevicePool")]
class KVM_NetworkPool : CIM_ResourcePool
{
};
diff -r 98cfb1a1d84a -r b5932d3a178f schema/NetPool.registration
--- a/schema/NetPool.registration Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/NetPool.registration Wed Dec 19 12:44:42 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_NetworkPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
-KVM_NetworkPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
\ No newline at end of file
+Xen_NetworkPool root/virt Virt_DevicePool Virt_DevicePool instance
+KVM_NetworkPool root/virt Virt_DevicePool Virt_DevicePool instance
\ No newline at end of file
diff -r 98cfb1a1d84a -r b5932d3a178f schema/ProcessorPool.mof
--- a/schema/ProcessorPool.mof Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/ProcessorPool.mof Wed Dec 19 12:44:42 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_DevicePool")]
class Xen_ProcessorPool : CIM_ResourcePool
{
};
+[Provider("cmpi::Virt_DevicePool")]
class KVM_ProcessorPool : CIM_ResourcePool
{
};
diff -r 98cfb1a1d84a -r b5932d3a178f schema/ProcessorPool.registration
--- a/schema/ProcessorPool.registration Wed Dec 19 12:35:42 2007 +0100
+++ b/schema/ProcessorPool.registration Wed Dec 19 12:44:42 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ProcessorPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
-KVM_ProcessorPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance
+Xen_ProcessorPool root/virt Virt_DevicePool Virt_DevicePool instance
+KVM_ProcessorPool root/virt Virt_DevicePool Virt_DevicePool instance
diff -r 98cfb1a1d84a -r b5932d3a178f src/Virt_DevicePool.c
--- a/src/Virt_DevicePool.c Wed Dec 19 12:35:42 2007 +0100
+++ b/src/Virt_DevicePool.c Wed Dec 19 12:44:42 2007 +0100
@@ -774,7 +774,10 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_DevicePoolProvider, _BROKER, libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_DevicePool,
+ _BROKER,
+ libvirt_cim_init());
/*