Home
last modified time | relevance | path

Searched refs:as_group (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/autoscale/
D__init__.py149 def _update_group(self, op, as_group): argument
150 params = {'AutoScalingGroupName': as_group.name,
151 'LaunchConfigurationName': as_group.launch_config_name,
152 'MinSize': as_group.min_size,
153 'MaxSize': as_group.max_size}
155 zones = as_group.availability_zones
157 if as_group.desired_capacity is not None:
158 params['DesiredCapacity'] = as_group.desired_capacity
159 if as_group.vpc_zone_identifier:
160 params['VPCZoneIdentifier'] = as_group.vpc_zone_identifier
[all …]
Dscheduled.py31 self.as_group = None
52 self.as_group = value
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/autoscale/
Dtest_group.py222 as_group = response[0]
223 self.assertEqual(as_group.availability_zones, ['us-east-1c', 'us-east-1a'])
224 self.assertEqual(as_group.default_cooldown, 300)
225 self.assertEqual(as_group.desired_capacity, 1)
226 self.assertEqual(as_group.enabled_metrics, [])
227 self.assertEqual(as_group.health_check_period, 0)
228 self.assertEqual(as_group.health_check_type, 'EC2')
229 self.assertEqual(as_group.launch_config_name, 'test_launchconfig')
230 self.assertEqual(as_group.load_balancers, [])
231 self.assertEqual(as_group.min_size, 1)
[all …]