# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182619 -3600
# Node ID fdba4d9de9660421b2cb1749951404ed5aa8bdaa
# Parent a5d96949d5736e72957adb8eaa511e4b8d4d7aee
ElementCapabilities: OpenWbem support
- rename provider from ElementCapabilitiesProvider to ElementCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r a5d96949d573 -r fdba4d9de966 schema/ElementCapabilities.mof
--- a/schema/ElementCapabilities.mof Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementCapabilities.mof Thu Dec 20 21:30:19 2007 +0100
@@ -2,7 +2,8 @@
[Association,
Description (
- "A class to associate a ManagedElement with its Capabilities.")
+ "A class to associate a ManagedElement with its Capabilities."),
+ Provider("cmpi::Virt_ElementCapabilities")
]
class Xen_ElementCapabilities : CIM_ElementCapabilities
{
@@ -10,7 +11,8 @@ class Xen_ElementCapabilities : CIM_Elem
[Association,
Description (
- "A class to associate a ManagedElement with its Capabilities.")
+ "A class to associate a ManagedElement with its Capabilities."),
+ Provider("cmpi::Virt_ElementCapabilities")
]
class KVM_ElementCapabilities : CIM_ElementCapabilities
{
diff -r a5d96949d573 -r fdba4d9de966 schema/ElementCapabilities.registration
--- a/schema/ElementCapabilities.registration Thu Dec 20 21:30:19 2007 +0100
+++ b/schema/ElementCapabilities.registration Thu Dec 20 21:30:19 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ElementCapabilities root/virt Virt_ElementCapabilitiesProvider
Virt_ElementCapabilities association
-KVM_ElementCapabilities root/virt Virt_ElementCapabilitiesProvider
Virt_ElementCapabilities association
+Xen_ElementCapabilities root/virt Virt_ElementCapabilities Virt_ElementCapabilities
association
+KVM_ElementCapabilities root/virt Virt_ElementCapabilities Virt_ElementCapabilities
association
diff -r a5d96949d573 -r fdba4d9de966 src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Thu Dec 20 21:30:19 2007 +0100
+++ b/src/Virt_ElementCapabilities.c Thu Dec 20 21:30:19 2007 +0100
@@ -350,7 +350,11 @@ struct std_assoc *assoc_handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_ElementCapabilitiesProvider, _BROKER, libvirt_cim_init(),
assoc_handlers);
+STDA_AssocMIStub(,
+ Virt_ElementCapabilities,
+ _BROKER,
+ libvirt_cim_init(),
+ assoc_handlers);
/*
* Local Variables:
* mode: C