mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fix enum use in schemas
This commit is contained in:
1 parent
bd9af3fe90
commit
31ae70894e
5 files changed
+33
-33
No files matched your search
@@ -22,14 +22,14 @@ from enum import Enum
|
||||
from ..common import NodeStatus
|
||||
|
||||
|
||||
class EthernetSwitchPortType(Enum):
|
||||
class EthernetSwitchPortType(str, Enum):
|
||||
|
||||
access = "access"
|
||||
dot1q = "dot1q"
|
||||
qinq = "qinq"
|
||||
|
||||
|
||||
class EthernetSwitchEtherType(Enum):
|
||||
class EthernetSwitchEtherType(str, Enum):
|
||||
|
||||
ethertype_8021q = "0x8100"
|
||||
ethertype_qinq = "0x88A8"
|
||||
|
||||
Reference in new issue
Block a user