public void testNetmaskStatic() { CreateVlanIPRangeOptions options = netmask("255.255.255.240"); assertEquals(ImmutableSet.of("255.255.255.240"), options.buildQueryParameters().get("netmask")); }
public void testNetworkIdStatic() { CreateVlanIPRangeOptions options = networkId("9"); assertEquals(ImmutableSet.of("9"), options.buildQueryParameters().get("networkid")); }
public void testForVirtualNetworkStatic() { CreateVlanIPRangeOptions options = forVirtualNetwork(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("forvirtualnetwork")); }
public void testGatewayStatic() { CreateVlanIPRangeOptions options = gateway("192.168.42.24"); assertEquals(ImmutableSet.of("192.168.42.24"), options.buildQueryParameters().get("gateway")); }
public void testDomainIdStatic() { CreateVlanIPRangeOptions options = domainId("6"); assertEquals(ImmutableSet.of("6"), options.buildQueryParameters().get("domainid")); }
public void testAccountInDomainStatic() { CreateVlanIPRangeOptions options = accountInDomain("fred", "6"); assertEquals(ImmutableSet.of("fred"), options.buildQueryParameters().get("account")); assertEquals(ImmutableSet.of("6"), options.buildQueryParameters().get("domainid")); }
public void testZoneIdStatic() { CreateVlanIPRangeOptions options = zoneId("7"); assertEquals(ImmutableSet.of("7"), options.buildQueryParameters().get("zoneid")); }
public void testVlanStatic() { CreateVlanIPRangeOptions options = vlan(1001); assertEquals(ImmutableSet.of("1001"), options.buildQueryParameters().get("vlan")); }
public void testPodIdStatic() { CreateVlanIPRangeOptions options = podId("8"); assertEquals(ImmutableSet.of("8"), options.buildQueryParameters().get("podid")); }