3
Page 1 Change RAM Changes the amount of RAM of a virtual machine. 1. Versions Version Date User Comment 0.2.0 Nov 6, 2013 Internal Imported from content from package Current version:0.2.0 2. Inputs Name Type Description vm* VC:VirtualMachine Virtual machine on which to change the amount of RAM memory* number Memory size in MB *Parameter is mandatory 3. Attributes Name Type Description task VC:Task Task to await progress boolean Log progress while waiting for the task to complete pollRate number Polling rate for the task state, in seconds 4. Parameter presentation Parameter Description Parameter Info vm Virtual machine on which to change the amount of RAM Mandatory input: true memory Memory size in MB Mandatory input: true 5. Workflow schema Change RAM vCO Workflow Documentation - Dec 2, 2013

Change RAM

Embed Size (px)

DESCRIPTION

Vmware orchestrator workflow

Citation preview

Page 1: Change RAM

Page 1

Change RAMChanges the amount of RAM of a virtual machine. 1. Versions

Version Date User Comment

0.2.0 Nov 6, 2013 Internal Imported from content from package

Current version:0.2.0 2. Inputs

Name Type Description

vm* VC:VirtualMachine Virtual machine on which to changethe amount of RAM

memory* number Memory size in MB

*Parameter is mandatory 3. Attributes

Name Type Description

task VC:Task Task to await

progress boolean Log progress while waiting for thetask to complete

pollRate number Polling rate for the task state, inseconds

4. Parameter presentation

Parameter Description Parameter Info

vm Virtual machine onwhich to change theamount of RAM

Mandatory input: true

memory Memory size in MB Mandatory input: true

5. Workflow schema

Change RAM

vCO Workflow Documentation - Dec 2, 2013

Page 2: Change RAM

Page 2

6. Workflow items

Name Type Next item Description

vim3WaitTaskEnd

WorkflowItemTask Wait a VIM 3 Task to end.When task ended, return the

WorkflowItemEnd

changeVMRAM WorkflowItemTask vim3WaitTaskEnd

Change the VM memory size.

7. Source code for the used actions

Change RAM

vCO Workflow Documentation - Dec 2, 2013

Page 3: Change RAM

Page 3

7.1. vim3WaitTaskEnd //Auto generated script, cannot be modified !

actionResult =

System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task,progress,pollRate) ;

7.2. changeVMRAM //Auto generated script, cannot be modified !

actionResult = System.getModule("com.vmware.library.vc.vm").changeVMRAM(vm,memory) ;

Change RAM

vCO Workflow Documentation - Dec 2, 2013