Fix schema for removing WICs from Cisco routers. Fixes #3392

This commit is contained in:
grossmj 2022-12-22 20:02:28 +08:00
parent 84f256dd88
commit 5666b43ee0

View File

@ -78,6 +78,7 @@ class DynamipsWics(str, Enum):
wic_1enet = "WIC-1ENET" wic_1enet = "WIC-1ENET"
wic_1t = "WIC-1T" wic_1t = "WIC-1T"
wic_2t = "WIC-2T" wic_2t = "WIC-2T"
_ = ""
class DynamipsConsoleType(str, Enum): class DynamipsConsoleType(str, Enum):
@ -113,7 +114,7 @@ class DynamipsMidplane(str, Enum):
vxr = "vxr" 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): class DynamipsBase(BaseModel):
""" """
Common Dynamips node properties. Common Dynamips node properties.