From 60aeb2bc6a8cbc3d60aaa8b942296e25b002bf5d Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Thu, 13 Jul 2023 15:24:57 +0200 Subject: [PATCH] make enums consistens with db again --- gso/products/product_blocks/device.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gso/products/product_blocks/device.py b/gso/products/product_blocks/device.py index d2f7996f..301b51c7 100644 --- a/gso/products/product_blocks/device.py +++ b/gso/products/product_blocks/device.py @@ -11,20 +11,20 @@ from gso.products.product_blocks.site import SiteBlock, SiteBlockInactive, SiteB class DeviceVendor(strEnum): """Enumerator for the different product vendors that are supported.""" - JUNIPER = "Juniper" + JUNIPER = "juniper" """Juniper devices.""" - NOKIA = "Nokia" + NOKIA = "nokia" """Nokia devices.""" class DeviceRole(strEnum): """Enumerator for the different types of routers.""" - P = "P" + P = "p" """P router.""" - PE = "PE" + PE = "pe" """PE router.""" - AMT = "AMT" + AMT = "amt" """AMT router.""" -- GitLab