Home
last modified time | relevance | path

Searched refs:ec2 (Results 1 – 25 of 113) sorted by relevance

12345

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_connection.py9 import boto.ec2
12 from boto.ec2.blockdevicemapping import BlockDeviceType, BlockDeviceMapping
13 from boto.ec2.connection import EC2Connection
14 from boto.ec2.snapshot import Snapshot
15 from boto.ec2.reservedinstance import ReservedInstancesConfiguration
23 self.ec2 = self.service_connection
85 response = self.ec2.get_all_reserved_instances_offerings()
107 self.ec2.get_all_reserved_instances_offerings(
146 response = self.ec2.purchase_reserved_instance_offering(
168 response = self.ec2.create_image(
[all …]
Dtest_instancestatus.py5 from boto.ec2.connection import EC2Connection
18 ec2 = EC2Connection(aws_access_key_id='aws_access_key_id',
23 ec2.make_request = mock.Mock(return_value=mock_response)
24 all_statuses = ec2.get_all_instance_status()
25 self.assertNotIn('IncludeAllInstances', ec2.make_request.call_args[0][1])
29 ec2 = EC2Connection(aws_access_key_id='aws_access_key_id',
34 ec2.make_request = mock.Mock(return_value=mock_response)
35 all_statuses = ec2.get_all_instance_status(include_all_instances=True)
36 self.assertIn('IncludeAllInstances', ec2.make_request.call_args[0][1])
37 self.assertEqual('true', ec2.make_request.call_args[0][1]['IncludeAllInstances'])
Dtest_instancetype.py5 import boto.ec2
7 from boto.ec2.connection import EC2Connection
15 self.ec2 = self.service_connection
103 response = self.ec2.get_all_instance_types()
Dtest_instance.py7 from boto.ec2.connection import EC2Connection
188 ec2 = EC2Connection(aws_access_key_id='aws_access_key_id',
193 ec2.make_request = mock.Mock(return_value=mock_response)
194 reservation = ec2.run_instances(image_id='ami-12345')
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
Dvolume.py28 import boto.ec2
40 params['region'] = propget.get(prop, choices=boto.ec2.regions)
45 choices=self.ec2.get_all_zones)
71 self.ec2 = params['region'].connect()
101 ec2 = region.connect()
104 ebs_volume = ec2.create_volume(size, zone.name)
106 v.ec2 = ec2
119 ec2 = boto.ec2.connect_to_region(region_name)
120 rs = ec2.get_all_volumes([volume_id])
138 ec2 = self.get_ec2_connection()
[all …]
Dserver.py26 import boto.ec2
32 from boto.ec2.zone import Zone
33 from boto.ec2.keypair import KeyPair
85 command += '-a %s ' % self.server.ec2.aws_access_key_id
86 command += '-s %s ' % self.server.ec2.aws_secret_access_key
125 …self.image_id = self.server.ec2.register_image(name=prefix, image_location='%s/%s.manifest.xml' % …
132 for ami in self.ec2.get_all_images():
141 region = boto.ec2.get_region(region)
145 params['region'] = propget.get(prop, choices=boto.ec2.regions)
146 self.ec2 = params['region'].connect()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/autoscale/
Dtest_connection.py28 from boto.ec2.autoscale import AutoScaleConnection
29 from boto.ec2.autoscale.activity import Activity
30 from boto.ec2.autoscale.group import AutoScalingGroup, ProcessType
31 from boto.ec2.autoscale.launchconfig import LaunchConfiguration
32 from boto.ec2.autoscale.policy import AdjustmentType, MetricCollectionTypes, ScalingPolicy
33 from boto.ec2.autoscale.scheduled import ScheduledUpdateGroupAction
34 from boto.ec2.autoscale.instance import Instance
35 from boto.ec2.autoscale.tag import Tag
40 ec2 = True variable in AutoscaleConnectionTest
Dtest_cert_verification.py31 import boto.ec2.autoscale
36 regions = boto.ec2.autoscale.regions()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
Dbuyreservation.py21 import boto.ec2
37 choices=boto.ec2.regions)
38 params['region'] = propget.get(prop, choices=boto.ec2.regions)
54 choices=self.ec2.get_all_zones)
59 self.ec2 = params['region'].connect()
68 offerings = obj.ec2.get_all_reserved_instances_offerings(instance_type=params['instance_type'],
Dlaunchspecification.py27 from boto.ec2.ec2object import EC2Object
29 from boto.ec2.blockdevicemapping import BlockDeviceMapping
30 from boto.ec2.group import Group
31 from boto.ec2.instance import SubParse
Dconnection.py37 from boto.ec2.image import Image, ImageAttribute, CopyImage
38 from boto.ec2.instance import Reservation, Instance
39 from boto.ec2.instance import ConsoleOutput, InstanceAttribute
40 from boto.ec2.keypair import KeyPair
41 from boto.ec2.address import Address
42 from boto.ec2.volume import Volume, VolumeAttribute
43 from boto.ec2.snapshot import Snapshot
44 from boto.ec2.snapshot import SnapshotAttribute
45 from boto.ec2.zone import Zone
46 from boto.ec2.securitygroup import SecurityGroup
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/
Dorder.py26 import boto.ec2
47 self.ec2 = None
60 l = [(r, r.name, r.endpoint) for r in boto.ec2.regions()]
85 l = [(z, z.name, z.state) for z in self.ec2.get_all_zones()]
92 l = [(a, a.id, a.location) for a in self.ec2.get_all_images()]
99 l = [(s, s.name, s.description) for s in self.ec2.get_all_security_groups()]
106 l = [(k, k.name, '') for k in self.ec2.get_all_key_pairs()]
112 self.config.set('Credentials', 'aws_access_key_id', self.ec2.aws_access_key_id)
113 self.config.set('Credentials', 'aws_secret_access_key', self.ec2.aws_secret_access_key)
135 self.ec2 = self.region.connect()
Dserver.py63 def ec2(self): member in Server
117 rs = self.ec2.get_all_reservations([self.instance_id])
214 ec2 = boto.connect_ec2()
215 ami = ec2.get_all_images(image_ids = [str(self.ami_id)])[0]
216 groups = ec2.get_all_security_groups(groupnames=[str(self.security_group)])
221 self._config.set("Credentials", "aws_access_key_id", ec2.aws_access_key_id)
222 self._config.set("Credentials", "aws_secret_access_key", ec2.aws_secret_access_key)
245 ec2.associate_address(self.instance_id, self.elastic_ip)
329 command += '-a %s ' % self.ec2.aws_access_key_id
330 command += '-s %s ' % self.ec2.aws_secret_access_key
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dlaunch_instance67 def add_creds(self, ec2): argument
71 self.set('Credentials', 'aws_access_key_id', ec2.aws_access_key_id)
72 self.set('Credentials', 'aws_secret_access_key', ec2.aws_secret_access_key)
116 from boto.ec2 import regions
155 ec2 = boto.connect_ec2(region=region) variable
157 cfg.add_creds(ec2)
161 ami = ec2.get_image(options.ami_id)
164 l = [(a, a.id, a.location) for a in ec2.get_all_images()]
170 l = [(k, k.name, '') for k in ec2.get_all_key_pairs()]
177 l = [(g, g.name, g.description) for g in ec2.get_all_security_groups()]
Delbadmin117 ec2 = boto.connect_ec2()
119 ec2 = boto.ec2.connect_to_region(options.region)
120 check_valid_region(ec2, options.region)
126 for i in ec2.get_only_instances():
261 import boto.ec2.elb
262 elb = boto.ec2.elb.connect_to_region(options.region)
Dkill_instance7 from boto.ec2 import regions
14 ec2 = boto.connect_ec2(region=region)
17 ec2.terminate_instances([instance_id])
Dinstance_events52 ec2 = boto.connect_ec2(region=region)
54 reservations = ec2.get_all_reservations()
71 stats = ec2.get_all_instance_status()
110 from boto.ec2 import regions
Dlist_instances8 from boto.ec2 import regions
50 ec2 = boto.connect_ec2(region=region)
79 for r in ec2.get_all_reservations(filters=filters):
/external/icu/icu4c/source/i18n/
Ducurr.cpp333 UErrorCode ec2 = U_ZERO_ERROR; // local error code: soft failure in _findMetaData() local
334 UResourceBundle* rb = ures_getByKey(currencyMeta, myUCharsToChars(buf, currency), NULL, &ec2); in _findMetaData()
335 if (U_FAILURE(ec2)) { in _findMetaData()
707 UErrorCode ec2 = U_ZERO_ERROR; in ucurr_getName() local
710 uloc_getName(locale, loc, sizeof(loc), &ec2); in ucurr_getName()
711 if (U_FAILURE(ec2) || ec2 == U_STRING_NOT_TERMINATED_WARNING) { in ucurr_getName()
723 ec2 = U_ZERO_ERROR; in ucurr_getName()
724 UResourceBundle* rb = ures_open(U_ICUDATA_CURR, loc, &ec2); in ucurr_getName()
726 rb = ures_getByKey(rb, CURRENCIES, rb, &ec2); in ucurr_getName()
729 rb = ures_getByKeyWithFallback(rb, buf, rb, &ec2); in ucurr_getName()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/autoscale/
D__init__.py35 from boto.ec2.autoscale.request import Request
36 from boto.ec2.autoscale.launchconfig import LaunchConfiguration
37 from boto.ec2.autoscale.group import AutoScalingGroup
38 from boto.ec2.autoscale.group import ProcessType
39 from boto.ec2.autoscale.activity import Activity
40 from boto.ec2.autoscale.policy import AdjustmentType
41 from boto.ec2.autoscale.policy import MetricCollectionTypes
42 from boto.ec2.autoscale.policy import ScalingPolicy
43 from boto.ec2.autoscale.policy import TerminationPolicies
44 from boto.ec2.autoscale.instance import Instance
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/
Dtest_cert_verification.py31 import boto.ec2
35 ec2 = True variable in EC2CertVerificationTest
36 regions = boto.ec2.regions()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/elb/
Dloadbalancer.py23 from boto.ec2.elb.healthcheck import HealthCheck
24 from boto.ec2.elb.listener import Listener
25 from boto.ec2.elb.listelement import ListElement
26 from boto.ec2.elb.policies import Policies, OtherPolicy
27 from boto.ec2.elb.securitygroup import SecurityGroup
28 from boto.ec2.instanceinfo import InstanceInfo
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/
Dlt.pass.cpp24 const std::error_condition ec2(7, std::generic_category()); in main() local
25 assert(ec1 < ec2); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/
Dlt.pass.cpp24 const std::error_code ec2(7, std::generic_category()); in main() local
25 assert(ec1 < ec2); in main()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/cloudwatch/
Dtest_cert_verification.py29 import boto.ec2.cloudwatch
35 regions = boto.ec2.cloudwatch.regions()

12345