|
From: <jc...@us...> - 2008-04-23 20:27:57
|
Revision: 583
http://omc.svn.sourceforge.net/omc/?rev=583&view=rev
Author: jcarey
Date: 2008-04-23 13:26:34 -0700 (Wed, 23 Apr 2008)
Log Message:
-----------
Clean up
Modified Paths:
--------------
contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof
Modified: contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof
===================================================================
--- contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof 2008-04-23 17:45:50 UTC (rev 582)
+++ contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof 2008-04-23 20:26:34 UTC (rev 583)
@@ -84,10 +84,10 @@
[Description("Cancel a vm installation job that was previously initiated.")]
- boolean CancelIncubationJob(
- [IN, Description("The jobID of the XEN_VMIncubationJob to cancel. "
+ boolean CancelBuildJob(
+ [IN, Description("The jobID of the XEN_VMBuilderJob to cancel. "
"Cancel will remove all remnants of the incubation job, leaving "
- "only an entry in the XEN_VMIncubationJobRecordLog.")]
+ "only an entry in the XEN_VMBuilderJobRecordLog.")]
string JobID,
[IN, Description("This flag applies to distributed incubation "
"environments. It indicates whether this request should be forced "
@@ -99,9 +99,9 @@
[Description("Delete a vm installation job that was previously initiated. "
"Delete will remove all remnants of the incubation job, leaving "
- "only an entry in the XEN_VMIncubationJobRecordLog.")]
- boolean DeleteIncubationJob(
- [IN, Description("The jobID of the XEN_VMIncubationJob to delete. ")]
+ "only an entry in the XEN_VMBuilderJobRecordLog.")]
+ boolean DeleteBuildJob(
+ [IN, Description("The jobID of the XEN_VMBuilderJob to delete. ")]
string JobID,
[IN, Description("This flag applies to distributed incubation "
"environments. It indicates whether this request should be forced "
@@ -114,16 +114,16 @@
[Description("Cancel a vm installation job that was previously initiated. "
"Detach will remove knowledge of the incubation job / incubated vm, "
"but it will leave the incubated vm on the system. It will also leave "
- "an entry in XEN_VMIncubationJobRecordLog.")]
- boolean DetachIncubationJob(
- [IN, Description("The jobID of the XEN_VMIncubationJob to detach. ")]
+ "an entry in XEN_VMBuilderJobRecordLog.")]
+ boolean DetachBuildJob(
+ [IN, Description("The jobID of the XEN_VMBuilderJob to detach. ")]
string JobID);
[Description("Retrieve the location (host:path) of the installation log "
"of the specified jobID.")]
string GetJobLogLocation(
- [IN, Description("The jobID of the XEN_VMIncubationJob.")]
+ [IN, Description("The jobID of the XEN_VMBuilderJob.")]
string JobID);
[Description("VM builder service version")]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jc...@us...> - 2008-04-23 22:12:29
|
Revision: 587
http://omc.svn.sourceforge.net/omc/?rev=587&view=rev
Author: jcarey
Date: 2008-04-23 15:12:30 -0700 (Wed, 23 Apr 2008)
Log Message:
-----------
Added value/valmap for return code of CreateVM
Modified Paths:
--------------
contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof
Modified: contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof
===================================================================
--- contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof 2008-04-23 22:06:27 UTC (rev 586)
+++ contrib/xen-vm-builder/trunk/mof/XEN_VMBuilderService.mof 2008-04-23 22:12:30 UTC (rev 587)
@@ -10,7 +10,58 @@
"to the instance of XEN_VMBuilderJob representing the "
"vm creation job, via the OUT parameter. Return code = 0 if success "
"or error code. All ongoing status about the vm creation will be "
- "reflected in the properties of that instance.")]
+ "reflected in the properties of that instance."),
+ ValueMap { "0", "1", // General Errors
+ "10", "11", "12", "13", "14", // XEN Errors
+ "20", "21", "22", "23", "24", "25", // VM Errors
+ "30", "31", "32", "33", "34", "35", //Installation Source Errors
+ "40", "41", // Architecture Errors
+ "50", // Memory
+ "60", "61", "62", "63", // Disk
+ "70", "71", "72", // Job Errors
+ "80", "81", "82"}, // Parameter Errors
+ Values {
+ // General Errors
+ "Success",
+ "Other runtime error",
+ // XEN Errors
+ "An error occurred in Xen.",
+ "The hypervisor is not running.",
+ "An incompatible version of the hypervisor is running.",
+ "Unable to connect to the Xen daemon.",
+ "Must be the 'root' user to manage Xen.",
+ // VM Errors
+ "Failed to start the VM.",
+ "The VM has crashed.",
+ "A VM by that name is already running.",
+ "A VM configuration already exists with that name.",
+ "A valid boot sector was not found. The installation may have failed.",
+ "No kernel was found. The installation may have failed.",
+ // Installation Source Errors
+ "The installation source is using an unsupported protocol.",
+ "An error occurred while reading from the installation source.",
+ "The installation source was not found.",
+ "The installation source is unusable.",
+ "No installation source was defined.",
+ "A CD-ROM or DVD must be specified from which to boot.",
+ // Architecture Errors
+ "The operating system is incompatible with the processor architecture of this machine.",
+ "The processor(s) in this machine do not support full virtualization.",
+ // Resources: Memory
+ "Not enough memory.",
+ // Resources: Disk
+ "The disk does not exist.",
+ "The disk is read-only.",
+ "Permission was denied while attempting to access the disk.",
+ "Two of the virtual disks have conflicting virtual names or physical devices.",
+ // Job Errors
+ "The job was canceled.",
+ "The job was not found.",
+ "The job is in the wrong state to perform that action.",
+ // Parameter Errors
+ "A parameter is invalid or missing.",
+ "The operating system does not support paravirtualization.",
+ "The operating system does not support automated installations."}]
uint32 CreateVM(
[IN, Description("The name that the VM will be given.")]
string VMName,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|