From 707d93f059c08c447e615a655cf23faaad70a89d Mon Sep 17 00:00:00 2001 From: barriejc <73184215+barriejc@users.noreply.github.com> Date: Tue, 4 Jul 2023 18:27:58 -0700 Subject: [PATCH] added mode L3_SUB_VLAN as tagged --- network_importer/adapters/nautobot_api/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/network_importer/adapters/nautobot_api/models.py b/network_importer/adapters/nautobot_api/models.py index 22915e1..fe4a0b1 100644 --- a/network_importer/adapters/nautobot_api/models.py +++ b/network_importer/adapters/nautobot_api/models.py @@ -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