Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: View Virtual Machine Specs with Orchestrator

$
0
0

Ok so I've moddify a bit this flow:

 

STEP1:

 

Get Virtual machine

input : vmNAME

Out Attrib : vms

 

(picture 001 attached)

 

STEP2

 

Scriptable Task

In Attrib : vms

Out Attrib : cpuCount

Out Attrib : memoryMB

 

Script:

 

System.log("VM: " + vms);
Server.log("VM: " + vms);

cpuCount = vms.summary.config.numCpu;
memoryMB = vms.summary.config.memorySizeMB;

 

(picture 002 and 002a attached)

 

 

When the flow run, I'm inserting vm name:  for example "I_VM"  (it exist in vCenter)

STEP1 it's finding this vm and passing to STEP2

 

Results failed...


Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>