[Libvirt-cim] [PATCH 5 of 5] Remove VSSS definition from implementation specific mof

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon May 18 23:39:48 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1242689958 25200
# Node ID 853db606f335086710612450a93bfd67c1293922
# Parent  63db2ab071a4a4505393456de90217aaf8dc3a75
Remove VSSS definition from implementation specific mof

The VirtualSystemSnapshotService class is available in the 2.21 schema.

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r 63db2ab071a4 -r 853db606f335 schema/VirtualSystemSnapshotService.mof
--- a/schema/VirtualSystemSnapshotService.mof	Wed May 13 07:40:47 2009 -0700
+++ b/schema/VirtualSystemSnapshotService.mof	Mon May 18 16:39:18 2009 -0700
@@ -1,59 +1,5 @@
 // Copyright IBM Corp. 2008
 
-[Description (
-       "Service to create, apply and destroy snapshots of virtual systems."
-        )]
-class Virt_VirtualSystemSnapshotService: CIM_VirtualSystemSnapshotService {
-      [Override, Description ( "Creates a snapshot of a virtual system." ),
-       ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",
-          "4097..32767", "32768..65535" },
-       Values { "Completed with No Error", "Not Supported",
-          "Failed", "Timeout", "Invalid Parameter", "Invalid State",
-          "Invalid Type", "DMTF Reserved",
-          "Method Parameters Checked - Job Started",
-          "Method Reserved", "Vendor Specific" }]
-   uint32 CreateSnapshot(
-         [In, Description (
-             "Reference to the affected virtual system." )]
-      CIM_ComputerSystem REF AffectedSystem,
-         [In, Description ( "Parameter settings." ),
-          EmbeddedInstance ( "CIM_SettingData" )]
-      string SnapshotSettings,
-         [In, Description (
-             "Requested snapshot type:\n"
-             "Full Snapshot: Complete snapshot of the virtual system.\n"
-             "Disk Snapshot: Snapshot of virtual system disks.\n"
-             "Memory Snapshot: Snapshot of virtual system memory only. "
-             "The virtual system remains active after memory snapshot "
-             "is complete.\n"
-             "Memory Snapshot Terminal: Snapshot of virtual system "
-             "memory only.  The virtual system is transitioned to "
-             "disabled state after the memory snapshot is complete.\n" ),
-          ValueMap { "2", "3", "..", "32768", "32769", "32770..65535" },
-          Values { "Full Snapshot", "Disk Snapshot",
-             "DMTF Reserved", "Memory Snapshot", "Memory Snapshot Terminal",
-             "Vendor Specific" },
-          ModelCorrespondence {
-             "CIM_VirtualSystemSnapshotCapabilities.SnapshotTypesEnabled",
-             "CIM_VirtualSystemSnapshotServiceCapabilities.SnapshotTypesSupported" }]
-      uint16 SnapshotType,
-         [In, Out, Description (
-             "Resulting virtual system snapshot" )]
-      CIM_VirtualSystemSettingData REF ResultingSnapshot,
-         [In, Out, Description (
-             "If the operation is long running, then optionally "
-             "a job may be returned. In this case, the instance "
-             "of the CIM_VirtualSystemSettingData class "
-             "representing the new virtual system snapshot is "
-             "presented via the CIM_AffectedJobElement "
-             "association with the value of the AffectedElement "
-             "property referring to the new instance of the "
-             "CIM_VirtualSystemSettingData class representing "
-             "the virtual system snapshot and and the value of "
-             "the ElementEffects set to 5 (Create)." )]
-      CIM_ConcreteJob REF Job);
-};
-
 class Xen_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
 class KVM_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
 class LXC_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };




More information about the Libvirt-cim mailing list