# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1245187550 25200
# Node ID 274a3daaed7a8f64d7e070ef77a59bd42951922b
# Parent 7f946266983b4b0a7e0aa86d5a1b21b794b46a76
Method definition to RPCS mof for image creation
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 7f946266983b -r 274a3daaed7a schema/ResourcePoolConfigurationService.mof
--- a/schema/ResourcePoolConfigurationService.mof Tue Jun 16 14:25:50 2009 -0700
+++ b/schema/ResourcePoolConfigurationService.mof Tue Jun 16 14:25:50 2009 -0700
@@ -3,14 +3,71 @@
[Provider("cmpi::Virt_ResourcePoolConfigurationService")]
class Xen_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService
{
+
+ [Description ( "Create a resource within a specified pool using the "
+ "specified allocation settings. If 0 is returned, the "
+ "function completed successfully." )]
+ uint32 CreateResourceInPool(
+ [IN, Description ( "String containing a representation of a "
+ "CIM_SettingData instance that is used to specify "
+ "the settings for the resource." ),
+ EmbeddedInstance ( "CIM_ResourceAllocationSettingData" )]
+ string Settings,
+
+ [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)." )]
+ CIM_ResourceAllocationSettingData REF Resource
+ );
+
};
[Provider("cmpi::Virt_ResourcePoolConfigurationService")]
class KVM_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService
{
+
+ [Description ( "Create a resource within a specified pool using the "
+ "specified allocation settings. If 0 is returned, the "
+ "function completed successfully." )]
+ uint32 CreateResourceInPool(
+ [IN, Description ( "String containing a representation of a "
+ "CIM_SettingData instance that is used to specify "
+ "the settings for the resource." ),
+ EmbeddedInstance ( "CIM_ResourceAllocationSettingData" )]
+ string Settings,
+
+ [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)." )]
+ CIM_ResourceAllocationSettingData REF Resource
+ );
+
};
[Provider("cmpi::Virt_ResourcePoolConfigurationService")]
class LXC_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService
{
+
+ [Description ( "Create a resource within a specified pool using the "
+ "specified allocation settings. If 0 is returned, the "
+ "function completed successfully." )]
+ uint32 CreateResourceInPool(
+ [IN, Description ( "String containing a representation of a "
+ "CIM_SettingData instance that is used to specify "
+ "the settings for the resource." ),
+ EmbeddedInstance ( "CIM_ResourceAllocationSettingData" )]
+ string Settings,
+
+ [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)." )]
+ CIM_ResourceAllocationSettingData REF Resource
+ );
+
};