From c7e8414934cdf7692826d31153b3fdb6fb1bae88 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Fri, 11 Apr 2025 19:36:25 +0200 Subject: [PATCH] added missing lessor attributes --- app/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/main.py b/app/main.py index 3820c3a..4fe2c82 100644 --- a/app/main.py +++ b/app/main.py @@ -679,6 +679,7 @@ async def leasing_v1_lessor(request: Request): logger.info(f'> [ create ]: {origin_ref}: create leases for scope_ref_list {scope_ref_list}') lease_result_list = [] + # todo: for lease_proposal in lease_proposal_list for scope_ref in scope_ref_list: # if scope_ref not in [ALLOTMENT_REF]: # return JSONr(status_code=500, detail=f'no service instances found for scopes: ["{scope_ref}"]') @@ -698,6 +699,8 @@ async def leasing_v1_lessor(request: Request): "license_type": "CONCURRENT_COUNTED_SINGLE", "lease_intent_id": None, "metadata": None, + "feature_name": "GRID-Virtual-WS", # todo + "product_name": "NVIDIA RTX Virtual Workstation", # todo } })