Compare commits

...

220 Commits

Author SHA1 Message Date
Nazarii Hnydyn
085765a45d
[202311][Mellanox][MFT]: Update MFT to 4.27.0-83: bash login fix (#18462)
* Revert "[mellanox]: Disable MFT bash autocompletion. (#17543)"

This reverts commit 49e96c3daa.

* [mellanox][mft]: Update MFT to 4.27.0-83: bash login fix.

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>

---------

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
2024-03-25 09:29:33 -07:00
mssonicbld
5e9f1b05b8
[submodule] Update submodule sonic-gnmi to the latest HEAD automatically (#18258)
#### Why I did it
src/sonic-gnmi
```
* d59e436 - (HEAD -> 202311, origin/202311) Fix sonic string in osversion/build (#190) (3 weeks ago) [Zain Budhwani]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-23 19:01:28 +08:00
mssonicbld
e295afa3b3
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18449)
#### Why I did it
src/linkmgrd
```
* 7465431 - (HEAD -> 202311, origin/202311) draft (#231) (22 hours ago) [Liu Shilong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-23 19:01:17 +08:00
mssonicbld
5620d6c30b
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18451)
#### Why I did it
src/sonic-swss
```
* f1aad1f0 - (HEAD -> 202311, origin/202311) [acl] Add IN_PORTS qualifier for L3 table (#3078) (10 hours ago) [Neetha John]
* 3b953ae7 - [Mellanox] Fix inconsistence in the shared headroom pool initialization (#3057) (22 hours ago) [Stephen Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-23 19:01:06 +08:00
Zhijian Li
a9c5600be2 [E1031] Bugfix for Python syntax error in sonic_platform/common.py (#18386)
Why I did it
Bugfix for Python syntax error in sonic_platform/common.py.
A method of class need to have self as parameter.

Fixing below issue:

e1031:~$ show int st
Traceback (most recent call last):
  File "/usr/local/bin/intfutil", line 836, in <module>
    main()
  File "/usr/local/bin/intfutil", line 819, in main
    interface_stat.display_intf_status()
  File "/usr/local/bin/intfutil", line 448, in display_intf_status
    self.get_intf_status()
  File "/usr/local/lib/python3.9/dist-packages/utilities_common/multi_asic.py", line 157, in wrapped_run_on_all_asics
    func(self,  *args, **kwargs)
  File "/usr/local/bin/intfutil", line 529, in get_intf_status
    self.portchannel_speed_dict = po_speed_dict(self.po_int_dict, self.db)
  File "/usr/local/bin/intfutil", line 334, in po_speed_dict
    optics_type = port_optics_get(appl_db, value[0], PORT_OPTICS_TYPE)
  File "/usr/local/bin/intfutil", line 224, in port_optics_get
    if is_rj45_port(intf_name):
  File "/usr/local/lib/python3.9/dist-packages/utilities_common/platform_sfputil_helper.py", line 120, in is_rj45_port
    platform_chassis = sonic_platform.platform.Platform().get_chassis()
  File "/usr/local/lib/python3.9/dist-packages/sonic_platform/platform.py", line 21, in __init__
    self._chassis = Chassis()
  File "/usr/local/lib/python3.9/dist-packages/sonic_platform/chassis.py", line 37, in __init__
    self._is_host = self._api_common.is_host()
TypeError: is_host() takes 0 positional arguments but 1 was given
Work item tracking
Microsoft ADO (number only): 27208152
How I did it
Add self parameter to function Common::is_host().

How to verify it
Verified on E1031 DUT with this patch.
2024-03-23 07:01:13 +08:00
mssonicbld
aa74566df6
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18432)
#### Why I did it
src/linkmgrd
```
* 27aed40 - (HEAD -> 202311, origin/202311) [active-standby] reset mux probing backoff factor in link flaps (#245) (4 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-22 19:01:35 +08:00
mssonicbld
f767e4161a
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#18433)
#### Why I did it
src/sonic-linux-kernel
```
* 59e5ea1 - (HEAD -> 202311, origin/202311) Disable small sector erase size for UBIFS on flash (#382) (4 hours ago) [Mridul Bajpai]
* ed95e5d - [202311] Dynamic write timeout support for optoe driver (#371) (8 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-22 19:01:28 +08:00
mssonicbld
ffb5a5880c
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18435)
#### Why I did it
src/sonic-platform-daemons
```
* fa46abb - (HEAD -> 202311, origin/202311) [ycabled] Fix insert delete events for ycabled OIR by subscribing to TRANSCEIVER_INFO instead of TRANSCEIVER_STATUS table (#442) (4 hours ago) [vdahiya12]
* 8c15adb - Disable periodic polling of port in DomInfoUpdateTask thread during CMIS init (#449) (#451) (11 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-22 19:01:18 +08:00
mssonicbld
cbe50d4272
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18436)
#### Why I did it
src/sonic-swss
```
* 71e7b37c - (HEAD -> 202311, origin/202311) [202311][muxorch] Fixing cache bug in updateRoute logic and Fixing bug with multiple routes pointing to nhg (#3082) (11 hours ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-22 19:01:13 +08:00
mssonicbld
23fd6711aa
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18437)
#### Why I did it
src/sonic-utilities
```
* fb4a090d - (HEAD -> 202311, origin/202311) [config] Add Table hard dependency check (#3159) (4 hours ago) [jingwenxie]
* 86f3de58 - [ipintutil]Handle exception in show ip interfaces command (#3182) (4 hours ago) [Sudharsan Dhamal Gopalarathnam]
* 5bfc3b40 - [Techsupport]Handle SAI kv pair if present in sai common profile (#3196) (4 hours ago) [Sudharsan Dhamal Gopalarathnam]
* f4ef7681 - [fast/warm-reboot] Put ERR message in syslog when a failure is seen (#3186) (4 hours ago) [Vaibhav Hemant Dixit]
* db36df24 - [Bug] Fix fw_setenv illegel character issue (#3201) (4 hours ago) [xumia]
* a58b78c8 - [config] Add YANG alerting for override (#3188) (4 hours ago) [jingwenxie]
* 943a6846 - Update port2alias (#3217) (4 hours ago) [abdosi]
* 3236fbf4 - [show] Update show run all to cover all asic config in multiasic (#3148) (#3224) (5 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-22 19:01:08 +08:00
Ze Gan
544dcfbd3d [sonic-dash-api]: Fix wrong path in sonic-dash-api.dep (#18206)
In some local buildings, an error /bin/bash: line 0: cd: src/sonic-dash-api/sonic-dash-api: No such file or directory will be raised due to the directory structure of sonic-dash-api has been changed.

Signed-off-by: Ze Gan <ganze718@gmail.com>
2024-03-22 07:01:24 +08:00
Stephen Sun
f6380a3a6e Support dot in the additional information of the PFC watchdog event in the yang model (#18235)
### Why I did it

Support dot (`.`) in the `additional_info` field in the PFC watchdog event in the yang model.

The `additional_info` field was introduced to represent diagnosis information when a PFC storm is detected, which can include fragments.

Signed-off-by: Stephen Sun <stephens@nvidia.com>

### How I did it

#### How to verify it

Unit test.
2024-03-22 07:01:17 +08:00
Sudharsan Dhamal Gopalarathnam
8deb493673 [Mellanox]Adding dependency of libnl-route-3 for Mellanox SAI library (#18197)
- Why I did it
Adding explicit dependency of libnl-route-3 for Mellanox SAI library. This is required for the latest SAI library.

- How I did it
Modifying Make files

- How to verify it
Building with the changes.
2024-03-22 07:01:10 +08:00
Aaron Payment
35715ae0b1 [gbsyncd]: Set SYSLOG_CONFIG_FEATURE for gbsyncd (#17325)
Why I did it
SONiC Mgmt test syslog/test_syslog_rate_limit.py syslog.test_syslog_rate_limit test_syslog_rate_limit was failing on SKUs with gbsyncd. This includes Arista 720DT when testing on the 202305 branch.

How I did it
The issue was no value for gbsyncd in "show syslog rate-limit-container",
because gbsyncd is not having a SYSLOG_CONFIG_FEAGTURE|gbsyncd entry in
config_db, which is further because gbsyncd feature is for not enabled
through init_cfg.json.j2.

How to verify it
Test is now passing on 720DT in 202305 branch.

Co-authored-by: Boyang Yu <byu@arista.com>
2024-03-22 07:01:04 +08:00
snider-nokia
d7298c5a1e [Nokia][sonic-platform] Update Nokia sonic-platform submodule - ungraceful reboot hooks to induce NIF port shutdown (#18014)
These changes provide for the automatic shutdown of NIF ports on LC when an ungraceful reboot scenario occurs. Reboot and panic notifier hooks are now registered so that callback occurs from the kernel and NIF ports are subsequently shut down.

Why I did it
To facilitate the timely movement of traffic away from a crashed LC when its peers recognize that the associated links have gone down.

How I did it
Linux kernel reboot and panic notifier hooks are used to register a callback routine that, when invoked, stuffs all present transceiver modules into reset.

How to verify it
Cause an ungraceful reboot (whether via /usr/sbin/reboot or by causing a kernel panic) and verify that all LC native NIF links are brought down at reboot/panic time (on the way down). It may be necessary to monitor the LC link peer(s) in order to verify in real-time.
2024-03-22 07:00:57 +08:00
mihirpat1
4807c9422f
[YANG]: Add Yang model support for adding dom_polling to PORT table (#18277) (#18344)
Added YANG related changes for adding `dom_polling` field in PORT table of CONFIG_DB. This field can be set with `config interface transceiver dom PORT_NAME (enable|disable)` CLI.

The `dom_polling` field was added through https://github.com/sonic-net/sonic-utilities/pull/3187. Please refer to this PR for the details on the reason for adding `dom_polling` field.

Added `dom_polling` field to CONFIG_DB PORT table.

Added unit tests for both valid and invalid options for controlling `dom_polling`.
Valid values for for `dom_polling` are `enabled` and `disabled`
Any other value is treated as an invalid value
2024-03-21 11:50:25 -07:00
Tomer Shalvi
34c95327f5 [Mellanox] Adding a new field to CONFIG DB: "subport" (#18204)
- Why I did it
The field 'subport' represents the index of the split port within a physical port. For example, if a port is split into 4, the subport of the first logical port is 1, the subport of the second logical port is 2, and so on.
In xcvrd, the CMIS manager uses the subport to calculate the lane mask, which is used to control the data path per lane. In Nvidia platform, the subport is missing and is always set to 0. According to the xcvrd code, when subport=0, it will always correspond to the first logical port. Therefore, if we shut down any logical port that is not the first one, we will see the operational status of the first logical port also becomes down.
This PR aims to add the subport field to CONFIG DB and prevent such scenarios. This is applicable only for static default breakout mode. For DPB, subport calculation will happen on the fly (changes are not in Sonic yet).
(Subport HLD: HLD of subport: [link to the HLD document])

- How I did it
I have added the 'subport' field to all relevant Nvidia hwsku.json files (minigraph generation is based on them). Additionally, I introduced the new 'subport' field to portconfig.py, so that sonic-cfggen will be able to generate the minigraph with it. In this file, I also fixed an error that caused all attributes from hwsku.json to be applied only to the first logical ports associated with a physical port.
Furthermore, I updated hwsku_json_checker to include the new field and applied a fix to the sample_hwsku.json file. sample_hwsku.json is the file that sonic-config-engine's unit tests rely on for its tests. Previously, it only included attributes for the first logical port of a split physical port. For example, if Ethernet4, a 4-lane port, was split into 2 ports, then sample_hwsku.json included only the entry for Ethernet4, with no entry for Ethernet6. This misalignment with the structure of other hwsku.json files has been corrected as well.

- How to verify it
Ensure that each logical port has the correct value of 'subport' in CONFIG DB, and that shutting down a logical port affects only that port and not other ports in the split.
2024-03-21 13:01:13 +08:00
dbarashinvd
ac35a0fafb add unit tests for CMIS host management feature (#18211)
* add unit tests for CMIS host management feature
2024-03-21 07:00:43 +08:00
Andriy Yurkiv
8e0ce727a1 [Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0 (#18293)
* [Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>

* [Mellanox] Support DSCP remapping in Dual-ToR topo for SN4700-O8V48, update buffers for t0 (fixes after recalculation)

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>

---------

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
2024-03-20 13:01:06 +08:00
Saikrishna Arcot
a65fc61e86 Fix debug package variables for syncd (#18319)
* Fix debug package variables for syncd

PR #16072 renamed the debug package variables from `*_DBG` to
`*_DBGSYM`, since the package names had changed. However, the references
weren't updated. Since all the other debug packages (including ones that
are named `*-dbgsym`) use `*_DBG`, just use that here as well.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

* Update sairedis.mk as well

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

---------

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2024-03-20 07:01:08 +08:00
mssonicbld
b030f3efcf
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18378)
#### Why I did it
src/sonic-platform-daemons
```
* 395d8d7 - (HEAD -> 202311, origin/202311) Enable periodic polling of TRANSCEIVER_FIRMWARE_INFO table in DomInfoUpdateTask (#443) (22 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-16 19:00:51 +08:00
mssonicbld
dfcb9abfb0
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#18313)
#### Why I did it
src/sonic-linux-kernel
```
* a037503 - (HEAD -> 202311, origin/202311) arm64: dts: marvell: Add DTS for 7215-IXS-A1 board (#379) (6 days ago) [Pavan-Nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-15 19:01:39 +08:00
mssonicbld
bd8730a06b
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18332)
#### Why I did it
src/sonic-utilities
```
* c68f4b16 - (HEAD -> 202311, origin/202311) Skip the validation of action in acl-loader if capability table in STATE_DB is empty (#3199) (3 days ago) [bingwang-ms]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-15 19:01:33 +08:00
mssonicbld
cbba534fa7
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18355)
#### Why I did it
src/sonic-platform-daemons
```
* ba250d8 - (HEAD -> 202311, origin/202311) Combine psu presence/status update with data update (#424) (2 days ago) [Yuanzhe]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-15 19:01:26 +08:00
mssonicbld
3974f69d80
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18367)
#### Why I did it
src/sonic-swss
```
* dd4810b1 - (HEAD -> 202311, origin/202311) Set HOST_TX_READY_NOTIFY attribute only after query capabilities(#3070) (2 days ago) [noaOrMlnx]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-15 19:01:21 +08:00
Pavan-Nokia
483f1f4cf4 [armhf][Nokia-7215]Update HWSKU files for new SAI (#18294) 2024-03-15 13:01:39 +08:00
bingwang-ms
7f64e872b4 Fix yang model for ICMP and ICMPV6 (#18311)
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
2024-03-15 13:01:33 +08:00
Stepan Blyshchak
31d52aa48b [systemd-sonic-generator] Fix handling service files with additional fields under [Install] section (#17764)
If encountered a line without RequiredBy or WantedBy the code passes uninitialized pointer to get_install_targets_from_line(). Where it can fail with segfault or silently pass randomly.

- Why I did it
Uninitialized target_suffix is passed to get_install_targets_from_line() when other fields are present in [Install] section, like this:

root@sonic:/home/admin# systemctl cat ntpsec
...
[Install]
Alias=ntp.service
Alias=ntpd.service
WantedBy=multi-user.target

- How I did it
Initialize target_suffix with NULL, put an assert in get_install_targets_from_line(). Edited test to cover this scenario.

- How to verify it
UT and on the switch.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2024-03-15 13:01:24 +08:00
Zhijian Li
f46a2dba14 Update minigraph testcases (#18321) 2024-03-15 13:01:17 +08:00
amulyan7
5b91eeb07e Set loglevel for crash kernel to reduce verbosity and improve overall router recovery time (#18285)
Why I did it
On certain routers with baud rate 9600, crash kernel is taking a long time , close to ~5mins, to complete kernel dump and reload the box. On contrast to routers with baud rate 115200, crash kernel dump process is observed to be completed under 35s-60s (depending on the platform). Currently, all debug and informational messages are printed on the console which also factors in for the delay seen. Unless the router is monitored on console in real time, these messages are not very useful. Setting the loglevel to warning will help reduce the verbosity of logs on console, in turn allow crash kernel dump process to be completed in a reasonable time which will also help in overall router recovery time.

How I did it
Setting loglevel attribute in crashkernel cmdline

How to verify it
Install SONiC image with crashkernel cmdline with loglevel set to warning and initiate an induced a crash (sysrq-trigger)
crashkernel boot and dump process will be completed in 20s-30s depending on the platform
2024-03-15 13:01:10 +08:00
xumia
abc3536e7a [Build] Fix the pygobject installation issue (#18318)
Why I did it
Fix the build broken issue:

Processing /sonic_host_services-1.0-py3-none-any.whl
Requirement already satisfied: dbus-python in /usr/lib/python3/dist-packages (from sonic-host-services==1.0) (1.2.16)
Requirement already satisfied: systemd-python in /usr/local/lib/python3.9/dist-packages (from sonic-host-services==1.0) (235)
Requirement already satisfied: Jinja2>=2.10 in /usr/local/lib/python3.9/dist-packages (from sonic-host-services==1.0) (3.1.2)
Collecting PyGObject (from sonic-host-services==1.0)
  Downloading pygobject-3.48.0.tar.gz (714 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 714.2/714.2 kB 13.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
Work item tracking
Microsoft ADO (number only): 27124786
How I did it
Install the pygobject before installing the sonic_host_services.
If installing during the .,whl, it will try to install the latest version (3.48.0), then it will have an issue. Prefer to use the version 3.46.0, see

sonic-buildimage/files/build/versions/host-image/versions-py3

Line 55 in a6437d8

 pygobject==3.46.0 

It will not add a new package, only install the depended packages firstly.
2024-03-15 07:00:53 +08:00
Rajkumar-Marvell
4ae9a3d1e1
[Marvell] Update armhf sai debian (#18282)
Signed-off-by: Rajkumar P R <rpennadamram@marvell.com>
2024-03-11 09:01:22 -07:00
Pavan-Nokia
fe1e96dafe
[Nokia-7215-A1][arm64]Update platform init files (#18267) 2024-03-10 21:45:06 -07:00
mssonicbld
12c662ab32
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18314)
#### Why I did it
src/sonic-utilities
```
* 9d5dacab - (HEAD -> 202311, origin/202311) CLI to skip polling for periodic information for a port in DomInfoUpdateTask thread (#3187) (4 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-10 01:01:01 +08:00
lixiaoyuner
6993a384ad
[Build] Install k8s packages from sonic build storage to mitigate k8s source deprecation issue (#18280) (#18304)
Why I did it
pkgs.k8s.io: Introducing Kubernetes Community-Owned Package Repositories | Kubernetes

For 1.22.2 k8s packages, source repo has been deprecated, going to store these packages in sonic build storage for installation to mitigate the issue. Will migrate to new repo when we are ready to upgrade k8s version.

Work item tracking
Microsoft ADO (number only): 27075924
How I did it
Store the 1.22.2 k8s package in sonic build storage and install the package there.

How to verify it
"apt list" to check if it's installed.
2024-03-08 10:02:06 -08:00
Xichen96
e00d060834 replace host check command in e1031 (#18279) 2024-03-08 07:01:13 +08:00
James An
25b24485e9
Update cisco-8000.ini (#18271) 2024-03-06 17:42:26 -08:00
mssonicbld
28b12a7013
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18274)
#### Why I did it
src/sonic-swss
```
* dd1432a2 - (HEAD -> 202311, origin/202311) [ci] Allow partially success build artifact in PR checker pipeline. #2986 (10 hours ago) [Liu Shilong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-06 19:00:56 +08:00
Pavan-Nokia
a93a8f84a1 [Nokia-7215-A1]Update Nokia-7215-A1 Platform (#18147)
1) Update Nokia-7215-A1 platform to address UT and OC test failures
2) Enable watchdog service
3) EZB files for SAI upgrade
2024-03-06 13:01:14 +08:00
noaOrMlnx
86613b8dcc [Mellanox] Fix timing issue in lpmode change (#18223)
- Why I did it
Changing LPMODE timing is different between cables.
We want to add functionality to make sure LPMODE has changed.
For that, the wait_until utility is used and every 1 second (until timeout), it will check with lower-layers what is the current Lpmode.
Once it is the expected mode, set_lpmode() functino will return True.
If after seconds, Lpmode is still not in the expected mode, set_lpmode() function will return False.

- How I did it
Add use of wait_until function to make sure lpmode was changed.

- How to verify it
sfputil lpmode on
sfputil lpmode off
2024-03-06 07:00:47 +08:00
mssonicbld
1867d24b38
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18255)
#### Why I did it
src/linkmgrd
```
* 1f5fcfd - (HEAD -> 202311, origin/202311) Exclude DbInterface in PR coverage check (#224) (21 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:48 +08:00
mssonicbld
e13e38b853
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18261)
#### Why I did it
src/sonic-platform-daemons
```
* 83e5106 - (HEAD -> 202311, origin/202311) Updated supported CMIS module types in xcvrd to include new module for SPC4 (#440) (4 hours ago) [Tomer Shalvi]
* f390d8d - Mark sub-port interfaces as invalid ports in xcvrd (#412) (21 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:20 +08:00
mssonicbld
a162676487
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18264)
#### Why I did it
src/sonic-swss
```
* c4fd095e - (HEAD -> 202311, origin/202311) Fix multi VLAN neighbor learning (#3049) (#3064) (65 minutes ago) [Lawrence Lee]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-05 19:01:09 +08:00
Kebo Liu
865d2ba44b [Mellanox] Extend the time to wait for EEPROM VPD file creation (#18146)
- Why I did it
The creation of system EEPROM VPD file "/var/run/hw-management/eeprom/vpd_info" is triggered by the udev event during the system boot up, in case the CPU is busy during the bootup, the udev event handling can be delayed, and need to wait for some more time for the file creation.

- How I did it
Extend the waiting time from 10s to 20s to overcome some extreme case.

- How to verify it
continuously run reboot case and verify whether still can see error msg "ERR decode-syseeprom: Nowhere to read syseeprom from! No symlink found"

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2024-03-05 07:00:49 +08:00
Kebo Liu
7d44c6b00b
[build] Update debootstrap version from deb11u1 to deb11u2 (#18185) (#18236)
Why I did it
deb11u1 is deprecated.
Use deb11u2 instead.
Other branches are not impacted, because their reproducible build version files are up to date.

Work item tracking
Microsoft ADO (number only): 26964185
How I did it
How to verify it

Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2024-03-04 10:12:32 -08:00
Liu Shilong
742d85b634 [build] Use public storage for public resources. (#18038) 2024-03-05 01:07:22 +08:00
mssonicbld
8be727bcb1
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18215)
#### Why I did it
src/sonic-platform-common
```
* 4dfc01f - (HEAD -> 202311, origin/202311) Certain VDM fields not populating after encountering KeyError on 400ZR optics (#442) (28 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:47 +08:00
mssonicbld
bb61ef5bac
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18217)
#### Why I did it
src/sonic-swss
```
* 64d5fdd9 - (HEAD -> 202311, origin/202311) [intfsorch] Enable ipv6 proxy ndp along with proxy arp (#3045) (2 days ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:36 +08:00
mssonicbld
dabf4bc06c
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18219)
#### Why I did it
src/sonic-utilities
```
* b2bea12c - (HEAD -> 202311, origin/202311) CLI enhancements to revtrieve data from TRANSCEIVER_FIRMWARE_INFO table (#3177) (4 hours ago) [mihirpat1]
* 02ae33f3 - Modify transceiver PM CLI to handle N/A value for DOM threshold (#3174) (28 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-03-01 19:01:25 +08:00
skumar041
fced303ac7
[Marvell] Update arm64 sai debian to 1.13.0-1 (#18073)
Signed-off-by: sandeep kumar <skumar4@marvell.com>
2024-02-29 14:19:50 -08:00
noaOrMlnx
b10abaf435 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074)
* Update Nvidia sai.profile SKU files to have common file

* Remove SAI_DUMP_MFT_CFG_PATH from sai-common.profile as it is not in use
2024-02-29 13:01:28 +08:00
mssonicbld
55da4fa52c
[Nokia-7215-T1] Disable sysrq-trigger from platform init (#18161) (#18210)
Co-authored-by: Pavan-Nokia <120486223+Pavan-Nokia@users.noreply.github.com>
2024-02-28 11:00:03 -08:00
mssonicbld
bc1bc0f019
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18195)
#### Why I did it
src/sonic-sairedis
```
* edb2b17 - (HEAD -> 202311, origin/202311) Add new functionality to syncd_init_common.sh, to use common sai.profile (#1352) (22 hours ago) [noaOrMlnx]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-28 19:01:08 +08:00
Nikola Dancejic
2a5b1c7cd1 [ebtables] Add multicast drop rule to ebtables (#18064)
Adding rule to ebtables to drop multicast packets in kernel. This was
done to address a bug where NS packets were flooding ports with
duplicate packets.

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
2024-02-28 13:01:18 +08:00
zitingguo-ms
e220fe7f94
upgrade xgs SAI version to 10.1.7.0 (#18163)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2024-02-23 11:09:24 -08:00
mssonicbld
d658e7847d
[ci/build]: Upgrade SONiC package versions (#18142) 2024-02-21 10:46:28 -08:00
mssonicbld
ab117b655e
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18141)
src/sonic-swss

* d322f660 - (HEAD -> 202311, origin/202311) Fix memory leak and object copying bugs in orchagent (#3017) (4 hours ago) [Saikrishna Arcot]
2024-02-21 10:46:04 -08:00
mssonicbld
1a01724845
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18140)
src/sonic-sairedis

* 5c05e23 - (HEAD -> 202311, origin/202311) [SAI] Move SAI submodule to v1.13.3 (#1349) (2 hours ago) [Kamil Cudnik]
2024-02-21 10:45:29 -08:00
Dror Prital
941b541baa
[Build] Fix krb5 package not found issue (#18135) 2024-02-20 08:54:53 -08:00
bktsim
f19fae59e7 [Arista] Remove aggregate port config files for multi-asic devices (#16923)
An aggregate port_config.ini file for Arista multi-asic devices was first introduced by mistake. This PR cleans up these unnecessary files.
2024-02-19 16:33:31 +08:00
Oleksandr Ivantsiv
ab5f9209b5 [dhcp-server] Change the kea-dhcp4 PID file directory to tmpfs. (#17974) 2024-02-19 16:33:27 +08:00
Kebo Liu
20ba1e2406 [Mellanox] Remove SFP sensors from sensors.conf (#17631)
- Why I did it
The cable thermal sensors will be deprecated from the kernel driver. When cable host management is enabled, NOS will fetch the cable temperature from cable EEPROM, kernel driver will not provide the sysfs anymore.

- How I did it
Remove the relevant sensor form the conf files

- How to verify it
Run sonic mgmt sensor test

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2024-02-19 16:33:23 +08:00
mssonicbld
4383c7ff8b
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18126)
#### Why I did it
src/sonic-platform-common
```
* 5430f6f - (HEAD -> 202311, origin/202311) Change get_transceiver_info_firmware_versions return type to dict (#440) (2 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-19 16:33:07 +08:00
mssonicbld
5ec5da734d
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18128)
#### Why I did it
src/sonic-utilities
```
* c711b061 - (HEAD -> 202311, origin/202311) [Mellanox buffer migrator] Do not touch the buffer model on generic SKUs if the buffer configuration is empty (#3114) (2 days ago) [Stephen Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-19 16:33:04 +08:00
Zain Budhwani
76ef12ec73 [eventd] Fix eventd UT flakiness (#17055)
### Why I did it

Fix flakiness of eventd UT - run sub after capture service starts

##### Work item tracking
- Microsoft ADO **(number only)**:25650744

#### How I did it

Run sub socket after capture socket is initialized

#### How to verify it

Pipeline
2024-02-19 14:33:32 +08:00
Arvindsrinivasan Lakshmi Narasimhan
6d422d23ec [nokia][chassis][voq] update the sai_post_init soc file with interrupt ids (#18066)
Update/Add the sai_postinit_cmd.soc with the interrupt-ids

Microsoft ADO 26730061:

How to verify it
Verify on the Chassis LCs
2024-02-19 14:33:28 +08:00
abdosi
b9fbfcfa5c [chassis] update service_checker module to handle database-chassis service (#17836)
* Update service_checker.py

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2024-02-19 14:33:24 +08:00
mssonicbld
317c1ad479
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18127)
#### Why I did it
src/sonic-platform-daemons
```
* 7792838 - (HEAD -> 202311, origin/202311) Move firmware version fields to TRANSCEIVER_FIRMWARE_INFO table (#435) (22 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-18 20:41:51 +08:00
Liu Shilong
bacd215779 [ci] Enable cache for marvell-arm64 build in PR checks. (#15449)
Why I did it
Enable build cache for marvell-arm64 build to decrease PR check duration.

Work item tracking
Microsoft ADO (number only): 26340500
How I did it
How to verify it
2024-02-17 12:34:39 +08:00
Yevhen Fastiuk
491cf9a3f8 [Mellanox] Fix uninitialized variable on module plug event (#17011)
- Why I did it
To fix uninitialized variable

- How I did it
Add initial value

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
2024-02-17 12:34:35 +08:00
dbarashinvd
b967cf0b99 [Mellanox] fix sysfs reading that gets garbage end of line using strip (#17830)
- Why I did it
when reading sysfs fd upon python poller events, there's end of line garbage like "# 012" (without space between the 2 parts) trailing the real value of 1 or 0

- How I did it
using python strip() to remove end of line

- How to verify it
run the CMIS host management feature on a switch
wait few minutes until switch completes boot up sequence including CMIS host manager
then disconnect or reconnect a port to create a poller event
2024-02-17 12:34:31 +08:00
mssonicbld
e54c5b4b98
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18103)
#### Why I did it
src/sonic-platform-daemons
```
* 121b338 - (HEAD -> 202311, origin/202311) Unable to retrieve media settings with just Vendor name (#419) (10 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-16 16:33:06 +08:00
dbarashinvd
dcc5a162ec [Mellanox] fix code for warm reboot to work with FW controlled ports (#18065)
- Why I did it
Fix the code to work also after warm reboot to work with FW controlled ports.
In warm reboot the control state sysfs of each port does not change unlike reboot or fast boot.

- How I did it
1. Check procfs cmdline if warm reboot done this is due to the fact pmon don't recognize warm reboot when it's taking place since pmon is loaded after warm reboot is finished.
2. If warm reboot done, check in static detection part for each port if it's FW controlled. If so, leave it this way and stop the state machine flow (set it to final state).

- How to verify it
1. Boot a switch with CMIS host management with at least one FW controlled port (non active cables or non cmis cables) then run warm reboot.
2. Verify no errors of sysfs reading appears for control sysfs
2024-02-16 09:29:06 +08:00
mssonicbld
71014b28e7
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18075)
#### Why I did it
src/sonic-swss
```
* 2910b0e3 - (HEAD -> 202311, origin/202311) Fix the Orchagent crash seen during Port channel OC test cases. (#3042) (7 days ago) [saksarav-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:13 +08:00
mssonicbld
8cd9463de0
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18081)
#### Why I did it
src/sonic-utilities
```
* b2125761 - (HEAD -> 202311, origin/202311) [chassis] fix show bgp summary when no neighbors are present on one ASIC (#3158) (2 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* 54595c1e - [202311]Fix the sfputil treats page number as decimal instead of hexadecimal (#3153) (#3160) (5 days ago) [Sudharsan Dhamal Gopalarathnam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:04 +08:00
mssonicbld
fb3f683282
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#18083)
#### Why I did it
src/sonic-sairedis
```
* 23481f0 - (HEAD -> 202311, origin/202311) Skip FABRIC PORT Attributes from sairedis logging (#1339) (2 days ago) [saksarav-nokia]
* 682e860 - Revert "add if statement for module control mode support" (#1341) (4 days ago) [dbarashinvd]
* 3621a18 - SAI submodule update to pick the sai-thrift support added to read VOQ counters (#1332) (4 days ago) [saksarav-nokia]
* 52cd15b - Fix code coverage and ASAN not being enabled (#1338) (5 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-15 16:33:00 +08:00
snider-nokia
a7daae67e3 [Nokia-IXR7250E][Devicedata] Update the device data for Nokia IXR7250E platform (thermal logging thresholds) (#18063)
These changes adjust Nokia IXR7250 thermal sensor logging thresholds.

Why I did it
To modify the thermal sensor logging thresholds used on LC and Supervisor.

How I did it
Modified the JSON based thermal logging thresholds used to determine when to log current high sensor temperature and hottest sensor margin fluctuations.

How to verify it
Verify that syslog messages indicating current (high) temperature and margin values are only logged when these respective values fluctuate by at least 5 degrees.
2024-02-15 14:33:43 +08:00
Hua Liu
f4b1eb0a5b
Fix IPV6 forced-mgmt-route not work issue (#17299) (#18045)
Fix IPV6 forced-mgmt-route not work issue

Why I did it
IPV6 forced-mgmt-route not work

When add a IPV6 route, should use 'ip -6 rule add pref 32764 address' command, but currently in the template the '-6' parameter are missing, so the IPV6 route been add to IPV4 route table.

Also this PR depends on #17281 , which will fix the IPV6 'default' route table missing in IPV6 route lookup issue. 

Microsoft ADO (number only):24719238
2024-02-07 06:50:57 -08:00
mssonicbld
d8149a1435
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18059)
#### Why I did it
src/sonic-utilities
```
* 31a6584c - (HEAD -> 202311, origin/202311) Fix `sudo config load_mgmt_config` fails with error "File /var/run/dhclient.eth0.pid does not exist" (#3149) (16 hours ago) [Mai Bui]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-07 18:32:27 +08:00
mssonicbld
a7af5b4a11
fix the compile issue for slim image (#18015) (#18057)
Why I did it
The PR introduced a bug for slim image build, #17905, by which the sonic_asic_platform is missing when build docker image for slim image.

[ building ] [ target/docker-dhcp-relay.gz ]
/sonic/dockers/docker-dhcp-relay/cli-plugin-tests /sonic
/sonic
Traceback (most recent call last):
  File "/usr/local/bin/j2", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 202, in main
    output = render_command(
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 186, in render_command
    result = renderer.render(args.template, context)
  File "/usr/local/lib/python3.9/dist-packages/j2cli/cli.py", line 85, in render
    return self._env \
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/sonic/dockers/docker-dhcp-relay/Dockerfile.j2", line 48, in top-level template code
    {% if build_reduce_image_size != "y" or sonic_asic_platform != "broadcom" %}
jinja2.exceptions.UndefinedError: 'sonic_asic_platform' is undefined
make: *** [slave.mk:1072: target/docker-dhcp-relay.gz] Error 1
make: *** Waiting for unfinished jobs....
[ finished ] [ target/docker-swss-layer-bullseye.gz ]
[ finished ] [ target/docker-syncd-brcm-dnx.gz ]
make[1]: *** [Makefile.work:608: target/sonic-broadcom.bin] Error 2
make[1]: Leaving directory '/data/work/1/s'
make: *** [Makefile:41: target/sonic-broadcom.bin] Error 2
And why it slipped the PR test? PR test doesn't compile with slim option, it won't check sonic_asic_platform != "broadcom" for PR build.

Work item tracking
Microsoft ADO (number only):
How I did it
Export sonic_asic_platform for docker build in slave.mk

How to verify it
build with slim image option.

Co-authored-by: StormLiangMS <89824293+StormLiangMS@users.noreply.github.com>
2024-02-06 23:58:46 -08:00
zitingguo-ms
05ae1fa285
upgrade xgs SAI version to 10.1.6.0 (#18055)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2024-02-06 23:11:58 -08:00
Volodymyr Samotiy
e13ef9d9b2
[202311] [Mellanox] Disable SSD NCQ on Mellanox platforms (#18040)
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2024-02-06 16:31:50 -08:00
Yaqiang Zhu
0611bdfb39
[202311][dhcp_server][yang] Update supported option type to string (#18029) (#18043) 2024-02-06 16:31:19 -08:00
Ye Jianquan
5352135776
[202311, PR] deprecate DPU (#18035) 2024-02-05 10:07:20 -08:00
mssonicbld
627d9cb3bb
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#18016)
#### Why I did it
src/linkmgrd
```
* 70b6d15 - (HEAD -> 202311, origin/202311) [active-standby] Fix `show mux status` inconsistency introduced by orchagent rollback  (#225) (3 days ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:33:00 +08:00
mssonicbld
0155096300
[submodule] Update submodule sonic-host-services to the latest HEAD automatically (#18018)
#### Why I did it
src/sonic-host-services
```
* 054aa7a - (HEAD -> 202311, origin/202311) Fixed ip6table internal_docker_ip_traffic rule command for multi-asic (#94) (3 days ago) [anamehra]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:57 +08:00
mssonicbld
36ba782dfa
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18020)
#### Why I did it
src/sonic-platform-common
```
* 9bf5a17 - (HEAD -> 202311, origin/202311) Implementing set_optoe_write_timeout API (#422) (3 days ago) [mihirpat1]
* c8617b8 - APIs to help in finding NPU SI settings (#410) (3 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:50 +08:00
mssonicbld
dae74cc7de
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#18022)
#### Why I did it
src/sonic-platform-daemons
```
* dbaa079 - (HEAD -> 202311, origin/202311) Support 800G ifname in xcvrd (#416) (2 days ago) [Anoop Kamath]
* e4272c1 - 400ZR not linking up with latest SONiC master image (#410) (3 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:47 +08:00
mssonicbld
ae59ff2ef7
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#18023)
#### Why I did it
src/sonic-snmpagent
```
* 5d5cfe5 - (HEAD -> 202311, origin/202311) Set the execute bit on sysDescr_pass.py (#306) (3 days ago) [Andre Kostur]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:43 +08:00
mssonicbld
de6ad3fd71
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#18024)
#### Why I did it
src/sonic-swss
```
* 55d53b79 - (HEAD -> 202311, origin/202311) [copporch] Add safeguard during policer attribute update (#2977) (3 days ago) [Vivek]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:40 +08:00
mssonicbld
59c378da10
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18025)
#### Why I did it
src/sonic-utilities
```
* 2046e66c - (HEAD -> 202311, origin/202311) Reduce generate_dump mem usage for cores (#3052) (3 days ago) [davidm-arista]
* fbd6c916 - Disable Key Validation feature during sonic-installation for Cisco Platforms (#3115) (3 days ago) [selvipal]
* 88c027f0 - [Techsupport]Adding more FRR and BGP dumps (#3118) (3 days ago) [Sudharsan Dhamal Gopalarathnam]
* 555ecf64 - [chassis]: Support show ip bgp summary to display without error when no external neighbors are configured on chassis LC (#3099) (3 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* 1515edcb - [db_migrator]Remove route migration (#3068) (3 days ago) [Sudharsan Dhamal Gopalarathnam]
* 8862c114 - Modify teamd retry count script to base BGP status on default BGP status (#3069) (3 days ago) [Saikrishna Arcot]
* f4b5ef21 - Add all SKUs to the generic config update list (#3131) (3 days ago) [Stephen Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-05 16:32:37 +08:00
mssonicbld
0aa67d4670
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#18011)
#### Why I did it
src/sonic-utilities
```
* be6224a3 - (HEAD -> 202311, origin/202311) [202311] Migrate GNMI table (#3138) (10 hours ago) [ganglv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-03 10:32:41 +08:00
Liping Xu
36028893a3 handle json load exception in bgpmon (#17856)
Why I did it
ICM reported due to "BGPMon Process exited" which was caused by json load exception.

Work item tracking
Microsoft ADO (number only):
25916773
How I did it
Add an exception handle during json load.

How to verify it
Verified locally, add debug log to modify the output string of cmd to make it not with json formation, then check the syslog.
2024-02-03 09:27:18 +08:00
Ze Gan
2b08a783f6 [Azp]: Add dash-api dependencies on building Azp ubuntu20.04 (#17507)
Signed-off-by: Ze Gan <ganze718@gmail.com>
2024-02-03 04:32:21 +08:00
xumia
66b469249e [Security] Fix the krb5 vulnerability issue (#17914)
### Why I did it
Fix the krb5 vulnerable issue
CVE-2021-36222  allows remote attackers to cause a NULL pointer dereference and daemon crash
CVE-2021-37750  NULL pointer dereference in kdc/do_tgs_req.c via a FAST inner body that lacks a server field
DSA 5286-1  remote code execution

##### Work item tracking
- Microsoft ADO **(number only)**: 26577929

#### How I did it
Upgrade the krb5 version to 1.18.3-6+deb11u14+fips.
2024-02-03 04:32:18 +08:00
Yaqiang Zhu
f97b53322f [dhcp_server] Add field not exist checks in dhcp_cfggen (#17645)
* [dhcp_server] Add field not exist checks in dhcp_cfggen
2024-02-03 02:32:40 +08:00
kellyyeh
a110e625a2 Only add to DHCP_RELAY if dhcpv6 servers exist (#17770) 2024-02-03 02:32:36 +08:00
mssonicbld
5cd18eeda7
[ci/build]: Upgrade SONiC package versions (#17956) 2024-02-02 08:15:51 -08:00
Stepan Blyshchak
1672ce81fc [config-topology] use cached variables (#17343)
- Why I did it
Improve  boot performance mostly needed for fast and warmboot

- How I did it
Use cached variable.

- How to verify it
Boot the system. Simply do "systemd-analyze blame" and look at service start time.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2024-02-02 18:32:29 +08:00
Ze Gan
9f1bebbdba [ci]: Enable daily building for ubuntu20.04 to every branch (#17520)
- The ubuntu 2004 is needed by 202311
- Because the artifacts of ubuntu2004 are used by other repos, a daily building is needed without an updating of this repo for a long time.

Signed-off-by: Ze Gan <ganze718@gmail.com>
2024-02-02 18:32:19 +08:00
Hua Liu
009b0dd7ec Change orchagent stuck message from ERR to WARNING (#17872)
Change orchagent stuck message from ERR to WARNING

#### Why I did it
During switch initialization, sometime Orchagent will busy for more than 40seconds and will trigger process stuck workdog error.
To improve this issue, change watchdog error message to warning message.

##### Work item tracking
- Microsoft ADO: 26517622

#### How I did it
Change orchagent stuck message from ERR to WARNING.

#### How to verify it
Pass all UT.

### Description for the changelog
Change orchagent stuck message from ERR to WARNING.
2024-02-02 18:32:16 +08:00
mssonicbld
a467ff71a2
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#18008)
#### Why I did it
src/sonic-platform-common
```
* 7c2ad66 - (HEAD -> 202311, origin/202311) Tx/Rx power values should be rounded up to 3 decimal places (#432) (4 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-02 18:32:12 +08:00
Feng-msft
69478a6b85 Fix dialout build flag issue. (#17715)
### Why I did it
Fix ENABLE_DIALOUT flag issue.

##### Work item tracking
- Microsoft ADO **(number only)**: 21326000

#### How I did it
Update Makefile.work and add debug string.

#### How to verify it
![image](https://github.com/sonic-net/sonic-buildimage/assets/97083744/960d75d1-618c-4734-acb5-7a32a28c262b)
2024-02-02 16:32:34 +08:00
Zain Budhwani
fe07450a26 Disable eventd and rsyslog plugin in slim images (#17905)
### Why I did it

Disable eventd at buildtime for slim images

##### Work item tracking
- Microsoft ADO **(number only)**:26386286

#### How I did it

Add flags for disabling eventd and only copy rsyslog conf files when eventd is included and not slim image

#### How to verify it

Manual testing
2024-02-02 16:32:26 +08:00
abdosi
c83f81ea0f [chassis] Added support of isolating given LC in Chassis with TSA mode (#16732)
What I did:
Added support when TSA is done on Line Card make sure it's completely
isolated from all e-BGP peer devices from this LC or remote LC

Why I did:
Currently when TSA is executed on LC routes are withdrawn from it's connected e-BGP peers only. e-BGP peers on remote LC can/will (via i-BGP) still have route pointing/attracting traffic towards this isolated LC.

How I did:

When TSA is applied on LC all the routes that are advertised via i-BGP are set with community tag of no-export so that when remote LC received these routes it does not send over to it's connected e-BGP peers.

Also once we receive the route with no-export  over iBGP match on it and and set the local preference of that route to lower value (80) so that we remove that route from the forwarding database. Below scenario explains why we do this:

- LC1 advertise R1 to LC3
- LC2 advertise R1 to LC3
- On LC3 we have multi-path/ECMP over both LC1 and LC2
- On LC3 R1 received from LC1 is consider best route over R1 over received from LC2 and is send to LC3 e-BGP peers
- Now we do TSA on LC2
- LC3 will receive R1 from LC2 with community no-export and from LC1 same as earlier (no change)
- LC3 will still get traffic for R1 since it is still advertised to e-BGP peers (since R1 from LC1 is best route)
- LC3 will forward to both LC1 and LC2 (ecmp) and this causes issue as LC2 is in TSA mode and should not receive traffic

To fix above scenario we change the preference to lower value of R1 received from LC2 so that it is removed from Multi-path/ECMP group.

How I verfiy:

UT has been added to make sure Template generation is correct
Manual Verification of the functionality
sonic-mgmt test case will be updated accordingly.
Please note this PR is on top of this :#16714 which needs to be merged first.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2024-02-02 14:33:18 +08:00
spilkey-cisco
3b982c073c Fix system-health hardware_checker to consume fan tolerance details (#16689)
Why I did it

Fan tolerance checking is done through new APIs, is_under_speed and is_over_speed, which populate corresponding fields into the database. speed_tolerance is no longer used and was removed, but system-health was not updated and indicates failures:

ADO: 25279165

root@sonic/# show system-health summary
System status summary

  System status LED  red_blink
  Services:
    Status: OK
  Hardware:
    Status: Not OK
    Reasons: Failed to get speed tolerance for fantray5.fan1
	     Failed to get speed tolerance for fantray5.fan0
	     Failed to get speed tolerance for fantray4.fan1
	     Failed to get speed tolerance for fantray4.fan0
	     Failed to get speed tolerance for fantray3.fan1
	     Failed to get speed tolerance for fantray3.fan0
	     Failed to get speed tolerance for fantray2.fan1
	     Failed to get speed tolerance for fantray2.fan0
	     Failed to get speed tolerance for fantray1.fan1
	     Failed to get speed tolerance for fantray1.fan0
	     Failed to get speed tolerance for fantray0.fan1
	     Failed to get speed tolerance for fantray0.fan0
	     Failed to get speed tolerance for PSU1.fan0
	     Failed to get speed tolerance for PSU0.fan0

How I did it
Updated hardware_checker.py in system-health to consume new is_under_speed and is_over_speed database entries instead of speed_tolerance and hard-coded calculations.

How to verify it
root@sonic:/# show system-health summary
System status summary

  System status LED  green
  Services:
    Status: OK
  Hardware:
    Status: OK
2024-02-02 14:33:14 +08:00
jingwenxie
93eaa3cac0 Update TELEMETRY_CLIENT YANG model (#16861)
### Why I did it
Github issue: https://github.com/sonic-net/sonic-buildimage/issues/16356. The YANG definition breaks GCU feature.

We can either update sonic_yang and GCU's search algorithm to enable the same key count case or simply update YANG model to solve the issue.

The pros for update YANG model are it could solve the issue directly and we don't need to handle the complicate search algorithm in sonic_yang and GCU. This is the only YANG model that has this issue.

### How I did it
Combine two list into one. The previous YANG validation unit tests are still applicable.
#### How to verify it
Unit test and E2E test
2024-02-02 14:33:11 +08:00
Baorong Liu
770ffb1ecd [staticroutebfd] fix an error in error logging (#17043)
Why I did it
Fix an error in the log_err call.
this error can be triggered by an invalid static route key. usually the code cannot go here with normal config file. but hit this issue with an invalid key by manual testing with redis-cli directly. the file is scanned by Python lint to prevent such errors.

Work item tracking
Microsoft ADO ():26250268

How I did it
fix the format error.

How to verify it
1, ran pylint to check the design, make sure no such error in the design file.
2, wrote a separate python program to verify the log call.
In the current logging related testing, usually use patch/mock for logging. for this specific error, could not trigger it if we call mock function instead the real function in the design. so need to do lint checking for code change.
2024-02-02 14:33:08 +08:00
SuvarnaMeenakshi
6905ab74dc [SNMP]: Modify minigraph parser to update SNMP_AGENT_ADDRESS_CONFIG table (#17045)
#### Why I did it
SNMP query over IPv6 does not work due to issue in net-snmp where IPv6 query does not work on multi-nic environment.
To get around this, if snmpd listens on specific ipv4 or ipv6 address, then the issue is not seen.
We plan to configure Management IP and Loopback IP configured in minigraph.xml as SNMP_AGENT_ADDRESS in config_db., based on changes discussed in https://github.com/sonic-net/SONiC/pull/1457.

##### Work item tracking
- Microsoft ADO **(number only)**:26091228

#### How I did it
Modify minigraph parser to update SNMP_AGENT_ADDRESS_CONFIG with management and Loopback0 IP addresses.
Modify snmpd.conf.j2 to use SNMP_AGENT_ADDRESS_CONFIG table if it is present in config_db, if not listen on any IP.
Main change:
1. if minigraph.xml is used to configure the device, then snmpd will listen on mgmt and loopback IP addresses,
2. if config_db is used to configure the device, snmpd will listen IP present in SNMP_AGENT_ADDRESS_CONFIG  if that table is present, if table is not present snmpd will listen on any IP.
#### How to verify it
config_db.json created from minigraph.xml for single asic VS image with mgmt and Loopback IP addresses.
```
    "SNMP_AGENT_ADDRESS_CONFIG": {
        "10.1.0.32|161|": {},
        "10.250.0.101|161|": {},
        "FC00:1::32|161|": {},
        "fec0::ffff:afa:1|161|": {}
    },
 .....
 
 snmpd listening on the above IP addresses:
 admin@vlab-01:~$ sudo netstat -tulnp | grep 161
tcp        0      0 127.0.0.1:3161          0.0.0.0:*               LISTEN      71522/snmpd         
udp        0      0 10.250.0.101:161        0.0.0.0:*                           71522/snmpd         
udp        0      0 10.1.0.32:161           0.0.0.0:*                           71522/snmpd         
udp6       0      0 fec0::ffff:afa:1:161    :::*                                71522/snmpd         
udp6       0      0 fc00:1::32:161          :::*                                71522/snmpd  
```
2024-02-02 14:33:04 +08:00
byu343
c469359cef [Arista] Use port_config.ini for Arista-7050QX-32S-S4Q31 (#17253)
This change of removing hwsku.json is to correct the port index for
sfp ports (Ethernet0, Ethernet1, Ethernet2, Ethernet3) by using
port_config.ini, which should be '1, 2, 3, 4'. We could not do it
with hwsku.json, as it is defined as '5, 5, 5, 5' by platform.json
for the breakout_mode 1x40G[10G].
2024-02-02 14:33:01 +08:00
Liping Xu
1e4dcbc75d disable restapi for leafRouter in slim image (#17713)
Why I did it
For some devices with small memory, after upgrading to the latest image, the available memory is not enough.

Work item tracking
Microsoft ADO (number only):
26324242
How I did it
Disable restapi feature for LeafRouter which with slim image.

How to verify it
verified on 7050qx T1 (slim image), restapi disabled
verified on 7050qx T0 (slim image), restapi enabled
verified on 7260 T1 (normal image), restapi enabled
2024-02-02 14:32:57 +08:00
Liu Shilong
015ce751a4 [build] Fix a bash script some times called by sh issue. (#17761)
Why I did it
Fix a bug that sometimes the script runs in sh not bash.

Work item tracking
Microsoft ADO (number only): 26297955
How I did it
2024-02-02 14:32:53 +08:00
Hua Liu
b84e3f9e8a Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue. (#17281)
Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue.

#### Why I did it
When device set with IPV6 TACACS server address, and shutdown all BGP, device can't connect to TACACS server via management interface.

After investigation, I found the IPV6 'default' route table does not add to route lookup:

admin@vlab-01:~$ ip -6 rule list
1001:   from all lookup local
32765:  from fec0::ffff:afa:1 lookup default
32766:  from all lookup main
admin@vlab-01:~$

As compare:
admin@vlab-01:~$ ip -4 rule list
1001:   from all lookup local
32764:  from all to 172.17.0.1/24 lookup default
32765:  from 10.250.0.101 lookup default
32766:  from all lookup main
32767:  from all lookup default <== 'default' route table exist in IPV4 route lookup

Issue fix by add 'default' route table to route lookup with following command:
admin@vlab-01:~$ sudo ip -6 rule add pref 32767 lookup default
admin@vlab-01:~$ ip -6 rule list
1001:   from all lookup local
32765:  from fec0::ffff:afa:1 lookup default
32766:  from all lookup main
32767:  from all lookup default <== 'default' route table been added to IPV6 route lookup
admin@vlab-01:~$

##### Work item tracking
- Microsoft ADO: 25798732

#### How I did it
When management interface using 'default' route table, add 'default' route table to IPV6 route lookup.

#### How to verify it
Pass all UT.
Add new UT to cover this change.
Manually verify issue fixed:

### Tested branch (Please provide the tested image version)

- [x]  master-17281.417570-2133d58fa

#### Description for the changelog
Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue.
2024-02-02 14:32:50 +08:00
Yaqiang Zhu
8f9e58c033 [dhcp_relay] Optimize j2 file in dhcp_relay container (#17506) 2024-02-02 14:32:46 +08:00
Yaqiang Zhu
0b84b8fc30 [dhcp_server] Remove dependency in port-name-alias-map.txt.j2 (#17858)
* [dhcp_server] Remove dependency in port-name-alias-map.txt.j2
2024-02-02 14:32:41 +08:00
vdahiya12
9eef01d7a7 [Arista] Update config.bcm of 7060_cx32s for handling 40g optics with unreliable los settings (#17768)
For 40G optics there is SAI handling of T0 facing ports to be set with SR4 type and unreliable los set for a fixed set of ports. For this property to be invoked the requirement is set
phy_unlos_msft=1 in config.bcm.
This change is to meet the requirement and once this property is set, the los/interface type settings is applied by SAI on the required ports.

Why I did it
For Arista-7060CX-32S-Q32 T1, 40G ports RX_ERR minimalization during connected device reboot
can be achieved by turning on Unreliable LOS and SR4 media_type for all ports which are connected to T0.

The property phy_unlos_msft=1 is to exclusively enable this property.

Microsoft ADO: 25941176

How I did it
Changes in SAI and turning on property

How to verify it
Ran the changes on a testbed and verified configurations are as intended.

with property

admin@sonic2:~$ bcmcmd "phy diag xe8 dsc config" | grep -C 2 "LOS"
Brdfe_on                    = 0
Media Type                  = 2
Unreliable LOS              = 1
Scrambling Disable          = 0
Lane Config from PCS        = 0

without property

admin@sonic:~$ bcmcmd "phy diag xe8 dsc config" | grep -C 2 "LOS"
Brdfe_on                    = 0
Media Type                  = 0
Unreliable LOS              = 0
Scrambling Disable          = 0
Lane Config from PCS        = 0

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
2024-02-02 14:32:38 +08:00
davidpil2002
765377ac81 password-hardening: Add support to disable expiration date like in Linux (PAM) (#17426)
- Why I did it
Enhance the feature to support disabling password hardening as Linux support.
-1: expiration will never occur
0: expiration will expired immediately

Opened bug:
#17427

- How I did it
Added the -1 value to be supported in hostcfgd and this value will propagate to the relevant Linux files

- How to verify it
Pls see the details in the bug description that link attached above
2024-02-02 14:32:34 +08:00
Hua Liu
f35512ef0a [TACACS] Fix when set TACACS to "tacacs+, local" user can run blocked command with local permission issue. (#17749)
Fix when set TACACS to "tacacs+, local" user can run blocked command with local permission issue.

#### Why I did it
When set TACACS to "tacacs+, local", user still can run a blocked command with local permission.

##### Work item tracking
- Microsoft ADO: 26399545

#### How I did it
Fix code to reject command when authorized failed from TACACS server side.

#### How to verify it
Pass all UT.

### Description for the changelog
Fix when set TACACS to "tacacs+, local" user can run blocked command with local permission issue.
2024-02-02 14:32:29 +08:00
Ze Gan
34a86bd8f9 [Azp]: Fix azp on building ubuntu20.04 and sonic-mgmt (#17439)
The Azp failed on ubuntu20.04 and sonic-mgmt building due to sonic-dash-api updating.

Signed-off-by: Ze Gan <ganze718@gmail.com>
2024-02-02 14:32:23 +08:00
Sudharsan Dhamal Gopalarathnam
fcef7d1095
[202311][Mellanox]Update SAI to 2311.26.0.28, SDK/FW to 4.6.2202/2012.2202 (#17975) 2024-02-01 17:53:49 -08:00
Sudharsan Dhamal Gopalarathnam
27b05ddac3
[FRR] Fix zebra memory leak when bgp fib suppress pending is enabled (#17484) (#17977)
Fix zebra leaking memory with fib suppress enabled. Porting the fix from
FRRouting/frr#14983

While running test_stress_route.py, systems with lower memory started to throw low memory logs. On further investigation, a memory leak has been found in zebra which was fixed in the FRR community.
2024-02-01 16:28:21 -08:00
mssonicbld
e676ad1aa0
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#17979)
#### Why I did it
src/sonic-linux-kernel
```
* 342f6c3 - (HEAD -> 202311, origin/202311) [kconfig] Set default SATA Link Power Management policy (#363) (4 hours ago) [Volodymyr Samotiy]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-01 18:33:13 +08:00
mssonicbld
747ddb1978
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17980)
#### Why I did it
src/sonic-platform-common
```
* 83a8c7a - (HEAD -> 202311, origin/202311) Fix issue: QSFP module with id 0x0d can be parsed using 8636 (#412) (4 hours ago) [Stephen Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-02-01 16:32:49 +08:00
Nazarii Hnydyn
48f7613f95 [swss/syncd]: Remove dependency on interfaces-config.service (#17739)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Co-authored-by: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com>
2024-02-01 09:34:16 +08:00
Nazarii Hnydyn
f419319e0e [installer] Create a blank grubenv if doesn't exist. (#17414)
- Why I did it
To fix BIOS firmware update after fresh image installation from ONiE

- How I did it
Initialized empty GRUB environment file after ONiE installation

- How to verify it
Install image from ONiE
Run BIOS firmware upgrade

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
2024-02-01 09:34:12 +08:00
Stepan Blyshchak
23190ad000 [config-chassisdb] use cached variables (#17342)
- Why I did it
Improve boot performance mostly needed for fast and warmboot

- How I did it
Use cached variable.

- How to verify it
Boot the system. Simply do "systemd-analyze blame" and look at service start time.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2024-02-01 09:34:09 +08:00
Junchao-Mellanox
d53fba12cb Fix error log while creating PSU thermal object (#17789)
- Why I did it
If a PSU is not present, there could be error log while restarting psud or thermalctld:

Jan  8 17:15:52.689616 sonic ERR pmon#psud: Thermal sysfs /run/hw-management/thermal/psu2_temp1_max does not exist

Jan  8 17:15:57.747723 sonic ERR pmon#thermalctld: Thermal sysfs /run/hw-management/thermal/psu2_temp1 does not exist

- How I did it
if a PSU is not present, we should not check the PSU temperature sysfs.
2024-02-01 09:34:05 +08:00
Oleksandr Ivantsiv
3ba603960b [dns] Do not apply dynamic DNS configuration when MGMT interface has static IP address. (#17769)
### Why I did it
Fix the issue detected by[ TestStaticMgmtPortIP::test_dynamic_dns_not_working_when_static_ip_configured ](https://github.com/sonic-net/sonic-mgmt/blob/master/tests/dns/static_dns/test_static_dns.py#L105C9-L105C63) test.

### How I did it
Query MGMT interface configuration. Do not apply dynamic DNS configuration when MGMT interface has static IP address.

#### How to verify it
Run `tests/dns/static_dns/test_static_dns.py` sonic-mgmt tests.
2024-02-01 09:34:02 +08:00
Nazarii Hnydyn
d88051cc3a [sonic-cfggen]: Optimize template rendering and database access. (#17740)
#### Why I did it
* Improved switch init time

### How I did it
* Replaced: `sonic-cfggen` -> `sonic-db-cli`
* Aggregated template list for `sonic-cfggen`

#### How to verify it
1. Run `warm-reboot`
2024-02-01 09:33:58 +08:00
mssonicbld
e2ae581028
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17954)
#### Why I did it
src/sonic-utilities
```
* 9c1d489c - (HEAD -> 202311, origin/202311) Fix database initialization for db_migrator (#3100) (10 hours ago) [ganglv]
* e9ae14d2 - Support golden config in db migrator (#3076) (16 hours ago) [ganglv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-01-31 16:32:37 +08:00
Lior Avramov
4599f7aeaf [Nvidia] Update syncd docker to use python version 3 (#17735)
* Remove python2 from compilation of python-sdk-api

* Upgrade Python version in syncd RPC docker image to Python3
2024-01-31 10:32:20 +08:00
Prince George
6b8549c3bb Fix the fsck script that does filesystem repair (#17424)
Fix the fsck check which is not working. Potentially fixes #16938
Modified fsck script to run on the ext4.fsck on the appropriate disk where SONiC resides

Microsoft ADO: 26098631
2024-01-30 06:32:12 +08:00
Kevin Wang
2b21e64ffc [qos] change the template keyword from Compute-AI to ComputeAI (#17902)
Why I did it
Align the keywords to make qos configuration take effect

Work item tracking
Microsoft ADO (number only):
How I did it
Change the keyword to ComputeAI

How to verify it
reload minigraph and check the qos configuration
2024-01-29 16:32:34 +08:00
mssonicbld
4166d83f04
[ci/build]: Upgrade SONiC package versions (#17917) 2024-01-27 18:39:42 -08:00
mssonicbld
9f7166b5d2
Change tcp port range to support telemetry and gnmi (#17907) (#17916)
* Reserve tcp port for telemetry and gnmi

* Use ip_local_port_range instead

* Fix sysctl config

Co-authored-by: ganglv <88995770+ganglyu@users.noreply.github.com>
2024-01-26 13:27:30 -08:00
Ying Xie
388c3f5f90
[202311][sonic-utilities] Revert bgp suppress fib pending (#17915)
Revert "Revert "[202311] Revert bgp suppress fib pending" (#17882)"

This reverts commit 1ccee478e2.

sonic-utilities:
* be294f39 2024-01-25 | [202311] Revert bgp suppress fib pending (#3003) (HEAD -> 202311, github/202311) [Stepan Blyshchak]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2024-01-26 13:12:10 -08:00
Liu Shilong
d41a23986e
[ci] Remove barefoot build in Pinning Version pipeline. (#17901)
Why I did it
Remove barefoot platform in pinning version pipeline.

Work item tracking
Microsoft ADO (number only): 26515265
2024-01-25 19:00:57 +08:00
mssonicbld
c7d84d26d5
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17898)
#### Why I did it
src/sonic-utilities
```
* e70b0546 - (HEAD -> 202311, origin/202311) [202311] Revert bgp suppress fib pending (#3109) (9 hours ago) [Stepan Blyshchak]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-01-25 16:34:50 +08:00
mssonicbld
7430574fc8
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#17890)
src/sonic-snmpagent

* 03e8bcd - (HEAD -> 202311, origin/202311) Fix SNMP dropping some of the queue counter when create_only_config_db_buffers is set to true (#303) (10 hours ago) [DavidZagury]
2024-01-23 23:42:51 -08:00
mssonicbld
05dafc9653
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#17888)
src/linkmgrd

* 74e455e - (HEAD -> 202311, origin/202311) [active-standby] Probe the link in suspend timeout (#235) (22 hours ago) [Longxiang Lyu]
2024-01-23 23:42:23 -08:00
mssonicbld
30fe193900
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17880)
src/sonic-swss

* b78a4181 - (HEAD -> 202311, origin/202311) Add host_tx_ready enhancements (#2930) (2 days ago) [noaOrMlnx]
2024-01-23 23:41:58 -08:00
Ying Xie
1ccee478e2
Revert "[202311] Revert bgp suppress fib pending" (#17882) 2024-01-23 08:43:43 -08:00
dbarashinvd
d7a77601e4 fix low polarity wrong value for hw_reset deassert and seek(0) before reading sysfs upon poll event (#17627)
* fix hw_reset low polarity (reverse values)

* move seek to beginning of sysfs fd before reading to resolve power_good
sysfs returns empty upon plug out cable
2024-01-23 09:38:50 +08:00
mssonicbld
204c5528d7
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17846)
src/sonic-utilities

* 7a242eeb - (HEAD -> 202311, origin/202311) [202311] Support reading/writing module EEPROM data by page and offset (#3008) (#3073) (2 days ago) [Junchao-Mellanox]
* cb0fd428 - [202311] Collect module EEPROM data in dump (#3009) (#3124) (3 days ago) [Junchao-Mellanox]
2024-01-22 10:19:52 -08:00
mssonicbld
aa691f1f90
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17845)
src/sonic-platform-common

* 570bb3f - (HEAD -> 202311, origin/202311) Fix memory map parsing issue (#427) (3 days ago) [Stephen Sun]
2024-01-22 10:19:25 -08:00
mssonicbld
51ba2cc071
[Mellanox][SKU] Adding Mellanox-SN4700-O8V48 SKU (#17425) (#17831)
- Why I did it
To add new SKU Mellanox-SN4700-O8V48 with following requirements:

- How I did it
Create new SKU files based on the below definition:
* Port Mapping: 1-12 2x200G, 13-20 1x400G, 21-32 2x200G
   T0 topology: 48x200G Downlinks 8x400G uplinks.
   Length of downlink: 5m
   Length of uplink: 40m
* Auto-negotiation enable/disable: Yes
* FEC mode: RS
* Shared headroom: Enabled
* Shared headroom pool factor: 2
* Warmboot enabled: yes

- How to verify it
SONiC build with new SKU finish init, all ports up, qos tests suite from sonic-mgmt

Co-authored-by: DavidZagury <32644413+DavidZagury@users.noreply.github.com>
2024-01-22 10:18:30 -08:00
Stepan Blyshchak
b527372642
[202311] Revert bgp suppress fib pending (#17660)
* [FRR] Bring back patches required for FPM plugin

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>

* [zebra] use fpm plugin instead of dplane_fpm_nl

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>

* Revert BGP suppress FIB pending

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>

---------

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2024-01-22 10:17:50 -08:00
ganglv
87caed6f62
Fix host service for 202311 branch (#17782) 2024-01-21 21:15:22 -08:00
Ye Jianquan
9fb1b889cc
[202311, PR test] Use 202311 as the test branch (#17843)
* [PR test] Use 202311 as the test branch
2024-01-21 21:04:16 -08:00
Junchao-Mellanox
8d65e2c517 [Mellanox] Fix issues found for CMIS host management (#17637)
- Why I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How to verify it
Manual test
Unit test
2024-01-20 06:32:58 +08:00
Longxiang Lyu
3f29b28b36 [dualtor] Disable zebra link-detect for vlan interfaces (#17784)
* [dualtor] Disable zebra link-detect for vlan interfaces

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
2024-01-19 06:33:12 +08:00
Junchao-Mellanox
0fbdc2b8ed [Mellanox] wait until hw-management watchdog files ready (#17618)
- Why I did it
watchdog-control service always disarm watchdog during system startup stage. It could be the case that watchdog is not fully initialized while the watchdog-control service is accessing it. This PR adds a wait to make sure watchdog has been fully initialized.

- How I did it
adds a wait to make sure watchdog has been fully initialized.

- How to verify it
Manual test
sonic regression
2024-01-19 04:32:53 +08:00
Saikrishna Arcot
9d918889e4 dhcrelay: Don't look up the ifindex for the fallback interface (#17797)
Currently, whenever isc-dhcp-relay forwards a packet upstream,
internally, it will try to send it on a "fallback" interface. My
understanding is that this isn't meant to be a real interface, but
instead is basically saying to use Linux's regular routing stack to
route the packet appropriately (rather than having isc-dhcp-relay
specify specifically which interface to use).

The problem is that on systems with a weak CPU, a large number of
interfaces, and many upstream servers specified, this can introduce a
noticeable delay in packets getting sent. The delay comes from trying to
get the ifindex of the fallback interface. In one test case, it got to
the point that only 2 packets could be processed per second. Because of
this, dhcrelay will easily get backlogged and likely get to a point
where packets get dropped in the kernel.

Fix this by adding a check saying if we're using the fallback interface,
then don't try to get the ifindex of this interface. We're never going
to have an interface named this in SONiC.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2024-01-18 16:33:48 +08:00
Nazarii Hnydyn
1687a442de [frr]: Force disable next hop group support. (#17344)
Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com

Closes #17345

This W/A was proposed by Nvidia FRR team before the long term solution is ready.

Why I did it
A W/A to fix default route installation during LAG member flap
Work item tracking
N/A
How I did it
Disabled FRR next hop group support
How to verify it
Do LAG member flap
2024-01-18 14:36:23 +08:00
Junchao-Mellanox
56ba5b10b4 [Mellanox] implement sfp.reset for CMIS management (#16862)
- Why I did it
For CMIS host management module, we need a different implementation for sfp.reset. This PR is to implement it

- How I did it
For SW control modules, do reset from hw_reset
For FW control modules, do reset as the original way

- How to verify it
Manual test
sonic-mgmt platform test
2024-01-17 06:33:11 +08:00
Kebo Liu
cacf46ff86
[202311][Mellanox] Integrate HW-MGMT Version 7.0030.2008 (#17659)
* Intgerate HW-MGMT 7.0030.2008 Changes

 ## Patch List
* 0285-UBUNTU-SAUCE-mlxbf-gige-Fix-intermittent-no-ip-issue.patch :
* 0286-pinctrl-Introduce-struct-pinfunction-and-PINCTRL_PIN.patch :
* 0287-pinctrl-mlxbf3-Add-pinctrl-driver-support.patch :
* 0288-UBUNTU-SAUCE-gpio-mmio-handle-ngpios-properly-in-bgp.patch :
* 0289-UBUNTU-SAUCE-gpio-mlxbf3-Add-gpio-driver-support.patch :
* 0291-mlxsw-core_hwmon-Align-modules-label-name-assignment.patch :
* 0292-mlxsw-i2c-Limit-single-transaction-buffer-size.patch :
* 0293-mlxsw-reg-Limit-MTBR-register-records-buffer-by-one-.patch :
* 0296-UBUNTU-SAUCE-mmc-sdhci-of-dwcmshc-Add-runtime-PM-ope.patch :
* 0298-UBUNTU-SAUCE-mlxbf-ptm-use-0444-instead-of-S_IRUGO.patch :
* 0299-UBUNTU-SAUCE-mlxbf-ptm-add-atx-debugfs-nodes.patch :
* 0300-UBUNTU-SAUCE-mlxbf-ptm-update-module-version.patch :
* 0301-UBUNTU-SAUCE-mlxbf-gige-Fix-kernel-panic-at-shutdown.patch :
* 0302-UBUNTU-SAUCE-mlxbf-bootctl-support-SMC-call-for-sett.patch :
* 0303-UBUNTU-SAUCE-Add-BF3-related-ACPI-config-and-Ring-de.patch :
* 0306-dt-bindings-trivial-devices-Add-infineon-xdpe1a2g7.patch :
* 0307-leds-mlxreg-Add-support-for-new-flavour-of-capabilit.patch :
* 0308-leds-mlxreg-Remove-code-for-amber-LED-colour.patch :
* 0308-platform_data-mlxreg-Add-capability-bit-and-mask-fie.patch :
* 0309-hwmon-mlxreg-fan-Add-support-for-new-flavour-of-capa.patch :
* 0310-hwmon-mlxreg-fan-Extend-number-of-supporetd-fans.patch :
* 0317-platform-mellanox-Introduce-support-for-switches-equ.patch :
* 0318-mellanox-Relocate-mlx-platform-driver.patch :
* 0319-UBUNTU-SAUCE-mlxbf-tmfifo-fix-potential-race.patch :
* 0320-UBUNTU-SAUCE-mlxbf-tmfifo-Drop-the-Rx-packet-if-no-m.patch :
* 0321-UBUNTU-SAUCE-mlxbf-tmfifo-Drop-jumbo-frames.patch :
* 0322-UBUNTU-SAUCE-mlxbf-tmfifo.c-Amend-previous-tmfifo-pa.patch :
* 0323-mlxbf_gige-add-set_link_ksettings-ethtool-callback.patch :
* 0324-mlxbf_gige-fix-white-space-in-mlxbf_gige_eth_ioctl.patch :
* 0325-UBUNTU-SAUCE-mlxbf-bootctl-Fix-kernel-panic-due-to-b.patch :
* 0326-platform-mellanox-mlxreg-hotplug-Add-support-for-new.patch :
* 0327-platform-mellanox-mlx-platform-Change-register-name.patch :
* 0328-platform-mellanox-mlx-platform-Add-support-for-new-X.patch :

* [Mellanox] Don't populate arm64 Kconfig when integrating hw-mgmt

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>

* [Mellanox] Remove thermal zone related code and replace with new one

* Revert "Revert "[Mellanox] Align PSU temperature sysfs node name with hw-management change (#16820)" (#16956)"

This reverts commit c2edc6f9d5.

* Update copyright header

Signed-off-by: Kebo Liu <kebol@nvidia.com>

---------

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Kebo Liu <kebol@nvidia.com>
Co-authored-by: Vivek Reddy <vkarri@nvidia.com>
Co-authored-by: Junchao-Mellanox <junchao@nvidia.com>
Co-authored-by: Junchao-Mellanox <57339448+Junchao-Mellanox@users.noreply.github.com>
2024-01-16 08:33:50 -08:00
Junchao-Mellanox
0b511986ae
[202311][Mellanox] implement platform wait in python code (#17398) (#17719)
- Why I did it
New implementation of Nvidia platform_wait due to:
1. sysfs deprecated by hw-mgmt
2. new dependencies to SDK
3. For CMIS host management mode

- How I did it
wait hw-management ready
wait SDK sysfs nodes ready

- How to verify it
manual test
unit test
sonic-mgmt regression
2024-01-16 08:31:33 -08:00
mssonicbld
c51bfd2ee2
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#17772)
#### Why I did it
src/sonic-linux-kernel
```
* 46db038 - (HEAD -> 202311, origin/202311) Intgerate HW-MGMT 7.0030.2008 Changes (#361) (#372) (9 hours ago) [Kebo Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-01-13 16:32:41 +08:00
mssonicbld
87b4dc8899
[submodule] Update submodule dhcpmon to the latest HEAD automatically (#17750)
#### Why I did it
src/dhcpmon
```
* 2443073 - (HEAD -> 202311, origin/202311) [counter] Clear counter table when dhcpmon init (#14) (#16) (2 days ago) [Yaqiang Zhu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-01-12 16:34:42 +08:00
mssonicbld
5886145160
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17752)
#### Why I did it
src/sonic-utilities
```
* 72b6c04c - (HEAD -> 202311, origin/202311) Support disable/enable syslog rate limit feature (#3072) (2 days ago) [Junchao-Mellanox]
```
#### How I did it
#### How to verify it
#### Description for the changelog
2024-01-12 16:34:38 +08:00
zitingguo-ms
4a26cd81f5 [YANG] Enable Yang model for BGP_BBR config entry (#17622)
Why I did it
Enable Yang model for BGP_BBR config entry.

{
        "BGP_BBR": {
            "all": {
                "status": "enabled"/"disabled"
            }
        }
}
Work item tracking
Microsoft ADO (number only): 25988660
How I did it
Add yang model and ut for BGP_BBR.

How to verify it
Use GCU cmd to change bbr status.
Create following json patch: disable_bbr.json-patch

[
 {
  "op": "replace",
  "path": "/BGP_BBR/all/status",
  "value": "disabled"
 }
]
Run sudo config apply-patch ./disable_bbr.json-patch cmd on dut. Success.
2024-01-11 16:34:42 +08:00
Lawrence Lee
bd63fff758 add timeout to ping6 command (#17729)
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2024-01-11 10:41:00 +08:00
Junchao-Mellanox
4b6feaa69c Optimize syslog rate limit feature for fast and warm boot (#17458)
- Why I did it
Optimize syslog rate limit feature for fast and warm boot

- How I did it
Optimize redis start time
Don't render rsyslog.conf in container startup script
Disable containercfgd by default. There is a new CLI to enable it (in another PR)

- How to verify it
Manual test
Regression test
2024-01-10 14:35:30 +08:00
snider-nokia
bcdbaf1039 [Nokia][sonic-platform] Update Nokia sonic-platform submodule and device data (#17378)
These changes, in conjunction with NDK version >= 22.9.17 address the thermal logging issues discussed at Nokia-ION/ndk#27. While the changes contained at this PR do not require coupling to NDK version >= 22.9.17, thermal logging enhancements will not be available without updated NDK >= 22.9.17. Thus, coupling with NDK >=22.9.17 is preferred and recommended.

Why I did it
To address thermal logging deficiencies.

Work item tracking
Microsoft ADO (number only): 26365734
How I did it
The following changes are included:

Threshold configuration values are provided in the associated device data .json files. There is also a change included to better handle the condition where an SFP module read fails.

Modify the module.py reboot to support reboot linecard from Supervisor

 - Modify reboot to call _reboot_imm for single IMM card reboot
 - Add log to the ndk_cmd to log the operation of "reboot-linecard" and "shutdown/satrtup the sfm"
Add new nokia_cmd set command and modify show ndk-status output

 - Add a new function reboot_imm() to nokia_common.py to support reboot a single IMM slot from CPM
 - Added new command: nokia_cmd set reboot-linecard <slot> [forece] for CPM
 - Append a new column "RebootStatus" at the end of output of "nokia_cmd show ndk-status"
 - Provide ability for IMM to disable all transceiver module TX at reboot time
 - Remove defunct xcvr-resync service
2024-01-10 12:35:13 +08:00
Marty Y. Lok
88ee9f78c2 [Nokia-IXR7250E] Modify the platform_reboot on the IXR7250E for PMON API reboot and Disable all SFPs (#17483)
Why I did it
When Supervisor card is rebooted by using PMON API, it takes about 90 seconds to trigger the shutdown in down path. At this time linecards have been up. This delays linecards database initialization which is trying to PING/PONG the database-chassis. To address this issue, we modified the NDK to use the system call with "sudo reboot" when the request is from PMON API on Supervisor case. The NDK version is 22.9.20 and greater. This new NDK requires this modifcaiton of platform_reboot to work with.

Work item tracking
Microsoft ADO (number only): 26365734
How I did it
Modify the platform_reboot In Supervisor not to reboot all IMMs since it has been done in the function reboot() in module.py. Also handle the reboot-cause.txt for on the Supervisor when the reboot is request from PMON API.
Modify the Nokia platform specific platform_reboot in linecard to disable all SPFs.
This PR works with NDK version 22.9.20 and above

Signed-off-by: mlok <marty.lok@nokia.com>
2024-01-10 12:35:10 +08:00
Junchao-Mellanox
767944d7da [Mellanox] Fix race condition while creating SFP (#17441)
- Why I did it
Fix issue xcvrd crashes due to cannot import name 'initialize_sfp_thermal':

Nov 27 09:47:16.388639 sonic ERR pmon#xcvrd: Exception occured at CmisManagerTask thread due to ImportError("cannot import name 'initialize_sfp_thermal' from partially initialized module 'sonic_platform.thermal' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/sonic_platform/thermal.py)")

- How I did it
Add lock for creating SFP object

- How to verify it
Unit test
Manual Test
2024-01-09 14:34:47 +08:00
Junchao-Mellanox
8de7cb5988
[202311] [Mellanox] update asic and module temperature in a thread for CMIS management (#16955) (#17699)
- Why I did it
When module is totally under software control, driver cannot get module temperature/temperature threshold from firmware. In this case, sonic needs to get temperature/temperature threshold from EEPROM. In this PR, a thread thermal updater is created to update module temperature/temperature threshold while software control is enabled.

- How I did it
Query ASIC temperature from SDK sysfs and update hw-management-tc periodically
Query Module temperature from EEPROM and update hw-management-tc periodically

- How to verify it
Manual test
New Unit tests
2024-01-08 10:50:59 -08:00
mssonicbld
4060f5ce5b
[Mellanox] Remove EEPROM write limitation if it is software control (#17030) (#17694) 2024-01-07 13:16:25 +08:00
mssonicbld
fb7bad2d11
[Mellanox] Implement low power mode for cmis host management (#17159) (#17693) 2024-01-06 07:55:41 +08:00
Junchao-Mellanox
7368df7839
[Mellanox] Enable CMIS host management (#16846) (#17684)
- Why I did it
Enable CMIS host management for Mellanox devices which are expected to support the feature

- How I did it
new thread in a new file and changing logic in platform code in chassis.py which is calling this thread from get_change_event()
this thread in the new file handles the state machine per port.
first the static detection takes place once the thread is up (during switch bootup sequence), until final decision if it's FW control or SW control module.
After it ends, the dynamic detection takes place, listening to changes in the sysfs fds, per port,
so it will be able to detect plug in or out events of a cable.

- How to verify it
Enhanced unit tests
run sonic mgmt on Nvidia SN4700 with CMIS host management enabled

Co-authored-by: dbarashinvd <105214075+dbarashinvd@users.noreply.github.com>
2024-01-05 12:07:30 -08:00
mssonicbld
aafbf5bdc6
Update Dockerfile.j2 (#17663) (#17682) 2024-01-05 06:22:58 +08:00
mssonicbld
ac4f6fcbc2
[docker_image_ctl.j2]: swss docker initialization improvements (#17628) (#17680) 2024-01-05 04:39:16 +08:00
mssonicbld
c5473c1d8b
Update backend_acl.py to specify ACL table name (#17553) (#17668) 2024-01-04 10:45:26 +08:00
Junchao-Mellanox
6d43d2f636 [Mellanox] Provide default implementation for sfp error description when CMIS host management is enabled (#17294)
- Why I did it
Provide a dummy implementation for SFP error description when CMIS host management is enabled. A future feature shall be raised to implement SFP error description for such mode.

- How I did it
if SFP is under software control, provide "Not supported" as error description
if SFP is under initialization, provide "Initializing" as error description

- How to verify it
unit test
2024-01-04 10:38:38 +08:00
mssonicbld
48885b6ac9
[image_config]: Update DHCP rate-limit for mgmt TOR devices (#17630) (#17655) 2024-01-03 17:36:12 +08:00
mssonicbld
27c1e9bb42
[dhcp_server] Fix ut issue in test_utils and test_dhcp_cfggen (#17646) (#17651) 2024-01-03 04:40:15 +08:00
Ying Xie
af08f29d4d
[202311][YANG][sonic-utilities] update sonic DB version string format (#17600)
Old format: version_a_b_c
New format: version_<branch>_<nn>

sonic-utilities:
* fba4bf0b 2023-12-21 | [202311][db_migrator] add db migrator version space for 202305/202311 branch (#3082) (HEAD -> 202311, github/202311) [Ying Xie]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2023-12-22 11:23:31 -08:00
Ying Xie
16e695b912
[202311] lock down submodule branches (#17597)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2023-12-22 08:49:34 -08:00
Nazarii Hnydyn
49e96c3daa
[mellanox]: Disable MFT bash autocompletion. (#17543)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
2023-12-21 09:45:42 -08:00
Yevhen Fastiuk
f78cb9c55c
[202311][cherry-pick][NTP] Add NTP extended configuration (#17487)
* Add NTP YANG model

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Extend NTP config generation mechanism

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Add NTP YANG nodel tests

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Add test for NTP Jinja templates

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Add ntpdate package

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Fix 'bad' when auth disabled

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* [NTP] Changed owner for ntp keys config file to root and remove read access for other.

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Fix NTP warnings after restarting the service

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Add ability to encrypt/decrypt NTP keys

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Update Configuration reference

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Fix NTP configuration template

* Align the description for setting interface
* Fix the usage of scoped variable

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Fix YANG model description and tests

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Align NTP test according to fixed condition

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Allow eth0 to be as source ifc without defining it

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

* Update sample config with NTP config

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>

---------

Signed-off-by: Yevhen Fastiuk <yfastiuk@nvidia.com>
2023-12-21 09:45:29 -08:00
kellyyeh
bd8ed6bc6d
Advance dhcprelay submodule (#17585)
5ae186f Yaqiang Zhu Tue Dec 19 12:05:15 2023 -0500 [counter] Clear counter table when init (#45)
2023-12-20 22:49:23 -08:00
Ying Xie
9e94c3689a
[202311] set sonic release value (#17582)
Why I did it
Each release branch needs to have release number set.

Work item tracking
Microsoft ADO (number only):
How I did it
How to verify it
This PR test.
2023-12-21 13:26:53 +08:00
Ze Gan
e28b48b842
[202311][submodule]: Update submodule sonic-swss/sonic-dash-api/protobuf (#17521)
* [submodule]: Update submodule sonic-swss/sonic-dash-api/protobuf (#17413)

1. Protobuf 3.21 has been released in the Debian bookworm
2. Update submodule sonic-swss and sonic-dash-api because they include related updates.

- Microsoft ADO **(number only)**:

1. In the protobuf.mk, If it isn't bullseye, ignore to compile the protobuf package
2. Move sonic-swss commits:
```
fd852084 (HEAD, origin/master, origin/HEAD) [dashrouteorch]: Rename dash route namespace (#2966)
```
3. Move sonic-dash-api and move build chain to its submodule
```
d4448c7 (HEAD, origin/master, origin/HEAD, master) [azp]: Add multi-platform artifacts (#11)
8a5e5cc [debian]: Add debian package (#10)
d96163a [misc]: Add dash utils and its tests (#9)
```

Signed-off-by: Ze Gan <ganze718@gmail.com>
2023-12-20 17:25:23 -08:00
Junhua Zhai
3d7459ccfc
[gbsyncd] Graceful shutdown of syncd process in container gbsyncd (#16812) (#17563)
Fix #16608. Need to gracefully shutdown syncd/gbsyncd individually.
2023-12-20 09:23:14 -08:00
Arun Saravanan Balachandran
9dbb016ad8 [Dell] S6100 - Update EEPROM API serial_number_str to return service tag instead of serial number (#17440)
To modify EEPROM API serial_number_str to return service tag instead of serial number in Dell S6100.
Ref PR: #1239

How I did it
Update EEPROM API serial_number_str to return service tag instead of serial number.

How to verify it
Verify decode-syseeprom -s returns service tag in Dell S6100.
2023-12-15 09:37:01 +08:00
mssonicbld
0cb0891227
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#17457)
src/sonic-utilities

* 1b1402f5 - (HEAD -> 202311, origin/202311) [hash]: Add ECMP/LAG hash algorithm CLI (#3036) (9 days ago) [Nazarii Hnydyn]
* 71514ea3 - Revert "Run yang validation in unit test (#3025)" (#3055) (9 days ago) [Ying Xie]
* b5daf5d4 - [dhcp_relay] Fix dhcp_relay counter display issue (#3054) (9 days ago) [Yaqiang Zhu]
* b3172505 - [sflow][db_migrator] Egress Sflow support (#3020) (9 days ago) [Rajkumar-Marvell]
* 1e813105 - [wol] Implement wol command line utility (#3048) (3 weeks ago) [Zhijian Li]
* 8ebc56a0 - [sonic_installer]: Improve exception handling: introduce notes. (#3029) (3 weeks ago) [Nazarii Hnydyn]
* 3610ce93 - [sonic-package-manager] Fix YANG validation failure on upgrade when feature has constraints in YANG model on FEATURE table (#2933) (3 weeks ago) [Stepan Blyshchak]
* cfd2dd39 - Add container rsyslog.conf to the sys dump (#3039) (4 weeks ago) [Vivek]
* c4b07828 - Support new platform in generic configuration update (#3038) (4 weeks ago) [Stephen Sun]
* a8d236c8 - [fast-reboot-filter-routes.py] Remove click and improve error reporting (#3030) (4 weeks ago) [Stepan Blyshchak]
* 75199c0f - [sonic-package-manager] insert newline in /etc/sonic/generated_services.conf (#3040) (4 weeks ago) [Stepan Blyshchak]
* cd855698 - [VOQ][saidump] Modify generate_dump: replace save_saidump with save_saidump_by_route_size (#2972) (4 weeks ago) [JunhongMao]
* f1e24ae5 - GCU support for Cisco-8000 features (#3010) (4 weeks ago) [rbpittman]
* 67e1c3dc - Update GCU rsyslog validator (#3012) (4 weeks ago) [jingwenxie]
* 253b7975 - [sonic-package-manager] do not modify config_db.json (#3032) (5 weeks ago) [Stepan Blyshchak]
* 177dd8e8 - [sonic-package-manager] add generated service to /etc/sonic/generated_services.conf (#3037) (5 weeks ago) [Stepan Blyshchak]
* 62fcd77a - Configure NTP according to extended configuration (#2835) (5 weeks ago) [Yevhen Fastiuk]
* ced09404 - [dualtor_neighbor_check] Adjust zero-mac check condition (#3034) (5 weeks ago) [Longxiang Lyu]
* a4eeb698 - [config] config reload should generate sysinfo if missing  (#3031) (6 weeks ago) [jingwenxie]
* e01fc891 - Run yang validation in unit test (#3025) (6 weeks ago) [ganglv]
2023-12-14 13:16:39 -08:00
zitingguo-ms
bd15b77ba9 change branch name (#17267)
Why I did it
Upgrade xgs SAI to 10.1 version.

Work item tracking
Microsoft ADO (number only): 25931321
How I did it
Upgrade xgs SAI version in sai.mk file.

How to verify it
Run full qualification on 7050cx3/7260cx3:

7050cx3:
https://dev.azure.com/mssonic/internal/_build/results?buildId=425450&view=results
https://dev.azure.com/mssonic/internal/_build/results?buildId=425449&view=results
7260cx3: https://elastictest.org/scheduler/testplan/656f2b2b617fb27e41557494?leftSideViewMode=detail&prop=status&order=ascending
2023-12-14 14:36:07 +08:00
mssonicbld
ee75667fd1
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#17452)
src/sonic-platform-daemons

* 502c0b6 - (HEAD -> 202311, origin/202311) Add Port SI Configuration Per Speed  (#400) (12 days ago) [Tomer Shalvi]
* e2d9f87 - Add dynamic sensor logic for fixed and psu presence/state checking in thermalctld (#401) (2 weeks ago) [Gregory Boudreau]
2023-12-13 17:43:09 -08:00
mssonicbld
093abe423a
[submodule] Update submodule sonic-swss-common to the latest HEAD automatically (#17456)
src/sonic-swss-common

* 8dc6218 - (HEAD -> 202311, origin/202311) Add STATE_TRANSCEIVER_INFO_TABLE_NAME to shcema.h (#824) (2 weeks ago) [noaOrMlnx]
2023-12-13 17:34:35 -08:00
mssonicbld
4ee9a5c368
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#17455)
src/sonic-swss

* d839eec3 - (HEAD -> 202311, origin/202311) Add support for fabric monitor daemon (swss part). (#2920) (11 days ago) [jfeng-arista]
* 8dc0a856 - Add support for new Port SI parameters in PortsOA (#2929) (11 days ago) [Tomer Shalvi]
* 9458b855 - [hash]: Add ECMP/LAG hash algorithm to OA (#2953) (12 days ago) [Nazarii Hnydyn]
* dac3972d - [coppmgrd] Fix Copp processing logic by using Producer del instead of del from Table (13 days ago) [Vivek]
* f6a35e98 - [gcov]: Fix directory prefix issue for (#2969) (13 days ago) [Lawrence Lee]
* 14408ca3 - [Chassis][master][orchagent] : Added test case to verify WRED profile on system ports (#2954) (2 weeks ago) [vmittal-msft]
* 2ca3deb0 - [dash] fix DASH ACL Rule protocol use-after-free (#2958) (3 weeks ago) [Yakiv Huryk]
* b8841ecb - [orchagent]: Extend the SRv6Orch to support the programming of the L3Adj (#2902) (3 weeks ago) [Carmine Scarpitta]
* 194566a7 - Fix the Orchagent Qos error messages reported in Issue #16787 (#2947) (3 weeks ago) [saksarav-nokia]
2023-12-13 15:42:15 -08:00
mssonicbld
d174ad33b7
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#17450)
src/sonic-platform-common

* 5d69644 - (HEAD -> 202311, origin/202311) Adding supported vendor PNs for remote CDB FW upgrade (#418) (#419) (5 days ago) [mihirpat1]
* 036b2fc - [Credo][Ycable] Correct the lane mapping in the debugdumpregister function for the 50G cable (#417) (11 days ago) [Xinyu Lin]
* 2efe97e - Fix VDM freeze and unfreeze needed for PM stats collection  (#402) (2 weeks ago) [jaganbal-a]
* cb80f17 - Fix issue: QSFP module with id 0x0d can be parsed using 8636 (#412) (3 weeks ago) [Stephen Sun]
2023-12-13 15:41:55 -08:00
mssonicbld
f215595699
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#17454)
src/sonic-sairedis

* 9621316 - (HEAD -> 202311, origin/202311) [syncd] Remove notify pointers manual handling (#1326) (2 weeks ago) [Kamil Cudnik]
* 4ee9c25 - Add TestSwitch missing attribute (#1327) (2 weeks ago) [noaOrMlnx]
* 4cbbeed - Add SAI Notification support for host_tx_ready (#1307) (2 weeks ago) [noaOrMlnx]
* 9804bd7 - Fix compilation issue due to PORT_STATE_CHANGE_QUEUE_SIZE undefined (#1324) (3 weeks ago) [Ashish Singh]
2023-12-13 15:34:35 -08:00
mssonicbld
2e8c2eba14
Revert "[swss/syncd] remove dependency on interfaces-config.service (#13084) (#14341)" (#15094) (#17367) (#17447) 2023-12-09 10:22:55 +08:00
Aravind-Subbaroyan
62429a2328
Update cisco-8000.ini (#17429)
FCS/CRC Errors will only be reported as RX_ERR.
Fix to avoid the mac port related errors.
Fix for sharedResSize testcase failure in QoS-SAI
Fix the issue related to voltage in 'show platform psustatus'.
Support WRED drop for lossy queues.
Fixed an issue where lossy traffic was getting dropped.
Enhancement of SAI logging for errors and interrupts
2023-12-07 17:04:45 -08:00
Ying Xie
6d22649c81
[202311] lock down some sub module branches (#17405)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2023-12-04 18:35:14 -08:00
zitingguo-ms
897a023637 Upgrade xgs SAI version to 8.4.31.0 (#17059)
Why I did it
Upgrade the xgs SAI version to 8.4.31.0 to include the following changes:

8.4.22.0: [SDK upgrade][CSP CS00012314723][SAI_BRANCH rel_ocp_sai_8_4] SID:bcmtmPfcDdrScan thread takes 100% CPU utilization
8.4.23.0: [SDK upgrade][CSP CS00012290176[SAI_BRANCH rel_ocp_sai_8_4] SDK-323160: bcm_l3_ecmp_member_add returns Table Full error while ISSU
8.4.24.0:
[SDK upgrade]Merge "[CSP NA][SAI_BRANCH rel_ocp_sai_8_4] SID: Software LinkScan Not Catching Short Local/Remote Fault Events" into hsdk_6.5.27_SAI_8.4.0_GA
[SDK upgrade][CSP NA][SAI_BRANCH rel_ocp_sai_8_4] SID: Software LinkScan Not Catching Short Local/Remote Fault Events
8.4.25.0: [SAI_BRANCH rel_ocp_sai_8_4]CLONE - SAI - 8.4 - _brcm_sai_cosq_stat_get errors for CPU queue 41
8.4.26.0: [CSP CS00012307911] Fixed incorrect CPU related SAI port obj encoding/decoding in most subsystems
8.4.27.0: [CSP CS00012309154] [TD3] SAI_STATUS_INVALID_PARAMETER on setting SAI_BUFFER_POOL_ATTR_SIZE, OA crash
8.4.28.0: [CSP CS00012315552] Excessive logging from _brcm_sai_acl_tbl_grp_mbr_migration
8.4.29.0: [CSP CS00012321369] Fix TH2 regression with MMU/pool size
8.4.30.0: [SDK upgrade][CSP CS00012316299][SAI_BRANCH rel_ocp_sai_8_4] L3 entry delete failed when SER error is present
8.4.31.0: [CSP CS00012307911] Revert and limit scope of previous change due to WB issue.
Work item tracking
Microsoft ADO (number only): 26021230
How I did it
Upgrade the SAI version in sai.mk file.

How to verify it
Run advanced reboot on TH2 and TD3:

https://dev.azure.com/mssonic/internal/_build/results?buildId=422024&view=results
https://dev.azure.com/mssonic/internal/_build/results?buildId=423352&view=results
@saiarcot895 run warm reboot from 202012 to target image and they've passed
TH2: https://dev.azure.com/mssonic/internal/_build/results?buildId=423112&view=logs&j=76acabad-01e9-5c52-6fe6-d396d63e85d2&t=0d14fb40-14d5-50ca-4a23-af1778140cbf
TH: https://dev.azure.com/mssonic/internal/_build/results?buildId=423119&view=logs&j=76acabad-01e9-5c52-6fe6-d396d63e85d2&t=0d14fb40-14d5-50ca-4a23-af1778140cbf
TD3: https://dev.azure.com/mssonic/internal/_build/results?buildId=423074&view=logs&j=76acabad-01e9-5c52-6fe6-d396d63e85d2&t=0d14fb40-14d5-50ca-4a23-af1778140cbf
2023-12-04 22:14:03 +00:00
Kebo Liu
2528b70630 [Mellanox] Add special rsyslog filter for MSN2410 platform (#17365)
- Why I did it
Mellanox MSN2410 platforms have a non-functional error log: "ERR pmon#sensord: Error getting sensor data: dps460/#10: Can't read". This error is because of a firmware issue with some PSU, we are not able to upgrade the FW online. Since there is no functional impact, this error log can be ignored safely

- How I did it
Add a new rsyslog rule to the rsyslog-container.conf.j2, if the docker name is pmon and the platform name matches, the new rule will be inserted into the docker rsyslogd.conf

- How to verify it
run regression on the MSN2410 platform to make the error log will not be printed to the syslog.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2023-12-04 22:14:03 +00:00
Sudharsan Dhamal Gopalarathnam
8c782c91a4 [FRR]zebra: Fix fpm multipath encap addition (#17247)
Why I did it
To fix the EVPN type5 failure seen in FRR when there are multipaths for nexthop. The type5 routes were queued

show ip route vrf Vrf1
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF Vrf1:
B>q 5.5.5.0/24 [200/0] via 30.0.0.2, Vlan100 onlink, weight 1, 00:00:40
  q                    via 40.0.0.3, Vlan100 onlink, weight 1, 00:00:40
C>* 10.0.0.0/24 is directly connected, Vlan10, 00:00:43
B>q 100.0.0.0/24 [200/0] via 30.0.0.2, Vlan100 onlink, weight 1, 00:00:40
  q                      via 40.0.0.3, Vlan100 onlink, weight 1, 00:00:40
Work item tracking
Microsoft ADO (number only):
How I did it
Porting the FRR fix FRRouting/frr#14835

How to verify it
Validated EVPN multipath with the scenario and confirmed its working.
2023-12-04 22:14:03 +00:00
Dev Ojha
15d9177c14 [Snappi] Update snappi module on sonic-mgmt docker (#17269)
* Update snappi module on Dockerfile.j2

* Update snappi module on Dockerfile.j2

* Update snappi module for py2 and venv
2023-12-04 22:14:03 +00:00
Tomer Shalvi
dccc5bf6cf Media_settings.json Validator Update (#16908)
The format of the media_settings.json file was updated to support the Port SI Per Speed Enhancements. Since media_checker is the validator for the media_settings.json file, it needs to be updated to align with the new format.


How I did it
I added six new SI parameter names introduced as part of the Port SI Per Speed Enhancements. Additionally, I implemented handling for the new hierarchy level (lane_speed_key) in the updated media_settings.json format while maintaining backward compatibility with vendors whose JSON does not support port SI per speed.

How to verify it
I locally built the Debian package using 'make target/debs/bullseye/sonic-device-data_1.0-1_all.deb,' and it completed successfully. Jenkins also built the entire image, which includes the media_checker as part of its process.
2023-12-04 22:14:03 +00:00
Pavan-Nokia
451398f801 [Nokia-7215][armhf] Enable Watchdog service (#16612)
Enable CPUWDT service to enable watchdog
2023-12-04 22:14:03 +00:00
Lawrence Lee
7d308e340a [arp_update]: Flush neighbors with incorrect MAC info (#17238)
[arp_update]: Flush MAC mismatch neighbors

- Check for MAC mismatch between neighbor entries in the kernel and APPL_DB
- Flush any entries with a mismatch
2023-12-04 22:14:03 +00:00
Yaqiang Zhu
345064dccb [dhcp_server] Set to build dhcp_server image in vs image (#17340)
Currently in this repo would not build dhcp_server container image by default, which would cause that building issue for dhcp_server introduced by other modules cannot be noticed in time.
This PR is to set build dhcp_server container in vs image.
2023-12-04 22:14:03 +00:00
ShiyanWangMS
936f8689b9 Remove Python3 venv in Python3-only sonic-mgmt-docker (#17337)
How I did it
Remove Python3 venv in Python3-only sonic-mgmt-docker

How to verify it
There is no impact to sonic-mgmt-docker:latest tag.
Build sonic-mgmt-docker with LEGACY_SONIC_MGMT_DOCKER=y, see python3 venv is there.
Build sonic-mgmt-docker with LEGACY_SONIC_MGMT_DOCKER=n, see python3 venv is NOT included.
2023-12-04 22:14:03 +00:00
Xincun Li
b78e3a0d20 Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'. (#17312)
* Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'.
2023-12-04 22:14:03 +00:00
arista-nwolfe
dfe7c1e720 [Arista]: Disable SA_EQUALS_DA trap on DNX LC SKUs (#17206)
This change was submitted directly to 202205 but it's also needed in master and 202305 with SAI9.x
#13346

There has been a couple CSPs for this as well:
CS00012273013 - [7.1][J2, J2c+] Disable SA Equals DA trap on DNX
CS00012320965 - SAI9.2: iBGP doesn't work due to SA_EQUALS_DA trap

If SA_EQUALS_DA trap is enabled iBGP won't work as the Ethernet-IB0 ports are expected to get packets with SA==DA.

In the VOQ chassis design, for outgoing control plane packets, the packets goes the recycle port for routing, therefore the dmac of the packet should be the asic router mac. The source mac is assigned by the kernel, so it is also the asic router mac.
2023-12-04 22:14:03 +00:00
Yaqiang Zhu
82cebcd690 [dhcp_server] Rename sonic_dhcp_server to sonic_dhcp_utilities (#17276)
Why I did it
sonic_dhcp_server.whl contains not only dhcp_server functionality but also part of dhcp_relay functionality, the existing naming is not appropriate.
2023-12-04 22:14:03 +00:00
Mai Bui
a40daff883 [docker-sonic-mgmt-framework] limit privileged flag for mgmt-framework container (#17217)
Why I did it
HLD implementation: Container Hardening (sonic-net/SONiC#1364)

Work item tracking
Microsoft ADO (number only): 14807420
How I did it
Reduce linux capabilities in privileged flag

How to verify it
Check container's settings: Privileged is false and container only has default Linux caps, does not have extended caps.
2023-12-04 22:14:03 +00:00
Yaqiang Zhu
ab8af94a2c [dhcp_server] Mark dhcp_server docker as Bullseyse docker (#17290)
How I did it
Mark dhcp_server docker as Bullseyse docker

How to verify it
Set INCLUDE_DHCP_SERVER to y and build image, build successfully
2023-12-04 22:14:03 +00:00
Yaqiang Zhu
7764805aa8 [dhcp_server] Add support for only configures 1 ip in dhcp_server range (#17280)
How I did it
Add support for only configures 1 ip in dhcp_server range.
Treat range with value out of order as invalid range.
2023-12-04 22:14:03 +00:00
Pavan-Nokia
6020fbfac3 [armhf][Nokia-7215] Remove platform reboot (#17010) 2023-12-04 22:14:03 +00:00
Vivek
5c36732f3b [lldp] Clean up service start logic owing to port init start optimization (#17268)
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
2023-12-04 22:14:02 +00:00
Yaqiang Zhu
f48e8b61cf [dhcp_relay] Use dhcprelayd to manage critical processes (#17236)
Modify j2 template files in docker-dhcp-relay. Add dhcprelayd to group dhcp-relay instead of isc-dhcp-relay-VlanXXX, which would make dhcprelayd to become critical process.
In dhcprelayd, subscribe FEATURE table to check whether dhcp_server feature is enabled.
2.1 If dhcp_server feature is disabled, means we need original dhcp_relay functionality, dhcprelayd would do nothing. Because dhcrelay/dhcpmon configuration is generated in supervisord configuration, they will automatically run.
2.2 If dhcp_server feature is enabled, dhcprelayd will stop dhcpmon/dhcrelay processes started by supervisord and subscribe dhcp_server related tables in config_db to start dhcpmon/dhcrelay processes.
2.3 While dhcprelayd running, it will regularly check feature status (by default per 5s) and would encounter below 4 state change about dhcp_server feature:
A) disabled -> enabled
In this scenario, dhcprelayd will subscribe dhcp_server related tables and stop dhcpmon/dhcrelay processes started by supervisord and start new pair of dhcpmon/dhcrelay processes. After this, dhcpmon/dhcrelay processes are totally managed by dhcprelayd.
B) enabled -> enabled
In this scenaro, dhcprelayd will monitor db changes in dhcp_server related tables to determine whether to restart dhcpmon/dhrelay processes.
C) enabled -> disabled
In this scenario, dhcprelayd would unsubscribe dhcp_server related tables and kill dhcpmon/dhcrelay processes started by itself. And then dhcprelayd will start dhcpmon/dhcrelay processes via supervisorctl.
D) disabled -> disabled
dhcprelayd will check whether dhcrelay processes running status consistent with supervisord configuration file. If they are not consistent, dhcprelayd will kill itself, then dhcp_relay container will stop because dhcprelayd is critical process.
2023-12-04 22:14:02 +00:00
Sudharsan Dhamal Gopalarathnam
e86ceaac90 [FRR]Fixing CVEs CVE-2023-46752 CVE-2023-46753 CVE-2023-47234 CVE-2023-47235 (#17259)
Why I did it
Fixing CVEs CVE-2023-46752 CVE-2023-46753 CVE-2023-47234 CVE-2023-47235

Work item tracking
Microsoft ADO (number only):
How I did it
Porting the fixes in the below PRs

FRRouting/frr#14645
FRRouting/frr#14716

How to verify it
Running regression
2023-12-04 22:14:02 +00:00
Kebo Liu
f96742fb98 [Mellanox] Revert LPM implementation to the old way (#17096)
- Why I did it
The current low power mode setting implementation requests the user to set the port to admin down first before toggling LP mode, this is not backward compatible, now revert it to the old way so that the user can toggle the LP mode regardless of the port admin status.

- How I did it
Revert the recent changes related to LPM in PR #14130 and #16545

- How to verify it
Run all sfputil and SFP platform API related tests on all the Mellanox platforms.

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2023-12-04 22:14:02 +00:00
Sudharsan Dhamal Gopalarathnam
8c1bd85830 [yang]Fixing sonic-cfg-help to handle nested container (#17260)
Why I did it
Fixing sonic-cfg-help to handle nested container scenario. In case of nested container, the inner container name acts as key for the table. For e.g.

"AUTO_TECHSUPPORT": {
        "GLOBAL": {
         }
}
Previous output

AUTO_TECHSUPPORT
Description: AUTO_TECHSUPPORT part of config_db.json

+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| Field                   | Description                                        | Mandatory   | Default   | Reference   |
+=========================+====================================================+=============+===========+=============+
| state                   | Knob to make techsupport invocation event-driven   |             |           |             |
|                         | based on core-dump generation                      |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| rate_limit_interval     | Minimum time in seconds between two successive     |             |           |             |
|                         | techsupport invocations. Configure 0 to explicitly |             |           |             |
|                         | disable                                            |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| max_techsupport_limit   | Max Limit in percentage for the cummulative size   |             |           |             |
|                         | of ts dumps. No cleanup is performed if the value  |             |           |             |
|                         | isn't configured or is 0.0                         |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| max_core_limit          | Max Limit in percentage for the cummulative size   |             |           |             |
|                         | of core dumps. No cleanup is performed if the      |             |           |             |
|                         | value isn't congiured or is 0.0                    |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| available_mem_threshold | Memory threshold; 0 to disable techsupport         |             | 10.0      |             |
|                         | invocation on memory usage threshold crossing      |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| min_available_mem       | Minimum Free memory (in MB) that should be         |             | 200       |             |
|                         | available for the techsupport execution to start   |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| since                   | Only collect the logs & core-dumps generated since |             |           |             |
|                         | the time provided. A default value of '2 days ago' |             |           |             |
|                         | is used if this value is not set explicitly or a   |             |           |             |
|                         | non-valid string is provided                       |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+


New output

AUTO_TECHSUPPORT
Description: AUTO_TECHSUPPORT part of config_db.json

key - GLOBAL
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| Field                   | Description                                        | Mandatory   | Default   | Reference   |
+=========================+====================================================+=============+===========+=============+
| state                   | Knob to make techsupport invocation event-driven   |             |           |             |
|                         | based on core-dump generation                      |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| rate_limit_interval     | Minimum time in seconds between two successive     |             |           |             |
|                         | techsupport invocations. Configure 0 to explicitly |             |           |             |
|                         | disable                                            |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| max_techsupport_limit   | Max Limit in percentage for the cummulative size   |             |           |             |
|                         | of ts dumps. No cleanup is performed if the value  |             |           |             |
|                         | isn't configured or is 0.0                         |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| max_core_limit          | Max Limit in percentage for the cummulative size   |             |           |             |
|                         | of core dumps. No cleanup is performed if the      |             |           |             |
|                         | value isn't congiured or is 0.0                    |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| available_mem_threshold | Memory threshold; 0 to disable techsupport         |             | 10.0      |             |
|                         | invocation on memory usage threshold crossing      |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| min_available_mem       | Minimum Free memory (in MB) that should be         |             | 200       |             |
|                         | available for the techsupport execution to start   |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+
| since                   | Only collect the logs & core-dumps generated since |             |           |             |
|                         | the time provided. A default value of '2 days ago' |             |           |             |
|                         | is used if this value is not set explicitly or a   |             |           |             |
|                         | non-valid string is provided                       |             |           |             |
+-------------------------+----------------------------------------------------+-------------+-----------+-------------+


Work item tracking
Microsoft ADO (number only):
How I did it
Fixing sonic-cfg-help tool to handle nested container

How to verify it
Added UT to verify it.
2023-12-04 22:14:02 +00:00
Sudharsan Dhamal Gopalarathnam
2f3b48fe64 [FRR] Fixing zebra to handle non notification of better admin won (#17184)
* [FRR]Fixing zebra to handle non notification of better admin won

* Updating the patch with latest changes from FRR
2023-12-04 22:14:02 +00:00
Shashanka Balakuntala
fad1081b2f [minigraph]: Adding new secondary field to VLAN_INTERFACE table (#16827)
This is change taken as part of the HLD: sonic-net/SONiC#1470.
In this PR we add the logic to parse the SecondarySubnets field in the minigraph and add a flag in "secondary" in the vlan_interface table of the config db.

Microsoft ADO (number only): 16784946

How I did it
Made changes in the minigraph.py to parse the xml entry and add the parsed value to the config db

How to verify it
Added python tests in the sonic-config-engine folder to test the config db entries.
2023-12-04 22:14:02 +00:00
Shashanka Balakuntala
c0963db5a3 [dhcp-relay]: Modify dhcp relay to pick primary address (#17012)
This is change taken as part of the HLD: sonic-net/SONiC#1470 and this is a follow up on the PR #16827 where in the docker-dhcp we pick the value of primary gateway of the interface from the VLAN_Interface table which has "secondary" flag set in the config_db

Microsoft ADO (number only): 16784946

How did I do it
-  Changes in the j2 file to add a new "-pg" parameter in the dhcpv4-relay.agents.j2, the ip would be retrieved from the config db's vlan_interface table such that the interface which are picked will have secondary field set.

- Changes in isc-dhcp to re-order the addresses of the discovered interface and which has the ip which has the passed parameter.
2023-12-04 22:14:02 +00:00
prabhataravind
26ade35fdf [image_config]: Update DHCP rate-limit (#17132)
Change DHCP rate limit in SONiC copp configuration to 100 PPS as this is
necessary to ensure that DHCP flood does not cause LACP/BGP flaps in all
scenarios

This is an extension to the change in image_config: copp: Enable rate limiting 
for bgp, lacp, dhcp, lldp, macsec and udld #14859 and sonic-mgmt change in 
[tests/copp]: Update copp mgmt tests to support new rate-limits sonic-mgmt#8199

Why I did it
300 PPS is not sufficient to prevent LACP/BGP flaps in all cases. 100 PPS seems to
provide better resiliency against DHCP traffic flood to CPU.

Microsoft ADO 25776614:

Send DHCP broadcast packets to DUT and verify that they are trapped to CPU at 100 PPS.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
2023-12-04 22:14:02 +00:00
657 changed files with 17468 additions and 9986 deletions

View File

@ -33,7 +33,6 @@ parameters:
type: object
default:
- vs
- barefoot
- broadcom
- centec
- centec-arm64

View File

@ -9,6 +9,16 @@ trigger:
branches:
include:
- master
- 202???
schedules:
- cron: "0 0 * * *"
displayName: Daily build
branches:
include:
- master
- 202???
always: true
stages:
- stage: Build
@ -28,13 +38,14 @@ stages:
cmake pkg-config python3-pip python cmake libgtest-dev libgmock-dev libyang-dev \
debhelper-compat dh-elpa dh-sequence-python3 python3-all \
libpython3-all-dev python3-six xmlto unzip rake-compiler gem2deb pkg-php-tools \
ant default-jdk maven-repo-helper libguava-java
ant default-jdk maven-repo-helper libguava-java \
libboost-all-dev libgtest-dev build-essential
wget http://ftp.us.debian.org/debian/pool/main/libg/libgoogle-gson-java/libgoogle-gson-java_2.8.6-1+deb11u1_all.deb
sudo dpkg -i libgoogle-gson-java_2.8.6-1+deb11u1_all.deb
mkdir -p /tmp/artifacts
displayName: "Install dependencies"
- script: |
SONIC_CONFIG_MAKE_JOBS=$(nproc) CONFIGURED_ARCH=amd64 DEST=/tmp/artifacts make -f ../rules/protobuf.mk -f protobuf/Makefile
BLDENV=bullseye SONIC_CONFIG_MAKE_JOBS=$(nproc) CONFIGURED_ARCH=amd64 DEST=/tmp/artifacts make -f ../rules/protobuf.mk -f protobuf/Makefile
workingDirectory: src
displayName: "Build protobuf"
- script: |

View File

@ -30,7 +30,7 @@ jobs:
- script: |
[ -n "$OVERRIDE_BUILD_OPTIONS" ] && OVERRIDE_BUILD_OPTIONS=$(OVERRIDE_BUILD_OPTIONS)
BUILD_OPTIONS="$(BUILD_OPTIONS) $OVERRIDE_BUILD_OPTIONS"
if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM_AZP) | grep -E -q "^(vs|broadcom|mellanox|marvell-armhf)$"; then
if [ -n "$(CACHE_MODE)" ] && echo $(PLATFORM_AZP) | grep -E -q "^(vs|broadcom|mellanox|marvell-armhf|marvell-arm64)$"; then
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=$(CACHE_MODE) SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/$(PLATFORM_AZP)"
BUILD_OPTIONS="$BUILD_OPTIONS $CACHE_OPTIONS"
fi

22
.gitmodules vendored
View File

@ -1,15 +1,19 @@
[submodule "sonic-swss-common"]
path = src/sonic-swss-common
url = https://github.com/sonic-net/sonic-swss-common
branch = 202311
[submodule "sonic-linux-kernel"]
path = src/sonic-linux-kernel
url = https://github.com/sonic-net/sonic-linux-kernel
branch = 202311
[submodule "sonic-sairedis"]
path = src/sonic-sairedis
url = https://github.com/sonic-net/sonic-sairedis
branch = 202311
[submodule "sonic-swss"]
path = src/sonic-swss
url = https://github.com/sonic-net/sonic-swss
branch = 202311
[submodule "src/p4c-bm/p4c-bm"]
path = platform/p4/p4c-bm/p4c-bm
url = https://github.com/krambn/p4c-bm
@ -19,27 +23,33 @@
[submodule "sonic-dbsyncd"]
path = src/sonic-dbsyncd
url = https://github.com/sonic-net/sonic-dbsyncd
branch = 202311
[submodule "src/sonic-py-swsssdk"]
path = src/sonic-py-swsssdk
url = https://github.com/sonic-net/sonic-py-swsssdk.git
branch = 202311
[submodule "src/sonic-snmpagent"]
path = src/sonic-snmpagent
url = https://github.com/sonic-net/sonic-snmpagent
branch = 202311
[submodule "src/ptf"]
path = src/ptf
url = https://github.com/p4lang/ptf.git
[submodule "src/sonic-utilities"]
path = src/sonic-utilities
url = https://github.com/sonic-net/sonic-utilities
branch = 202311
[submodule "platform/broadcom/sonic-platform-modules-arista"]
path = platform/broadcom/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
[submodule "src/sonic-platform-common"]
path = src/sonic-platform-common
url = https://github.com/sonic-net/sonic-platform-common
branch = 202311
[submodule "src/sonic-platform-daemons"]
path = src/sonic-platform-daemons
url = https://github.com/sonic-net/sonic-platform-daemons
branch = 202311
[submodule "src/sonic-platform-pde"]
path = src/sonic-platform-pde
url = https://github.com/sonic-net/sonic-platform-pdk-pde
@ -74,7 +84,7 @@
[submodule "src/sonic-restapi"]
path = src/sonic-restapi
url = https://github.com/sonic-net/sonic-restapi.git
branch = master
branch = 202311
[submodule "src/sonic-mgmt-common"]
path = src/sonic-mgmt-common
url = https://github.com/sonic-net/sonic-mgmt-common.git
@ -91,6 +101,7 @@
[submodule "src/linkmgrd"]
path = src/linkmgrd
url = https://github.com/sonic-net/sonic-linkmgrd.git
branch = 202311
[submodule "src/sonic-p4rt/sonic-pins"]
path = src/sonic-p4rt/sonic-pins
url = https://github.com/sonic-net/sonic-pins.git
@ -100,21 +111,26 @@
[submodule "src/dhcprelay"]
path = src/dhcprelay
url = https://github.com/sonic-net/sonic-dhcp-relay.git
branch = 202311
[submodule "src/sonic-host-services"]
path = src/sonic-host-services
url = https://github.com/sonic-net/sonic-host-services
branch = 202311
[submodule "src/sonic-gnmi"]
path = src/sonic-gnmi
url = https://github.com/sonic-net/sonic-gnmi.git
branch = 202311
[submodule "src/sonic-genl-packet"]
path = src/sonic-genl-packet
url = https://github.com/sonic-net/sonic-genl-packet
[submodule "src/dhcpmon"]
path = src/dhcpmon
url = https://github.com/sonic-net/sonic-dhcpmon.git
[submodule "src/sonic-dash-api/sonic-dash-api"]
path = src/sonic-dash-api/sonic-dash-api
branch = 202311
[submodule "src/sonic-dash-api"]
path = src/sonic-dash-api
url = https://github.com/sonic-net/sonic-dash-api.git
branch = 202311
[submodule "platform/marvell-arm64/mrvl-prestera"]
path = platform/marvell-arm64/mrvl-prestera
url = https://github.com/Marvell-switching/mrvl-prestera.git

View File

@ -40,6 +40,9 @@
# * ENABLE_NATIVE_WRITE: Enable native write/config operations via the gNMI interface.
# * Default: unset
# * Values: y
# * ENABLE_DIALOUT: Enable dialout client in telemetry.
# * Default: unset
# * Values: y
# * SONIC_DPKG_CACHE_METHOD: Specifying method of obtaining the Debian packages from cache: none or cache
# * SONIC_DPKG_CACHE_SOURCE: Debian package cache location when cache enabled for debian packages
# * BUILD_LOG_TIMESTAMP: Set timestamp in the build log (simple/none)
@ -518,6 +521,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
INCLUDE_KUBERNETES=$(INCLUDE_KUBERNETES) \
KUBERNETES_VERSION=$(KUBERNETES_VERSION) \
KUBERNETES_CNI_VERSION=$(KUBERNETES_CNI_VERSION) \
KUBERNETES_CRI_TOOLS_VERSION=$(KUBERNETES_CRI_TOOLS_VERSION) \
K8s_GCR_IO_PAUSE_VERSION=$(K8s_GCR_IO_PAUSE_VERSION) \
INCLUDE_KUBERNETES_MASTER=$(INCLUDE_KUBERNETES_MASTER) \
SONIC_ENABLE_PFCWD_ON_START=$(ENABLE_PFCWD_ON_START) \
@ -544,6 +548,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
SONIC_CONFIG_USE_NATIVE_DOCKERD_FOR_BUILD=$(SONIC_CONFIG_USE_NATIVE_DOCKERD_FOR_BUILD) \
SONIC_INCLUDE_SYSTEM_TELEMETRY=$(INCLUDE_SYSTEM_TELEMETRY) \
SONIC_INCLUDE_SYSTEM_GNMI=$(INCLUDE_SYSTEM_GNMI) \
SONIC_INCLUDE_SYSTEM_EVENTD=$(INCLUDE_SYSTEM_EVENTD) \
INCLUDE_DHCP_RELAY=$(INCLUDE_DHCP_RELAY) \
INCLUDE_DHCP_SERVER=$(INCLUDE_DHCP_SERVER) \
INCLUDE_MACSEC=$(INCLUDE_MACSEC) \
@ -551,6 +556,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
SONIC_INCLUDE_MUX=$(INCLUDE_MUX) \
ENABLE_TRANSLIB_WRITE=$(ENABLE_TRANSLIB_WRITE) \
ENABLE_NATIVE_WRITE=$(ENABLE_NATIVE_WRITE) \
ENABLE_DIALOUT=$(ENABLE_DIALOUT) \
EXTRA_DOCKER_TARGETS=$(EXTRA_DOCKER_TARGETS) \
BUILD_LOG_TIMESTAMP=$(BUILD_LOG_TIMESTAMP) \
SONIC_ENABLE_IMAGE_SIGNATURE=$(ENABLE_IMAGE_SIGNATURE) \

View File

@ -50,7 +50,7 @@ stages:
jobs:
- template: .azure-pipelines/azure-pipelines-build.yml
parameters:
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) BUILD_MULTIASIC_KVM=y ${{ variables.VERSION_CONTROL_OPTIONS }}'
buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) BUILD_MULTIASIC_KVM=y INCLUDE_DHCP_SERVER=y ${{ variables.VERSION_CONTROL_OPTIONS }}'
jobGroups:
- name: vs
@ -164,7 +164,7 @@ stages:
TOPOLOGY: t0
MIN_WORKER: $(T0_INSTANCE_NUM)
MAX_WORKER: $(T0_INSTANCE_NUM)
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
- job: t0_2vlans_elastictest
pool: ubuntu-20.04
@ -178,7 +178,7 @@ stages:
TEST_SET: t0-2vlans
MIN_WORKER: $(T0_2VLANS_INSTANCE_NUM)
MAX_WORKER: $(T0_2VLANS_INSTANCE_NUM)
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
DEPLOY_MG_EXTRA_PARAMS: "-e vlan_config=two_vlan_a"
- job: t1_lag_elastictest
@ -192,7 +192,7 @@ stages:
TOPOLOGY: t1-lag
MIN_WORKER: $(T1_LAG_INSTANCE_NUM)
MAX_WORKER: $(T1_LAG_INSTANCE_NUM)
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
- job: multi_asic_elastictest
displayName: "kvmtest-multi-asic-t1-lag by Elastictest"
@ -207,7 +207,7 @@ stages:
MIN_WORKER: $(MULTI_ASIC_INSTANCE_NUM)
MAX_WORKER: $(MULTI_ASIC_INSTANCE_NUM)
NUM_ASIC: 4
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
- job: dualtor_elastictest
pool: ubuntu-20.04
@ -220,7 +220,7 @@ stages:
TOPOLOGY: dualtor
MIN_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
MAX_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
COMMON_EXTRA_PARAMS: "--disable_loganalyzer "
- job: sonic_t0_elastictest
@ -235,23 +235,22 @@ stages:
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
TEST_SET: t0-sonic
MGMT_BRANCH: "master"
MGMT_BRANCH: "202311"
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic "
VM_TYPE: vsonic
- job: dpu_elastictest
displayName: "kvmtest-dpu by Elastictest"
timeoutInMinutes: 240
continueOnError: false
pool: ubuntu-20.04
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
parameters:
TOPOLOGY: dpu
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
KVM_IMAGE_BRANCH: "master"
MGMT_BRANCH: "master"
# - job: dpu_elastictest
# displayName: "kvmtest-dpu by Elastictest"
# timeoutInMinutes: 240
# continueOnError: false
# pool: ubuntu-20.04
# steps:
# - template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
# parameters:
# TOPOLOGY: dpu
# MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
# MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
# MGMT_BRANCH: "202311"
# - job: wan_elastictest

View File

@ -276,16 +276,25 @@ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove software-properties-common
install_kubernetes () {
local ver="$1"
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -fsSL \
https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
sudo LANG=C chroot $FILESYSTEM_ROOT apt-key add -
## Check out the sources list update matches current Debian version
sudo cp files/image_config/kubernetes/kubernetes.list $FILESYSTEM_ROOT/etc/apt/sources.list.d/
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install kubernetes-cni=${KUBERNETES_CNI_VERSION}
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install kubelet=${ver}
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install kubectl=${ver}
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install kubeadm=${ver}
## Install k8s package from storage
local storage_prefix="https://sonicstorage.blob.core.windows.net/public/kubernetes"
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/cri-tools.deb -fsSL \
${storage_prefix}/cri-tools_${KUBERNETES_CRI_TOOLS_VERSION}_${CONFIGURED_ARCH}.deb
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/kubernetes-cni.deb -fsSL \
${storage_prefix}/kubernetes-cni_${KUBERNETES_CNI_VERSION}_${CONFIGURED_ARCH}.deb
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/kubelet.deb -fsSL \
${storage_prefix}/kubelet_${ver}_${CONFIGURED_ARCH}.deb
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/kubectl.deb -fsSL \
${storage_prefix}/kubectl_${ver}_${CONFIGURED_ARCH}.deb
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/kubeadm.deb -fsSL \
${storage_prefix}/kubeadm_${ver}_${CONFIGURED_ARCH}.deb
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install -f /tmp/cri-tools.deb
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install -f /tmp/kubernetes-cni.deb
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install -f /tmp/kubelet.deb
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install -f /tmp/kubectl.deb
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install -f /tmp/kubeadm.deb
sudo LANG=C chroot $FILESYSTEM_ROOT rm -f /tmp/{cri-tools,kubernetes-cni,kubelet,kubeadm,kubectl}.deb
}
if [ "$INCLUDE_KUBERNETES" == "y" ]
@ -475,6 +484,10 @@ fi
## Disable kexec supported reboot which was installed by default
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec
# Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'.
sudo mkdir $FILESYSTEM_ROOT/etc/systemd/system/logrotate.service.d
sudo cp files/image_config/logrotate/logrotateOverride.conf $FILESYSTEM_ROOT/etc/systemd/system/logrotate.service.d/logrotateOverride.conf
## Remove sshd host keys, and will regenerate on first sshd start
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/

View File

@ -1,132 +0,0 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "3x10G(3)+1x1G(1)",
"port_type": "RJ45"
},
"Ethernet4": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet8": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet12": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet16": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet20": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet24": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet28": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet32": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet36": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet40": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet44": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet48": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet52": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet56": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet60": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet64": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet68": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet72": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet76": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet80": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet84": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet88": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet92": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet96": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet100": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet104": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet108": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet112": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet116": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet120": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
},
"Ethernet124": {
"default_brkout_mode": "1x40G[10G]",
"port_type": "QSFP+"
}
}
}

View File

@ -1,36 +1,36 @@
# name lanes alias index
Ethernet0 9 Ethernet1 1
Ethernet1 10 Ethernet2 2
Ethernet2 11 Ethernet3 3
Ethernet3 12 Ethernet4 4
Ethernet4 13,14,15,16 Ethernet6/1 6
Ethernet8 17,18,19,20 Ethernet7/1 7
Ethernet12 21,22,23,24 Ethernet8/1 8
Ethernet16 29,30,31,32 Ethernet9/1 9
Ethernet20 25,26,27,28 Ethernet10/1 10
Ethernet24 33,34,35,36 Ethernet11/1 11
Ethernet28 37,38,39,40 Ethernet12/1 12
Ethernet32 45,46,47,48 Ethernet13/1 13
Ethernet36 41,42,43,44 Ethernet14/1 14
Ethernet40 49,50,51,52 Ethernet15/1 15
Ethernet44 53,54,55,56 Ethernet16/1 16
Ethernet48 69,70,71,72 Ethernet17/1 17
Ethernet52 65,66,67,68 Ethernet18/1 18
Ethernet56 73,74,75,76 Ethernet19/1 19
Ethernet60 77,78,79,80 Ethernet20/1 20
Ethernet64 93,94,95,96 Ethernet21/1 21
Ethernet68 89,90,91,92 Ethernet22/1 22
Ethernet72 97,98,99,100 Ethernet23/1 23
Ethernet76 101,102,103,104 Ethernet24/1 24
Ethernet80 109,110,111,112 Ethernet25/1 25
Ethernet84 105,106,107,108 Ethernet26/1 26
Ethernet88 121,122,123,124 Ethernet27/1 27
Ethernet92 125,126,127,128 Ethernet28/1 28
Ethernet96 61,62,63,64 Ethernet29 29
Ethernet100 57,58,59,60 Ethernet30 30
Ethernet104 81,82,83,84 Ethernet31 31
Ethernet108 85,86,87,88 Ethernet32 32
Ethernet112 117,118,119,120 Ethernet33 33
Ethernet116 113,114,115,116 Ethernet34 34
Ethernet120 1,2,3,4 Ethernet35 35
Ethernet124 5,6,7,8 Ethernet36 36
# name lanes alias index speed
Ethernet0 9 Ethernet1 1 10000
Ethernet1 10 Ethernet2 2 10000
Ethernet2 11 Ethernet3 3 10000
Ethernet3 12 Ethernet4 4 1000
Ethernet4 13,14,15,16 Ethernet6/1 6 40000
Ethernet8 17,18,19,20 Ethernet7/1 7 40000
Ethernet12 21,22,23,24 Ethernet8/1 8 40000
Ethernet16 29,30,31,32 Ethernet9/1 9 40000
Ethernet20 25,26,27,28 Ethernet10/1 10 40000
Ethernet24 33,34,35,36 Ethernet11/1 11 40000
Ethernet28 37,38,39,40 Ethernet12/1 12 40000
Ethernet32 45,46,47,48 Ethernet13/1 13 40000
Ethernet36 41,42,43,44 Ethernet14/1 14 40000
Ethernet40 49,50,51,52 Ethernet15/1 15 40000
Ethernet44 53,54,55,56 Ethernet16/1 16 40000
Ethernet48 69,70,71,72 Ethernet17/1 17 40000
Ethernet52 65,66,67,68 Ethernet18/1 18 40000
Ethernet56 73,74,75,76 Ethernet19/1 19 40000
Ethernet60 77,78,79,80 Ethernet20/1 20 40000
Ethernet64 93,94,95,96 Ethernet21/1 21 40000
Ethernet68 89,90,91,92 Ethernet22/1 22 40000
Ethernet72 97,98,99,100 Ethernet23/1 23 40000
Ethernet76 101,102,103,104 Ethernet24/1 24 40000
Ethernet80 109,110,111,112 Ethernet25/1 25 40000
Ethernet84 105,106,107,108 Ethernet26/1 26 40000
Ethernet88 121,122,123,124 Ethernet27/1 27 40000
Ethernet92 125,126,127,128 Ethernet28/1 28 40000
Ethernet96 61,62,63,64 Ethernet29 29 40000
Ethernet100 57,58,59,60 Ethernet30 30 40000
Ethernet104 81,82,83,84 Ethernet31 31 40000
Ethernet108 85,86,87,88 Ethernet32 32 40000
Ethernet112 117,118,119,120 Ethernet33 33 40000
Ethernet116 113,114,115,116 Ethernet34 34 40000
Ethernet120 1,2,3,4 Ethernet35 35 40000
Ethernet124 5,6,7,8 Ethernet36 36 40000

View File

@ -449,3 +449,4 @@ serdes_preemphasis_109=0x145c00
mmu_init_config="MSFT-TH-Tier1"
phy_an_lt_msft=1
phy_unlos_msft=1

View File

@ -861,3 +861,4 @@ dma_desc_aggregator_enable_specific_MDB_LPM.BCM8869X=1
dma_desc_aggregator_enable_specific_MDB_FEC.BCM8869X=1
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1015,3 +1015,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=2
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1015,3 +1015,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=2
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1,41 +0,0 @@
# name lanes alias index role speed asic_port_name coreId corePortId numVoq
Ethernet0 72,73,74,75 Ethernet1/1 1 Ext 100000 Eth0-ASIC0 1 1 8
Ethernet8 80,81,82,83 Ethernet2/1 2 Ext 100000 Eth8-ASIC0 1 2 8
Ethernet16 88,89,90,91 Ethernet3/1 3 Ext 100000 Eth16-ASIC0 1 3 8
Ethernet24 96,97,98,99 Ethernet4/1 4 Ext 100000 Eth24-ASIC0 1 4 8
Ethernet32 104,105,106,107 Ethernet5/1 5 Ext 100000 Eth32-ASIC0 1 5 8
Ethernet40 112,113,114,115 Ethernet6/1 6 Ext 100000 Eth40-ASIC0 1 6 8
Ethernet48 120,121,122,123 Ethernet7/1 7 Ext 100000 Eth48-ASIC0 1 7 8
Ethernet56 128,129,130,131 Ethernet8/1 8 Ext 100000 Eth56-ASIC0 1 8 8
Ethernet64 136,137,138,139 Ethernet9/1 9 Ext 100000 Eth64-ASIC0 1 9 8
Ethernet72 64,65,66,67 Ethernet10/1 10 Ext 100000 Eth72-ASIC0 0 10 8
Ethernet80 56,57,58,59 Ethernet11/1 11 Ext 100000 Eth80-ASIC0 0 11 8
Ethernet88 48,49,50,51 Ethernet12/1 12 Ext 100000 Eth88-ASIC0 0 12 8
Ethernet96 40,41,42,43 Ethernet13/1 13 Ext 100000 Eth96-ASIC0 0 13 8
Ethernet104 32,33,34,35 Ethernet14/1 14 Ext 100000 Eth104-ASIC0 0 14 8
Ethernet112 24,25,26,27 Ethernet15/1 15 Ext 100000 Eth112-ASIC0 0 15 8
Ethernet120 16,17,18,19 Ethernet16/1 16 Ext 100000 Eth120-ASIC0 0 16 8
Ethernet128 8,9,10,11 Ethernet17/1 17 Ext 100000 Eth128-ASIC0 0 17 8
Ethernet136 0,1,2,3 Ethernet18/1 18 Ext 100000 Eth136-ASIC0 0 18 8
Ethernet144 72,73,74,75 Ethernet19/1 19 Ext 100000 Eth0-ASIC1 1 1 8
Ethernet152 80,81,82,83 Ethernet20/1 20 Ext 100000 Eth8-ASIC1 1 2 8
Ethernet160 88,89,90,91 Ethernet21/1 21 Ext 100000 Eth16-ASIC1 1 3 8
Ethernet168 96,97,98,99 Ethernet22/1 22 Ext 100000 Eth24-ASIC1 1 4 8
Ethernet176 104,105,106,107 Ethernet23/1 23 Ext 100000 Eth32-ASIC1 1 5 8
Ethernet184 112,113,114,115 Ethernet24/1 24 Ext 100000 Eth40-ASIC1 1 6 8
Ethernet192 120,121,122,123 Ethernet25/1 25 Ext 100000 Eth48-ASIC1 1 7 8
Ethernet200 128,129,130,131 Ethernet26/1 26 Ext 100000 Eth56-ASIC1 1 8 8
Ethernet208 136,137,138,139 Ethernet27/1 27 Ext 100000 Eth64-ASIC1 1 9 8
Ethernet216 64,65,66,67 Ethernet28/1 28 Ext 100000 Eth72-ASIC1 0 10 8
Ethernet224 56,57,58,59 Ethernet29/1 29 Ext 100000 Eth80-ASIC1 0 11 8
Ethernet232 48,49,50,51 Ethernet30/1 30 Ext 100000 Eth88-ASIC1 0 12 8
Ethernet240 40,41,42,43 Ethernet31/1 31 Ext 100000 Eth96-ASIC1 0 13 8
Ethernet248 32,33,34,35 Ethernet32/1 32 Ext 100000 Eth104-ASIC1 0 14 8
Ethernet256 24,25,26,27 Ethernet33/1 33 Ext 100000 Eth112-ASIC1 0 15 8
Ethernet264 16,17,18,19 Ethernet34/1 34 Ext 100000 Eth120-ASIC1 0 16 8
Ethernet272 8,9,10,11 Ethernet35/1 35 Ext 100000 Eth128-ASIC1 0 17 8
Ethernet280 0,1,2,3 Ethernet36/1 36 Ext 100000 Eth136-ASIC1 0 18 8
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

View File

@ -1032,3 +1032,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1032,3 +1032,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1,77 +0,0 @@
# name lanes alias index role speed asic_port_name coreId corePortId numVoq
Ethernet0 72,73,74,75 Ethernet1/1 1 Ext 100000 Eth0-ASIC0 1 1 8
Ethernet4 76,77,78,79 Ethernet1/5 1 Ext 100000 Eth4-ASIC0 1 2 8
Ethernet8 80,81,82,83 Ethernet2/1 2 Ext 100000 Eth8-ASIC0 1 3 8
Ethernet12 84,85,86,87 Ethernet2/5 2 Ext 100000 Eth12-ASIC0 1 4 8
Ethernet16 88,89,90,91 Ethernet3/1 3 Ext 100000 Eth16-ASIC0 1 5 8
Ethernet20 92,93,94,95 Ethernet3/5 3 Ext 100000 Eth20-ASIC0 1 6 8
Ethernet24 96,97,98,99 Ethernet4/1 4 Ext 100000 Eth24-ASIC0 1 7 8
Ethernet28 100,101,102,103 Ethernet4/5 4 Ext 100000 Eth28-ASIC0 1 8 8
Ethernet32 104,105,106,107 Ethernet5/1 5 Ext 100000 Eth32-ASIC0 1 9 8
Ethernet36 108,109,110,111 Ethernet5/5 5 Ext 100000 Eth36-ASIC0 1 10 8
Ethernet40 112,113,114,115 Ethernet6/1 6 Ext 100000 Eth40-ASIC0 1 11 8
Ethernet44 116,117,118,119 Ethernet6/5 6 Ext 100000 Eth44-ASIC0 1 12 8
Ethernet48 120,121,122,123 Ethernet7/1 7 Ext 100000 Eth48-ASIC0 1 13 8
Ethernet52 124,125,126,127 Ethernet7/5 7 Ext 100000 Eth52-ASIC0 1 14 8
Ethernet56 128,129,130,131 Ethernet8/1 8 Ext 100000 Eth56-ASIC0 1 15 8
Ethernet60 132,133,134,135 Ethernet8/5 8 Ext 100000 Eth60-ASIC0 1 16 8
Ethernet64 136,137,138,139 Ethernet9/1 9 Ext 100000 Eth64-ASIC0 1 17 8
Ethernet68 140,141,142,143 Ethernet9/5 9 Ext 100000 Eth68-ASIC0 1 18 8
Ethernet72 64,65,66,67 Ethernet10/1 10 Ext 100000 Eth72-ASIC0 0 19 8
Ethernet76 68,69,70,71 Ethernet10/5 10 Ext 100000 Eth76-ASIC0 0 20 8
Ethernet80 56,57,58,59 Ethernet11/1 11 Ext 100000 Eth80-ASIC0 0 21 8
Ethernet84 60,61,62,63 Ethernet11/5 11 Ext 100000 Eth84-ASIC0 0 22 8
Ethernet88 48,49,50,51 Ethernet12/1 12 Ext 100000 Eth88-ASIC0 0 23 8
Ethernet92 52,53,54,55 Ethernet12/5 12 Ext 100000 Eth92-ASIC0 0 24 8
Ethernet96 40,41,42,43 Ethernet13/1 13 Ext 100000 Eth96-ASIC0 0 25 8
Ethernet100 44,45,46,47 Ethernet13/5 13 Ext 100000 Eth100-ASIC0 0 26 8
Ethernet104 32,33,34,35 Ethernet14/1 14 Ext 100000 Eth104-ASIC0 0 27 8
Ethernet108 36,37,38,39 Ethernet14/5 14 Ext 100000 Eth108-ASIC0 0 28 8
Ethernet112 24,25,26,27 Ethernet15/1 15 Ext 100000 Eth112-ASIC0 0 29 8
Ethernet116 28,29,30,31 Ethernet15/5 15 Ext 100000 Eth116-ASIC0 0 30 8
Ethernet120 16,17,18,19 Ethernet16/1 16 Ext 100000 Eth120-ASIC0 0 31 8
Ethernet124 20,21,22,23 Ethernet16/5 16 Ext 100000 Eth124-ASIC0 0 32 8
Ethernet128 8,9,10,11 Ethernet17/1 17 Ext 100000 Eth128-ASIC0 0 33 8
Ethernet132 12,13,14,15 Ethernet17/5 17 Ext 100000 Eth132-ASIC0 0 34 8
Ethernet136 0,1,2,3 Ethernet18/1 18 Ext 100000 Eth136-ASIC0 0 35 8
Ethernet140 4,5,6,7 Ethernet18/5 18 Ext 100000 Eth140-ASIC0 0 36 8
Ethernet144 72,73,74,75 Ethernet19/1 19 Ext 100000 Eth144-ASIC1 1 1 8
Ethernet148 76,77,78,79 Ethernet19/5 19 Ext 100000 Eth148-ASIC1 1 2 8
Ethernet152 80,81,82,83 Ethernet20/1 20 Ext 100000 Eth152-ASIC1 1 3 8
Ethernet156 84,85,86,87 Ethernet20/5 20 Ext 100000 Eth156-ASIC1 1 4 8
Ethernet160 88,89,90,91 Ethernet21/1 21 Ext 100000 Eth160-ASIC1 1 5 8
Ethernet164 92,93,94,95 Ethernet21/5 21 Ext 100000 Eth164-ASIC1 1 6 8
Ethernet168 96,97,98,99 Ethernet22/1 22 Ext 100000 Eth168-ASIC1 1 7 8
Ethernet172 100,101,102,103 Ethernet22/5 22 Ext 100000 Eth172-ASIC1 1 8 8
Ethernet176 104,105,106,107 Ethernet23/1 23 Ext 100000 Eth176-ASIC1 1 9 8
Ethernet180 108,109,110,111 Ethernet23/5 23 Ext 100000 Eth180-ASIC1 1 10 8
Ethernet184 112,113,114,115 Ethernet24/1 24 Ext 100000 Eth184-ASIC1 1 11 8
Ethernet188 116,117,118,119 Ethernet24/5 24 Ext 100000 Eth188-ASIC1 1 12 8
Ethernet192 120,121,122,123 Ethernet25/1 25 Ext 100000 Eth192-ASIC1 1 13 8
Ethernet196 124,125,126,127 Ethernet25/5 25 Ext 100000 Eth196-ASIC1 1 14 8
Ethernet200 128,129,130,131 Ethernet26/1 26 Ext 100000 Eth200-ASIC1 1 15 8
Ethernet204 132,133,134,135 Ethernet26/5 26 Ext 100000 Eth204-ASIC1 1 16 8
Ethernet208 136,137,138,139 Ethernet27/1 27 Ext 100000 Eth208-ASIC1 1 17 8
Ethernet212 140,141,142,143 Ethernet27/5 27 Ext 100000 Eth212-ASIC1 1 18 8
Ethernet216 64,65,66,67 Ethernet28/1 28 Ext 100000 Eth216-ASIC1 0 19 8
Ethernet220 68,69,70,71 Ethernet28/5 28 Ext 100000 Eth220-ASIC1 0 20 8
Ethernet224 56,57,58,59 Ethernet29/1 29 Ext 100000 Eth224-ASIC1 0 21 8
Ethernet228 60,61,62,63 Ethernet29/5 29 Ext 100000 Eth228-ASIC1 0 22 8
Ethernet232 48,49,50,51 Ethernet30/1 30 Ext 100000 Eth232-ASIC1 0 23 8
Ethernet236 52,53,54,55 Ethernet30/5 30 Ext 100000 Eth236-ASIC1 0 24 8
Ethernet240 40,41,42,43 Ethernet31/1 31 Ext 100000 Eth240-ASIC1 0 25 8
Ethernet244 44,45,46,47 Ethernet31/5 31 Ext 100000 Eth244-ASIC1 0 26 8
Ethernet248 32,33,34,35 Ethernet32/1 32 Ext 100000 Eth248-ASIC1 0 27 8
Ethernet252 36,37,38,39 Ethernet32/5 32 Ext 100000 Eth252-ASIC1 0 28 8
Ethernet256 24,25,26,27 Ethernet33/1 33 Ext 100000 Eth256-ASIC1 0 29 8
Ethernet260 28,29,30,31 Ethernet33/5 33 Ext 100000 Eth260-ASIC1 0 30 8
Ethernet264 16,17,18,19 Ethernet34/1 34 Ext 100000 Eth264-ASIC1 0 31 8
Ethernet268 20,21,22,23 Ethernet34/5 34 Ext 100000 Eth268-ASIC1 0 32 8
Ethernet272 8,9,10,11 Ethernet35/1 35 Ext 100000 Eth272-ASIC1 0 33 8
Ethernet276 12,13,14,15 Ethernet35/5 35 Ext 100000 Eth276-ASIC1 0 34 8
Ethernet280 0,1,2,3 Ethernet36/1 36 Ext 100000 Eth280-ASIC1 0 35 8
Ethernet284 4,5,6,7 Ethernet36/5 36 Ext 100000 Eth284-ASIC1 0 36 8
Ethernet-Rec0 221 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 221 8
Ethernet-IB0 222 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 222 8
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8

View File

@ -1052,3 +1052,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1052,3 +1052,4 @@ xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
sai_pfc_dlr_init_capability=0
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

View File

@ -1,41 +0,0 @@
# name lanes alias index role speed asic_port_name coreId corePortId numVoq
Ethernet0 72,73,74,75,76,77,78,79 Ethernet1/1 1 Ext 400000 Eth0-ASIC0 1 1 8
Ethernet8 80,81,82,83,84,85,86,87 Ethernet2/1 2 Ext 400000 Eth8-ASIC0 1 2 8
Ethernet16 88,89,90,91,92,93,94,95 Ethernet3/1 3 Ext 400000 Eth16-ASIC0 1 3 8
Ethernet24 96,97,98,99,100,101,102,103 Ethernet4/1 4 Ext 400000 Eth24-ASIC0 1 4 8
Ethernet32 104,105,106,107,108,109,110,111 Ethernet5/1 5 Ext 400000 Eth32-ASIC0 1 5 8
Ethernet40 112,113,114,115,116,117,118,119 Ethernet6/1 6 Ext 400000 Eth40-ASIC0 1 6 8
Ethernet48 120,121,122,123,124,125,126,127 Ethernet7/1 7 Ext 400000 Eth48-ASIC0 1 7 8
Ethernet56 128,129,130,131,132,133,134,135 Ethernet8/1 8 Ext 400000 Eth56-ASIC0 1 8 8
Ethernet64 136,137,138,139,140,141,142,143 Ethernet9/1 9 Ext 400000 Eth64-ASIC0 1 9 8
Ethernet72 64,65,66,67,68,69,70,71 Ethernet10/1 10 Ext 400000 Eth72-ASIC0 0 10 8
Ethernet80 56,57,58,59,60,61,62,63 Ethernet11/1 11 Ext 400000 Eth80-ASIC0 0 11 8
Ethernet88 48,49,50,51,52,53,54,55 Ethernet12/1 12 Ext 400000 Eth88-ASIC0 0 12 8
Ethernet96 40,41,42,43,44,45,46,47 Ethernet13/1 13 Ext 400000 Eth96-ASIC0 0 13 8
Ethernet104 32,33,34,35,36,37,38,39 Ethernet14/1 14 Ext 400000 Eth104-ASIC0 0 14 8
Ethernet112 24,25,26,27,28,29,30,31 Ethernet15/1 15 Ext 400000 Eth112-ASIC0 0 15 8
Ethernet120 16,17,18,19,20,21,22,23 Ethernet16/1 16 Ext 400000 Eth120-ASIC0 0 16 8
Ethernet128 8,9,10,11,12,13,14,15 Ethernet17/1 17 Ext 400000 Eth128-ASIC0 0 17 8
Ethernet136 0,1,2,3,4,5,6,7 Ethernet18/1 18 Ext 400000 Eth136-ASIC0 0 18 8
Ethernet144 72,73,74,75,76,77,78,79 Ethernet19/1 19 Ext 400000 Eth0-ASIC1 1 1 8
Ethernet152 80,81,82,83,84,85,86,87 Ethernet20/1 20 Ext 400000 Eth8-ASIC1 1 2 8
Ethernet160 88,89,90,91,92,93,94,95 Ethernet21/1 21 Ext 400000 Eth16-ASIC1 1 3 8
Ethernet168 96,97,98,99,100,101,102,103 Ethernet22/1 22 Ext 400000 Eth24-ASIC1 1 4 8
Ethernet176 104,105,106,107,108,109,110,111 Ethernet23/1 23 Ext 400000 Eth32-ASIC1 1 5 8
Ethernet184 112,113,114,115,116,117,118,119 Ethernet24/1 24 Ext 400000 Eth40-ASIC1 1 6 8
Ethernet192 120,121,122,123,124,125,126,127 Ethernet25/1 25 Ext 400000 Eth48-ASIC1 1 7 8
Ethernet200 128,129,130,131,132,133,134,135 Ethernet26/1 26 Ext 400000 Eth56-ASIC1 1 8 8
Ethernet208 136,137,138,139,140,141,142,143 Ethernet27/1 27 Ext 400000 Eth64-ASIC1 1 9 8
Ethernet216 64,65,66,67,68,69,70,71 Ethernet28/1 28 Ext 400000 Eth72-ASIC1 0 10 8
Ethernet224 56,57,58,59,60,61,62,63 Ethernet29/1 29 Ext 400000 Eth80-ASIC1 0 11 8
Ethernet232 48,49,50,51,52,53,54,55 Ethernet30/1 30 Ext 400000 Eth88-ASIC1 0 12 8
Ethernet240 40,41,42,43,44,45,46,47 Ethernet31/1 31 Ext 400000 Eth96-ASIC1 0 13 8
Ethernet248 32,33,34,35,36,37,38,39 Ethernet32/1 32 Ext 400000 Eth104-ASIC1 0 14 8
Ethernet256 24,25,26,27,28,29,30,31 Ethernet33/1 33 Ext 400000 Eth112-ASIC1 0 15 8
Ethernet264 16,17,18,19,20,21,22,23 Ethernet34/1 34 Ext 400000 Eth120-ASIC1 0 16 8
Ethernet272 8,9,10,11,12,13,14,15 Ethernet35/1 35 Ext 400000 Eth128-ASIC1 0 17 8
Ethernet280 0,1,2,3,4,5,6,7 Ethernet36/1 36 Ext 400000 Eth136-ASIC1 0 18 8
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

View File

@ -24,7 +24,6 @@ class Common:
SET_METHOD_IPMI = 'ipmitool'
NULL_VAL = 'N/A'
HOST_CHK_CMD = ["docker"]
REF_KEY = '$ref:'
def __init__(self, conf=None):
@ -185,11 +184,12 @@ class Common:
return True
def is_host(self):
try:
subprocess.call(self.HOST_CHK_CMD, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except FileNotFoundError:
return False
return True
"""
Test whether current process is running on the host or an docker
return True for host and False for docker
"""
docker_env_file = '/.dockerenv'
return os.path.exists(docker_env_file) is False
def load_json_file(self, path):
"""

View File

@ -1,3 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2010.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -1 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq"
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq libata.force=noncq"

View File

@ -47,3 +47,25 @@ bus "i2c-2" "i2c-1-mux (chan_id 1)"
label fan2 "Chassis Fan 2"
label fan3 "Chassis Fan 3"
label fan4 "Chassis Fan 4"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23

View File

@ -1,3 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2100.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -49,3 +49,19 @@ bus "i2c-2" "i2c-1-mux (chan_id 1)"
label fan2 "Chassis Fan 2"
label fan3 "Chassis Fan 3"
label fan4 "Chassis Fan 4"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17

View File

@ -1,3 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2410.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -79,3 +79,59 @@ bus "i2c-2" "i2c-1-mux (chan_id 1)"
label fan6 "Chassis Drawer-3 Fan-2"
label fan7 "Chassis Drawer-4 Fan-1"
label fan8 "Chassis Drawer-4 Fan-2"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57

View File

@ -1,3 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x100g_40x50g_8x10g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_44x50g_10x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_48x50g_8x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq"
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq libata.force=noncq"

View File

@ -1,69 +1,32 @@
#!/bin/bash
#!/usr/bin/python3
declare -r SYSLOG_LOGGER="/usr/bin/logger"
declare -r SYSLOG_IDENTIFIER="platform_wait"
declare -r SYSLOG_ERROR="error"
declare -r SYSLOG_NOTICE="notice"
declare -r SYSLOG_INFO="info"
#
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
declare -r HW_MGMT_CONFIG="/var/run/hw-management/config"
import sys
from sonic_platform.device_data import DeviceDataManager
from sonic_py_common.logger import Logger
declare -r MODULE_COUNTER="${HW_MGMT_CONFIG}/module_counter"
declare -r SFP_COUNTER="${HW_MGMT_CONFIG}/sfp_counter"
declare -r EXIT_SUCCESS="0"
declare -r EXIT_TIMEOUT="1"
function log_error() {
eval "${SYSLOG_LOGGER} -t ${SYSLOG_IDENTIFIER} -p ${SYSLOG_ERROR} $@"
}
function log_notice() {
eval "${SYSLOG_LOGGER} -t ${SYSLOG_IDENTIFIER} -p ${SYSLOG_NOTICE} $@"
}
function log_info() {
eval "${SYSLOG_LOGGER} -t ${SYSLOG_IDENTIFIER} -p ${SYSLOG_INFO} $@"
}
function wait_for_sfp() {
local -r _NUM_MATCH="^[0-9]+$"
local -r _NUM_ZERO="0"
local _MODULE_CNT="0"
local _SFP_CNT="0"
local -i _WDOG_CNT="1"
local -ir _WDOG_MAX="300"
local -r _TIMEOUT="1s"
while [[ "${_WDOG_CNT}" -le "${_WDOG_MAX}" ]]; do
_MODULE_CNT="$(cat ${MODULE_COUNTER} 2>&1)"
_SFP_CNT="$(cat ${SFP_COUNTER} 2>&1)"
if [[ "${_MODULE_CNT}" =~ ${_NUM_MATCH} && "${_SFP_CNT}" =~ ${_NUM_MATCH} ]]; then
if [[ "${_SFP_CNT}" -gt "${_NUM_ZERO}" && "${_MODULE_CNT}" -eq "${_SFP_CNT}" ]]; then
return "${EXIT_SUCCESS}"
fi
fi
let "_WDOG_CNT++"
sleep "${_TIMEOUT}"
done
return "${EXIT_TIMEOUT}"
}
log_info "Wait for SFP interfaces to be ready"
wait_for_sfp
EXIT_CODE="$?"
if [[ "${EXIT_CODE}" != "${EXIT_SUCCESS}" ]]; then
log_error "SFP interfaces are not ready: timeout"
exit "${EXIT_CODE}"
fi
log_info "SFP interfaces are ready"
exit "${EXIT_SUCCESS}"
logger = Logger(log_identifier='platform_wait')
logger.log_notice('Nvidia: Wait for PMON dependencies to be ready')
if DeviceDataManager.wait_platform_ready():
logger.log_notice('Nvidia: PMON dependencies are ready')
sys.exit(0)
else:
logger.log_error('Nvidia: PMON dependencies are not ready: timeout')
sys.exit(-1)

View File

@ -79,3 +79,35 @@ bus "i2c-2" "i2c-1-mux (chan_id 2)"
label fan6 "Chassis Drawer-3 Fan-2"
label fan7 "Chassis Drawer-4 Fan-1"
label fan8 "Chassis Drawer-4 Fan-2"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33

View File

@ -1 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="logs_inram=on"
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="logs_inram=on libata.force=noncq"

View File

@ -21,6 +21,38 @@ bus "i2c-17" "i2c-1-mux (chan_id 8)"
# Temperature sensors
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
chip "tmp102-i2c-*-49"
label temp1 "Ambient COMEX Temp"

View File

@ -1,3 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2740.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10

View File

@ -74,3 +74,36 @@ bus "i2c-2" "i2c-1-mux (chan_id 1)"
label fan2 "Chassis Fan Drawer-2"
label fan3 "Chassis Fan Drawer-3"
label fan4 "Chassis Fan Drawer-4"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3420.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,66 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700c.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,38 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_2x10g_100x50g_12x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_112x50g_8x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_24x50g_52x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_1x10g_28x50g_49x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_28x50g_52x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4410.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_100x50g_12x100g_2x10g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_112x50g_8x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_48x50g_40x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

View File

@ -8,6 +8,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -20,6 +20,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -19,6 +19,70 @@
bus "i2c-2" "i2c-1-mux (chan_id 1)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
ignore temp65
bus "i2c-7" "i2c-1-mux (chan_id 6)"
chip "tmp102-i2c-*-49"

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x200g_8x100g_96x25g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg

View File

@ -1,388 +1,516 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet2": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet4": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet6": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet8": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet10": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet12": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet14": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet16": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet18": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet20": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet22": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet24": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet26": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet28": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet30": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet32": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet34": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet36": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet38": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet40": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet42": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet44": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet46": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet48": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet50": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet52": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet54": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet56": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet58": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet60": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet62": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet64": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet66": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet68": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet70": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet72": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet74": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet76": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet78": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet80": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet82": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet84": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet86": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet88": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet90": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet92": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet94": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet96": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet98": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet100": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet102": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet104": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet106": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet108": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet110": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet112": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet114": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet116": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet118": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet120": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet122": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet124": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet126": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet128": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet130": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet132": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet134": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet136": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet138": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet140": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet142": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet144": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet146": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet148": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet150": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet152": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet154": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet156": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet158": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet160": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet162": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet164": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet166": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet168": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet170": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet172": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet174": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet176": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet178": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet180": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet182": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet184": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet186": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet188": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet190": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet192": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet194": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet196": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet198": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet200": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet202": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet204": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet206": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet208": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet210": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet212": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet214": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet216": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet218": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet220": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet222": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet224": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet226": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet228": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet230": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet232": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet234": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet236": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet238": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet240": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet242": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet244": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet246": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet248": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet250": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet252": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet254": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
}
}
}

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_128x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg

View File

@ -1,100 +1,132 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet8": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet16": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet24": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet32": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet40": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet48": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet56": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet64": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet72": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet80": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet88": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet96": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet104": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet112": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet120": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet128": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet136": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet144": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet152": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet160": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet168": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet176": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet184": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet192": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet200": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet208": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet216": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet224": {
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet232": {
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet240": {
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet248": {
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x200G[400G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
}
}
}

View File

@ -1,4 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -1,172 +1,228 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet4": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet8": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet12": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet16": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet20": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet24": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet28": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet32": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet36": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet40": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet44": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet48": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet52": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet56": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet60": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet64": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet68": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet72": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet76": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet80": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet84": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet88": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet92": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet96": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet104": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet112": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet120": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet128": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet136": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet144": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet152": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet160": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet164": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet168": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet172": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet176": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet180": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet184": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet188": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet192": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet196": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet200": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet204": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet208": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet212": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet216": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet220": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet224": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet228": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet232": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet236": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet240": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet244": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet248": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet252": {
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x100G[200G,50G,40G,25G,10G,1G]",
"subport": "2"
}
}
}

View File

@ -1,5 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x100g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -0,0 +1,17 @@
{#
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{%- set default_topo = 't0' %}
{%- include 'buffers_config.j2' %}

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers_defaults_objects.j2

View File

@ -0,0 +1,53 @@
{#
Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% set default_cable = '5m' %}
{%- if ((SYSTEM_DEFAULTS is defined) and ('tunnel_qos_remap' in SYSTEM_DEFAULTS) and (SYSTEM_DEFAULTS['tunnel_qos_remap']['status'] == 'enabled')) -%}
{% set ingress_lossless_pool_size = '48168960' %}
{% set ingress_lossless_pool_xoff = '5218304' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '48168960' %}
{%- else -%}
{% set ingress_lossless_pool_size = '49946624' %}
{% set ingress_lossless_pool_xoff = '4063232' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '49946624' %}
{%- endif -%}
{% import 'buffers_defaults_objects.j2' as defs with context %}
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
{%- endmacro %}
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_queue_buffers_with_extra_lossless_queues_with_inactive_ports(port_names_active, port_names_extra_queues, port_names_inactive) %}
{{ defs.generate_queue_buffers_with_extra_lossless_queues(port_names_active, port_names_extra_queues, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_pg_profiles_with_extra_lossless_pgs_with_inactive_ports(port_names_active, port_names_extra_pgs, port_names_inactive) %}
{{ defs.generate_pg_profiles_with_extra_lossless_pgs(port_names_active, port_names_extra_pgs, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
{%- endmacro %}

View File

@ -0,0 +1,38 @@
{#
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{% set default_cable = '300m' %}
{% set ingress_lossless_pool_size = '47546368' %}
{% set ingress_lossless_pool_xoff = '6463488' %}
{% set egress_lossless_pool_size = '60817392' %}
{% set egress_lossy_pool_size = '47546368' %}
{% import 'buffers_defaults_objects.j2' as defs with context %}
{%- macro generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) %}
{{ defs.generate_buffer_pool_and_profiles_with_inactive_ports(port_names_inactive) }}
{%- endmacro %}
{%- macro generate_profile_lists_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_profile_lists(port_names_active, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_queue_buffers_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_queue_buffers(port_names_active, port_names_inactive) }}
{%- endmacro %}
{%- macro generate_pg_profiles_with_inactive_ports(port_names_active, port_names_inactive) %}
{{ defs.generate_pg_profiles(port_names_active, port_names_inactive) }}
{%- endmacro %}

View File

@ -0,0 +1,18 @@
{#
Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#}
{%- set default_topo = 't0' %}
{%- set dynamic_mode = 'true' %}
{%- include 'buffers_config.j2' %}

View File

@ -0,0 +1,228 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet4": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet8": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet12": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet16": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet20": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet24": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet28": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet32": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet36": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet40": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet44": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet48": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet52": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet56": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet60": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet64": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet68": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet72": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet76": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet80": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet84": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet88": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet92": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet96": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet104": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet112": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet120": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet128": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet136": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet144": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet152": {
"default_brkout_mode": "1x400G[200G,100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet160": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet164": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet168": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet172": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet176": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet180": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet184": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet188": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet192": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet196": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet200": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet204": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet208": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet212": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet216": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet220": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet224": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet228": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet232": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet236": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet240": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet244": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet248": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet252": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
}
}
}

View File

@ -0,0 +1 @@
../Mellanox-SN4700-C128/pg_profile_lookup.ini

View File

@ -0,0 +1,74 @@
##
## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
## Apache-2.0
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
# name lanes alias index speed
Ethernet0 0,1,2,3 etp1a 1 200000
Ethernet4 4,5,6,7 etp1b 1 200000
Ethernet8 8,9,10,11 etp2a 2 200000
Ethernet12 12,13,14,15 etp2b 2 200000
Ethernet16 16,17,18,19 etp3a 3 200000
Ethernet20 20,21,22,23 etp3b 3 200000
Ethernet24 24,25,26,27 etp4a 4 200000
Ethernet28 28,29,30,31 etp4b 4 200000
Ethernet32 32,33,34,35 etp5a 5 200000
Ethernet36 36,37,38,39 etp5b 5 200000
Ethernet40 40,41,42,43 etp6a 6 200000
Ethernet44 44,45,46,47 etp6b 6 200000
Ethernet48 48,49,50,51 etp7a 7 200000
Ethernet52 52,53,54,55 etp7b 7 200000
Ethernet56 56,57,58,59 etp8a 8 200000
Ethernet60 60,61,62,63 etp8b 8 200000
Ethernet64 64,65,66,67 etp9a 9 200000
Ethernet68 68,69,70,71 etp9b 9 200000
Ethernet72 72,73,74,75 etp10a 10 200000
Ethernet76 76,77,78,79 etp10b 10 200000
Ethernet80 80,81,82,83 etp11a 11 200000
Ethernet84 84,85,86,87 etp11b 11 200000
Ethernet88 88,89,90,91 etp12a 12 200000
Ethernet92 92,93,94,95 etp12b 12 200000
Ethernet96 96,97,98,99,100,101,102,103 etp13 13 400000
Ethernet104 104,105,106,107,108,109,110,111 etp14 14 400000
Ethernet112 112,113,114,115,116,117,118,119 etp15 15 400000
Ethernet120 120,121,122,123,124,125,126,127 etp16 16 400000
Ethernet128 128,129,130,131,132,133,134,135 etp17 17 400000
Ethernet136 136,137,138,139,140,141,142,143 etp18 18 400000
Ethernet144 144,145,146,147,148,149,150,151 etp19 19 400000
Ethernet152 152,153,154,155,156,157,158,159 etp20 20 400000
Ethernet160 160,161,162,163 etp21a 21 200000
Ethernet164 164,165,166,167 etp21b 21 200000
Ethernet168 168,169,170,171 etp22a 22 200000
Ethernet172 172,173,174,175 etp22b 22 200000
Ethernet176 176,177,178,179 etp23a 23 200000
Ethernet180 180,181,182,183 etp23b 23 200000
Ethernet184 184,185,186,187 etp24a 24 200000
Ethernet188 188,189,190,191 etp24b 24 200000
Ethernet192 192,193,194,195 etp25a 25 200000
Ethernet196 196,197,198,199 etp25b 25 200000
Ethernet200 200,201,202,203 etp26a 26 200000
Ethernet204 204,205,206,207 etp26b 26 200000
Ethernet208 208,209,210,211 etp27a 27 200000
Ethernet212 212,213,214,215 etp27b 27 200000
Ethernet216 216,217,218,219 etp28a 28 200000
Ethernet220 220,221,222,223 etp28b 28 200000
Ethernet224 224,225,226,227 etp29a 29 200000
Ethernet228 228,229,230,231 etp29b 29 200000
Ethernet232 232,233,234,235 etp30a 30 200000
Ethernet236 236,237,238,239 etp30b 30 200000
Ethernet240 240,241,242,243 etp31a 31 200000
Ethernet244 244,245,246,247 etp31b 31 200000
Ethernet248 248,249,250,251 etp32a 32 200000
Ethernet252 252,253,254,255 etp32b 32 200000

View File

@ -0,0 +1 @@
../../x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-C64/qos.json.j2

View File

@ -0,0 +1,2 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x200g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1

View File

@ -0,0 +1,297 @@
<!--
Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<root>
<platform_info type="4700">
<!-- Device MAC address -->
<device-mac-address>00:02:03:04:05:00</device-mac-address>
<!-- ISSU enabled -->
<issu-enabled>1</issu-enabled>
<!-- Number of ports in the following port list -->
<number-of-physical-ports>32</number-of-physical-ports>
<!-- Global port late create -->
<late-create-all-ports>1</late-create-all-ports>
<!-- List of ports in the device -->
<ports-list>
<port-info>
<local-port>1</local-port>
<width>8</width>
<module>17</module>
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
<breakout-modes>0</breakout-modes>
<!-- (BITMASK) 2 - 1Gb , 16 - 10Gb , 32 - 40Gb , 384 - 50Gb , 1536 - 100Gb , 4096 - 200Gb -->
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>5</local-port>
<width>8</width>
<module>16</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>9</local-port>
<width>8</width>
<module>19</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>13</local-port>
<width>8</width>
<module>18</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>17</local-port>
<width>8</width>
<module>21</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>21</local-port>
<width>8</width>
<module>20</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>25</local-port>
<width>8</width>
<module>23</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>29</local-port>
<width>8</width>
<module>22</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>33</local-port>
<width>8</width>
<module>29</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>37</local-port>
<width>8</width>
<module>28</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>41</local-port>
<width>8</width>
<module>31</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>45</local-port>
<width>8</width>
<module>30</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>49</local-port>
<width>8</width>
<module>25</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>53</local-port>
<width>8</width>
<module>24</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>57</local-port>
<width>8</width>
<module>27</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>61</local-port>
<width>8</width>
<module>26</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>65</local-port>
<width>8</width>
<module>14</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>69</local-port>
<width>8</width>
<module>15</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>73</local-port>
<width>8</width>
<module>12</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>77</local-port>
<width>8</width>
<module>13</module>
<breakout-modes>0</breakout-modes>
<port-speed>32768</port-speed>
<split>1</split>
</port-info>
<port-info>
<local-port>81</local-port>
<width>8</width>
<module>10</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>85</local-port>
<width>8</width>
<module>11</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>89</local-port>
<width>8</width>
<module>8</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>93</local-port>
<width>8</width>
<module>9</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>97</local-port>
<width>8</width>
<module>2</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>101</local-port>
<width>8</width>
<module>3</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>105</local-port>
<width>8</width>
<module>0</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>109</local-port>
<width>8</width>
<module>1</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>113</local-port>
<width>8</width>
<module>6</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>117</local-port>
<width>8</width>
<module>7</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>121</local-port>
<width>8</width>
<module>4</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>125</local-port>
<width>8</width>
<module>5</module>
<breakout-modes>1</breakout-modes>
<port-speed>4096</port-speed>
<split>2</split>
</port-info>
</ports-list>
</platform_info>
</root>

View File

@ -1,244 +1,324 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet4": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet8": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet12": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet16": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet20": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet24": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet28": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet32": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet36": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet40": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet44": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet48": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet52": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet56": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet60": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet64": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet68": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet72": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet76": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet80": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet84": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet88": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet92": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet96": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet100": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet104": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet108": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet112": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet116": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet120": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet124": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet128": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet132": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet136": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet140": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet144": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet148": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet152": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet156": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet160": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet164": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet168": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet172": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet176": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet180": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet184": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "1"
},
"Ethernet188": {
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]"
"default_brkout_mode": "2x200G[100G,50G,40G,25G,10G,1G]",
"subport": "2"
},
"Ethernet192": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet194": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet196": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet198": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet200": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet202": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet204": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet206": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet208": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet210": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet212": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet214": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet216": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet218": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet220": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet222": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet224": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet226": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet228": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet230": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet232": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet234": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet236": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet238": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet240": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet242": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet244": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet246": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
},
"Ethernet248": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "1"
},
"Ethernet250": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "2"
},
"Ethernet252": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "3"
},
"Ethernet254": {
"default_brkout_mode": "4x100G[50G,25G,10G,1G]"
"default_brkout_mode": "4x100G[50G,25G,10G,1G]",
"subport": "4"
}
}
}

View File

@ -1,4 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_32x100g_48x200g.xml
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
SAI_DUMP_STORE_AMOUNT=10
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="libata.force=noncq"

Some files were not shown because too many files have changed in this diff Show More