From a732689ec14c3d31d12aaa00194f3f00e5e002e1 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Fri, 20 Feb 2026 03:13:40 +0800 Subject: [PATCH 1/6] [submodule] Update submodule sonic-utilities to the latest HEAD automatically (#25250) #### Why I did it src/sonic-utilities ``` * 0315da21 - (HEAD -> 202511, origin/202511) [LACP retry-count] Syntax Fix for Trixie (#4280) (6 hours ago) [Yair Raviv] * 4420954e - Fix dump port state CLI command crash on multi-asic platforms (#4276) (5 days ago) [mssonicbld] * a3ad30be - [Mellanox] Add restricted sysfs list for fw control modules (#4202) (13 days ago) [mssonicbld] * 16390921 - Fix j2 files not getting packaged (#4252) (13 days ago) [mssonicbld] * 6b9b0dce - [hft]: HFT config/show cli (#4243) (2 weeks ago) [mssonicbld] * 529b6479 - [sfputil] Fix issue: should not do low power mode or reset for non-present ports (#4241) (2 weeks ago) [mssonicbld] * ad70c8f2 - Update bash completions for sonic-utilities commands (#4234) (3 weeks ago) [mssonicbld] * 667f4b32 - [202511][GCU] Update WRED_PROFILE and BUFFER_POOL validators for GCU (#4226) (3 weeks ago) [Dev Ojha] * 88b3899d - Fix sonic-kdump-config for running commands with pipe (#4220) (3 weeks ago) [mssonicbld] * e4881b02 - Skip IP range duplicate check in validate_bgp_peer_group for different vnets (#4215) (4 weeks ago) [mssonicbld] * 9c24925a - Fix syntax and semantic errors in kdump remote feature (#4212) (4 weeks ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog --- src/sonic-utilities | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-utilities b/src/sonic-utilities index 367aba94d..0315da212 160000 --- a/src/sonic-utilities +++ b/src/sonic-utilities @@ -1 +1 @@ -Subproject commit 367aba94de5eb6b6632d577c4c903c4925301ed2 +Subproject commit 0315da212bc8b30bdd6a5ba82a65f952902073ea From cc8cdb12d6e10fc213417b36397117c64d2ad606 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Fri, 20 Feb 2026 04:12:52 +0800 Subject: [PATCH 2/6] [submodule] Update submodule sonic-swss to the latest HEAD automatically (#25405) #### Why I did it src/sonic-swss ``` * 13227d02 - (HEAD -> 202511, origin/202511) [countersyncd]: Add communication statistics recording and utilities (#4222) (2 days ago) [mssonicbld] * 3c4d3b2b - [countersyncd]: Add retry between client and otel collector (#4220) (3 days ago) [mssonicbld] * 77acf5a0 - [countersyncd] fix otel actor log level (#4221) (3 days ago) [mssonicbld] * 03ec77c7 - [countersyncd]: Add benchmark suite for countersyncd and optimize otel actor (#4216) (5 days ago) [mssonicbld] * 08050f2e - [hft]: Fix TAM type capability enable list (#4215) (6 days ago) [mssonicbld] * d0793b45 - [Fixbug]: Fix delete default HFT configuration issue (#4138) (7 days ago) [mssonicbld] * 246d9575 - [hft]: Enable output queue for HFT (#4187) (7 days ago) [mssonicbld] * ae6a9887 - [countersyncd]: Fix netlink fd leakage and deadlock issue (#4191) (7 days ago) [mssonicbld] * c468e1fc - [countersyncd]: Fix compiling warning of otel (#4192) (7 days ago) [mssonicbld] * d675062c - Enabling the FEC histogram for gbsyncd counters (#4195) (9 days ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog --- src/sonic-swss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-swss b/src/sonic-swss index 1339028cd..13227d02d 160000 --- a/src/sonic-swss +++ b/src/sonic-swss @@ -1 +1 @@ -Subproject commit 1339028cdc74e831a87e9dd35d4bf0ab3195456f +Subproject commit 13227d02d8bb197da21922ca3c3d530d1c5f2408 From 60c7baa3f7a1310563ec1ef6376d03e60061cc98 Mon Sep 17 00:00:00 2001 From: Deepak Singhal <115033986+deepak-singhal0408@users.noreply.github.com> Date: Thu, 19 Feb 2026 13:18:12 -0800 Subject: [PATCH 3/6] [yang] Add FilterLeaf device type to DEVICE_METADATA (#25562) Signed-off-by: Deepak Singhal --- .../tests/yang_model_tests/tests/device_metadata.json | 3 +++ .../yang_model_tests/tests_config/device_metadata.json | 10 ++++++++++ .../yang-models/sonic-device_metadata.yang | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests/device_metadata.json b/src/sonic-yang-models/tests/yang_model_tests/tests/device_metadata.json index 8b951576e..f99ae483f 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests/device_metadata.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests/device_metadata.json @@ -78,6 +78,9 @@ "DEVICE_METADATA_TYPE_SONIC_HOST_PATTERN": { "desc": "DEVICE_METADATA value as SonicHost for Type field" }, + "DEVICE_METADATA_TYPE_FILTER_LEAF_PATTERN": { + "desc": "DEVICE_METADATA value as FilterLeaf for Type field" + }, "DEVICE_METADATA_TYPE_NOT_PROVISIONED_PATTERN": { "desc": "DEVICE_METADATA value as not-provisioned for Type field" }, diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests_config/device_metadata.json b/src/sonic-yang-models/tests/yang_model_tests/tests_config/device_metadata.json index 31fbcb7ab..afbfe4a28 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests_config/device_metadata.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests_config/device_metadata.json @@ -212,6 +212,16 @@ } } }, + "DEVICE_METADATA_TYPE_FILTER_LEAF_PATTERN": { + "sonic-device_metadata:sonic-device_metadata": { + "sonic-device_metadata:DEVICE_METADATA": { + "sonic-device_metadata:localhost": { + "bgp_asn": "65002", + "type": "FilterLeaf" + } + } + } + }, "DEVICE_METADATA_TYPE_NOT_PROVISIONED_PATTERN": { "sonic-device_metadata:sonic-device_metadata": { "sonic-device_metadata:DEVICE_METADATA": { diff --git a/src/sonic-yang-models/yang-models/sonic-device_metadata.yang b/src/sonic-yang-models/yang-models/sonic-device_metadata.yang index 9f5394113..feda5ebdf 100644 --- a/src/sonic-yang-models/yang-models/sonic-device_metadata.yang +++ b/src/sonic-yang-models/yang-models/sonic-device_metadata.yang @@ -100,7 +100,7 @@ module sonic-device_metadata { leaf type { type string { length 1..255; - pattern "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC|MgmtToRRouter|MgmtLeafRouter|MgmtSpineRouter|MgmtAccessRouter|LowerMgmtAggregator|UpperMgmtAggregator|SpineRouter|UpperSpineRouter|FabricSpineRouter|LowerSpineRouter|BackEndToRRouter|BackEndLeafRouter|EPMS|MgmtTsToR|BmcMgmtToRRouter|SonicHost|SmartSwitchDPU|not-provisioned"; + pattern "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC|MgmtToRRouter|MgmtLeafRouter|MgmtSpineRouter|MgmtAccessRouter|LowerMgmtAggregator|UpperMgmtAggregator|SpineRouter|UpperSpineRouter|FabricSpineRouter|LowerSpineRouter|BackEndToRRouter|BackEndLeafRouter|EPMS|MgmtTsToR|BmcMgmtToRRouter|SonicHost|SmartSwitchDPU|FilterLeaf|not-provisioned"; } } From 1ff6b8ee6e5ad8a273cf728ff308263c70eab4ee Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Fri, 20 Feb 2026 06:12:28 +0800 Subject: [PATCH 4/6] [ssw] clean up DPU_APPL_DB and DPU_STATE_DB for DPU swss restart or DPU reboot (#25578) reference: https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-device_metadata.yang#L197 #### Why I did it For https://github.com/sonic-net/SONiC/pull/2175 sign-off: Jing Zhang zhangjing@microsoft.com ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it 1. Check if DPU_APPL_DB is pingable 2. If yes, flush all DB entries when swss starts. #### How to verify it Tested on ssw testbed. - Entries got removed. ``` $ redis-cli -p 6381 -n 15 127.0.0.1:6381[15]> keys * 1) "BFD_SESSION_TABLE:default:default:10.1.0.32" 2) "BFD_SESSION_TABLE:default:default:10.1.2.32" 3) "BFD_SESSION_TABLE:default:default:10.1.1.32" 127.0.0.1:6381[15]> keys * (empty array) ``` ``` $ redis-cli -p 6381 MONITOR OK ... ... 1769395816.952661 [18 169.254.200.1:34286] "PING" 1769395816.952718 [16 169.254.200.1:34280] "PING" 1769395816.954712 [17 169.254.200.1:34296] "SELECT" "17" 1769395816.954877 [17 169.254.200.1:34296] "PING" 1769395817.183169 [15 169.254.200.1:34310] "SELECT" "15" 1769395817.183386 [15 169.254.200.1:34310] "PING" 1769395817.210425 [15 169.254.200.1:34320] "SELECT" "15" 1769395817.210602 [15 169.254.200.1:34320] "FLUSHDB" 1769395817.229074 [17 169.254.200.1:34322] "SELECT" "17" 1769395817.229309 [17 169.254.200.1:34322] "FLUSHDB" ``` #### Which release branch to backport (provide reason below if selected) - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [ ] 202505 - [ ] 202511 #### Tested branch (Please provide the tested image version) - [ ] - [ ] #### Description for the changelog #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged) --- files/scripts/swss.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/files/scripts/swss.sh b/files/scripts/swss.sh index ab8a7a81a..42ed0ac4a 100755 --- a/files/scripts/swss.sh +++ b/files/scripts/swss.sh @@ -408,6 +408,20 @@ start() { $SONIC_DB_CLI RESTAPI_DB FLUSHDB clean_up_tables STATE_DB "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'LAG_TABLE*', 'LAG_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'VRF_TABLE*', 'FDB_TABLE*', 'FG_ROUTE_TABLE*', 'BUFFER_POOL*', 'BUFFER_PROFILE*', 'MUX_CABLE_TABLE*', 'ADVERTISE_NETWORK_TABLE*', 'VXLAN_TUNNEL_TABLE*', 'VNET_ROUTE*', 'MACSEC_PORT_TABLE*', 'MACSEC_INGRESS_SA_TABLE*', 'MACSEC_EGRESS_SA_TABLE*', 'MACSEC_INGRESS_SC_TABLE*', 'MACSEC_EGRESS_SC_TABLE*', 'VRF_OBJECT_TABLE*', 'VNET_MONITOR_TABLE*', 'BFD_SESSION_TABLE*', 'SYSTEM_NEIGH_TABLE*', 'FABRIC_PORT_TABLE*', 'TUNNEL_DECAP_TABLE*', 'TUNNEL_DECAP_TERM_TABLE*'" $SONIC_DB_CLI APPL_STATE_DB FLUSHDB + # Flush DPU remote databases (DPU device only) + # Only run if this is a DPU device (type=SmartSwitchDPU or switch_type=dpu) + DEVICE_TYPE=`$SONIC_DB_CLI CONFIG_DB hget "DEVICE_METADATA|localhost" type` + SWITCH_TYPE=`$SONIC_DB_CLI CONFIG_DB hget "DEVICE_METADATA|localhost" switch_type` + if [[ x"${DEVICE_TYPE}" == x"SmartSwitchDPU" || x"${SWITCH_TYPE}" == x"dpu" ]]; then + # Check if DPU_APPL_DB remote database is reachable + if $SONIC_DB_CLI DPU_APPL_DB PING >/dev/null 2>&1; then + debug "Flushing DPU remote databases (DPU_APPL_DB, DPU_STATE_DB, DPU_APPL_STATE_DB, DPU_COUNTERS_DB) ..." + $SONIC_DB_CLI DPU_APPL_DB FLUSHDB + $SONIC_DB_CLI DPU_STATE_DB FLUSHDB + $SONIC_DB_CLI DPU_APPL_STATE_DB FLUSHDB + $SONIC_DB_CLI DPU_COUNTERS_DB FLUSHDB + fi + fi clean_up_chassis_db_tables rm -rf /tmp/cache MEDIA_SETTINGS="/usr/share/sonic/device/$PLATFORM/media_settings.json" From a1e07a97bac9420de6d9406e5715ebe0415938d2 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Fri, 20 Feb 2026 07:12:35 +0800 Subject: [PATCH 5/6] [build_templates]: Add otel feature to FEATURE table in init_cfg.json.j2 (#25582) #### Why I did it Fix #25261 `config feature state otel enabled` fails with `Feature 'otel' doesn't exist`. Without the FEATURE table entry, users cannot enable/disable the OTEL collector via CLI. #### How I did it * Added the otel feature entry to `files/build_templates/init_cfg.json.j2` with default state set to disabled * The feature is only added to the FEATURE table when `INCLUDE_SYSTEM_OTEL=y` is set at build time; otherwise no entry is created Note: Since the default state is disabled, existing deployments are unaffected and users must explicitly run `config feature state otel enabled` to activate the container. This ensures backward compatibility as the change is opt-in only and follows the same pattern as other disabled-by-default optional features. #### How to verify it 1. Build a SONiC image with `INCLUDE_SYSTEM_OTEL=y` 2. Boot the image and run `show feature status otel` - should show the feature exists 3. Run `sudo config feature state otel enabled` - should succeed without error 4. Run `show feature status otel` - should show state as enabled #### Description for the changelog Add otel feature to FEATURE table to enable CLI configuration of the OTEL collector container --- files/build_templates/init_cfg.json.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/files/build_templates/init_cfg.json.j2 b/files/build_templates/init_cfg.json.j2 index 174c15f03..1ce495c38 100644 --- a/files/build_templates/init_cfg.json.j2 +++ b/files/build_templates/init_cfg.json.j2 @@ -87,6 +87,7 @@ {%- if include_macsec == "y" %}{% do features.append(("macsec", "{% if 'type' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['type'] in ['SpineRouter', 'UpperSpineRouter'] and DEVICE_RUNTIME_METADATA['MACSEC_SUPPORTED'] %}enabled{% else %}disabled{% endif %}", false, "enabled")) %}{% endif %} {%- if include_system_gnmi == "y" %}{% do features.append(("gnmi", "enabled", true, "enabled")) %}{% endif %} {%- if include_system_telemetry == "y" %}{% do features.append(("telemetry", "enabled", true, "enabled")) %}{% endif %} +{%- if include_system_otel == "y" %}{% do features.append(("otel", "disabled", false, "enabled")) %}{% endif %} {%- if include_system_eventd == "y" and BUILD_REDUCE_IMAGE_SIZE == "y" %} {% do features.append(("eventd","disabled", false, "enabled")) %} {%- elif include_system_eventd == "y" %} From f5028bcb533a5b949ac11d6ca04929bb55050e84 Mon Sep 17 00:00:00 2001 From: Tejaswini Chadaga <85581939+tjchadaga@users.noreply.github.com> Date: Thu, 19 Feb 2026 17:08:44 -0800 Subject: [PATCH 6/6] [submodule][202511] Update submodule wpasupplicant/sonic-wpa-supplicant to the latest HEAD (#25584) Signed-off-by: Tejaswini Chadaga --- src/wpasupplicant/sonic-wpa-supplicant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wpasupplicant/sonic-wpa-supplicant b/src/wpasupplicant/sonic-wpa-supplicant index b1699b610..9fc464bc0 160000 --- a/src/wpasupplicant/sonic-wpa-supplicant +++ b/src/wpasupplicant/sonic-wpa-supplicant @@ -1 +1 @@ -Subproject commit b1699b6100ae4a157040b6f6854699d3a90a9863 +Subproject commit 9fc464bc05d453b43de52827b8bbd8cce35907c4