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

Dell S6000 ON related Port numbering and eeprom changes #2315

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

dgsudharsan
Copy link
Collaborator

@dgsudharsan dgsudharsan commented Nov 28, 2018

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"

@msftclas
Copy link

msftclas commented Nov 28, 2018

CLA assistant check
All CLA requirements met.

@nikos-github
Copy link
Collaborator

Does this mean that with these changes sonic has support for both variants? s6000 and s6000-on?

@dgsudharsan
Copy link
Collaborator Author

Does this mean that with these changes sonic has support for both variants? s6000 and s6000-on?

Hi,
No. Sonic will support only S6000-ON with this change. Previously sonic supported S6000 variant alone. However there was a mail in the google group requesting support for S6000-ON variant and hence this change was made.

@nikos-github
Copy link
Collaborator

nikos-github commented Nov 28, 2018

This should fix then #2275 and #2276 which we reported. Do you need to follow up with more changes for s6000-on support or is this PR enough? Thank you for addressing this so quickly btw.

@dgsudharsan
Copy link
Collaborator Author

This should fix then #2275 and #2276 which we reported. Do you need to follow up with more changes for s6000-on support or is this PR enough? Thank you for addressing this so quickly btw.

Hi,
Yes. This PR should address both the issue. I don't think any more changes required as of now for s6000-on

@lguohan lguohan merged commit 1467434 into sonic-net:master Nov 29, 2018
@dgsudharsan dgsudharsan deleted the dell_s6000_on_changes branch October 8, 2019 05:39
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jul 8, 2021
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jul 8, 2021
…ing and eeprom changes

Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)"

This reverts commit 1467434.
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jul 8, 2021
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
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 8, 2021
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 8, 2021
…ing and eeprom changes

Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)"

This reverts commit 1467434.
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 8, 2021
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
zjswhhh pushed a commit to tahmed-dev/sonic-buildimage that referenced this pull request Sep 28, 2021
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
yxieca pushed a commit that referenced this pull request Oct 15, 2021
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
yxieca pushed a commit to yxieca/sonic-buildimage that referenced this pull request Nov 10, 2021
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
yxieca pushed a commit that referenced this pull request Nov 11, 2021
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
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Jun 8, 2022
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>
yxieca added a commit that referenced this pull request Jun 9, 2022
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>
StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this pull request Jul 18, 2022
StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this pull request Jul 18, 2022
…ing and eeprom changes

Revert "[S6000]: Dell S6000 ON related Port numbering and eeprom changes (sonic-net#2315)"

This reverts commit 1467434.
vivekrnv pushed a commit to vivekrnv/sonic-buildimage that referenced this pull request Aug 26, 2022
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.

5 participants