Lines Matching full:secret
29 class Secret: class
38 def secret(self): member in Secret
42 return [ "secret,id=" + self._id + ",data=" + self._secret]
45 return { "qom-type" : "secret", "id": self.id(),
46 "data": self.secret() }
62 self.secrets = [ Secret(i) for i in range(0, 4) ]
63 for secret in self.secrets:
64 self.vm1.cmd("object-add", secret.to_qmp_object())
65 self.vm2.cmd("object-add", secret.to_qmp_object())
75 def createImg(self, file, secret): argument
79 '--object', *secret.to_cmdline_object(),
81 '-o', 'key-secret=' + secret.id(),
88 def addKey(self, file, secret, new_secret): argument
91 'key-secret' : secret.id(),
101 '--object', *secret.to_cmdline_object(),
105 '-o', 'new-secret=' + new_secret.id(),
116 def openImageQmp(self, vm, id, file, secret, argument
125 'key-secret' : secret.id(),
166 'new-secret': new_secret.id(),