Skip to content

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

Merged
lguohan merged 13 commits intosonic-net:masterfrom
roylee123:correct_port_index_and_default_speed
Jul 24, 2019
Merged

[Accton] Correct port index and offer the default speed.#3213
lguohan merged 13 commits intosonic-net:masterfrom
roylee123:correct_port_index_and_default_speed

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.

roylee123 added 13 commits July 9, 2019 16:01
Verified with index from 1.
Add qsfp_event() for command "show interaface trancerver".
Signed-off-by: roy_lee <[email protected]>
Add default port speed.
Verified with index from 1.

Signed-off-by: roy_lee <[email protected]>
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <[email protected]>
Add default port speed.
Verified with index from 1.
Signed-off-by: roy_lee <[email protected]>
Add default port speed.
Verified with index from 1.

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

Signed-off-by: roy_lee <[email protected]>
Signed-off-by: roy_lee <[email protected]>
Update port-config with 1-based index and default port speed.

Signed-off-by: roy_lee <[email protected]>
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.

3 participants