Skip to content
Open
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
2 changes: 2 additions & 0 deletions network_importer/adapters/nautobot_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def convert_vlan_list_to_nids(vlan_uids):
nb_params["mode"] = "access"
elif "switchport_mode" in attrs and attrs["switchport_mode"] == "TRUNK":
nb_params["mode"] = "tagged"
elif "mode" in attrs and attrs["mode"] == "L3_SUB_VLAN":
nb_params["mode"] = "tagged"

# if is None:
# intf_properties["enabled"] = intf.active
Expand Down