# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182625 -3600
# Node ID 5ea671a0e9e9033dd8092565e434ff3a79872d84
# Parent 74d7f2fc36f03944c8ca54b86952dcd0e744e4ad
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 74d7f2fc36f0 -r 5ea671a0e9e9 schema/ComputerSystemIndication.mof
--- a/schema/ComputerSystemIndication.mof Thu Dec 20 21:30:25 2007 +0100
+++ b/schema/ComputerSystemIndication.mof Thu Dec 20 21:30:25 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 74d7f2fc36f0 -r 5ea671a0e9e9 schema/ComputerSystemIndication.registration
--- a/schema/ComputerSystemIndication.registration Thu Dec 20 21:30:25 2007 +0100
+++ b/schema/ComputerSystemIndication.registration Thu Dec 20 21:30:25 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 74d7f2fc36f0 -r 5ea671a0e9e9 src/Virt_ComputerSystemIndication.c
--- a/src/Virt_ComputerSystemIndication.c Thu Dec 20 21:30:25 2007 +0100
+++ b/src/Virt_ComputerSystemIndication.c Thu Dec 20 21:30:25 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: