Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
allow interface suffix to be any ascii sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasan committed Jul 27, 2024
1 parent 34ed127 commit 5a9cdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalystwan/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def int_range_serializer(value: IntRange) -> str:
"VirtualPortGroup",
"Vlan",
]
InterfaceTypePattern = re.compile(r"^(?:" + "|".join(map(re.escape, get_args(InterfaceType))) + r")\d+$")
InterfaceTypePattern = re.compile(r"^(?:" + "|".join(map(re.escape, get_args(InterfaceType))) + r")[\x00-\x7F]*$")

InterfaceStr = Annotated[
str,
Expand Down

0 comments on commit 5a9cdda

Please sign in to comment.