Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Init VC:VmwareDistributedVirtualSwitch in scriptable task

$
0
0

Hi,

 

I have a little question : I want to modify default workflow to create vdPortGroup.

 

 

I want to remove input "dvSwitch" (VC:VmwareDistributedVirtualSwitch and replace it with "site" (String).

 

In the input, i want force user to select a site (Ex. Site A or Site B) and he cannot browse vCenter infrastructure.

 

Then, in a scriptable task i test the value selected and create dvportgroup on dvSwitch corresponding.

 

 

But i don't know how to initialize the dvSwitch object before to run :

 

dvPortgroupCreationTask = dvSwitch.addDVPortgroup_Task(specArray);

 

 

Regards


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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