[Libvirt-cim] [PATCH 1 of 3] Add DeleteResourceInPool() to RPCS mof

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Aug 27 22:27:42 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1251232703 25200
# Node ID 1cb1a2dbdb0abb503898a851ab3b4d41ee85cab0
# Parent  9af5eef7ea76c7e9d1657d2e8cd4df9ed126b596
Add DeleteResourceInPool() to RPCS mof

Also, fix a typo in the description for the out parameter in
CreateResourceInPool()

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

diff -r 9af5eef7ea76 -r 1cb1a2dbdb0a schema/ResourcePoolConfigurationService.mof
--- a/schema/ResourcePoolConfigurationService.mof	Mon Aug 24 16:14:41 2009 -0700
+++ b/schema/ResourcePoolConfigurationService.mof	Tue Aug 25 13:38:23 2009 -0700
@@ -17,9 +17,23 @@
       [IN, Description ( "Reference to the pool to create the resources in." )]
       CIM_ResourcePool REF Pool,
 
+      [IN ( false ), OUT, Description ( "Reference to the resource created." )]
+      CIM_ResourceAllocationSettingData REF Resource 
+    );
+
+    [Description ( "Delete a resource within a specified pool using the "
+                   "specified allocation settings. If 0 is returned, the " 
+                   "function completed successfully." )]
+    uint32 DeleteResourceInPool(
+      [IN, Description ( "Reference to the resource to delete." )]
+      CIM_ResourceAllocationSettingData REF Resource,
+
+      [IN, Description ( "The pool to remove the resource from." )]
+      CIM_ResourcePool REF Pool,
+
       [IN ( false ), OUT, Description ( "Reference to the job (may be null "
                                         "if job completed)." )]
-      CIM_ResourceAllocationSettingData REF Resource 
+      CIM_ConcreteJob REF Job
     );
 
 };
@@ -41,9 +55,23 @@
       [IN, Description ( "Reference to the pool to create the resources in." )]
       CIM_ResourcePool REF Pool,
 
+      [IN ( false ), OUT, Description ( "Reference to the resource created." )]
+      CIM_ResourceAllocationSettingData REF Resource 
+    );
+
+    [Description ( "Delete a resource within a specified pool using the "
+                   "specified allocation settings. If 0 is returned, the " 
+                   "function completed successfully." )]
+    uint32 DeleteResourceInPool(
+      [IN, Description ( "Reference to the resource to delete." )]
+      CIM_ResourceAllocationSettingData REF Resource,
+
+      [IN, Description ( "The pool to remove the resource from." )]
+      CIM_ResourcePool REF Pool,
+
       [IN ( false ), OUT, Description ( "Reference to the job (may be null "
                                         "if job completed)." )]
-      CIM_ResourceAllocationSettingData REF Resource 
+      CIM_ConcreteJob REF Job
     );
 
 };
@@ -65,9 +93,23 @@
       [IN, Description ( "Reference to the pool to create the resources in." )]
       CIM_ResourcePool REF Pool,
 
-      [IN ( false ), OUT, Description ( "Reference to the job (may be null "
-                                        "if job completed)." )]
+      [IN ( false ), OUT, Description ( "Reference to the resource created." )]
       CIM_ResourceAllocationSettingData REF Resource 
     );
 
+    [Description ( "Delete a resource within a specified pool using the "
+                   "specified allocation settings. If 0 is returned, the " 
+                   "function completed successfully." )]
+    uint32 DeleteResourceInPool(
+      [IN, Description ( "Reference to the resource to delete." )]
+      CIM_ResourceAllocationSettingData REF Resource,
+
+      [IN, Description ( "The pool to remove the resource from." )]
+      CIM_ResourcePool REF Pool,
+
+      [IN ( false ), OUT, Description ( "Reference to the job (may be null "
+                                        "if job completed)." )]
+      CIM_ConcreteJob REF Job
+    );
+
 };




More information about the Libvirt-cim mailing list