# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198069818 -3600
# Node ID b64462bb760d425d45257d0a7ab8b075bc518059
# Parent 204010b3fe863e9ceee38fb0761d70bb96e761c4
ComputerSystemIndication: OpenWbem support
- rename provider from ComputerSystemIndicationProvider to ComputerSystemIndication
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 204010b3fe86 -r b64462bb760d schema/ComputerSystemIndication.mof
--- a/schema/ComputerSystemIndication.mof Wed Dec 19 14:10:17 2007 +0100
+++ b/schema/ComputerSystemIndication.mof Wed Dec 19 14:10:18 2007 +0100
@@ -1,21 +1,29 @@
// Copyright IBM Corp. 2007
-[Description ("Xen_ComputerSystem created")]
+[Description ("Xen_ComputerSystem created"),
+ Provider("cmpi::Virt_ComputerSystemIndication")
+]
class Xen_ComputerSystemCreatedIndication : CIM_InstCreation
{
};
-[Description ("Xen_ComputerSystem deleted")]
+[Description ("Xen_ComputerSystem deleted"),
+ Provider("cmpi::Virt_ComputerSystemIndication")
+]
class Xen_ComputerSystemDeletedIndication : CIM_InstDeletion
{
};
-[Description ("KVM_ComputerSystem lifecycle")]
+[Description ("KVM_ComputerSystem lifecycle"),
+ Provider("cmpi::Virt_ComputerSystemIndication")
+]
class KVM_ComputerSystemCreatedIndication : CIM_InstCreation
{
};
-[Description ("KVM_ComputerSystem lifecycle")]
+[Description ("KVM_ComputerSystem lifecycle"),
+ Provider("cmpi::Virt_ComputerSystemIndication")
+]
class KVM_ComputerSystemDeletedIndication : CIM_InstDeletion
{
};
diff -r 204010b3fe86 -r b64462bb760d schema/ComputerSystemIndication.registration
--- a/schema/ComputerSystemIndication.registration Wed Dec 19 14:10:17 2007 +0100
+++ b/schema/ComputerSystemIndication.registration Wed Dec 19 14:10:18 2007 +0100
@@ -1,6 +1,6 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndicationProvider
Virt_ComputerSystemIndication indication method
-Xen_ComputerSystemDeletedIndication root/virt Virt_ComputerSystemIndicationProvider
Virt_ComputerSystemIndication indication method
-KVM_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndicationProvider
Virt_ComputerSystemIndication indication method
-KVM_ComputerSystemDeletedIndication root/virt Virt_ComputerSystemIndicationProvider
Virt_ComputerSystemIndication indication method
+Xen_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndication
Virt_ComputerSystemIndication indication method
+Xen_ComputerSystemDeletedIndication root/virt Virt_ComputerSystemIndication
Virt_ComputerSystemIndication indication method
+KVM_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndication
Virt_ComputerSystemIndication indication method
+KVM_ComputerSystemDeletedIndication root/virt Virt_ComputerSystemIndication
Virt_ComputerSystemIndication indication method
diff -r 204010b3fe86 -r b64462bb760d src/Virt_ComputerSystemIndication.c
--- a/src/Virt_ComputerSystemIndication.c Wed Dec 19 14:10:17 2007 +0100
+++ b/src/Virt_ComputerSystemIndication.c Wed Dec 19 14:10:18 2007 +0100
@@ -303,8 +303,11 @@ DEFAULT_AF();
DEFAULT_AF();
DEFAULT_MP();
-STDI_IndicationMIStub(, Virt_ComputerSystemIndicationProvider,
- _BROKER, libvirt_cim_init(), &csi);
+STDI_IndicationMIStub(,
+ Virt_ComputerSystemIndication,
+ _BROKER,
+ libvirt_cim_init(),
+ &csi);
/*
* Local Variables: