Having hard time to find the forged transmits, MAC address changes and Promiscuous mode values (just to get the settings, no changes need to be done) for DV Portgroups. I found them for DV Switch but not for DV Portgroup. Anyone has any idea?
var dvp = ...; // your distributed virtual portgroup
var securityPolicy = dvp.config.defaultPortConfig.securityPolicy;
System.log(securityPolicy.allowPromiscuous);
System.log(securityPolicy.macChanges);
System.log(securityPolicy.forgedTransmits);
var dvp = ...; // your distributed virtual portgroup
var securityPolicy = dvp.config.defaultPortConfig.securityPolicy;
System.log(securityPolicy.allowPromiscuous);
System.log(securityPolicy.macChanges);
System.log(securityPolicy.forgedTransmits);
Thanks for the reply. But why do not I see that in the API explorer? Is it an undocumented feature?
You don't see it in VcDVPortSetting because it's in another class that extends this one - VcVMWareDVSPortSetting, which defines the VMware-specific configuration for distributed virtual port.
So API Explorer shows the basic type of the property; it doesn't know that at runtime the property will get a value which is of some type that extends the basic type.
Thank you.