Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/interfaces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- interfaces: "This change avoids error that occurs when duplex is set and speed is auto"
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ def del_attribs(self, obj):
commands.append(no_cmd + "switchport")
if "description" in obj:
commands.append("no description")
if "speed" in obj:
commands.append("no speed")
if "duplex" in obj:
commands.append("no duplex")
if "speed" in obj:
commands.append("no speed")
if "enabled" in obj:
sysdef_enabled = self.default_enabled(have=obj, action="delete")
if obj["enabled"] is False and sysdef_enabled is True:
Expand Down
Loading