From c0855e9ac4099c9972813ef48a302a0c6d9e5c0e Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Tue, 21 May 2024 07:08:54 -0700 Subject: [PATCH] 14250 add BPON to interface types (#16208) * 14250 add BPON to interface types * 14250 remove huwai specific from PON * Reorder choices & fix typo --------- Co-authored-by: Jeremy Stretch --- netbox/dcim/choices.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/netbox/dcim/choices.py b/netbox/dcim/choices.py index c8ef33a5d..e8a7194fc 100644 --- a/netbox/dcim/choices.py +++ b/netbox/dcim/choices.py @@ -941,12 +941,15 @@ class InterfaceTypeChoices(ChoiceSet): TYPE_DOCSIS = 'docsis' # PON + TYPE_BPON = 'bpon' + TYPE_EPON = 'epon' + TYPE_10G_EPON = '10g-epon' TYPE_GPON = 'gpon' TYPE_XG_PON = 'xg-pon' TYPE_XGS_PON = 'xgs-pon' TYPE_NG_PON2 = 'ng-pon2' - TYPE_EPON = 'epon' - TYPE_10G_EPON = '10g-epon' + TYPE_25G_PON = '25g-pon' + TYPE_50G_PON = '50g-pon' # Stacking TYPE_STACKWISE = 'cisco-stackwise' @@ -1132,12 +1135,15 @@ class InterfaceTypeChoices(ChoiceSet): ( 'PON', ( - (TYPE_GPON, 'GPON (2.5 Gbps / 1.25 Gps)'), + (TYPE_BPON, 'BPON (622 Mbps / 155 Mbps)'), + (TYPE_EPON, 'EPON (1 Gbps)'), + (TYPE_10G_EPON, '10G-EPON (10 Gbps)'), + (TYPE_GPON, 'GPON (2.5 Gbps / 1.25 Gbps)'), (TYPE_XG_PON, 'XG-PON (10 Gbps / 2.5 Gbps)'), (TYPE_XGS_PON, 'XGS-PON (10 Gbps)'), (TYPE_NG_PON2, 'NG-PON2 (TWDM-PON) (4x10 Gbps)'), - (TYPE_EPON, 'EPON (1 Gbps)'), - (TYPE_10G_EPON, '10G-EPON (10 Gbps)'), + (TYPE_25G_PON, '25G-PON (25 Gbps)'), + (TYPE_50G_PON, '50G-PON (50 Gbps)'), ) ), (