Home
last modified time | relevance | path

Searched refs:instance_group (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/emr/
Dtest_instance_group_args.py10 from boto.emr.instance_group import InstanceGroup
29 instance_group = InstanceGroup(1, 'MASTER', 'm1.small',
36 instance_group = InstanceGroup(1, 'MASTER', 'm1.small',
38 self.assertEquals('1.10', instance_group.bidprice[:4])
44 instance_group = InstanceGroup(1, 'MASTER', 'm1.small',
46 self.assertEquals('1.1', instance_group.bidprice)
52 instance_group = InstanceGroup(1, 'MASTER', 'm1.small',
54 self.assertEquals('1.1', instance_group.bidprice)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/emr/
Dconnection.py725 def _build_instance_group_args(self, instance_group): argument
731 params = {'InstanceCount': instance_group.num_instances,
732 'InstanceRole': instance_group.role,
733 'InstanceType': instance_group.type,
734 'Name': instance_group.name,
735 'Market': instance_group.market}
736 if instance_group.market == 'SPOT':
737 params['BidPrice'] = instance_group.bidprice
750 for i, instance_group in enumerate(instance_groups):
751 ig_dict = self._build_instance_group_args(instance_group)