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

[Accton] Correct port index and offer the default speed. #3213

Merged

Conversation

roylee123
Copy link
Collaborator

@roylee123 roylee123 commented Jul 24, 2019

Update port config for index from 1 and give default port speed.

But following model are not updated:
as7116_54x: with nephos MAC.
as7212_54x: with marvell MAC.
as4630_54pe: will be handled later.
as7716_32xb: No production.
minipack: Due to hot-swappable port modules.

Note, this may conflict to #2923.

- What I did

  1. Update port config for index from 1
  2. Give default port speed.
  3. Implement get_transceiver_change_event() of sfputil.

- How I did it
Update port_config and sfputil with the index changed.
Generate new config_db with new port_config, and reload that new config.

- How to verify it
sfputil show presence
sfputil show eeprom
show interfaces transciever (but not for all platform)

- Description for the changelog
With port index changed, it has to update sfputil.py for new mapping.

Verified with index from 1.
Add qsfp_event() for command "show interaface trancerver".
Signed-off-by: roy_lee <roy_lee@accton.com>
Add default port speed.
Verified with index from 1.

Signed-off-by: roy_lee <roy_lee@accton.com>
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <roy_lee@accton.com>
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <roy_lee@accton.com>
Add default port speed.
Verified with index from 1.

Signed-off-by: roy_lee <roy_lee@accton.com>
Update port-config with 1-based index.
Signed-off-by: roy_lee <roy_lee@accton.com>
Somehow the service may block, use type=simple to work-around.
Add syslog function for monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>
Update port-config with 1-based index.
Signed-off-by: roy_lee <roy_lee@accton.com>
Update port-config with 1-based index.
Implement sfputil change_event.
Signed-off-by: roy_lee <roy_lee@accton.com>
Update port-config with 1-based index.
Implement sfputil change_event.

Signed-off-by: roy_lee <roy_lee@accton.com>
Signed-off-by: roy_lee <roy_lee@accton.com>
Update port-config with 1-based index and default port speed.

Signed-off-by: roy_lee <roy_lee@accton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants