Commit 9d146d0
committed
Remove unneeded hasattr check for bond methods
Base class for all switches GenericSwitchDevice implements fallback
for individual port handling in plug_bond_to_network and
unplug_bond_from_network functions. Since all switches are subclasses
of GenericSwitchDevice they implement default implementation for those
functions, so we do not need hasattr check.
Change-Id: Ib2f23b7ecf2ba133ec192a9936bb4aecf4337ce71 parent 9aaf333 commit 9d146d0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
0 commit comments