Hello everyone,
I´m far from being an Orchestrator with vCAC expert but right now I´m trying to do a simple task and I´m hitting a wall.
I´m trying to do the following:
1) vCAC provision a VM;
2) After the machine is provisioned, run a vCO workflow;
3) That workflow will simply retrieve the VM name and IP address;
Parts 1 and 2 are working ok.
Part 3 is the problem.
I created the workflow with the following:
Attributes:
- vCACIaaS: Type vCAC:vCACHost - Value: <my_vcac_iaas_server>
- VMName: Type String
- VMAddress: Type String
Input:
- vCACVM: Type vCAC:Entity
The workflow has only 1 Scriptable Task:
- Inputs: vCACVM and vCACIaaS
- Outputs: VMName and VMAddress
Scripting:
var VMName = vCACVM.getProperty("VirtualMachine.Admin.Hostname");
var VMAddress = vCACVM.getProperty("VirtualMachine.Network0.Address");
Server.log(VMName);
Server.log(VMAddress);
Result: Both VMName and VMAddress are returning "null"
I checked the content of vCACVM and it shows a VirtualMachines Entity Set Name.
I´m most likely not doing some very basic thing.
Could someone please point me out what exactly I´m not doing? :-(