So what I need is this:
- I pass in an IP address (works)
- I run it through my switch statement (works)
- My output is a VC:DistributedVirtualPortgroup object that I can pass to my next element in my workflow (Connect virtual machine NIC number to distributed virtual port ) (broken)
- When I execute Connect virtual machine NIC number to distributed virtual port , it already has the port-group I matched from step 3 (broken)
Now, I've done some more digging and found this:
Which lists all my dVS port-groups. Now how do I return the one I want so that I can populate the (input/attribute) needed for step 3 above?
if (dvPorgroupName == "my switch statement") { return "some VC Object" //this is what I need to figure out }
Thanks for the tips on breakpoints/debugging, I will give it a shot.
Thanks.