Lines Matching refs:cfg
47 def DeleteInstances(cfg, instances_to_delete): argument
83 return DeleteRemoteInstances(cfg, remote_instance_list, delete_report)
91 def DeleteRemoteInstances(cfg, instances_to_delete, delete_report=None): argument
105 if not cfg.SupportRemoteInstance():
119 cfg, instances_to_delete, delete_report)
181 def CleanUpRemoteHost(cfg, remote_host, host_user, argument
196 credentials = auth.CreateCredentials(cfg)
198 acloud_config=cfg,
204 host_ssh_private_key_path or cfg.ssh_private_key_path))
219 def DeleteInstanceByNames(cfg, instances): argument
236 delete_report = DeleteInstances(cfg, list_instances.FilterInstancesByNames(
239 delete_report = DeleteRemoteInstances(cfg,
259 cfg = config.GetAcloudConfig(args)
261 return DeleteInstanceByNames(cfg,
264 return CleanUpRemoteHost(cfg, args.remote_host, args.host_user,
268 if not args.local_only and cfg.SupportRemoteInstance():
269 instances.extend(list_instances.GetRemoteInstances(cfg))
279 return DeleteInstances(cfg, instances)