[Libvirt-cim] [PATCH 1 of 2] Add LXC support to ComputerSystem, HostSystem, and VSMS schema

Dan Smith danms at us.ibm.com
Mon Mar 24 19:24:16 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1206386444 25200
# Node ID 9a53365f6ff549292ab8148a9954c534c187870f
# Parent  c8c0e264c75cccccb40ff0de1cfdfc7a14c3d65a
Add LXC support to ComputerSystem, HostSystem, and VSMS schema

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r c8c0e264c75c -r 9a53365f6ff5 schema/ComputerSystem.mof
--- a/schema/ComputerSystem.mof	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/ComputerSystem.mof	Mon Mar 24 12:20:44 2008 -0700
@@ -26,3 +26,16 @@ class KVM_ComputerSystem : CIM_ComputerS
 
 };
 
+[Description (
+	"A class derived from CIM_ComputerSystem to represent "
+	"the LXC virtual machines running on the system."),
+ Provider("cmpi::Virt_ComputerSystem")
+]
+class LXC_ComputerSystem : CIM_ComputerSystem
+{
+
+   [Description("UUID assigned to this virtual machine.")]
+   string UUID;
+
+};
+
diff -r c8c0e264c75c -r 9a53365f6ff5 schema/ComputerSystem.registration
--- a/schema/ComputerSystem.registration	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/ComputerSystem.registration	Mon Mar 24 12:20:44 2008 -0700
@@ -2,3 +2,4 @@
 # Classname Namespace ProviderName ProviderModule ProviderTypes
 Xen_ComputerSystem root/virt Virt_ComputerSystem Virt_ComputerSystem instance method
 KVM_ComputerSystem root/virt Virt_ComputerSystem Virt_ComputerSystem instance method
+LXC_ComputerSystem root/virt Virt_ComputerSystem Virt_ComputerSystem instance method
\ No newline at end of file
diff -r c8c0e264c75c -r 9a53365f6ff5 schema/HostSystem.mof
--- a/schema/HostSystem.mof	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/HostSystem.mof	Mon Mar 24 12:20:44 2008 -0700
@@ -18,3 +18,12 @@ class KVM_HostSystem : CIM_ComputerSyste
 {
 };
 
+[Description (
+	"A class derived from CIM_ComputerSystem to represent "
+	"the LXC host system."),
+ Provider("cmpi::Virt_HostSystem")
+]
+class LXC_HostSystem : CIM_ComputerSystem
+{
+};
+
diff -r c8c0e264c75c -r 9a53365f6ff5 schema/HostSystem.registration
--- a/schema/HostSystem.registration	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/HostSystem.registration	Mon Mar 24 12:20:44 2008 -0700
@@ -2,3 +2,4 @@
 # Classname Namespace ProviderName ProviderModule ProviderTypes
 Xen_HostSystem root/virt Virt_HostSystem Virt_HostSystem instance
 KVM_HostSystem root/virt Virt_HostSystem Virt_HostSystem instance
+LXC_HostSystem root/virt Virt_HostSystem Virt_HostSystem instance
diff -r c8c0e264c75c -r 9a53365f6ff5 schema/VirtualSystemManagementService.mof
--- a/schema/VirtualSystemManagementService.mof	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/VirtualSystemManagementService.mof	Mon Mar 24 12:20:44 2008 -0700
@@ -9,3 +9,8 @@ class KVM_VirtualSystemManagementService
 class KVM_VirtualSystemManagementService : CIM_VirtualSystemManagementService
 {
 };
+
+[Provider("cmpi::Virt_VirtualSystemManagementService")]
+class LXC_VirtualSystemManagementService : CIM_VirtualSystemManagementService
+{
+};
diff -r c8c0e264c75c -r 9a53365f6ff5 schema/VirtualSystemManagementService.registration
--- a/schema/VirtualSystemManagementService.registration	Thu Mar 20 10:47:48 2008 -0700
+++ b/schema/VirtualSystemManagementService.registration	Mon Mar 24 12:20:44 2008 -0700
@@ -2,3 +2,4 @@
 # Classname Namespace ProviderName ProviderModule ProviderTypes
 Xen_VirtualSystemManagementService root/virt Virt_VirtualSystemManagementService Virt_VirtualSystemManagementService method instance
 KVM_VirtualSystemManagementService root/virt Virt_VirtualSystemManagementService Virt_VirtualSystemManagementService method instance
+LXC_VirtualSystemManagementService root/virt Virt_VirtualSystemManagementService Virt_VirtualSystemManagementService method instance




More information about the Libvirt-cim mailing list