Commit Graph

2497 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
mssonicbld
dc6b6bb8f3
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15373)
src/sonic-telemetry

* 5a83c07 - (HEAD -> 202205, origin/202205) Merge pull request #109 from zbud-msft/backport-202205 (86 minutes ago) [Ying Xie]
* 0f75a64 - [202012] Workaround gomonkey for armhf (#88) (3 weeks ago) [Zain Budhwani]
* 1b0dc75 - Fix Makefile error (3 weeks ago) [Zain Budhwani]
* 72e4540 - Add diff cov (#85) (3 weeks ago) [Zain Budhwani]
* 11aace5 - Add get-update to azp yml (#79) (3 weeks ago) [Zain Budhwani]
* 3eaaccc - Add net core and code coverage results (#77) (3 weeks ago) [Zain Budhwani]
* 3cf3883 - Enable unit test (3 weeks ago) [ganglyu]
* 2a0928f - Change dir name in pipeline (#75) (4 weeks ago) [Zain Budhwani]
* baa845a - Update yml (4 weeks ago) [Zain Budhwani]
* c533d52 - Fix format (4 weeks ago) [ganglyu]
2023-06-07 08:03:18 -07:00
mssonicbld
dfee3f369b
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15367)
src/sonic-utilities

* 75ca81e4 - (HEAD -> 202205, origin/202205) [202205][config]Support multi-asic Golden Config override with fix (#2825) (#2862) (13 hours ago) [jingwenxie]
2023-06-07 08:02:29 -07:00
mssonicbld
77f2893823
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15366)
src/sonic-platform-daemons

* 18815c7 - (HEAD -> 202205, origin/202205) Revert "[ycabled] refactor code for onboarding async client changes;refactor (#355)" (3 minutes ago) [Ying Xie]
* 5324554 - Revert "add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327)" (3 minutes ago) [Ying Xie]
* cbbe2b5 - Revert "[ycabled] fix bug for `show mux status` delayed response (#364)" (3 minutes ago) [Ying Xie]
* 9746709 - Revert "[dualtor] Fix command `show mux status` (#371)" (3 minutes ago) [Ying Xie]
* 551ab3c - Revert "[ycabled] correct the wrong function call for 'config hwmode state' (#372)" (3 minutes ago) [Ying Xie]
2023-06-06 19:03:22 -07:00
mssonicbld
4d91f68e1f
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15347)
src/sonic-platform-daemons

* a90bff5 - (HEAD -> 202205, origin/202205) [ycabled] correct the wrong function call for 'config hwmode state' (#372) (5 minutes ago) [vdahiya12]
2023-06-05 13:39:53 -07:00
mssonicbld
ba39275292
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15344)
src/sonic-platform-daemons

* 1537d6a - (HEAD -> 202205, origin/202205) [dualtor] Fix command `show mux status` (#371) (2 minutes ago) [Longxiang Lyu]
2023-06-05 12:04:18 -07:00
mssonicbld
f1542a9827
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#15324)
src/linkmgrd

* c0f7c50 - (HEAD -> 202205, origin/202205) Increase verbosity for mux config and default route handlers (#193) (14 minutes ago) [Longxiang Lyu]
* 2040a5e - Ignore mux probe unknown for health calculation (#188) (14 minutes ago) [Longxiang Lyu]
2023-06-03 11:33:05 -07:00
mssonicbld
eb2e342298
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15320)
src/sonic-utilities

* ec472146 - (HEAD -> 202205, origin/202205) fix show interface neighbor expected empty issue (#2465) (3 minutes ago) [jcaiMR]
* d1f4413c - [vlan][dhcp_relay] Clear dhcpv6 relay counter while deleting vlan (#2852) (6 hours ago) [Yaqiang Zhu]
* 051f28ce - [db-migrator] Fix hwsku match for 6100 and add errors when hwsku is None (#2821) (7 hours ago) [Vaibhav Hemant Dixit]
2023-06-03 11:32:23 -07:00
mssonicbld
49700d3f83
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15319)
src/sonic-swss

* c781521 - (HEAD -> 202205, origin/202205) [swss][orchagent] fix srt-bfd ut (#2803) (6 hours ago) [Baorong Liu]
2023-06-03 11:31:39 -07:00
mssonicbld
fdf3aace6e
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15318)
src/sonic-platform-daemons

* 616f13f - (HEAD -> 202205, origin/202205) [ycabled] fix bug for `show mux status` delayed response (#364) (6 hours ago) [vdahiya12]
2023-06-03 11:31:02 -07:00
mssonicbld
7a3fc7a56f
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15238)
src/sonic-utilities

* cd08aa69 - (HEAD -> 202205, origin/202205) [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (#2853) (2 days ago) [vdahiya12]
* 4b96bd7e - Update pcieutil error message on loading common pcie module (#2786) (6 days ago) [cytsao1]
* 77b725ca - Fix the show interface counters throwing exception on device with no external interfaces (#2851) (6 days ago) [abdosi]
2023-06-02 16:43:20 -07:00
mssonicbld
33359b4751
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#15237)
src/sonic-swss

* 4d9fb93 - (HEAD -> 202205, origin/202205) [orchagent][neighorch] traffic convergence acceleration for staticroutebfd (#2769) (6 days ago) [Baorong Liu]
* 43c88a3 - Fix pipeline issue caused by urllib3 v2 (6 days ago) [Liu Shilong]
2023-06-02 16:39:14 -07:00
vmittal-msft
723c508a30
Update PG headroom settings ports based on port speed/cable length (#15287)
Why I did it
Update cable length for uplink/downlink ports for chassis and and update PG/pool headroom size accordingly.

Work item tracking
17880812

How I did it
Updated cable length as well as buffer config in HWSKU files.
2023-06-02 15:48:11 -07:00
Neetha John
9f66b28068
[202205][brcm] Fix alignment of soc properties (#15240)
Why I did it
To improve readability of config.bcm, fixed the alignment of soc properties

How to verify it
Build sonic_config_engine-1.0-py3-none-any.whl successfully

Signed-off-by: Neetha John <nejo@microsoft.com>
2023-05-30 16:15:32 -07:00
Neetha John
8661e9de2c
[202205] Update SOC properties for DLR_INIT based pfcwd recovery (#15217)
Why I did it
Update soc properties for certain roles that need to use pfcwd dlr init based recovery mechanism

How to verify it
Updated the templates on a 7050cx3 dual tor and 7260 T1 which satisfies these conditions and validated pfcwd recovery which uses DLR_INIT based mechanism. Also validated that this mechanism is not used on 7050cx3 single tor with the updated templates

Signed-off-by: Neetha John <nejo@microsoft.com>
2023-05-26 14:29:34 -07:00
mssonicbld
a4633d32ed
Clean up the old version container images (#14978) (#15232)
Why I did it
Our k8s feature will pull new version container images for each upgrade, the container images inside sonic will be more and more, but for now we don’t have a way to clean up the old version container images, the disk may be filled up. Need to add cleaning up the old version container images logic.

Work item tracking
Microsoft ADO (number only):
17979809
How I did it
Remove the old version container images besides the feature's current version and last version image, last version image is saved for supporting fallback.

How to verify it
Check whether the old version images are removed

Co-authored-by: lixiaoyuner <35456895+lixiaoyuner@users.noreply.github.com>
2023-05-26 14:27:55 -07:00
mssonicbld
934cf5d4c6
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15236)
src/sonic-platform-daemons

* 2466680 - (HEAD -> 202205, origin/202205) add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327) (5 minutes ago) [vdahiya12]
* a07bc21 - [ycabled] refactor code for onboarding async client changes;refactor (#355) (5 minutes ago) [vdahiya12]
2023-05-26 14:24:41 -07:00
mssonicbld
294292b1cb
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15235)
src/sonic-platform-common

* f1f1dd3 - (HEAD -> 202205, origin/202205) Update CMIS api's rendering max-duration (#375) (3 minutes ago) [rajann]
2023-05-26 14:24:04 -07:00
mssonicbld
151a194212
[YANG] Add MgmtLeafRouter to Device Neighbor Metadata element type list (#15202) (#15231)
Why I did it
Introduce a new valid neighbor element type to YANG.

Work item tracking
Microsoft ADO (number only): 23994521
How I did it
Add MgmtLeafRouter to element network type list.

How to verify it
Passes UTs

Co-authored-by: Jing Kan <jika@microsoft.com>
2023-05-26 14:23:00 -07:00
mssonicbld
21aa832da3
[submodule] Update submodule sonic-platform-daemons to the latest HEAD automatically (#15205)
src/sonic-platform-daemons

* f9547b7 - (HEAD -> 202205, origin/202205) Use tx_disable_channel with media_lanes_mask (#353) (28 hours ago) [rajann]
2023-05-26 09:13:20 -07:00
Akhilesh Samineni
b11e5b66ef
SONiC Yang model support for IPv6 link local (#15182)
This is backport of #14757

SONiC Yang model support for IPv6 link local

What I did
Created SONiC Yang model for IPv6 link local

How I did it
Defined Yang models for IPv6 link local based on https://github.com/sonic-net/SONiC/blob/master/doc/ipv6/ipv6_link_local.md

How to verify it
Added enable test case.

Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
2023-05-26 09:06:11 -07:00
Yaqiang Zhu
f3ac3dd46e
[202205][minigraph] Add rack_mgmt_rack parse support in minigraph.py (#15064) (#15177)
Why I did it
We need to store information of power shelf in config_db for SONiC MX switch. Current minigraph parser cannot parse rack_mgmt_map field.

Work item tracking
Microsoft ADO (number only): 22179645
How I did it
Add support for parsing rack_mgmt_map.
2023-05-26 08:49:26 -07:00
mssonicbld
8d1b4d1428
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15173)
src/sonic-platform-common

* fbab896 - (HEAD -> 202205, origin/202205) Change Y cable simulator log level from error to warning due to false alarm (6 hours ago) [ShiyanWangMS]
2023-05-21 11:49:02 -07:00
mssonicbld
56c0e0bdb2
[build] update isc-dhcp to 4.4.1-2.3+deb11u2 to fix build failure (#15002) (#15171) 2023-05-21 07:27:09 +08:00
mssonicbld
e1a1c131db
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#15135)
src/sonic-utilities

* ff26d900 - (HEAD -> 202205, origin/202205) Fix the invalid variable issue when set-fips in uboot (#2834) (5 hours ago) [xumia]
* d98033fa - correctly parsing complete ipv6 vnet info (#2827) (5 hours ago) [Keith Lu]
* 14b21508 - [GCU]Fix rdma check failure (#2824) (5 hours ago) [jingwenxie]
* e2f0f2c8 - LAG keepalive script to reduce lacp session wait during warm-reboot (#2806) (5 hours ago) [Vaibhav Hemant Dixit]
* 30533711 - Update TRANSCEIVER_INFO table after CDB FW upgrade (#2837) (8 hours ago) [mihirpat1]
2023-05-18 15:04:38 -07:00
mssonicbld
dd8a5f2ba0
[submodule] Update submodule sonic-py-swsssdk to the latest HEAD automatically (#15134)
src/sonic-py-swsssdk

* cd4cb1e - (HEAD -> 202205, origin/202205) Loosen the redis version requirement (#138) (5 hours ago) [xumia]
2023-05-18 15:03:29 -07:00
mssonicbld
3c5f2596e6
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#15133)
src/sonic-platform-common

* ff72811 - (HEAD -> 202205, origin/202205) Fix issue '<' not supported between instances of 'NoneType' and 'int' (#371) (5 hours ago) [Junchao-Mellanox]
* f2a419d - Render Media lane and Media assignment options info from Application Code (#368) (8 hours ago) [rajann]
* d8bad10 - Retrieve FW version using CDB command for CMIS transceivers + handle single bank FW versioning (#372) (8 hours ago) [mihirpat1]
2023-05-18 15:03:03 -07:00
bingwang-ms
fd5955956b
Add Yang model for SYSTEM_DEFAULTS table (#15129)
Why I did it
This PR is to backport PR #11117 into 202205 branch.
This PR is to define Yang model for SYSTEM_DEFAULTS table.
The table was introduced in PR sonic-net/SONiC#982
The table will be like

"SYSTEM_DEFAULTS": {
        "tunnel_qos_remap": {
            "status": "enabled"
        }
}
Work item tracking
Microsoft ADO (https://msazure.visualstudio.com/One/_workitems/edit/23037078)
How I did it
Add a new yang file sonic-system-defaults. Yang.

How to verify it
Verified by UT
2023-05-18 15:01:48 -07:00
Yaqiang Zhu
3521c29704
[202205][yang] Extend device_metadata yang model with rack_mgmt_map (#15140)
* [yang] Extend device_metadata yang model with rack_mgmt_map

* Update doc and sample
2023-05-18 09:02:42 -07:00