Lines Matching refs:cfg
108 def GetRemoteInstances(cfg): argument
119 credentials = auth.CreateCredentials(cfg)
120 compute_client = gcompute_client.ComputeClient(cfg, credentials)
202 def GetInstances(cfg): argument
211 return GetRemoteInstances(cfg) + GetLocalInstances()
229 def ChooseInstances(cfg, select_all_instances=False): argument
243 instances = GetInstances(cfg)
249 def ChooseOneRemoteInstance(cfg): argument
264 instances_list = GetCFRemoteInstances(cfg)
357 def GetInstancesFromInstanceNames(cfg, instance_names): argument
373 GetLocalInstancesByNames(instance_names) + GetRemoteInstances(cfg),
405 def GetCFRemoteInstances(cfg): argument
414 instances = GetRemoteInstances(cfg)
425 cfg = config.GetAcloudConfig(args)
426 if not args.local_only and cfg.SupportRemoteInstance():
427 instances.extend(GetRemoteInstances(cfg))