From b7df06ae7fb4a8a448fbefbd88df50cb5e93f2a5 Mon Sep 17 00:00:00 2001 From: iamk3 Date: Thu, 19 Sep 2024 16:18:09 -0400 Subject: [PATCH] create 802.15.4 interface type --- netbox/dcim/choices.py | 2 ++ netbox/dcim/constants.py | 1 + 2 files changed, 3 insertions(+) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index c90a0b3ea..848f57d7e 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -924,6 +924,7 @@ class InterfaceTypeChoices(ChoiceSet): TYPE_80211AY = 'ieee802.11ay' TYPE_80211BE = 'ieee802.11be' TYPE_802151 = 'ieee802.15.1' + TYPE_802154 = 'ieee802.15.4' TYPE_OTHER_WIRELESS = 'other-wireless' # Cellular @@ -1096,6 +1097,7 @@ class InterfaceTypeChoices(ChoiceSet): (TYPE_80211AY, 'IEEE 802.11ay'), (TYPE_80211BE, 'IEEE 802.11be'), (TYPE_802151, 'IEEE 802.15.1 (Bluetooth)'), + (TYPE_802154, 'IEEE 802.15.4 (LR-WPAN)'), (TYPE_OTHER_WIRELESS, 'Other (Wireless)'), ) ), diff --git a/netbox/dcim/constants.py b/netbox/dcim/constants.py index 049be6117..ba3e6464b 100644 --- a/netbox/dcim/constants.py +++ b/netbox/dcim/constants.py @@ -51,6 +51,7 @@ WIRELESS_IFACE_TYPES = [ InterfaceTypeChoices.TYPE_80211AY, InterfaceTypeChoices.TYPE_80211BE, InterfaceTypeChoices.TYPE_802151, + InterfaceTypeChoices.TYPE_802154, InterfaceTypeChoices.TYPE_OTHER_WIRELESS, ]