• Home
  • Raw
  • Download

Lines Matching refs:usr_cfg

143     def __init__(self, usr_cfg, internal_cfg):  argument
150 self.service_account_name = usr_cfg.service_account_name
153 usr_cfg.service_account_private_key_path)
155 usr_cfg.service_account_json_private_key_path)
158 self.client_id = usr_cfg.client_id
159 self.client_secret = usr_cfg.client_secret
161 self.project = usr_cfg.project
162 self.zone = usr_cfg.zone
163 self.machine_type = (usr_cfg.machine_type or
165 self.network = usr_cfg.network or internal_cfg.default_usr_cfg.network
166 self.ssh_private_key_path = usr_cfg.ssh_private_key_path
167 self.ssh_public_key_path = usr_cfg.ssh_public_key_path
168 self.storage_bucket_name = usr_cfg.storage_bucket_name
171 self.metadata_variable.update(usr_cfg.metadata_variable)
190 usr_cfg.extra_data_disk_size_gb or
193 if "cfg_sta_persistent_data_device" not in usr_cfg.metadata_variable:
197 if "cfg_sta_ephemeral_data_size_mb" in usr_cfg.metadata_variable:
206 self.extra_scopes = usr_cfg.extra_scopes
209 self.orientation = usr_cfg.orientation
210 self.resolution = usr_cfg.resolution
212 self.stable_host_image_family = usr_cfg.stable_host_image_family
214 usr_cfg.stable_host_image_name or
217 usr_cfg.stable_host_image_project or
223 usr_cfg.stable_goldfish_host_image_name or
226 usr_cfg.stable_goldfish_host_image_project or
230 usr_cfg.stable_cheeps_host_image_name or
233 usr_cfg.stable_cheeps_host_image_project or
235 self.betty_image = usr_cfg.betty_image
237 self.extra_args_ssh_tunnel = usr_cfg.extra_args_ssh_tunnel
240 self.hw_property = usr_cfg.hw_property
242 self.launch_args = usr_cfg.launch_args
243 self.oxygen_client = usr_cfg.oxygen_client
244 self.oxygen_lease_args = usr_cfg.oxygen_lease_args
245 self.connect_hostname = usr_cfg.connect_hostname
247 usr_cfg.instance_name_pattern or
250 usr_cfg.fetch_cvd_version or
252 if usr_cfg.HasField("enable_multi_stage") is not None:
253 self.enable_multi_stage = usr_cfg.enable_multi_stage
258 self.disk_type = usr_cfg.disk_type
259 self.use_cvdr = usr_cfg.use_cvdr
260 self.use_legacy_acloud = usr_cfg.use_legacy_acloud
382 usr_cfg = None
393 usr_cfg = self.LoadConfigFromProtocolBuffer(
401 usr_cfg = user_config_pb2.UserConfig()
402 return AcloudConfig(usr_cfg, internal_cfg)