Lines Matching refs:cfg
46 def DeleteInstances(cfg, instances_to_delete): argument
78 return DeleteRemoteInstances(cfg, remote_instance_list, delete_report)
86 def DeleteRemoteInstances(cfg, instances_to_delete, delete_report=None): argument
100 if not cfg.SupportRemoteInstance():
114 cfg, instances_to_delete, delete_report)
222 def CleanUpRemoteHost(cfg, remote_host, host_user, argument
237 credentials = auth.CreateCredentials(cfg)
239 acloud_config=cfg,
245 host_ssh_private_key_path or cfg.ssh_private_key_path))
260 def DeleteInstanceByNames(cfg, instances): argument
280 delete_report = DeleteInstances(cfg, active_instances)
286 delete_report = DeleteRemoteInstances(cfg, remote_names, delete_report)
304 cfg = config.GetAcloudConfig(args)
306 return DeleteInstanceByNames(cfg,
309 return CleanUpRemoteHost(cfg, args.remote_host, args.host_user,
313 if not args.local_only and cfg.SupportRemoteInstance():
314 instances.extend(list_instances.GetRemoteInstances(cfg))
326 return DeleteInstances(cfg, instances)