[device/celestica]: Add support for xcvrd daemon in silverstone#91
[device/celestica]: Add support for xcvrd daemon in silverstone#91mudsut4ke wants to merge 13 commits intozhenggen-xu:201811-TH3from
Conversation
|
at function _bring_up_port_link Also, it does not change back to page-0 at end of function |
@stevenlu99 , Please review a new init script in 9f33f91 |
There was a problem hiding this comment.
why we enabled all ports by default? This should be controlled by configDB data.
There was a problem hiding this comment.
I will remove it (this one should added on our debug image only)
There was a problem hiding this comment.
This comment should be removed.
There was a problem hiding this comment.
We need make this script works for multiple optical vendors mentioned in email.
There was a problem hiding this comment.
This HWSKU should use 1x400G?
There was a problem hiding this comment.
change the name of port_config_file_path to cmis_init_file_path?
There was a problem hiding this comment.
Is this seconds or miliseconds, please make a comment.
There was a problem hiding this comment.
timeout is milliseconds, what is POLL_INTERVAL unit? If it is seconds, this min() parameters do not seem to be correct.
platform/broadcom/sonic-platform-modules-cel/silverstone/modules/switchboard.c
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
This should be renamed to something related to initializing the optical modules.
37b59e1 to
8f53880
Compare
8f53880 to
8400496
Compare
8626456 to
1c4e42f
Compare
|
@mudsut4ke if you use cmis_init.sh to initialize cmis-4.0 transceivers to 4x100G mode, please keep in mind that this script was originally programmed to demonstrate cmis-4.0 init sequence for Innolight, for different vendors, the sequences might have differences.
|
|
@stevenlu99 Thanks for the feedback. |
|
Please include the test results for at least Innolight and Eoptolink optics, and the ports should come up with 4x100G mode. |
| print "Error: unable to read file: %s" % str(e) | ||
| return None | ||
|
|
||
| def _is_port_device_present(self, port_idx): |
There was a problem hiding this comment.
make this function return true or false, not a number that could be anything.
|
I have updated code follow your comment and I also attached log to PR description |
|
We mentioned many times in email, we are looking for 4x100G mode of the optics (Both Innolight and Eoptolink), I don't see that in the log, it seems to be a wrong HWSKU and wrong optical modes. |
|
Hello Zhenggen, I see a parallel PR #92 running. Do you still need the qualification on Innodisk and Eptolink? Thanks. |
@zhenggen-xu , We encountered an error (port link down) in 4x100G mode test with 1x400G port connected to 4x100G port and our team tried to figure out the root cause of this link down issue. However, does the test result you want use the same port link topology as above? And I also have one more question about #92, |
I suggest you work with BRCM to figure out the solution going forward. As for the use case, we wanted 4x100G mode, and at least Innolight and Eoptolink, both with CMIS 4.0. |
…te submodules (sonic-net#4852) * src/sonic-platform-common 75698a8...82bbeab (9): > [sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as in SfpUtilBase (sonic-net#96) > [sfp_base] Update return value documentation of channel-specific methods (sonic-net#98) > [sfp] Tweak key names of some transceiver info fields (sonic-net#97) > fix typo: portconfig.ini to port_config.ini (#94) > [chassis_base] Add platform API support for system LED (#91) > Add PCIe check commad (#64) > [sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed to read from it (#81) > [sfputilbase | sfputilhelper] Add support of platform.json (#72) > [eeprom] Add try-except to catch the IOError (#85) * src/sonic-platform-daemons 0f4fd83...abe115e (2): > [xcvrd] Tweak some transceiver info key names (#62) > [psud][thermalctld] Always get fan/PSU LED status from platform API to avoid status inconsistencies (#59) * src/sonic-utilities fd7781b...16a33f2 (9): > [config] Fix syntax error (sonic-net#966) > [config] Fix indentation level in _get_disabled_services_list() (sonic-net#965) > a4e64d1 [sonic_installer] Refactor sonic_installer code (sonic-net#953) > 90efd62 [Show | Command Reference] Add Port breakout Show Command (sonic-net#859) > [sfpshow][mock_state_db] Tweak key names of some transceiver info fields (sonic-net#958) > [show] Add missing verbose option to "show line" (sonic-net#961) > [filter-fdb] Check VLAN Presence When Filter FDB (sonic-net#957) > [master]fix sonic-net#4716 show ipv6 interfaces neighbor_ip is N/A issue (sonic-net#948) > Fix for command. show interface transceiver eeprom -d Ethernet (sonic-net#955) Note: sonic-utilities update fixes sonic-net#4716
- sonic-net/sonic-platform-daemons@1893c40 - Fix the xcvrd theowing error on sfprecover function on getKeys() not valid. - sonic-net/sonic-platform-daemons@65fa443 - Merge pull request #90 from abdosi/multiasic-fix - sonic-net/sonic-platform-daemons@7f812c9 - [xcvrd] Don't log unnecessary messages upon empty transceiver change event (#53) - sonic-net/sonic-platform-daemons@0969202 - Fix pcied daemon failure (#91) Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
- What I did
- How I did it
- How to verify it
Verify rsyslog when sfp plug / unplug event occurs.
Verify port link status when event occurs
AOI module log :