Exemple #1
0
    def reload(self):
        self.version_info = load_data(self.data_files.get("version_info"))
        self.goal_state = load_data(self.data_files.get("goal_state"))
        self.hosting_env = load_data(self.data_files.get("hosting_env"))
        self.shared_config = load_data(self.data_files.get("shared_config"))
        self.certs = load_data(self.data_files.get("certs"))
        self.ext_conf = self.data_files.get("ext_conf")
        if self.ext_conf is not None:
            self.ext_conf = load_data(self.ext_conf)
        self.manifest = load_data(self.data_files.get("manifest"))
        self.ga_manifest = load_data(self.data_files.get("ga_manifest"))
        self.trans_prv = load_data(self.data_files.get("trans_prv"))
        self.trans_cert = load_data(self.data_files.get("trans_cert"))
        self.ext = load_bin_data(self.data_files.get("test_ext"))
        self.vm_settings = load_data(self.data_files.get("vm_settings"))
        self.etag = self.data_files.get("ETag")

        remote_access_data_file = self.data_files.get("remote_access")
        if remote_access_data_file is not None:
            self.remote_access = load_data(remote_access_data_file)

        in_vm_artifacts_profile_file = self.data_files.get(
            "in_vm_artifacts_profile")
        if in_vm_artifacts_profile_file is not None:
            self.in_vm_artifacts_profile = load_data(
                in_vm_artifacts_profile_file)
Exemple #2
0
 def reload(self):
     self.version_info = load_data(self.data_files.get("version_info"))
     self.goal_state = load_data(self.data_files.get("goal_state"))
     self.hosting_env = load_data(self.data_files.get("hosting_env"))
     self.shared_config = load_data(self.data_files.get("shared_config"))
     self.certs = load_data(self.data_files.get("certs"))
     self.ext_conf = load_data(self.data_files.get("ext_conf"))
     self.manifest = load_data(self.data_files.get("manifest"))
     self.ga_manifest = load_data(self.data_files.get("ga_manifest"))
     self.trans_prv = load_data(self.data_files.get("trans_prv"))
     self.trans_cert = load_data(self.data_files.get("trans_cert"))
     self.ext = load_bin_data(self.data_files.get("test_ext"))