Commit Graph

1958 Commits

Author SHA1 Message Date
mssonicbld
7aeb2fb69e
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#16576)
#### Why I did it
src/sonic-snmpagent
```
* 64f0def - (HEAD -> 202012, origin/202012) Support interface speed for PortChannels (#262) (2 days ago) [Lukas Stockner]
```
2023-09-18 11:03:12 -07:00
mssonicbld
ee7eaa298d
[submodule] Update submodule sonic-dbsyncd to the latest HEAD automatically (#14739)
#### Why I did it
src/sonic-dbsyncd
```
* d6b2000 - (HEAD -> 202012, origin/202012) Fix the LLDP_LOC_CHASSIS not getting populated if no remote neighbors are present (#39) (#58) (7 months ago) [abdosi]
* 0f8d503 - Use github code scanning instead of LGTM (#55) (8 months ago) [Liu Shilong]
```
2023-09-16 13:00:08 -07:00
Vaibhav Hemant Dixit
18534b6599
[submodule-update] Advance sonic-sairedis pointer to latest of 202012 (#16020)
#### Why I did it

Commits:

1. Use github code scanning instead of LGTM: https://github.com/sonic-net/sonic-sairedis/pull/1160
2. [202012][submodule][SAI]Advance SAI head : https://github.com/sonic-net/sonic-sairedis/pull/1211
3. Use github code scanning instead of LGTM: https://github.com/sonic-net/sonic-sairedis/pull/1223
4. [syncd] Add pre match logic for acl entry: https://github.com/sonic-net/sonic-sairedis/pull/1257
5. Fix pipeline issue caused by urllib3 v2: 26e5471a72

##### Work item tracking
- Microsoft ADO **(number only)**: 17914573
2023-09-16 12:51:22 -07:00
mssonicbld
9f06c8d2d3
[submodule] Update submodule sonic-snmpagent to the latest HEAD automatically (#16439)
#### Why I did it
src/sonic-snmpagent
```
* b292c01 - (HEAD -> 202012, origin/202012) Fix FdbUpdater crash when SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID attribute missing. (#286) (12 days ago) [Hua Liu]
```
2023-09-16 12:37:11 -07:00
jcaiMR
5b6a935f99
avoid notify race between io and main pthreads (#16288)
Why I did it
Cherry-Pick #11926 into 202012

Work item tracking
Microsoft ADO (17850717):
How I did it
Create patch file to avoid notify race between io and main pthreads.

How to verify it
PR test, physical DUT for bgp related regression tests.
2023-08-29 18:05:03 +08:00
mssonicbld
3fe7223dd6
[submodule] Update submodule sonic-utilities to the latest HEAD automatically (#14745)
#### Why I did it
src/sonic-utilities
```
* 7fe50faa - (HEAD -> 202012, origin/202012) UT change: for db_migrator test do not check for RESTAPI cert values (#2919) (6 minutes ago) [Vaibhav Hemant Dixit]
```
2023-08-17 09:52:07 -07:00
Vaibhav Hemant Dixit
9d00e93624
[submodule advance] Update sonic-utilities pointer to latest (#16100)
To include below fixes:

sonic-net/sonic-utilities#2896
sonic-net/sonic-utilities#2924

Work item tracking
Microsoft ADO (number only): 24419953
2023-08-11 11:52:59 -07:00
mssonicbld
ad0d5db480
[submodule] Update submodule sonic-swss-common to the latest HEAD automatically (#14743)
#### Why I did it
src/sonic-swss-common
```
* c942d74 - (HEAD -> 202012, origin/202012) [Ci][202012] Fix collect log error in azp template (#800) (6 weeks ago) [xumia]
* 14fa3e5 - Cherry-pick PRs in master branch to unblock PR checks. (#761) (5 months ago) [Liu Shilong]
```
2023-08-11 08:29:35 +00:00
mssonicbld
b5958d8110
[submodule] Update submodule sonic-platform-common to the latest HEAD automatically (#14740)
#### Why I did it
src/sonic-platform-common
```
* 6e44c97 - (HEAD -> 202012, origin/202012) Change Y cable simulator log level from error to warning due to false alarm (3 months ago) [ShiyanWangMS]
* df020b8 - Add missing sys imports (#343) (6 months ago) [spilkey-cisco]
* cb00d2e - Use github code scanning instead of LGTM (#328) (7 months ago) [Liu Shilong]
* dd74113 - [ssd_generic] Fix innodisk health regex (#287) (9 months ago) [Alexander Allen]
```
2023-08-11 07:20:07 +00:00
mssonicbld
559fe85353
[submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (#15784)
#### Why I did it
src/sonic-linux-kernel
```
* 694b338 - (HEAD -> 202012, origin/202012) [202012] Add crypto/zstd.ko module via CONFIG_CRYPTO_ZSTD (#320) (4 weeks ago) [Samuel Angebault]
```
2023-08-11 06:51:55 +00:00
mssonicbld
14f5f127c9
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#15654)
#### Why I did it
src/linkmgrd
```
* 3f89fce - (HEAD -> 202012, origin/202012) [202012] Use Vlan MAC as src MAC for link prober by default #93 (#209) (6 weeks ago) [Jing Zhang]
```
2023-08-10 16:05:40 -07:00
jcaiMR
3c8ae454b4
[202012] dhcprelay add Loopback0 as source interface in dualtor scenario (#15744)
#### Why I did it
1. sonic-build image side change to fix source interface selection in dual tor scenario.
dhcprelay related PR:
https://github.com/sonic-net/sonic-dhcp-relay/pull/40

2. Announce dhcprelay submodule to 3578eb3 (to invoke [#40](https://github.com/sonic-net/sonic-dhcp-relay/pull/40
) PR)

##### Work item tracking
- Microsoft ADO 24243215

#### How to verify it
run test case, dhcp_relay/test_dhcpv6_relay.py
2023-07-24 18:28:16 -07:00
StormLiangMS
d3217a1bd1
[sonic-frr] enable info log for graceful restart events (#15623)
#### Why I did it
cherry pick, #15535

Graceful restart is a key event for bgpd, related log print is debug level. To change it to info level to get more visibilities when this kind of event is triggered.

##### Work item tracking
- Microsoft ADO **(13875291)**:

#### How I did it
To create patch file to change from debug level to info level. 

#### How to verify it
To run PR test and capture the print.
2023-07-13 18:36:35 -07:00
Hua Liu
171525d453
Cherry-pick pam patch from #8715 (#15787)
Fix libtacsupport.so  can't parse tacplus_nss.conf issue and not reset server list before parse config file issue.

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

#### Why I did it
1. Fix libtacsupport.so can't parse tacplus_nss.conf correctly issue:
            Support debug=on setting.
            Support put server address and secret in same row.
2. Fix the parse_config_file method not reset server list before parse config file issue.

#### How I did it
Fix libtacsupport.so  can't parse tacplus_nss.conf issue and not reset server list before parse config file issue.

#### How to verify it
UT with CUnit cover all code in this plugin.
Also pass all current UT.

#### Which release branch to backport (provide reason below if selected)
    N/A

#### Tested branch (Please provide the tested image version)
Extract tacacs support functions into library, this will share TACACS config file parse code with other project.
Also fix memory leak issue in parse config code.

- [ ]  SONiC.202012-15723.312602-e230e2d3e

#### Description for the changelog
Fix libtacsupport.so  can't parse tacplus_nss.conf issue and not reset server list before parse config file issue.
2023-07-12 18:47:56 -07:00
Hua Liu
4df2bc9b44
[202012] [TACACS+] Add audisp-tacplus for per-command accounting. (#8750) (#15788)
This pull request integrate audisp-tacplus to SONiC for per-command accounting.

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

#### Why I did it
To support TACACS per-command accounting, we integrate audisp-tacplus project to sonic.

#### How I did it
1. Add auditd service to SONiC
2. Port and patch audisp-tacplus to SONiC

#### How to verify it
UT with CUnit to cover all new code in usersecret-filter.c
Also pass all current UT.

#### Tested branch (Please provide the tested image version)
Extract tacacs support functions into library, this will share TACACS config file parse code with other project.
Also fix memory leak issue in parse config code.

- [ ]  SONiC.202012-15723.312602-e230e2d3e

#### Description for the changelog
Add audisp-tacplus for per-command accounting.
2023-07-12 18:46:47 -07:00
Hua Liu
9a733fde99
Update submodule sonic-utilities (#15770)
sonic-utilities submodule update

#### Why I did it
sonic-utilities submodule update:
```
399b1e3 2023-07-06 [202012][Show][BGP] Show BGP Change for no neighbor scenario (#2886)
7b47641 2023-07-10 [[202012] [TACACS+] Add config command for AAA authorization and accounting. (#1889)
```
##### Work item tracking
- Microsoft ADO **(number only)**:24433713

#### How I did it
Update sonic-utilities submodule.

#### How to verify it
Pass all test case.

#### Tested branch (Please provide the tested image version)
- [ ] SONiC.202012-15703.306864-1ef589c19
2023-07-10 21:19:08 -07:00
Hua Liu
228c3d3321
[202012] [TACACS+] Add Config DB schema and HostCfg Enforcer plugin to support TACACS+ per-command authorization&accounting.(#9029) (#15718)
This pull request add Config DB schema and HostCfg Enforcer plugin to support TACACS+ per-command authorization&accounting.

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

#### Why I did it
    Support TACACS per-command authorization&accounting.

#### How I did it
    Change ConfigDB schema and HostCfg enforcer.
    Add UT to cover changed code.

#### How to verify it
    Build following project and pass all UTs:
    make target/python-wheels/sonic_host_services-1.0-py3-none-any.whl

#### Which release branch to backport (provide reason below if selected)
    N/A

#### Tested branch (Please provide the tested image version)
Extract tacacs support functions into library, this will share TACACS config file parse code with other project.
Also fix memory leak issue in parse config code.

- [ ]  SONiC.202012-15723.309781-38d8852cd

#### Description for the changelog
    Add Config DB schema and HostCfg Enforcer plugin to support TACACS+ per-command authorization&accounting.
2023-07-10 21:17:31 -07:00
Hua Liu
f75794abdc
[TACACS+]: Extract tacacs support functions into library and fix memory leak issue. (#8659) (#15703)
This pull request extract tacacs support functions into library to share TACACS config file parse code with other project. Also fix memory leak issue in parse config code.

#### Why I did it
To support TACACS per command authorization, we need reuse the TACACS config file parse code in bash plugin project.

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

#### How I did it
Add libtacsupport.pc.in to extract tacacs support functions into library.
Fix memory leak issue in TACACS config parse code by convert the dynamic memory allocation memory to static memory allocation.

#### How to verify it
Pass all current UT.
Check shared library generated manually.

#### Tested branch (Please provide the tested image version)
Extract tacacs support functions into library, this will share TACACS config file parse code with other project.
Also fix memory leak issue in parse config code.

- [ ] SONiC.202012-15703.306864-1ef589c19

#### Description for the changelog
Extract tacacs support functions into library, this will share TACACS config file parse code with other project.
Also fix memory leak issue in parse config code.
2023-07-10 21:16:43 -07:00
Nazarii Hnydyn
ff9a1d5a11
[202012][buildsystem]: Fix hiredis package version: 0.14.1-1. (#15719)
Backport #15461

#### Why I did it
* To fix `hiredis` compilation

#### How I did it
* Changed package version: `0.14.0-3~bpo9+1` -> `0.14.1-1`

#### How to verify it
1. make configure PLATFORM=mellanox
2. make target/sonic-mellanox.bin

#### Tested branch (Please provide the tested image version)
- [X] 202012 <!-- image version 1 -->
2023-07-10 09:53:41 -07:00
Yaqiang Zhu
6e7c000b93
[submodule][202012] Update submodule sonic-utilities to the latest HEAD (#15532)
#### Why I did it
Update submodule sonic-utilities to the latest HEAD
```
50296b90 - [202012][dhcp-relay] Fix dhcp6relay counter issue (#2866) (#2873) (Fri Jun 30 18:08:53 2023 +0800) <Yaqiang Zhu>
160030c4 - [202012][dhcp_relay] Add "Reconfigure", "Information-Request", "Malformed" counter options (#2844) (Sun Jun 11 20:35:30 2023 -0700) <kellyyeh>
e6289ced - [vlan][dhcp_relay] Clear dhcpv6 relay counter while deleting vlan (#2852) (Fri Jun 2 18:20:21 2023 +0000) <Yaqiang Zhu>
885082ec - correctly parsing complete ipv6 vnet info (#2827) (Thu May 25 06:01:40 2023 +0000) <Keith Lu>
```

##### Work item tracking
- Microsoft ADO 22635770
2023-07-06 00:18:12 -07:00
mssonicbld
6884c2e9f9
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#15543)
#### Why I did it
src/sonic-telemetry
```
* 56aa539 - (HEAD -> 202012, origin/202012) Fix sonic-mgmt-common version in pipeline build (#124) (2 weeks ago) [Sachin Holla]
* 4264949 - Change log level (#118) (4 weeks ago) [Zain Budhwani]
```
2023-07-06 00:08:01 -07:00
Zhaohui Sun
71a8a66894
[202012] Fix caclmgrd crash issue when applying scale cacl rules (#15630)
Cherry pick PR for https://github.com/sonic-net/sonic-host-services/pull/62

#### Why I did it
Fix the issue https://github.com/sonic-net/sonic-buildimage/issues/10883.

##### Work item tracking
- Microsoft ADO **(17795594)**:

#### How I did it
For performance reason, libswsscommon is not thread safe by design.
caclmgrd share config DB connection cross thread, so change to use new db connector in child thread.

#### How to verify it
Load scale ipv4/ipv6 rules and verify if caclmgrd is crashed
2023-07-03 22:33:39 -07:00
mssonicbld
93b8694d82
[Build] Remove the additional space character in the mirrors.list file (#13812) (#15459)
Why I did it
Fix all mirror is commented out in sources.list in slave image issue. It will have an issue when installing more packages in the slave container.

It will add additional space character after running add-apt-repository command.

For example:
The original config in /etc/apt/sources.list

#deb [arch=amd64] http://deb.debian.org/debian/ bullseye main contrib non-free
Run the following command:

add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable"
Then the setting changed to: (added a new space character after #)

# deb [arch=amd64] http://deb.debian.org/debian/ bullseye main contrib non-free
How I did it
Fix the regex string to add the space pattern. After fixed, whether there is a space character or not, it will not be an issue.

How to verify it

Co-authored-by: xumia <59720581+xumia@users.noreply.github.com>
2023-06-19 23:23:42 +08:00
kellyyeh
7abddb42b0
Advance sonic-utilities submodule (#15009)
Why I did it
Advance sonic-utilities submodule head
Added below commits:
878be48e kellyyeh Wed May 10 15:21:52 2023 -0700 Revert "[warm-reboot] Use kexec_file_load instead of kexec_load when available
094513f8 Vaibhav Hemant Dixit Tue May 9 13:03:52 2023 -0700 [202012] LAG keepalive script to reduce lacp session wait during warm-reboot

Work item tracking
Microsoft ADO (number only): 23687678
2023-05-24 16:09:38 -07:00
siqbal1986
750263401b
[202012] submodule update sonic-swss. (#15023)
Updated for commit:

f141880 - 2023-04-26 : [bugfix] vnet ping missing with secondary endpoints empty in priority routes. (#2736) (#2747) [siqbal1986]
2023-05-18 15:23:15 -07:00
Cédric Ollivier
dc92a9f906 [build]: Force xz as compression type when building sonic-build-hooks debs (#12823)
Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-05-18 14:33:29 +08:00
mssonicbld
1e0412a3bb
[submodule] Update submodule linkmgrd to the latest HEAD automatically (#14862)
#### Why I did it
src/linkmgrd
```
* 35f7d1c - (HEAD -> 202012, origin/202012) [202012][active-standby][bsl] fix no mux probe issue #201 (#206) (2 weeks ago) [Jing Zhang]
* be701fb - [202012] pick codeql fixes (#207) (2 weeks ago) [Jing Zhang]
* 0b42cec - Enable debug symbols (#199) (3 weeks ago) [Longxiang Lyu]
```
2023-05-17 10:59:28 -07:00
mssonicbld
24b0ed30a5
[submodule] Update submodule sonic-telemetry to the latest HEAD automatically (#14944)
#### Why I did it
src/sonic-telemetry
```
* 6dc4bb9 - (HEAD -> 202012, origin/202012) Merge pull request #107 from zbud-msft/backport-202012 (33 hours ago) [Tomek Madejski]
* cbb7b1e - Update azp yml to generalize branch names (#106) (7 days ago) [Zain Budhwani]
```
2023-05-17 00:33:26 -07:00
mssonicbld
4b90929918
[submodule] Update submodule sonic-py-swsssdk to the latest HEAD automatically (#15035)
Why I did it
src/sonic-py-swsssdk

* d44e0d8 - (HEAD -> 202012, origin/202012) [Security] Fix the redis security issue CVE-2023-28858 and  CVE-2023-28859 (#135) (3 days ago) [xumia]
2023-05-15 00:39:12 -07:00
Zain Budhwani
a55c8d7444
[202012] Update sonic-telemetry submodule head (#15048)
#### Why I did it

Update 202012 sonic-telemetry submodule head

##### Work item tracking
- Microsoft ADO **(number only)**:16208453
2023-05-12 16:57:38 -07:00
Dev Ojha
5a6735c004
[submodule] sonic-utilities submodule update (#14937)
#### Why I did it
sonic-utilities submodule update for 202012

```
* d20fc3c8 2023-04-07 | [202012][DBMigrator] Update db_migrator to support EdgeZoneAggregator Buffer Config for T0s (#2768) (HEAD, origin/202012) [Dev Ojha]
* 322a74dd 2023-03-27 | Resolved rc!=0 problem by replacing fgrep with awk. Added ipv4 filtering to get only v4 peers in case of show ip bgp neighbors (#2743) [saurabhab]
```

##### Work item tracking
- Microsoft ADO **(number only)**: 20782336
2023-05-08 11:56:23 -07:00
xumia
ae0a47dc6e
[Build][202012] Support Debian snapshot mirror to improve build stability (#14558)
#### Why I did it
Cherry-pick commits from master to support the snapshot based mirror, and fix the code conflicts. And add the last commit to fix the build broken issue according to the mirror change.

ad162ae0e [Build] Optimize the version control for Debian packages (https://github.com/sonic-net/sonic-buildimage/pull/14557)
38c5d7fce [Build] Support j2 template for debian sources for docker ptf (https://github.com/sonic-net/sonic-buildimage/pull/13198)
5e4826ebf  [Ci] Support to use the same snapshot for all platform builds (#13913)
820692563 [Build] Change the default mirror version config file (#13786)
5e4a866e3 [Build] Support Debian snapshot mirror to improve build stability (#13097)
ac5d89c6a  [Build] Support j2 template for debian sources (#12557)
2023-04-20 22:45:33 -07:00
Jing Zhang
c45c109d75
update submodule (#14690)
[sonic-linkmgrd][202012] update submodule

0179207 (HEAD -> 202012, origin/202012) [202012][active-standby] Enforce switchover based on heartbeats when mux probe keeps failing #184 (#197)

sign-off: Jing Zhang zhangjing@microsoft.com
2023-04-19 11:43:56 -07:00
xumia
7b302d4002
[Submodule][202012] Advance sonic-restapi pointer (#14627)
Why I did it
[Submodule][202012] Advance sonic-restapi pointer

4f6f979 [Security] Fix the redis security issue CVE-2023-28858 and CVE-2023-28859 (#139)

Work item tracking
Microsoft ADO (number only): 17894593
How I did it
How to verify it
2023-04-13 15:25:46 +08:00
Dev Ojha
8a4f42d883
[202012][Buffer] Added cable length config to buffer config template for EdgeZoneAggregator (#14539)
#### 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.

Original PR for master: #14280 

#### 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. 

#### Description for the changelog
[Buffer] Added cable length config to buffer config template for EdgeZoneAggregator
2023-04-10 11:58:34 -07:00
Prince Sunny
b4c0309716
[Submodule] Update sonic-swss (#14567)
Update swss commits:
c161027 - 2023-04-07 : [202012] overlay_dmac change in Vnet configuration. (#2724) [siqbal1986]
50be4e3 - 2023-04-05 : [202012][mux]: Implement rollback for failed mux switchovers (#2716) [Lawrence Lee]
637e4c7 - 2023-03-30 : [202012] Fix orchagent missing request when logrotate happens (#2718) [Prince Sunny]
2023-04-07 17:15:53 -07:00
Jing Zhang
99c724434e
[202012][sonic-linkmgrd] submodule update (#14480)
Include commit: 
```
6ea1f03 Jing Zhang      Tue Mar 28 08:42:44 2023 -0700  [202012] remove chatty log message for peer link event (#192)
198292d Jing Zhang      Tue Mar 21 17:53:11 2023 -0700  [active-standby] avoid unnecessary mux state probe after configuring to `auto` (#183)
47de88e Jing Zhang      Mon Mar 20 18:14:25 2023 -0700  [202012] Avoid unnecessary error logs from `handleGetServerMacAddressNotification` #96 (#185)
8a33319 Jing Zhang      Mon Mar 6 11:53:27 2023 -0800   loose link down swithcover condition (#178)
c2bf08d Jing Zhang      Thu Mar 16 18:59:10 2023 -0700  fix ActiveStandbyStateMachine referrence (#186)
99d26af Jing Zhang      Thu Mar 16 18:58:48 2023 -0700  [ci] Fix apt-get install unable locate package issue. (#177) (#187)
d893be9 Longxiang Lyu   Wed Feb 22 12:55:44 2023 +0800  [active-standby] Toggle to standby if link down and config auto (#173)
```
2023-04-04 10:40:16 -07:00
jcaiMR
9c5138b60e
change static route expiry time from 1800 to 172800 (#14497)
* [Bgpcfgd] change static route expiry time from 1800 to 172800
2023-04-03 11:42:28 -07:00
SuvarnaMeenakshi
de1c35a070
[202012][sonic-snmpagent]: Advance submodule (#14451)
#### Why I did it
Update sonic-snmpagent submodule to include below commit:
Revert "[202012]: snmp vlan support per RFC1213 and added the missing support for RFC2863 (#279)" (#280)
2023-03-29 15:56:04 -07:00
Prince Sunny
38b259ca39
[submodule] update for sonic-swss (#14449)
Update for swss following commits:
3108985 - 2023-03-28 : [202012][muxorch] handling multiple mux nexthops for route (#2702) [Nikola Dancejic]
f412625 - 2023-03-24 : [202012]Custom monitoring based priority tunnels (#2671) [siqbal1986]
2023-03-29 09:02:21 -07:00
Hua Liu
a20b43e502
[202012] Check config file not empty after modify it in hostcfgd. (#14385)
**What I did**
Check /etc/pam.d/sshd integrity after modify it in hostcfgd.

**Why I did it**
Found some incident that /etc/pam.d/sshd become empty file during OR upgrade. 

**How I verified it**
Pass all UT.
Add new UT to cover new code.

**Details if related**
This is a manually cherry-pick PR for https://github.com/sonic-net/sonic-host-services/pull/36
2023-03-27 00:30:05 -07:00
Neetha John
43aec133da
[202012] [qos] Update RDMA-CENTRIC lossy profile to use static threshold for Th devices (#14398)
Backport #14372 to 202012

Why I did it
For better accounting purposes, updating the ingress lossy traffic profile to use static threshold. This change is only intended for Th devices using RDMA-CENTRIC profiles

How I did it
Update the buffer templates for Th devices in RDMA-CENTRIC folder to use the correct threshold

Signed-off-by: Neetha John <nejo@microsoft.com>
2023-03-24 10:41:48 -07:00
Neetha John
cd85a2e2c1
[202012] [submodule] Update submodule for sonic-utilities (#14357)
This PR includes the following commits
```
5b0f0fc [202012][dhcp_relay] Fix dhcp_relay restart error while add/del vlan (sonic-net/sonic-utilities#2688)
48fd842 [show][muxcable] increase timeout for displaying HW_STATUS (sonic-net/sonic-utilities#2712)
f0a9f4f [dhcp_relay] Add show/clear/counter cli for dhcp_relay (sonic-net/sonic-utilities#2719)
8627944 Revert "[202012] Update load minigraph to load backend acl" (sonic-net/sonic-utilities#2736)
93c7d43 [warm-reboot] Use kexec_file_load instead of kexec_load when available (sonic-net/sonic-utilities#2608)
cc78747 [warm/fast-reboot] Backup logs from tmpfs to disk during fast/warm shutdown (sonic-net/sonic-utilities#2714)
```
2023-03-21 10:55:05 -07:00
vdahiya12
857d74d4fe
[202012][sonic-platform-daemons][sonic-utilities] update submodule (#14048)
For sonic-platform-daemons following commits are added to the submodule

dd8fbae (HEAD -> 202012, origin/202012) [ycabled] add more coverage to ycabled; add minor name change for vendor API CLI return key-values pairs (#338)
846555e [thermalctld] fix some redundant removal of state DB tables (#315)
3d92fb9 Use github code scanning instead of LGTM (#316)

For sonic-utilities the following commits are added in this PR to the submodule
git log --oneline 39cdb49c..202012
ec4c6ea5 (HEAD -> 202012, origin/202012) [show][muxcable] add some new commands health, reset-cause, queue_info support for muxcable (#2414) (#2704)
03ef272e [202012][vlan] Remove add field of vlanid to DHCP_RELAY table while adding vlan (#2681)
e00a81ac [202012][dhcp-relay] Add support for dhcp_relay config cli (#2640)
274184e1 [vlan] Refresh dhcpv6_relay config while adding/deleting a vlan (#2660) (#2668

#### Why I did it
updating the submodule of sonic-platform-daemons, sonic-utilities

#### How I did it

updated the submodule
2023-03-20 13:43:14 -07:00
kellyyeh
e528408d14 Update dhcpmon rx/tx packet filtering and fix server rx count (#13898)
Why I did it
Dhcpmon had incorrect RX count for server side packets. It does not raise any false alarms, but could miss catching server side packet count mismatch between snapshot and current counter.

Add debug mode which prints counter to syslog

How I did it
Due to dualtor inbound filter requirement, there are currently two filters, each for listening to rx / tx packets.
Originally, we opened up an rx/tx socket for each interface specified, which causes duplicate socket. Now we initialize the sockets only once. Both sockets are not binded to an interface, and we use vlan to interface mapping to filter packets. For inbound uplinks, we use a portchannel to interface mapping.

Previous dhcpmon counter before dual tor change:
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1
[ eth0- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ eth0- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ PortChannel104- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel103- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel102- Current rx/tx] Discover: 0/ 2, Offer: 1/ 0, Request: 0/ 6, ACK: 1/ 0
[ PortChannel101- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ Vlan1000- Current rx/tx] Discover: 1/ 0, Offer: 0/ 1, Request: 3/ 0, ACK: 0/ 1
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1

Dhcpmon counter after this PR:
[ PortChannel104- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel103- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel102- Current rx/tx] Discover: 0/ 2, Offer: 1/ 0, Request: 0/ 6, ACK: 1/ 0
[ PortChannel101- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ Vlan1000- Current rx/tx] Discover: 1/ 0, Offer: 0/ 1, Request: 3/ 0, ACK: 0/ 1
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1

How to verify it
Ran dhcp relay test to send all four packets in singles and batches on both single ToR and dual ToR. Counter was as expected.
2023-03-20 20:25:13 +00:00
Zain Budhwani
a78d4c9750
[202012] Update sonic-telemetry submodule (#14174)
Has following commits:
```
b93c4ac Zain Budhwani Wed Mar 1 15:45:43 2023 -0800 Fix crash when retrieving cpu utilization (sonic-net/sonic-gnmi#70) (sonic-net/sonic-gnmi#71)
af1ec19 Zain Budhwani Wed Mar 1 15:13:53 2023 -0800 Add diff cov (sonic-net/sonic-gnmi#85)
3f41377 Zain Budhwani Tue Feb 28 16:48:22 2023 -0800 Add logs for md5 checksum (sonic-net/sonic-gnmi#80)
67b7fb2 Zain Budhwani Mon Feb 27 23:44:49 2023 -0800 Add get-update to azp yml (sonic-net/sonic-gnmi#79)
5d6c47f Zain Budhwani Fri Feb 24 13:11:53 2023 -0800 Add net core and code coverage results (sonic-net/sonic-gnmi#77)
984bc6d Zain Budhwani Wed Feb 22 16:03:01 2023 -0800 [202012] Enable unit test (sonic-net/sonic-gnmi#76)
e8e4335 Zain Budhwani Fri Feb 10 16:27:58 2023 -0800 Change dir name in pipeline (sonic-net/sonic-gnmi#75)
a1cc7ab Zain Budhwani Tue Jan 31 14:11:27 2023 -0800 Add 202012 branch to pr checker (sonic-net/sonic-gnmi#72)
eaea6c5 ganglyu Mon Nov 14 10:18:07 2022 +0800 Fix format
```
2023-03-20 11:58:17 -07:00
Prince Sunny
e2e3625500
[202012][Submodule] update for sonic-restapi (#14241)
Update sonic-restapi for the following commit:

44121be - 2023-03-14: Support ipv6 prefix length greater than 64 and check for adv_prefix
47e4b53 - 2023-03-15: Set allowed IPv6 pfx len to be 60
2023-03-15 17:10:28 -07:00
prabhataravind
6f949226d1
[202012][swss]: Submodule update (#14171)
* Include the following commits:
  - a21b160 [202012][orchagent]: Handle duplicate routes in a graceful manner (#2666)
  - 1540161 [bfdorch] add default TOS value for BFD packet (#2692)
  - 860430c [ci] run apt-get update before apt-get install (#2686)
2023-03-08 14:35:29 -08:00
SuvarnaMeenakshi
481f51f45c
[202012][sonic-snmpagent]: Advance submodule (#14111)
#### Why I did it
Update sonic-snmpagent submodule to include below commit:
fba50c6  [202012]: snmp vlan support per RFC1213 and added the missing support for RFC2863 (#279)
2023-03-07 11:16:19 -08:00
xumia
2ca6ec484e
[202012][Security][CVE-2022-2309] Upgrade lxml from 4.6.5 to 4.9.1 (#14066)
Why I did it
Fix CVE-2022-2309, upgrade lxml from 4.6.3 to 4.9.1
2023-03-07 09:43:46 +00:00