From 5666b43ee07184e68f07c24a98cf81a6c20dd521 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 22 Dec 2022 20:02:28 +0800 Subject: [PATCH] Fix schema for removing WICs from Cisco routers. Fixes #3392 --- gns3server/schemas/compute/dynamips_nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gns3server/schemas/compute/dynamips_nodes.py b/gns3server/schemas/compute/dynamips_nodes.py index 585973fd..2ef6c86c 100644 --- a/gns3server/schemas/compute/dynamips_nodes.py +++ b/gns3server/schemas/compute/dynamips_nodes.py @@ -78,6 +78,7 @@ class DynamipsWics(str, Enum): wic_1enet = "WIC-1ENET" wic_1t = "WIC-1T" wic_2t = "WIC-2T" + _ = "" class DynamipsConsoleType(str, Enum): @@ -113,7 +114,7 @@ class DynamipsMidplane(str, Enum): vxr = "vxr" -# TODO: improve schema for Dynamips (match platform specific options, e.g. NPE allowd only for c7200) +# TODO: improve schema for Dynamips (match platform specific options, e.g. NPE allowed only for c7200) class DynamipsBase(BaseModel): """ Common Dynamips node properties.