Commit 2481e27
Fix incorrect command when unplugging bond subports
When unplugging a bond from a network with trunk subports,
the code was incorrectly using ADD_NETWORK_TO_BOND_TRUNK
instead of DELETE_NETWORK_ON_BOND_TRUNK for removing
subports from the bond trunk. This caused subports to be
added instead of removed during bond cleanup.
Fixes the logic to use the correct command for removing
subports from bond trunks during network unplug operations.
Closes-Bug: #2122025
Change-Id: Ieb01a5b8910b7d3e24ccf2561524f36bbd24b2c5
Signed-off-by: Grzegorz Koper <grzegorzk@stackhpc.com>
(cherry picked from commit 26160cd)1 parent 564b0a4 commit 2481e27
File tree
2 files changed
+9
-1
lines changed- networking_generic_switch/devices/netmiko_devices
- releasenotes/notes
2 files changed
+9
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments