# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198065306 -3600
# Node ID d91ee8dda3100227e829fb8ab510253cf4c39497
# Parent f621585dee1100d9f3f516c0e74cc982e570919d
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 f621585dee11 -r d91ee8dda310 schema/ElementCapabilities.mof
--- a/schema/ElementCapabilities.mof Wed Dec 19 12:53:01 2007 +0100
+++ b/schema/ElementCapabilities.mof Wed Dec 19 12:55:06 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 f621585dee11 -r d91ee8dda310 schema/ElementCapabilities.registration
--- a/schema/ElementCapabilities.registration Wed Dec 19 12:53:01 2007 +0100
+++ b/schema/ElementCapabilities.registration Wed Dec 19 12:55:06 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 f621585dee11 -r d91ee8dda310 src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Wed Dec 19 12:53:01 2007 +0100
+++ b/src/Virt_ElementCapabilities.c Wed Dec 19 12:55:06 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