Skip to content

Commit 8849420

Browse files
jifoxjifoxpa
andauthored
Add BASE_INTERFACES for hp_comware & checkpoint (#17)
* Add BASE_INTERFACES for hp_comware & checkpoint Co-authored-by: Josef Fuchs <josef.fuchs@pankl.com>
1 parent d6da791 commit 8849420

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

netutils/constants.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"B": "Bdi",
88
"Bd": "Bdi",
99
"Bdi": "Bdi",
10+
"Bridge-Aggregation": "Port-channel",
1011
"EOBC": "EOBC",
1112
"EO": "EOBC",
1213
"Ethernet": "Ethernet",
@@ -104,6 +105,9 @@
104105
"Serial": "Serial",
105106
"Se": "Serial",
106107
"S": "Serial",
108+
"Sync": "Sync",
109+
"Sy": "Sync",
110+
"Ten-GigabitEthernet": "TenGigabitEthernet",
107111
"TenGigabitEthernet": "TenGigabitEthernet",
108112
"TenGigEthernet": "TenGigabitEthernet",
109113
"TenGigEth": "TenGigabitEthernet",
@@ -126,7 +130,10 @@
126130
"VLAN": "VLAN",
127131
"V": "VLAN",
128132
"Vl": "VLAN",
133+
"Vlan-interface": "VLAN",
134+
"vlan": "VLAN",
129135
"Wlan-GigabitEthernet": "Wlan-GigabitEthernet",
136+
"XGE": "TenGigabitEthernet",
130137
}
131138

132139
# The default mac format
@@ -173,6 +180,7 @@
173180
"Port-channel": "Po",
174181
"POS": "PO",
175182
"Serial": "Se",
183+
"Sync": "Sy",
176184
"TenGigabitEthernet": "Te",
177185
"Tunnel": "Tu",
178186
"TwoGigabitEthernet": "Two",

0 commit comments

Comments
 (0)