Commit Graph

7345 Commits

Author SHA1 Message Date
Chun'ang Li
b2c3d9338d
Refine PR test template format (#15638)
* Refine PR test template format

Signed-off-by: Chun'ang Li <chunangli@microsoft.com>
2023-06-28 10:08:51 -07:00
mssonicbld
1c6e87657e
[ci/build]: Upgrade SONiC package versions (#15615) 2023-06-28 09:28:41 -07:00
mssonicbld
760ac6ca74
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15610)
src/sonic-platform-daemons

* d24cca4 - (HEAD -> 202205, origin/202205) PSUD-Delete or update CHASSIS_INFO table PSU/Modules data if added or… (#351) (4 days ago) [prem-nokia]
2023-06-28 09:26:05 -07:00
mssonicbld
fe620c4ea7
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15590)
src/sonic-utilities

* 436ecb06 - (HEAD -> 202205, origin/202205) [GCU Feature Update] Cherry-pick Platform Validator PR to 202205  (#2883) (4 days ago) [isabelmsft]
* 17874100 - [202205][db_migrator] Add migration of FLEX_COUNTER_DELAY_STATUS during 1911->2211 upgrade + fast-reboot. Add UT. (#2870) (5 days ago) [Vadym Hlushko]
2023-06-28 09:25:27 -07:00
Jing Zhang
b6cdd8091e
[202205][yang] add Yang model for MUX_LINKMGR|LINK_PROBER (#15384) (#15607)
* [yang] add Yang model for `MUX_LINKMGR|LINK_PROBER` (#15384)

Add yang model for MUX_LINKMGR|LINK_PROBER table.

sign-off: zhangjing@microsoft.com
2023-06-27 18:59:34 -07:00
Ye Jianquan
386ce28695
[CI/CD] Refine t0 sonic and remove SPECIFIED_PARAMS (#15626)
Why I did it
t0-sonic's specific params has been set on sonic-mgmt repo, remove useless SPECIFIED_PARAMS usage
2023-06-27 11:01:50 +08:00
jhli-cisco
199a67a15a
Update cisco-8000.ini (#15620)
Why I did it
Fix incorrectly specified table name in the extra queues and extra pgs j2 files for 8101-32FH-O

How I did it
Update platform module to 202205.2.2.7
2023-06-26 18:34:13 -07:00
Marty Y. Lok
e8e8c019c2
[Nokia-IXR7250E][Devicedata] update the device data for Nokia IXR7250E platform (#15605)
Signed-off-by: mlok <marty.lok@nokia.com>
(cherry picked from commit 478ba478f5)
2023-06-23 15:41:46 -07:00
zitingguo-ms
a589d610b7
Upgrade XGS SAI version to 7.1.50.4 (#15530)
Update SAI xgs version to 7.1.50.4 to include the following changes:

patch fix from CSP CS00012282080 needed to support speed change from 400g to 100g on chassis linecards.
Backport SONIC-71507 VSQF/VSQE are not created after port creation. JIRA# SONIC-71507
Backport JIRA SONIC-70704 to rel_ocp_sai_7_1. JIRA# SONIC-70704
SID - L3 multicast packet drop due to wrong VFI derivation - SDK-350470
SID - SIGSEGV in linkscan callback delivery - SDK-287578
SID - Repeated VXLAN calls deletes vlan translation action profile SDK-313980
SER - error in IS_TDM_CALENDAR0/1 can cause traffic hit in TH
SID - L2_ENTRY Table Lookups May Miss
[CSP CS00012275452] sai_object_type_get_availability failed with SAI_STATUS_INVALID_PARAMETER

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-06-22 13:29:55 -07:00
mssonicbld
a1990d4c48
[Arista][x86_64-arista_7050_qx32] Add Components to platform.json (#15252) (#15585) 2023-06-23 03:41:58 +08:00
vmittal-msft
41cd22d04e
Updated default ECN settings for T2 chassis (#15541)
* Updated default ECN settings for T2 chassis (#14388)

Why I did it
Update ECN settings for T2 chassis

How I did it
Updated qos config file to load these settings during switch bootup

How to verify it
Verified on line card on T2 chassis

* Fix for test failures

* Test case failures

* test case fix
2023-06-22 08:17:45 -07:00
mssonicbld
5db1a495a1
[ci/build]: Upgrade SONiC package versions (#15525) 2023-06-21 17:25:31 -07:00
mssonicbld
30392c7917
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15544)
src/sonic-telemetry

*   0b8843c - (HEAD -> 202205, origin/202205) Merge pull request #120 from zbud-msft/202205_divide_by_zero (3 hours ago) [Ying Xie]
| *   015defa - Merge branch '202205' into 202205_divide_by_zero (5 hours ago) [Zain Budhwani]
* | de2124b - Change log level (5 hours ago) [zbud-msft]
* | f203be5 - Add logs for md5 checksum (#80) (5 hours ago) [Zain Budhwani]
| *   ea6c84b - Merge branch '202205' into 202205_divide_by_zero (31 hours ago) [Zain Budhwani]
* | ab98380 - Fix sonic-mgmt-common version to ec32690 in pipeline (#123) (34 hours ago) [Sachin Holla]
* 5fcecef - Merge branch '202205' into 202205_divide_by_zero (4 days ago) [Ying Xie]
* 09c8bfc - Merge branch '202205' into 202205_divide_by_zero (11 days ago) [Zain Budhwani]
* 21b9bc8 - Fix crash when retrieving cpu utilization (#70) (#71) (11 days ago) [Zain Budhwani]
2023-06-21 17:25:02 -07:00
Tejaswini Chadaga
9d3ee14208
[202205] Update Broadcom DNX SAI version to 7.1.50.4 (#15561)
DNX fixes:

CS00012287482 - support for 1024 LAGs on DNX

Other changes (XGS fixes)

SID - L3 multicast packet drop due to wrong VFI derivation - SDK-350470
SID - SIGSEGV in linkscan callback delivery - SDK-287578
SID - Repeated VXLAN calls deletes vlan translation action profile SDK-313980
SER - error in IS_TDM_CALENDAR0/1 can cause traffic hit in TH
SID - L2_ENTRY Table Lookups May Miss
[CSP CS00012275452] sai_object_type_get_availability failed with SAI_STATUS_INVALID_PARAMETER
2023-06-21 17:17:17 -07:00
Ying Xie
7b13065e7d
[202211][FRR][CVE] Add FRR patches to fix CVEs: CVE-2022-43681 CVE-2022-40318… (#15263) (#15537)
… CVE-2022-40302

Add patches from PRs
https://github.com/FRRouting/frr/pull/12043
https://github.com/FRRouting/frr/pull/12247

#### Why I did it
To fix CVEs https://github.com/advisories/GHSA-x7mf-v6gh-vm4g https://github.com/advisories/GHSA-9rqq-99cf-35g5 https://github.com/advisories/GHSA-j7hm-p94x-q9pw

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

#### How I did it
Added patches from the FRR fix PRs

Co-authored-by: DavidZagury <32644413+DavidZagury@users.noreply.github.com>
2023-06-19 19:50:10 -07:00
mssonicbld
d935f430b8
[mux] Integrate linkmgrd with swss logger (#15392) (#15539) 2023-06-20 09:08:51 +08:00
mssonicbld
ff35113a22
Update the defination of acl table type BMCDATA and BMCDATAV6 (#15385) (#15527)
Why I did it
Update the definition of acl table type BMCDATA and BMCDATAV6 in minigraph parser.

Work item tracking
Microsoft ADO (number only): 24101023
How I did it
Update the definition of acl table type BMCDATA and BMCDATAV6 in minigraph parser.

How to verify it
Ran unittest to verify this update:

Co-authored-by: Zhijian Li <zhijianli@microsoft.com>
2023-06-17 08:45:02 -07:00
mssonicbld
97f247ddaa
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15522)
src/sonic-telemetry

* a4bfafe - (HEAD -> 202205, origin/202205) Merge pull request #119 from zbud-msft/202205_gnmi_get_log (5 hours ago) [Ying Xie]
* 1b49409 - Merge branch '202205' into 202205_gnmi_get_log (7 days ago) [Zain Budhwani]
* b478159 - Cherry pick commit 4a8964a (#104) (7 days ago) [Zain Budhwani]
2023-06-17 08:36:38 -07:00
mssonicbld
d5d674e89d
Revert "Fix for fast/cold-boot: call db_migrator only after old config is loaded (#14933)" (#15464) (#15517) 2023-06-17 09:18:08 +08:00
siqbal1986
2d436cc59d
202205 cast for https://github.com/sonic-net/sonic-buildimage/pull/14992 (#15499)
Why I did it
CP of orignal PR #14992 which failed automatic CP.

Work item tracking
Microsoft ADO (number only):21695894
2023-06-16 08:36:18 -07:00
Prince Sunny
b4dcd1bcb4
Create default Vxlan and Vnet configs (#13409) (#15497)
* Create default Vxlan and Vnet configs for ToRs with Appliance Resource type
2023-06-16 08:35:15 -07:00
mssonicbld
b0f2cb3be2
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15510)
src/sonic-utilities

* 43c85ef5 - (HEAD -> 202205, origin/202205) [dhcp-relay] Fix dhcp6relay counter issue (#2866) (10 hours ago) [Yaqiang Zhu]
* e0333b5c - Revert "[config]config reload should generate sysinfo if missing (#2778)" (#2865) (10 hours ago) [jingwenxie]
* e7eac6bf - [config] Generate sysinfo in single asic (#2856) (10 hours ago) [jingwenxie]
* e42291bb - [config] Generate sysinfo as needed when override config (#2836) (10 hours ago) [jingwenxie]
2023-06-16 08:33:40 -07:00
mssonicbld
4a38fb5681
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15508)
src/sonic-swss

* 444e3be - (HEAD -> 202205, origin/202205) [subinterface]: Fix admin state handling. (#2806) (10 hours ago) [Nazarii Hnydyn]
* 9690c5a - [portsorch]: Enhancing SWSS OA logs to capture host_tx_ready change events (#2822) (10 hours ago) [mihirpat1]
2023-06-16 08:33:15 -07:00
mssonicbld
2286895073
[submodule] Update submodule sonic-sairedis to the latest HEAD automatically (#15506)
src/sonic-sairedis

* ec81223 - (HEAD -> 202205, origin/202205) [syncd] Add pre match logic for acl entry (#1240) (10 hours ago) [Kamil Cudnik]
* 2966e58 - Fix pipeline issue caused by urllib3 v2 (10 hours ago) [Liu Shilong]
2023-06-16 08:32:47 -07:00
mssonicbld
6cd8ae36fa
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15505)
src/sonic-platform-daemons

* 78db08e - (HEAD -> 202205, origin/202205) Separate periodic v/s fixed EEPROM reads between threads and optimize xcvrd boot-up time (#360) (5 hours ago) [mihirpat1]
* 1a672b0 - [ycable] change logging level for stop main loop to NOTICE from ERR (#376) (9 hours ago) [vdahiya12]
2023-06-16 08:32:22 -07:00
mssonicbld
118f14dc65
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#15503)
src/linkmgrd

* 9aebd5a - (HEAD -> 202205, origin/202205) Re-handle pre-init mux config notification after state machine init (#202) (10 hours ago) [Longxiang Lyu]
2023-06-16 08:30:40 -07:00
Samuel Angebault
3396cca1a3 [Arista] fix platform.json for a few devices (#15308)
Why I did it
sonic-mgmt is failing tests due to invalid test data in platform.json
Fwutil is upset the chassis name in the platform_component.json of the 7060CX-32S

How I did it
Fixed the aforementioned issues
2023-06-16 09:55:06 +08:00
pavannaregundi
89b7f46486 [Marvell] Update armhf driver version (#15138)
Changes in MRVL_PRESTERA_DRIVER_1.4:
- Memory leak fixed by releasing pci device after retrieval.
- Fixes for 5.10 kernel porting.

Change-Id: I1d7ee4ec02ec17a29ddb8473725ab68ca399748b

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
2023-06-16 09:54:50 +08:00
Ikki Zhu
340a6f68a8 [celestica/e1031]: enable emc2305 fan controller timeout feature (#14401)
Why I did it
There is rare condition, emc2305 hold SMBus and cause SMBus completion wait timed out.

How I did it
Enable EMC2305 SMBus timeout feature, 30ms period of inactivity will reset the interface.

How to verify it
Use 'i2cget -y -f 23 0x4d 0x20 b' to read EMC2305 configuration register and check DIS_TO bit not set.

Signed-off-by: Eric Zhu <erzhu@celestica.com>
2023-06-16 09:54:43 +08:00
Jing Zhang
417196f80f
[202205][YANG] add model for MUX_CABLE and PEER_SWITCH (#15485)
* [YANG] Add MUX_CABLE yang model  (#11797)

Why I did it
Address issue #10970

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-mux-cable.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.
Pass sonic-config-engine unit test.
Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
f8fe41a023/src/sonic-yang-models/doc/Configuration.md (mux_cable)

* [YANG] add peer switch model (#11828)

Why I did it
Address issue #10966

sign-off: Jing Zhang zhangjing@microsoft.com

How I did it
Add sonic-peer-switch.yang and unit tests.

How to verify it
Compile Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl.

Which release branch to backport (provide reason below if selected)
 201811
 201911
 202006
 202012
 202106
 202111
 202205
Description for the changelog
Link to config_db schema for YANG module changes
b721ff87b9/src/sonic-yang-models/doc/Configuration.md (peer-switch)
2023-06-15 14:35:36 -07:00
mssonicbld
3c8350c7c8
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15470)
src/sonic-swss

* 6a193e0 - (HEAD -> 202205, origin/202205) [Dual-ToR][ACL] bind LAG to ACL table in order to guarantee rule coverage if lag menber will be added to LAG after binding (#2749) (5 hours ago) [Andriy Yurkiv]
2023-06-15 14:33:32 -07:00
mssonicbld
821c883ef4
[yang] Change asn to start from 0 for bgp monitor (#15350) (#15482) 2023-06-16 03:58:05 +08:00
mssonicbld
c4fcd31fa6
enable ethernet backplane port support in port config for packet mode T2 devices (#14533) (#15479) 2023-06-16 03:52:17 +08:00
mssonicbld
913f466cbb
[ci] Add OVERRIDE_BUILD_OPTIONS in image build template. (#15309) (#15481) 2023-06-16 03:48:52 +08:00
mssonicbld
7ce21a6db5
[healthd] Use unix_socket_path instead of loopback ip (#14843) (#15480) 2023-06-16 03:41:30 +08:00
mssonicbld
77d42df160
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15455)
src/sonic-utilities

* 24d0d1cb - (HEAD -> 202205, origin/202205) Update portstat (#2877) (26 hours ago) [wenyiz2021]
2023-06-15 10:27:40 -07:00
James An
a1ee45d7d6
Update cisco-8000.ini (#15465)
Why I did it

Release Notes for Cisco 8101-32FH-O:
• Fixed a FEC lane related error message
• Implemented 'show platform npu mac-state -i ' CLI for NPU MAC information and save-state dump.
• Fixed a Mac Port SerDes credit mismatch error message
• Configurable drop counter support for SAI_DEBUG_COUNTER_ATTR_TYPE (MIGSMSFT-197)
• Removed eth1-midplane creation rule that is not needed for this platform.
• Fix to move control packets from queue 0 to queue 7

How I did it

Update platform version to 202205.2.2.5
2023-06-15 10:27:03 -07:00
Liping Xu
40ef03e70b allow docker_inram to kernel cmd list (#15374)
Why I did it
After docker_inram is enabled, the docker folder's default max size is 1.5G.
It's not big enough for some tests which need to install additional docker images or install extra packages.

Work item tracking
Microsoft ADO 24199761:
How I did it
add docker_inram into cmdline_allowlist

How to verify it
sudo sh -c 'echo "docker_inram_size=3000M" >> kernel-cmdline-append'
sudo reboot and check the docker folder size
2023-06-15 14:33:54 +08:00
Saikrishna Arcot
9e16a7a452
Re-add 127.0.0.1/8 when bringing down the interfaces (#15080) (#15462)
* Re-add 127.0.0.1/8 when bringing down the interfaces

With #5353, 127.0.0.1/16 was added to the lo interface, and then
127.0.0.1/8 was removed. However, when bringing down the lo interface,
like during a config reload, 127.0.0.1/16 gets removed, but 127.0.0.1/8
isn't added back to the interface. This means that there's a period of
time where 127.0.0.1 is not available at all, and services that need to
connect to 127.0.01 (such as for redis DB) will fail.

To fix this, when going down, add 127.0.0.1/8. Add this address before
the existing configuration gets removed, so that 127.0.0.1 is available
at all times.

Note that running `ifdown lo` doesn't actually bring down the loopback
interface; the interface always stays "physically" up.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-06-14 16:28:57 -07:00
mssonicbld
462298070e
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15443)
src/sonic-platform-daemons

* 1d04977 - (HEAD -> 202205, origin/202205) [xcvrd] Reduce vendor_key to vendor_name for media_settings lookup (#366) (7 hours ago) [Aman Singhal]
2023-06-13 18:34:36 -07:00
James An
47e7c4bdab
Update cisco-8000.ini (#15408)
Why I did it
Release Notes for Cisco 8102-64H-O:
T0 / DualTor - Pre-GA

How I did it
Update platform version to 202205.2.2.4
2023-06-12 13:27:24 -07:00
Samuel Angebault
88820b14f2
[202205][Arista] Update platform library submodules (#15406)
fix pcied leak on chassis
fix fan status led setting on fixed systems
misc fixes
2023-06-12 13:26:46 -07:00
mssonicbld
0560c23d45
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15421)
src/sonic-telemetry

* 19ca64a - (HEAD -> 202205, origin/202205) Merge pull request #116 from zbud-msft/fix_azp_202205 (2 days ago) [Ying Xie]
* 810ee03 - Update .netcore pkg (3 days ago) [zbud-msft]
* 5bfcb7d - Fix azp file (3 days ago) [zbud-msft]
2023-06-12 13:25:52 -07:00
mssonicbld
5168dc6346
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15388)
src/sonic-utilities

* 0b878087 - (HEAD -> 202205, origin/202205) Add display support for serial field in show chassis modules status CLI (#2858) (4 days ago) [amulyan7]
2023-06-12 13:25:11 -07:00
mssonicbld
43920be7af
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15386)
src/sonic-platform-daemons

* 59d9556 - (HEAD -> 202205, origin/202205) Add serial field to chassis module table (#363) (4 days ago) [amulyan7]
2023-06-12 13:24:43 -07:00
mssonicbld
e9c6e0500d
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15387)
src/sonic-swss

* 2aec547 - (HEAD -> 202205, origin/202205) [pfcwd] Enhance DLR_INIT based recovery and DLR_PACKET_ACTION for broadcom platforms (#2807) (4 days ago) [Neetha John]
* fa4acd3 - Fix to substract the macsec sectag size from port MTU during InitializePort (#2789) (5 days ago) [judyjoseph]
2023-06-12 13:22:51 -07:00
Arvindsrinivasan Lakshmi Narasimhan
2e15db02f2 set the default value for the port fec to RS on J2 based LC (#15346)
Why I did it
Work item tracking
Microsoft ADO (24182162):
How I did it
update the config.bcm to set the default fec RS 100G Linecard

How to verify it
Tests on chassis
2023-06-10 14:32:40 +08:00
mssonicbld
af47583c79
Added change to add 'peerType' as element in NEIGH_STATE_TABLE. (#15265) (#15381) 2023-06-08 05:34:02 +08:00
mssonicbld
ffd062afae
updated internal route policy for chassis-packet (#15349) (#15378) 2023-06-08 03:40:23 +08:00
mssonicbld
bd323a854c
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15372)
src/sonic-platform-common

* 4969f70 - (HEAD -> 202205, origin/202205) Skip CDB and VDM for flat memory modules (#281) (2 minutes ago) [Prince George]
2023-06-07 09:50:07 -07:00