Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

RobertH1993
Copy link

@RobertH1993 RobertH1993 commented Jul 3, 2024

Fixes: #16781

Adds the requested SFP type

@RobertH1993
Copy link
Author

Comment so maintainer is able to assign.

@RobertH1993 RobertH1993 changed the title Fixes #11371 adds an 100Base SFP interface Fixes #16781 adds an 100Base SFP interface Jul 3, 2024
@@ -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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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)'),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove errant newline.

Suggested change

@@ -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)'),
Copy link
Member

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.

Suggested change
(TYPE_100ME_FX_SFP, '100BASE-FX-SFP (10/100ME FIBER)'),
(TYPE_100ME_SFP, 'SFP (100ME)'),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New interface type SFP (100 Base-FX)
2 participants