Commit Graph

7011 Commits

Author SHA1 Message Date
Ying Xie
9ac9908321
Revert "Clear DNS configuration received from DHCP during networking reconfiguration in Linux. (#13516) (#13695)" (#14900)
This reverts commit d1fa414f1b.
2023-05-01 16:48:56 -07:00
mssonicbld
5d9658f503
[ci/build]: Upgrade SONiC package versions (#14839) 2023-04-29 20:49:34 +08:00
James An
f2a687b337
Update cisco-8000.ini (#14833)
Why I did it
Release Notes for Cisco 8101-32FH-O:
· Enable CMIS
· Enable Subport for Static Breakout

How I did it
Update platform version to 202205.2.2.2 (equivalent to 202205-v0.16)
2023-04-25 15:59:25 -07:00
mssonicbld
36b6d5824c
[ci/build]: Upgrade SONiC package versions (#14812) 2023-04-23 20:52:29 +08:00
mssonicbld
412b83d0f1
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#14752)
src/sonic-utilities

* ece22b7d - (HEAD -> 202205, origin/202205) Revert "[GCU] Add PFC_WD RDMA validator  (#2781)" (4 minutes ago) [Ying Xie]
* 7d16b184 - Remove the no use new line in show version (#2792) (21 hours ago) [xumia]
* 3a880a2b - Support to display the SONiC OS Version in the command show version (#2787) (21 hours ago) [xumia]
* a5199f75 - [voq][chassis][generate_dump] [BCM] Dump only the relevant BCM commands for fabric cards (#2606) (21 hours ago) [saksarav-nokia]
* 2410d364 - Fixed a bug in "show vnet routes all" causing screen overrun. (#2644) (#2801) (
2023-04-20 13:20:31 -07:00
mssonicbld
54470b6e0f
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#14748)
src/sonic-platform-common

* 4080df6 - (HEAD -> 202205, origin/202205) Update host electrical interface for 2x400G breakout cable (#363) (21 hours ago) [mihirpat1]
* edcde3a - [CMIS] Add API to get module power up duration (#354) (21 hours ago) [ChiouRung Haung]
2023-04-20 13:20:08 -07:00
mssonicbld
ec6524e28c
[submodule] Update submodule sonic-swss-common to the latest HEAD automatically (#14751)
src/sonic-swss-common

* 9569f3a - (HEAD -> 202205, origin/202205) [Azp]: Add a new job for bullseye (#675) (11 hours ago) [Ze Gan]
2023-04-20 08:01:37 -07:00
mssonicbld
70caf151b9
[submodule] Update submodule sonic-py-swsssdk to the latest HEAD automatically (#14749)
src/sonic-py-swsssdk

* a79fa67 - (HEAD -> 202205, origin/202205) [Security] Fix the redis security issue CVE-2023-28858 and  CVE-2023-28859 (#136) (11 hours ago) [xumia]
2023-04-20 07:34:05 -07:00
mssonicbld
ec687d1c8c
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#14750)
src/sonic-swss

* 96407be - (HEAD -> 202205, origin/202205) sonic-swss: Sync and program remote lag member status. (#2730) (11 hours ago) [Sambath Kumar Balasubramanian]
* 6051d33 - Fix race condition in sub-interface handling (#2723) (11 hours ago) [Stephen Sun]
* 7b95ec5 - [muxorch] handling multiple mux nexthops for route (#2656) (11 hours ago) [Nikola Dancejic]
2023-04-20 07:33:20 -07:00
mssonicbld
443561b8ca
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#14746)
src/linkmgrd

* aa1d55f - (HEAD -> 202205, origin/202205) [202205] cherry-pick `azure-pipeline.yml` updates (#200) (8 hours ago) [Jing Zhang]
* 2efc130 - Enable debug symbols (#199) (9 hours ago) [Longxiang Lyu]
2023-04-20 07:31:31 -07:00
mssonicbld
4cdcda43b8
[devices/arista] Update asic_port_name in Arista LCs (#14234) (#14732)
Updated asic_port_names for all Arista LC SKUs to follow latest naming
conventions to remove redundant ASICx suffix. For
Arista-7800R3-48CQ2-C48, added the asic_port_name mapping.

Co-authored-by: kenneth-arista <93353051+kenneth-arista@users.noreply.github.com>
2023-04-19 23:08:03 -07:00
mssonicbld
a0da21f35e
Update golang version for telemetry build in sonic-slave-buster to fix (#14636) (#14735) 2023-04-20 08:45:13 +08:00
mssonicbld
d2f5317c02
[yang]: Modify yang model to handle subport in PORT table (#14519) (#14727) 2023-04-20 06:43:37 +08:00
mssonicbld
4b7bd90e47
Fix backend port channels and routes being displayed (#14479) (#14734) 2023-04-20 06:07:16 +08:00
mssonicbld
4a6322d0dd
[Ci] Fix the wrong SONIC_BUILD_JOBS build variable used issue in Azp (#14071) (#14729)
Why I did it
[Ci] Fix the no parallel jobs in some of the platforms issue
We observed some of the pipelines running more time than expected. The issue is the SONIC_BUILD_JOBS using the wrong value 1. It is caused by the runtime variable issue, there is additional single quota mark character added in the make command line.

make 'SONIC_BUILD_JOBS=$(nproc)' targe/xxxx
Need to change to

make SONIC_BUILD_JOBS=$(nproc) targe/xxxx
It is to improve the build performance for some of the platforms using the variable SONIC_BUILD_JOBS=1.
Good one vs: https://dev.azure.com/mssonic/build/_build/results?buildId=227986&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=cf595088-5c84-5cf1-9d7e-03331f31d795

"SONIC_BUILD_JOBS"                : "8"
Bad one barefoot: https://dev.azure.com/mssonic/build/_build/results?buildId=227379&view=logs&j=993d6e22-aeec-5c03-fa19-35ecba587dd9&t=7be0d2ec-661f-5569-462c-2d9b7ca4ca5d

"SONIC_BUILD_JOBS"                : "1"
How I did it
Expand the BUILD_OPTIONS variable for all platforms.

Co-authored-by: xumia <59720581+xumia@users.noreply.github.com>
2023-04-19 15:06:21 -07:00
mssonicbld
b41fe29a84
[Build] Support to use the snapshot mirror for debian base image (#14474) (#14728)
Why I did it
[Build] Support to use the snapshot mirror for debian base image

How I did it
If the MIRROR_SNAPSHOT=n, then use the default mirror http://deb.debian.org/debian
If the MIRROR_SNAPSHOT=y, then use the snapshot mirror, for instance http://packages.trafficmanager.net/snapshot/debian/20230330T000330Z/.

How to verify it
+ scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-vs
I: Target architecture can be executed
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id A4285295FC7B1A81600062A9605C66F00D6C9793)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://packages.trafficmanager.net/snapshot/debian/20230331T000125Z...
I: Retrieving libacl1 2.2.53-10

Co-authored-by: xumia <59720581+xumia@users.noreply.github.com>
2023-04-19 15:05:31 -07:00
mssonicbld
01311046ca
[devices/arista]: Added recycle ports required for egress mirroring (#13967) (#14731) 2023-04-20 05:56:32 +08:00
mssonicbld
7cc8c76f0f
Increase wait_for_tunnel() timeout to 90s (#14279) (#14733) 2023-04-20 05:47:12 +08:00
mssonicbld
96affcc0df
Add monit_snmp file to monitor memory usage (#14464) (#14730) 2023-04-20 05:21:17 +08:00
jcaiMR
2cad50372a
[cherry-pick] 202205 advance dhcprelay to 67a3bdf (#14507)
* advance dhcprelay to 67a3bdf

* checkout dhcprelay version to 67a3bdf
2023-04-19 13:17:15 -07:00
mssonicbld
735e35f179
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#14713)
src/sonic-utilities

* fdea806d - (HEAD -> 202205, origin/202205) [route_check] fix IPv6 address handling (#2799) (9 hours ago) [Stepan Blyshc
2023-04-19 11:10:54 -07:00
jcaiMR
f409b3dc16 change static rt expiry timer max value (#14397)
Why I did it
Change static route expiry timer max timeout value from 1800 to 172800.
To keep same value range as defined in sonic-restapi/sonic_api.yaml

How I did it
How to verify it
apply change to bgpcfd, restart bgp container see if the value take action.
2023-04-19 18:05:17 +00:00
Lior Avramov
59aac9a83e Add teamd patches to solve traffic loss issue when removing port from LAG (#14002)
#### Why I did it
When removing port from LAG while traffic is running thorough LAG there is traffic disruption of 60 seconds.
Fix issue https://github.com/sonic-net/sonic-buildimage/issues/14381

#### How I did it
The patch I added introduces "port_removing" op and call it right before Kernel is asked to remove the port. 
Implement the op in LACP runner to disable the port which leads to proper LACPDU send.

#### How to verify it
Set LAG between 2 switches.
Set LAGs to be router port and set ip address.
In switch A send ping to ip address of LAG in switch B.
In switch B, while ping is running remove port from LAG.
Verify ping is not stopping.
2023-04-19 18:33:28 +08:00
Gokulnath-Raja
60f9602095
[sflow] Exception handling for if_nametoindex (#11437) (#14456)
catch system error and log as warning level instead of
     error level in case interface was already deleted

Signed-off-by: Gokulnath-Raja <Gokulnath_R@dell.com>
2023-04-18 11:57:44 -07:00
mssonicbld
2b3b85bac8
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#14694)
src/sonic-platform-common

* 24009de - (HEAD -> 202205, origin/202205) Fix issue: should always check return value of a function if the function may return None (#350) (#356) (3 hours ago) [Junchao-Mellanox]
2023-04-18 08:21:16 -07:00
mssonicbld
20bb5daa6a [ci/build]: Upgrade SONiC package versions 2023-04-18 22:39:02 +08:00
mssonicbld
94ba969676
[write standby] force DB connections to use unix socket to connect (#14524) (#14553) 2023-04-18 17:11:59 +08:00
anamehra
0b30826e56 chassis-packet: resolve the missing static routes (#14593)
Why I did it
Fixes #14179
chassis-packet: missing arp entries for static routes causing high orchagent cpu usage

It is observed that some sonic-mgmt test case calls sonic-clear arp, which clears the static arp entries as well. Orchagent or arp_update process does not try to resolve the missing arp entries after clear.

How I did it
arp_update should resolve the missing arp/ndp static route
entries. Added code to check for missing entries and try ping if any
found to resolve it.

How to verify it
After boot or config reload, check ipv4 and ipv4 neigh entries to make sure all static route entries are present
manual validation:
Use sonic-clear arp and sonic-clear ndp to clear all neighbor entries
run arp_update
Check for neigh entries. All entries should be present.
Testing on T0 setup route/for test_static_route.py

The test set the STATIC_ROUTE entry in conifg db without ifname:
sonic-db-cli CONFIG_DB hmset 'STATIC_ROUTE|2.2.2.0/24' nexthop 192.168.0.18,192.168.0.25,192.168.0.23

"STATIC_ROUTE": {
    "2.2.2.0/24": {
        "nexthop": "192.168.0.18,192.168.0.25,192.168.0.23"
    }
},
Validate that the arp_update gets the proper ARP_UPDATE_VARDS using arp_update_vars.j2 template from config db and does not crash:

{ "switch_type": "", "interface": "", "pc_interface" : "PortChannel101 PortChannel102 PortChannel103 PortChannel104 ", "vlan_sub_interface": "", "vlan" : "Vlan1000", "static_route_nexthops": "192.168.0.18 192.168.0.25 192.168.0.23 ", "static_route_ifnames": "" }

validate route/test_static_route.py testcase pass.
2023-04-18 14:34:49 +08:00
mssonicbld
c9d5e20923
[image_config] add rasdaemon.timer (#14300) (#14692) 2023-04-18 12:33:15 +08:00
xumia
1d9cf5ac77
[Submodule][202205] Advance sonic-restapi pointer (#14626)
update restapi commits till:

4f6f979 (HEAD -> master, origin/master, origin/HEAD) [Security] Fix the redis security issue CVE-2023-28858 and CVE-2023-28859 (#139)
2023-04-17 18:00:57 -07:00
mssonicbld
5b024af2aa
[submodule] Update submodule sonic-swss to the latest HEAD automatically (#14655)
src/sonic-swss

* 804e5ac - (HEAD -> 202205, origin/202205) [FDB]Fixing FDB consolidated flush for Remote MACs (#2673) (#2725) (5 days ago
2023-04-17 17:36:45 -07:00
mssonicbld
af6cd36fe1
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#14657)
src/sonic-utilities

* ea1d849a - (HEAD -> 202205, origin/202205) Use sonic-swss-common artifacts from the matching source branch (#2783) (10 days ago) [Saikrishna Arcot]
2023-04-17 17:35:42 -07:00
mssonicbld
7c9d399fe9
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#14654)
src/sonic-platform-common

* 41e2a6e - (HEAD -> 202205, origin/202205) Fix pipeline apt-get purge error. (#349) (#358) (11 days ago) [Liu Shilong]
2023-04-17 17:34:32 -07:00
xumia
295378cfd2
[Build] Optimize the version control for Debian packages (#14557) (#14611)
Why I did it
Optimize the version control for Debian packages.
Fix sonic-slave-buster/sources.list.amd64 not found display issue, need to generate the file before running the shell command to evaluate the sonic image tag.
When using the snapshot mirror, it is not necessary to update the version file based on the base image. It will reduce the version dependency issue, when an image is not run when freezing the version.

How I did it
Not to update the version file when snapshot mirror enabled.

How to verify it
2023-04-17 17:32:22 -07:00
xumia
1a9d6cdc5a
Support to add SONiC OS Version in device info (#14601) (#14624)
Why I did it
Support to add SONiC OS Version in device info.
It will be used to display the version info in the SONiC command "show version". The version is used to do the FIPS certification. We do not do the FIPS certification on a specific release, but on the SONiC OS Version.

SONiC Software Version: SONiC.master-13812.218661-7d94c0c28
SONiC OS Version: 11
Distribution: Debian 11.6
Kernel: 5.10.0-18-2-amd64
How I did it
2023-04-17 17:30:49 -07:00
mssonicbld
5c4d424628
[submodule] Update submodule to the latest HEAD automatically (#14561)
Why I did it
src/sonic-platform-common

* 41e2a6e - (HEAD -> 202205, origin/202205) Fix pipeline apt-get purge error. (#349) (#358) (6 days ago) [Liu Shilong]
src/sonic-swss

* 804e5ac - (HEAD -> 202205, origin/202205) [FDB]Fixing FDB consolidated flush for Remote MACs (#2673) (#2725) (4 hours ago) [Sudharsan Dhamal Gopalarathnam]
src/sonic-utilities

* ea1d849a - (HEAD -> 202205, origin/202205) Use sonic-swss-common artifacts from the matching source branch (#2783) (5 days ago) [Saikrishna Arcot]
2023-04-17 17:29:53 -07:00
Saikrishna Arcot
3fbd673987
[202205] Always use the openssl backend of curl (#14351) (#14535)
Why I did it
This should make sure that the openssl backend of curl is used, instead of the gnutls or nss backend, for consistency reasons.
2023-04-17 17:27:55 -07:00
Pavan-Nokia
f6f060f49d
[armhf][Nokia-7215]Add SFP refactor support for Nokia-7215 platform (#14551)
Why I did it
Add support for SFP refactor on Nokia-7215 Marvell armhf platform.

Platform: armhf-nokia_ixs7215_52x-r0
HwSKU: Nokia-7215
ASIC: marvell
Port Config: 48x1G + 4x10G (SFP+)
How I did it
Modify sfp.py to support SFP refactor optoe driver and platform.json to facilitate proper OC test completion.

How to verify it
Build armhf target for Nokia-7215 and verify proper Xcvrd and SFP refactor operation.
2023-04-17 17:26:15 -07:00
mssonicbld
c919e758db
[ci/build]: Upgrade SONiC package versions (#14681) 2023-04-16 20:54:23 +08:00
mssonicbld
32b8764d3b
[ci/build]: Upgrade SONiC package versions (#14674) 2023-04-15 20:36:48 +08:00
Tejaswini Chadaga
980301a6bc
[202205] Update Broadcom SAI version to 7.1.42.4 (#14555)
To include the following DNX changes:

Revert patch and add official SDK/SAI fix for the below CSPs
a. CS00012282080 : syncd crashes after a speed change due to "cosq src vsqs gport get" failure
b. CS00012281200 : J2C+ : Scope of config.bcm SOC property bcm_stat_interval

Fixes for:
a. CS00012278343: SONiC J2c+ Macsec: Shutting down LAG members which have macsec cause
remaining active LAG members to go down
b. CS00012279717: Instance_id printed in SAI syslog messages are truncated to 9 bytes
2023-04-13 14:11:33 -07:00
James An
46fb9b4382
Update cisco-8000.ini (#14569)
Why I did it
Release Notes for Cisco 8808 platform:

Thermal sensor driver support
Release Notes for Cisco 8101-32FH-O:

Support for unwanted Alarm Suppression
How I did it
Update platform version to 202205.2.2.1 (v0.15)

How to verify it
2023-04-13 20:37:36 +08:00
Saikrishna Arcot
efa6d61144
[202205][submodule] Advance sonic-swss-common pointer (#14554)
#### Why I did it

Update sonic-swss-common submodule pointer to include the following:

* 55fd28a [202205] Non recursive automake and Debian packaging changes (sonic-net/sonic-swss-common#772)
2023-04-11 11:04:57 -07:00
mssonicbld
597d37d395
[ci/build]: Upgrade SONiC package versions (#14604) 2023-04-11 21:29:00 +08:00
Ye Jianquan
c55a5a94eb
Revert "chassis-packet: resolve the missing static routes (#14230)" (#14545)
This reverts commit a6d597a811.
2023-04-10 23:40:31 +08:00
mssonicbld
c62ed6800e
[ci/build]: Upgrade SONiC package versions (#14579) 2023-04-09 20:29:39 +08:00
mssonicbld
9680eb9e07
[ci/build]: Upgrade SONiC package versions (#14573) 2023-04-08 20:37:10 +08:00
mssonicbld
7926a69b8c
[submodule] Update submodule to the latest HEAD automatically (#14540)
Why I did it
src/linkmgrd

* 2b81c83 - (HEAD -> 202205, origin/202205) [active-standby] Enforce switchover based on heartbeats when mux probe keeps failing (#184) (5 hours ago) [Jing Zhang]
src/sonic-platform-common

* c401866 - (HEAD -> 202205, origin/202205) Add set/get_lpmode APIs for sff8436 and sff8636 optics (#353) (4 hours ago) [longhuan-cisco]
* ea8331e - implement CMIS set_laser_freq to support 100GHz grid space (#294) (4 hours ago) [ChiouRung Haung]
src/sonic-platform-daemons

* cc32493 - (HEAD -> 202205, origin/202205) Retrieve subport from CONFIG_DB to enable breakout support (#342) (4 hours ago) [mihirpat1]
* 864e589 - Pass grid parameter while calling set_laser_freq (#317) (4 hours ago) [mihirpat1]
src/sonic-swss

* 699477d - (HEAD -> 202205, origin/202205) overlay_dmac change in Vnet configuration. (#2721) (4 hours ago) [siqbal1986]
src/sonic-utilities

* f9f3e7e4 - (HEAD -> 202205, origin/202205) [voq] Add fabric_ns to the ns_list when display_option is DISPLAY_ALL. (#2717) (4 hours ago) [jfeng-arista]
* eb2d9167 - [GCU] Prohibit removal of PFC_WD POLL_INTERVAL field (#2777) (4 hours ago) [isabelmsft]
2023-04-06 08:18:30 -07:00
Dev Ojha
82873c24ce
[202205][Buffer] Added cable length config to buffer config template for EdgeZoneAggregator (#14538)
Why I did it
SONiC currently does not identify 'EdgeZoneAggregator' neighbor. As a result, the buffer profile attached to those interfaces uses the default cable length which could cause ingress packet drops due to insufficient headroom. Hence, there is a need to update the buffer templates to identify such neighbors and assign the same cable length as used by the T1.

How I did it
Modified the buffer template to identify EdgeZoneAggregator as a neighbor device type and assign it the same cable length as a T1/leaf router.

How to verify it
Unit tests pass, and manually checked on a 7260 to see the changes take effect.
2023-04-06 07:52:43 -07:00
Rajkumar-Marvell
fec29540a6
[Marvell] Update armhf sai debian (#14413)
Why I did it
Fixed syncd syslog errors reported in issue sonic-net/SONiC#1248
Fixes sonic-net/SONiC#1248

How I did it
Compile and load the SAI debian in SONiC 202205 image.

How to verify it
Verify PTF autorestart testcase passes.

Signed-off-by: rajkumar38 <rpennadamram@marvell.com>
2023-04-05 11:16:21 -07:00