HomeSort by relevance Sort by last modified time
    Searched refs:subnet (Results 1 - 22 of 22) sorted by null

  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/rds/
test_db_subnet_group.py 57 subnet = list()
61 subnet.append(vpc_api.create_subnet(vpc.id, '10.0.'+str(n)+'.0/24',availability_zone=az.name))
67 subnet_group = rds_api.create_db_subnet_group(grp_name, grp_name, [subnet[0].id,subnet[1].id])
68 if not _is_ok(subnet_group, vpc.id, grp_name, [subnet[0].id,subnet[1].id]):
73 if not _is_ok(subnet_grps[0], vpc.id, 'new description', [subnet[0].id,subnet[1].id]):
74 raise Exception("modifying the subnet group desciption returned bad values")
76 rds_api.modify_db_subnet_group(grp_name, subnet_ids=[subnet[1].id,subnet[2].id]
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/examples/
udhcpd-p2p.conf 87 option subnet 255.255.255.0
93 #opt subnet
  /external/autotest/client/cros/
dhcpv6_test_server.py 41 CONFIG_SUBNET = 'subnet'
62 subnet = '%s/%d' % (DHCPV6_SERVER_SUBNET_PREFIX,
76 CONFIG_SUBNET: subnet,
91 'subnet6 %(subnet)s {',
dhcp_test_base.py 53 Create a new IPv4 address in a subnet by bitwise and'ing an existing
56 the subnet mask.
62 @param subnet_mask string subnet mask, e.g. "255.255.255.0"
63 @param ip_in_subnet string an IP address in the desired subnet
66 @return string IP address on in the same subnet with specified suffix.
70 subnet = mask & struct.unpack('!I', socket.inet_aton(ip_in_subnet))[0]
72 return socket.inet_ntoa(struct.pack('!I', (subnet | suffix)))
  /external/autotest/client/virt/tests/
vlan.py 29 subnet = params.get("subnet")
113 (subnet, vlan_i, ip_unit[i]), ifname[i])
124 dest = subnet +'.'+ str(vlan2)+ '.' + ip_unit[(i+1)%2]
132 vlan_ip[0] = subnet + '.' + str(vlan) + '.' + ip_unit[0]
133 vlan_ip[1] = subnet + '.' + str(vlan) + '.' + ip_unit[1]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/vpc/
test_connection.py 47 self.subnet = self.api.create_subnet(self.vpc.id, '10.0.0.0/24')
48 # Register the subnet to be deleted after instance termination
49 self.post_terminate_cleanups.append((self.api.delete_subnet, (self.subnet.id,)))
51 # Need time for the subnet to be in place.
94 device_index=0, subnet_id=self.subnet.id,
137 subnet_id=self.subnet.id,
177 subnet_id=self.subnet.id,
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/rds2/
test_connection.py 102 "Subnet": {
104 "SubnetIdentifier": "subnet-7c5b4115",
109 "Subnet": {
111 "SubnetIdentifier": "subnet-7b5b4112",
116 "Subnet": {
118 "SubnetIdentifier": "subnet-3ea6bd57",
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/
ipaddr_test.py 333 self.assertEqual(self.ipv4.subnet(), list(self.ipv4.iter_subnets()))
334 self.assertEqual(self.ipv6.subnet(), list(self.ipv6.iter_subnets()))
342 self.assertEqual(sorted(self.ipv4.subnet(prefixlen_diff=3)),
343 sorted(self.ipv4.subnet(new_prefix=27)))
344 self.assertRaises(ValueError, self.ipv4.subnet, new_prefix=23)
345 self.assertRaises(ValueError, self.ipv4.subnet,
347 self.assertEqual(sorted(self.ipv6.subnet(prefixlen_diff=4)),
348 sorted(self.ipv6.subnet(new_prefix=68)))
349 self.assertRaises(ValueError, self.ipv6.subnet, new_prefix=63)
350 self.assertRaises(ValueError, self.ipv6.subnet,
    [all...]
ipaddr.py 303 elif cur_addr == ret_array[-1].supernet().subnet()[1]:
692 """Number of hosts in the current subnet."""
756 s1, s2 = self.subnet()
760 s1, s2 = s1.subnet()
763 s1, s2 = s2.subnet()
890 """The subnets which join to make the current subnet.
956 def subnet(self, prefixlen_diff=1, new_prefix=None): member in class:_BaseNet
1001 Subnet = subnet
    [all...]
  /external/autotest/scheduler/
agent_task.py 376 subnet = utils.get_restricted_subnet(hostname,
380 # restricted and unrestricted subnet. No drone can work in such
382 if ((not subnet and filtered_drones is not None) or
383 (subnet and has_unrestricted_host)):
384 logging.error('The test has some DUT in restricted subnet, '
385 'but some in unrestricted subnet. Therefore, '
389 if not subnet:
396 subnet[0], subnet[1],
398 logging.info('DUT %s is in restricted subnet, drone can only
    [all...]
  /external/autotest/client/common_lib/cros/network/
netblock.py 15 @param prefix_len: int number of bits forming the IP subnet prefix for
97 def subnet(self): member in class:Netblock
98 """@return the IPv4 subnet, e.g., '192.168.0.0'."""
121 @param prefix_len: int length of subnet prefix (e.g. 24).
131 """Get an address in a subnet.
interface.py 258 """@return string subnet of IPv4 address (e.g. '192.168.0.0')"""
260 return addr.subnet if addr else None
265 """@return the IPv4 subnet mask e.g., "255.255.255.0"."""
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/redshift/
layer1.py 329 private cloud (VPC), you must provide cluster subnet group
330 name. If you don't provide a cluster subnet group name or the
433 :param cluster_subnet_group_name: The name of a cluster subnet group to
    [all...]
  /external/autotest/client/common_lib/
site_utils.py 42 # subnet. Each item is a tuple of (subnet_ip, mask_bits), e.g.,
47 for subnet in restricted_subnets_list:
48 ip, mask_bits = subnet.split(':')
52 # can have following config in CLIENT section to indicate that hosts in subnet
594 """Check if two IP addresses are in the same subnet with given mask bits.
600 @param mask_bits: Number of mask bits for subnet comparison. Default to 24.
602 @return: True if the two IP addresses are in the same subnet.
628 """Get the servers in the same subnet of the given host ip.
632 @param servers: A list of servers to be filtered by subnet specified by
638 @return: A list of servers in the same subnet of the given host ip
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/rds2/
layer1.py 478 Default: The default EC2 VPC security group for the DB subnet group's
494 :param db_subnet_group_name: A DB subnet group to associate with this
496 If there is no DB subnet group, then it is a non-VPC DB instance.
641 If no DB subnet group has been specified as part of the request and the
643 publicly accessible. If a specific DB subnet group has been
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/opsworks/
layer1.py 269 specified region and the corresponding default VPC subnet ID,
348 value for `DefaultSubnetId`, the subnet must be in the same zone.
352 :param default_subnet_id: The stack's default VPC subnet ID. This
354 parameter. All instances are launched into this subnet unless you
356 a value for `DefaultAvailabilityZone`, the subnet must be in that
691 :param subnet_id: The ID of the instance's subnet. If the stack is
693 stack's default subnet ID value and direct AWS OpsWorks to launch
694 the instance in a different subnet.
    [all...]
  /external/ipsec-tools/src/racoon/
ipsec_doi.c     [all...]
cftoken.l 551 subnet { YYD; yylval.num = IDTYPE_SUBNET; return(IDENTIFIERTYPE); }
  /external/jetty/src/java/org/eclipse/jetty/servlets/
DoSFilter.java 633 String subnet = cidrMatcher.group(1);
645 byte[] subnetBytes = addressToBytes(subnet);
    [all...]
  /external/autotest/server/
site_linux_router.py 654 """Return IP address on the WiFi subnet of a local server on the router.
669 """Return subnet of WiFi AP instance.
679 return self.local_servers[ap_num]['netblock'].subnet
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/
__init__.py 35 from boto.vpc.subnet import Subnet
230 Associates a route table with a specific subnet.
236 :param subnet_id: The ID of the subnet to associate with.
342 table association instead of the more common subnet type
372 table association instead of the more common subnet type
551 Associates a network acl with a specific subnet.
557 :param subnet_id: The ID of the subnet to associate with.
563 acl = self.get_all_network_acls(filters=[('association.subnet-id', subnet_id)])[0]
580 :param subnet_id: The ID of the subnet to which the ACL belongs
    [all...]
  /external/iproute2/doc/
ip-cref.tex     [all...]

Completed in 533 milliseconds