vRO Workflow - Attach a .csv file for bulk vcpu and vmem resource adds

This vRealize Orchestrator workflow package will receive a .csv file as input and modify VMs CPU and Memory size. 

See example .csv file (notepad works fine)

The workflow schema

Workflow documentation link:

http://www.gimmesugar.com/?p=274

Details:

Global Inputs -

Name: inFile Type: MimeAttachment

Global Outputs - 

Name: actionResult Type: VC:Task

Attributes - 

Name:memory Type: number

Name:vcpu Type: number

Name:allLines Type: Array/string

Name:currentLine Type: string

Name:vmname Type: string

Name:vms Type: Array/VC:VirtualMachine

Name:vm Type: VC:VirtualMachine

 

Get-Data Element - 

Inputs:

inFile

Outputs:

allLines

 

Extract-Data Element - 

Inputs:

allLines

Outputs:

allLines

currentLine

 

Parse-Data Element - 

Inputs:

currentLine

Outputs:

memory

vcpu

vmname

vmname,vcpu,memory
Server01,1,4096
Server02,1,4096
Server03,1,4096
Server04,4,8192
Server05,4,12288

Sign in to be able to add comments.

Comments 0