87
89
previous call to key_init. The encrypted password value should
88
90
be passed as the value for the 'enc_pass' key in arg_dict.
90
93
enc_pass = arg_dict["enc_pass"]
91
94
arg_dict["value"] = json.dumps({"name": "password", "value": enc_pass})
92
95
request_id = arg_dict["id"]
93
96
arg_dict["path"] = "data/host/%s" % request_id
94
97
xenstore.write_record(self, arg_dict)
99
resp = _wait_for_agent(self, request_id, arg_dict, timeout)