-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Dell S6000 ON related Port numbering and eeprom changes #2315
Conversation
Does this mean that with these changes sonic has support for both variants? s6000 and s6000-on? |
Hi, |
…ges (sonic-net#2315)" This reverts commit 1467434.
…ing and eeprom changes Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)" This reverts commit 1467434.
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: sonic-net#2315, #3146150
…ges (sonic-net#2315)" This reverts commit 1467434.
…ing and eeprom changes Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)" This reverts commit 1467434.
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: sonic-net#2315, #3146150
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y Edit: linkmgrd PR will follow. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: sonic-net#2315, #3146150
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y Edit: linkmgrd PR will follow. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: #2315, #3146150
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y Edit: linkmgrd PR will follow. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: sonic-net#2315, #3146150
Linkmgrd monitors link status, mux status, and link state. Has the link becomes unhealthy, linkmgrd will trigger mux switchover on a standby ToR ensuring uninterrupted service to servers/blades. This PR is initial implementation of linkmgrd. Also, docker-mux container hold packages related to maintaining and managing mux cable. It currently runs linkmgrd binary that monitor and switches the mux if needed. This PR also introduces mux-container and starts linkmgrd as startup when build is configured with INCLUDE_MUX=y Edit: linkmgrd PR will follow. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> Related work items: #2315, #3146150
…ernal branch Related work items: sonic-net#525, sonic-net#534, sonic-net#909, sonic-net#927, sonic-net#930, sonic-net#934, sonic-net#935, sonic-net#937, sonic-net#938, sonic-net#939, sonic-net#940, sonic-net#943, sonic-net#944, sonic-net#945, sonic-net#946, sonic-net#948, sonic-net#1702, sonic-net#1923, sonic-net#1936, sonic-net#1942, sonic-net#2315, sonic-net#7281, sonic-net#7375, sonic-net#8659, sonic-net#8799, sonic-net#8868, sonic-net#8875, sonic-net#8935, sonic-net#8942, sonic-net#8956, sonic-net#8961, sonic-net#8966, sonic-net#8969, sonic-net#8971, sonic-net#8978, sonic-net#8991, sonic-net#8996, sonic-net#9001, sonic-net#9008, #3146150
To included: * ad8f5e4 2022-06-08 | Revert "[Counters] Improve performance by polling only configured ports buffer queue/pg counters (sonic-net#2143)" (sonic-net#2315) (HEAD -> master, origin/master, origin/HEAD) [Ying Xie] * 2ff763f 2022-06-08 | Fix test_warm_reboot issues blocking PR merge (sonic-net#2309) [Vaibhav Hemant Dixit] * 05d19ea 2022-06-02 | Purge package sonic-db-cli which depends on libswsscommon (sonic-net#2308) [Qi Luo] * a0c3238 2022-06-03 | Add port counter sanity check (sonic-net#2300) [Junhua Zhai] * 4944f0f 2022-06-03 | Revert "[portsorch]: Prevent LAG member configuration when port has active ACL binding (sonic-net#2165)" (sonic-net#2306) [bingwang-ms] * eba212d 2022-05-31 | [Counters] Improve performance by polling only configured ports buffer queue/pg counters (sonic-net#2143) [shlomibitton] * 9999dae 2022-05-28 | [counter] Support gearbox counters (sonic-net#2218) [Junhua Zhai] * c73cf10 2022-05-28 | Support mock_test infra for dynamic buffer manager and fix issues found during mock test (sonic-net#2234) [Stephen Sun] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
To included: * ad8f5e4 2022-06-08 | Revert "[Counters] Improve performance by polling only configured ports buffer queue/pg counters (#2143)" (#2315) (HEAD -> master, origin/master, origin/HEAD) [Ying Xie] * 2ff763f 2022-06-08 | Fix test_warm_reboot issues blocking PR merge (#2309) [Vaibhav Hemant Dixit] * 05d19ea 2022-06-02 | Purge package sonic-db-cli which depends on libswsscommon (#2308) [Qi Luo] * a0c3238 2022-06-03 | Add port counter sanity check (#2300) [Junhua Zhai] * 4944f0f 2022-06-03 | Revert "[portsorch]: Prevent LAG member configuration when port has active ACL binding (#2165)" (#2306) [bingwang-ms] * eba212d 2022-05-31 | [Counters] Improve performance by polling only configured ports buffer queue/pg counters (#2143) [shlomibitton] * 9999dae 2022-05-28 | [counter] Support gearbox counters (#2218) [Junhua Zhai] * c73cf10 2022-05-28 | Support mock_test infra for dynamic buffer manager and fix issues found during mock test (#2234) [Stephen Sun] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
…ges (sonic-net#2315)" This reverts commit 1467434.
…ing and eeprom changes Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)" This reverts commit 1467434.
…ts buffer queue/pg counters (sonic-net#2143)" (sonic-net#2315) This reverts commit eba212d.
What i did
Modified the front-end port to hardware port lane mapping, broadcom logical port to hardware port lane mapping for Dell S6000 ON.
Modified eeprom.py for S6000 ON. The lane mapping and eeprom.py currently have been based out of non ON S6000 variant, so if anyone uses sonic image on Dell S6000 ON variant will notice a difference in numbering between the front-panel and command line interface.
How I did
Modified port_map.ini to swap the hardware to interface name so that interface name maps to front panel numbering.
Modified td2-s6000-32x40G.config.bcm so that broadcom logical port to physical port numbering is in similar fashion
Modified eeprom.py to extract eeprom information in standard format rather than non ON S6000 format.
How to verify it
Test show lldp table output before and after the change. Below is the change in behavior. Also test by connecting multiple ports back to back, connect with a peer device, etc. Check if the port state changes are reflected correctly in 'show interface status'
Before the change:
root@sonic:~# show lldp table
Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort RemoteDevice RemotePortID Capability RemotePortDescr
Ethernet32 sonic fortyGigE0/100 BR Ethernet100
Ethernet84 sonic fortyGigE0/88 BR Ethernet88
Ethernet88 sonic fortyGigE0/84 BR Ethernet84
Ethernet100 sonic fortyGigE0/32 BR Ethernet32
Total entries displayed: 4
root@sonic:~#
After the change:
root@sonic:~# show lldp table
Capability codes: (R) Router, (B) Bridge, (O) Other
LocalPort RemoteDevice RemotePortID Capability RemotePortDescr
Ethernet36 sonic fortyGigE0/96 BR Ethernet96
Ethernet80 sonic fortyGigE0/92 BR Ethernet92
Ethernet92 sonic fortyGigE0/80 BR Ethernet80
Ethernet96 sonic fortyGigE0/36 BR Ethernet36
Total entries displayed: 4
For eeprom.py change test is done using show platform syseeprom
Before the change:
root@sonic:~# show platform syseeprom
TLV Name Len Value
Invalid TLV field starting at EEPROM offset 0
(checksum valid)
root@sonic:~#
After the change:
root@sonic:~# show platform syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 80
TLV Name Code Len Value
Product Name 0x21 8 S6000-ON
Base MAC Address 0x24 6 90:B1:1C:F4:9C:21
Vendor Name 0x2D 7 DELLEMC
Serial Number 0x23 7 6V71VS1
Platform Name 0x28 26 x86_64-dell_s6000_s1220-r0
ONIE Version 0x29 8 3.20.1.4
CRC-32 0xFE 4 0xDF2D2EFE
(checksum valid)
root@sonic:~#
For broadcom port mapping testing is done using bcmcmd "ps"