I roll out multiple vAPPs with a PowerCLI script and need to add the ability for the script to set the vswitch on the vAPPs internal ESX server to promiscuous and forged transmits.
I have looked through alot of sites and cannot find a way to get the vswitch information so I can set it's security settings through PowerCLI.
I can get network information returned but nothing that points to the specific vswitch that is created when the vAPP is rolled out.
Any help in pointing me in the right direction would be greatly appreciated.
Would you mind sharing the code with which you create the vApp and the internal vSwitch?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
We deploy the vAPP using a template and the command:
New-CIVApp -OrgVdc $org -VAppTemplate $template -Name $vappname
The variables are read from a .csv file but there isn't anything special there.
Once I can verify exactly how our vcloud polls vshield and vcenter to do the networking and can sanitize some other things I will get them posted.
Thanks!
I moved the thread to vCloud Director PowerCLIvCloud Director PowerCLI
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference