-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #16781 adds an 100Base SFP interface #16809
base: develop
Are you sure you want to change the base?
Fixes #16781 adds an 100Base SFP interface #16809
Conversation
Comment so maintainer is able to assign. |
@@ -825,6 +825,7 @@ class InterfaceTypeChoices(ChoiceSet): | |||
# Ethernet | |||
TYPE_100ME_FX = '100base-fx' | |||
TYPE_100ME_LFX = '100base-lfx' | |||
TYPE_100ME_FX_SFP = '100base-fx-sfp' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TYPE_100ME_FX_SFP = '100base-fx-sfp' | |
TYPE_100ME_SFP = '100base-x-sfp' |
@@ -1000,6 +1002,7 @@ class InterfaceTypeChoices(ChoiceSet): | |||
( | |||
(TYPE_1GE_GBIC, 'GBIC (1GE)'), | |||
(TYPE_1GE_SFP, 'SFP (1GE)'), | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove errant newline.
@@ -985,6 +986,7 @@ class InterfaceTypeChoices(ChoiceSet): | |||
( | |||
(TYPE_100ME_FX, '100BASE-FX (10/100ME FIBER)'), | |||
(TYPE_100ME_LFX, '100BASE-LFX (10/100ME FIBER)'), | |||
(TYPE_100ME_FX_SFP, '100BASE-FX-SFP (10/100ME FIBER)'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SFP interface type does not imply a specific medium (e.g. FX), just the line rate. Also, this needs to be moved to the "Ethernet (modular)" group as it is modular in nature.
(TYPE_100ME_FX_SFP, '100BASE-FX-SFP (10/100ME FIBER)'), | |
(TYPE_100ME_SFP, 'SFP (100ME)'), |
Fixes: #16781
Adds the requested SFP type