use of com.vmware.vim25.DVSSecurityPolicy in project cloudstack by apache.
the class HypervisorHostHelperTest method testDVSSecurityPolicyLegacyDefault.
@Test
public void testDVSSecurityPolicyLegacyDefault() {
DVSSecurityPolicy secPolicy = HypervisorHostHelper.createDVSSecurityPolicy(null);
assertFalse(secPolicy.getAllowPromiscuous().isValue());
assertTrue(secPolicy.getForgedTransmits().isValue());
assertTrue(secPolicy.getMacChanges().isValue());
}
Aggregations