# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198065909 -3600
# Node ID 6eacbac6c4c8e8727bb417197be05716eb1b3859
# Parent 6e52e38ce55e14a89dd459c373664206ebe67394
HostedService: OpenWbem support
- rename provider from HostedServiceProvider to HostedService
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 6e52e38ce55e -r 6eacbac6c4c8 schema/HostedService.mof
--- a/schema/HostedService.mof Wed Dec 19 13:03:31 2007 +0100
+++ b/schema/HostedService.mof Wed Dec 19 13:05:09 2007 +0100
@@ -1,11 +1,15 @@
// Copyright IBM Corp. 2007
-[Association]
+[Association,
+ Provider("cmpi::Virt_HostedService")
+]
class Xen_HostedService : CIM_HostedService
{
};
-[Association]
+[Association,
+ Provider("cmpi::Virt_HostedService")
+]
class KVM_HostedService : CIM_HostedService
{
};
diff -r 6e52e38ce55e -r 6eacbac6c4c8 schema/HostedService.registration
--- a/schema/HostedService.registration Wed Dec 19 13:03:31 2007 +0100
+++ b/schema/HostedService.registration Wed Dec 19 13:05:09 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_HostedService root/virt Virt_HostedServiceProvider Virt_HostedService association
-KVM_HostedService root/virt Virt_HostedServiceProvider Virt_HostedService association
+Xen_HostedService root/virt Virt_HostedService Virt_HostedService association
+KVM_HostedService root/virt Virt_HostedService Virt_HostedService association
diff -r 6e52e38ce55e -r 6eacbac6c4c8 src/Virt_HostedService.c
--- a/src/Virt_HostedService.c Wed Dec 19 13:03:31 2007 +0100
+++ b/src/Virt_HostedService.c Wed Dec 19 13:05:09 2007 +0100
@@ -141,7 +141,11 @@ static struct std_assoc *handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_HostedServiceProvider, _BROKER, libvirt_cim_init(), handlers);
+STDA_AssocMIStub(,
+ Virt_HostedService,
+ _BROKER,
+ libvirt_cim_init(),
+ handlers);
/*
* Local Variables: