def __init__(self): self.created = str(timeutils.utcnow()) self.secret = test_secrets.SecretData() self.status = 'ACTIVE' self.order_dict = {'created': self.created, 'status': self.status, 'secret': self.secret.get_dict()}
def __init__(self): self.name = 'Self destruction sequence' self.payload = 'the magic words are squeamish ossifrage' self.payload_content_type = 'text/plain' self.content = 'text/plain' self.algorithm = 'AES' self.created = str(timeutils.utcnow()) self.secret_dict = {'name': self.name, 'status': 'ACTIVE', 'algorithm': self.algorithm, 'created': self.created}
def __init__(self): self.created = str(timeutils.utcnow()) self.resource_type = 'image' self.resource_ref = 'http://www.image.com/v1/images/1234' self.resource_action = 'vm_attach' self.impersonation_allowed = True self.verification_dict = {'created': self.created, 'resource_type': self.resource_type, 'resource_ref': self.resource_ref, 'resource_action': self.resource_action, 'impersonation_allowed': self.impersonation_allowed}