Skip to content

Commit 2734a59

Browse files
committed
Configuration error handling for non-Layer-2 ports
Detect and raise port configuration failures when attempting to configure a port on a Dell Force10 switch that's not in Layer-2 mode, preventing incorrect port binding. Closes-Bug: #2100641 Change-Id: I9e86d1bb5004c9a2e8a984e54edc15e96bb52310
1 parent d8261fd commit 2734a59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • networking_generic_switch/devices/netmiko_devices

networking_generic_switch/devices/netmiko_devices/dell.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,5 @@ def on_invalid_switchmode():
198198
re.compile(r'VLAN was not created by user'),
199199
re.compile(r'Configuration Database locked by another application \- '
200200
r'try later'),
201+
re.compile(r'Port is not in Layer-2 mode'),
201202
)

0 commit comments

Comments
 (0)