diff --git a/geant_service_orchestrator/products/product_types/device.py b/geant_service_orchestrator/products/product_types/device.py index fc7ae91960c3d9fa45bfbc0047bcf4770df2dba9..a630d2b3378ee2b37b428a239a8e05ddc53c7b42 100644 --- a/geant_service_orchestrator/products/product_types/device.py +++ b/geant_service_orchestrator/products/product_types/device.py @@ -7,11 +7,13 @@ from geant_service_orchestrator.products.product_blocks.device \ class DeviceType(strEnum): router = "router" - switch= "switch" + switch = "switch" + class DeviceVendor(strEnum): Juniper = "juniper" - Newvendor= "newvendor" + Newvendor = "newvendor" + class DeviceInactive(SubscriptionModel, is_base=True): device_type: DeviceType @@ -19,7 +21,8 @@ class DeviceInactive(SubscriptionModel, is_base=True): device: DeviceBlockInactive -class DeviceProvisioning(DeviceInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]): +class DeviceProvisioning(DeviceInactive, + lifecycle=[SubscriptionLifecycle.PROVISIONING]): device_type: DeviceType device_vendor: DeviceVendor device: DeviceBlockProvisioning