def parse(self, args):
     ensure_params(args)
     descriptor = json.load(args.descriptor)
     args.descriptor.close()
     args.descriptor = descriptor
예제 #2
0
 def parse(self, args):
     ensure_params(args)
     descriptor = json.load(args.descriptor)
     args.descriptor.close()
     args.descriptor = descriptor
     args.nova_client = client.Client(args.auth_user_name, args.auth_password, args.auth_tenant_name, args.auth_url, service_type="compute")