Commit Graph

1352 Commits

Author SHA1 Message Date
Liu Shilong
ef1dbdd0d5
[build] Use public storage for public resources. (#18038) (#18205)
* [build] Use public storage for public resources. (#18038)

* fix

* fix
2024-02-29 08:49:18 -08:00
Hua Liu
185c6544ec
Update sonic-snmpagent submodule (#17014)
8b9cab7 2023-10-26 [201911] Fix IfHighSpeed UT issue on 201911 (#299) 
622b771 2023-10-13 | Fix backup port rfc2863 UT to 202012 branch issue (#298) [Hua Liu]
fa94798 2023-10-11 | Add ifhighspeed UT (#296) [Hua Liu]
41789ca 2023-09-14 | Support interface speed for PortChannels (#262) [Lukas Stockner]
2023-11-02 22:19:54 -07:00
Tejaswini Chadaga
71084e7b47
[201911][sonic-utilties] Submodule Update (#16487)
ef2a0cd0 [201911] [multi_asic] Script to monitor errors on internal links (#2971)
1252e31b Changes to separate UT data for internal link monitor (#2976)
3e6654e [[201911] [multi-asic] Unit test fix for internal link monitoring (#2977)
2023-09-12 15:54:25 -07:00
Stepan Blyshchak
fd153e0584 [sonic-cfggen] store jinja2 cache in log level db. (#5646)
This PR makes two changes:
    - Store Jinja2 cache in LOGLEVEL DB instead of STATE DB
    - Store bytecode cache encoded in base64

Tested with the following command: "redis-dump -d 3 -k JINJA2_CACHE"

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2023-07-14 00:06:47 +00:00
xumia
7aeb5d46ce
[Build][201911] Fix the stretch/jessie mirror removed issue (#15083)
[Build] Fix the stretch/jessie mirror removed issue.
2023-05-17 22:52:26 -07:00
jingwenxie
9b3d8b7f81
[201911][sonic-utilities] submodule update (#13844) 2023-03-06 10:47:11 -08:00
Prince Sunny
fb0751bc84
[201911] Fix a typo (#14050)
*Fix a typo introduced as part of #13403
2023-03-03 10:23:08 -08:00
Prince Sunny
5bd7761481
[201911] Create Vxlan and Vnet default configs (#13403)
* Create Vxlan and Vnet default configs
2023-02-01 18:36:29 -08:00
Qi Luo
9ce9ba4fb7
[201911] Fix tagged VlanInterface if attached to multiple vlan as untagged member (#13534)
Backport https://github.com/sonic-net/sonic-buildimage/pull/8927
2023-01-30 15:49:02 -08:00
kellyyeh
757130c027
[201911] Add dhcp6relay as dhcprelay submodule (#12052) 2022-11-07 15:27:52 -08:00
ganglv
f9dddfb106
[cherry-pick][201911] Fix dhcp option buffer issue (#12520)
Why I did it
#12033

How I did it
How to verify it
2022-10-28 14:27:47 +08:00
abdosi
69f18cfdbb
Cheery-pick the commit from master where in multi-asic platforms bgp (#12081)
Cherry-pick the commit from master where in multi-asic platforms bgp template rendering fails which needs Loopback4096 IP Address. Issue happens because of timing/race condition where if peer gets added first and then Loopback4096 notification comes to bgpcfgd
2022-09-15 10:12:57 -07:00
Vivek
0b06e280aa
[201911] [libteam] Backport Missing update to libteam WR patch (#11583)
Why I did it
LAG Flaps are seen on Sad Warm reboot tests because of this.

How I did it
backport 8a2ba14677

Signed-off-by: vkarri <vkarri@contoso.com>
2022-08-08 15:02:56 +03:00
anish-n
7c83bb69e0 Minigraph resource type changes (#5198)
* Parse sub_role from minigraph into DEVICE_METADATA
* Change minigraph sub_role to resource_type
2022-08-01 17:18:08 +00:00
Abhishek Dosi
b6e8d38fc4 Revert "Minigraph resource type changes (#5198)"
This reverts commit f42f325f09.
2022-08-01 17:13:53 +00:00
Abhishek Dosi
5ff90316be [Submodule update] sonic-swss
[neighsyncd] increase neighsyncd timeout (#2209)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-07-29 21:56:16 +00:00
Abhishek Dosi
f3370dd414 [Submodule update] sonic-restapi
Change error message when conflicting Vlan ID is used (#119)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-07-29 21:53:42 +00:00
anish-n
f42f325f09 Minigraph resource type changes (#5198)
* Parse sub_role from minigraph into DEVICE_METADATA
* Change minigraph sub_role to resource_type
2022-07-29 17:02:34 +00:00
Abhishek Dosi
36ca9c52aa [Submodule update] sonic-restapi
commit 5f7cb77230fceb1b7fd30c57a70d0cd05cd6dd95 (HEAD -> 201911, origin/201911)
Author: Sumukha Tumkur Vani <sumukhatv@outlook.com>
Date:   Wed Jul 27 16:51:38 2022 -0700

    Use 201911/stretch dependencies for build (#118)

commit e3809523050df75ec18bf31a5dc3a2e595d58a14
Author: Sumukha Tumkur Vani <sumukhatv@outlook.com>
Date:   Wed Jul 27 15:17:12 2022 -0700

    Change response message for conflicting VNI (#117)

    Ref: https://github.com/Azure/sonic-restapi/pull/99

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-07-29 16:57:27 +00:00
Abhishek Dosi
11473cf736 [Submodule update] sonic-swss
Handle delete case for object not found (#2391)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-07-29 16:55:27 +00:00
Zain Budhwani
47fe8ae52a
Update sonic-utilities submodule (#11459)
Why I did it

62b7b56 2022-07-13 | Remove disabled and not loaded services before calling reset-failed and restart services (#2266) [Zain Budhwani]  
09b4678 2022-07-05 | [config/load_mgmt_config] Support load IPv6 mgmt IP (#2206) (#2246) [Jing Kan] 

How I did it

Pulled latest commit from 201911 sonic-utilities branch and created PR

How to verify it

Look at build-image
2022-07-18 14:24:56 -07:00
Stepan Blyshchak
3c3b77d2f1
[201911][sonic-linux-kernel] submodule update (#11353)
```
23fc702 [201911][patch] mlxsw: i2c: Prevent transaction execution for special chip st (#278)
e4f44e4 [201911] Increase log buf len size to 1M (#265)
ef6abe3 [201911] Apply kernel patches to fix emmc unreliability (#264)
7458347 [201911] Increase log buf len size to 1M
4edf1b4 [201911] Apply kernel patches to fix emmc unreliability
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>

Why I did it
I updated sonic-linux-kernel to pick a fix for a bug happening during ISSU that caused CPU stall.

How I did it
Updated submodule

How to verify it
Build and run warm reboot
2022-07-07 13:02:53 -07:00
Neetha John
a9b80368c9
[201811] Update 7260 MMU and ECN settings (#10757) (#11276)
Why I did it
Improve throughput and latency for 7260 deployments

How I did it
Update the dynamic threshold to 0 and ECN settings as 2mb/10mb/5%

How to verify it
Added unit tests for rendering the qos template for 7260. Built sonic config engine wheel successfully

Signed-off-by: Neetha John <nejo@microsoft.com>
2022-07-06 10:08:50 -07:00
Andriy Yurkiv
af22215c1d
[201911] [submodule] Advance sonic-utilities pointer (#11245)
afceda4 [201911] [Flex Counters] add CLI for PG drop packets counters (counterpoll, show/clear counters) (#2155)

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
2022-07-03 16:04:32 +03:00
Jing Kan
820393c628
[cherry-pick][201911][minigraph] Support parse IPv6 in device_desc.xml (#11095) (#11273)
* [minigraph] Support parse IPv6 in device_desc.xml (#11095)

Signed-off-by: Jing Kan jika@microsoft.com
2022-07-01 16:23:48 +08:00
Andriy Yurkiv
6ea65056b9
[submodule] Update sonic-swss submodule in order to add PG drop implementation (#11246)
*805f4bb [201911] Add SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS counter, create new FlexCounter group (#2263)

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
2022-06-28 11:29:07 -07:00
Neetha John
b29cb05b03
[201911] Minigraph parser changes to select mmu profiles based on SonicQosProfile attribute (#10927)
Why I did it
There is a need to select different mmu profiles based on deployment type

How I did it
There will be separate subfolders (RDMA-CENTRIC, TCP-CENTRIC, BALANCED) in each hwsku folder which contains deployment specific mmu and qos settings. SonicQosProfile attribute in the minigraph will be used to determine which settings to use. If that attribute is not present, the default settings that exist in the hwsku folder will be used

Signed-off-by: Neetha John <nejo@microsoft.com>
2022-06-24 11:52:31 -07:00
Abhishek Dosi
a17f2e50ce [Submodule update] sonic-restapi
c3d9d8f2bcd364dc81cd4d9bec02666cef648b10 (HEAD -> 201911, origin/201911) API for getting all members from all VLANs (#106)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-05-19 06:30:06 -07:00
abdosi
252168d1cd
[2019111] Added Support for BGP allow list feature to have route-map action of setting tag (#10869)
What I did:
Added support to create route-map action set tag
when the the allow prefix list matches. The tag can ben define by user in
constants.yml.

Why I did:
Since for Allow List feature we call from base route-map allow-list route-map having set tag option provides way for base route-map to do match tag and take any further action if needed. Adding tag provide metadata that can used by base route-map
2022-05-18 23:01:59 -07:00
Abhishek Dosi
be4dbb1c63 [Submodule update] sonic-swss
[201911][pfcwd] Avoid ingress drop by not attaching zero profiles when pfc storm is detected (#2279)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-05-18 18:20:59 -07:00
StormLiangMS
94ef122f1f [bgpcfgd] to support removal part of configuration of bgp allowed prefix list (#10165)
* fix allow list issue

Signed-off-by: stormliang <stormliang@microsoft.com>

* add the ipaddress in the install list

* add unit test

Co-authored-by: Ubuntu <azureuser@SONIC-SH-STORM-02.5pu3m0fajw1edcfltykk1gauxa.gx.internal.cloudapp.net>

Why I did it
Failed to remove part of configuration of bgp allowed prefix list. The details in #10141

How I did it
There are two issues:

In FRR, ipv6 default route is ::/0, but in the configuration, it is 0::/0, string comparison would be false, but why ipv4 failed to remove the allowed prefix list, ipv6 works? Looks into next one for the answer.

The current managers_allow_list doesn’t support removal part of the prefix list. But why IPv6 works in 1? It is because the bug for the IPv6 default route comparison, it would do the update no matter what is the operation (the code will compare the prefix list in the FRR and configuration db, if all configurations in db are presented in FRR, it do nothing, otherwise it will update the prefix list based on the configuration from db).

How to verify it
Follow the step in #10141
2022-05-18 18:20:49 -07:00
Abhishek Dosi
b56fbc5ca8 [Submodule update] sonic-snmpagent
f91a9e6e07a43cae531cda019935de3221e0bb09 (HEAD -> 201911, origin/201911) Fix: not to use blocking get_all() after keys() (#255)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-05-17 15:52:29 -07:00
Abhishek Dosi
443158c95e [Submodule Update] sonic-utilities
988d8e172e7140174bfa21d3b86c9685c7127a14 (HEAD -> 201911, origin/201911) [warm-reboot]: added automated recover for ISSU file (#1466)
913df4e2faf6e70e0aebb01d81f79694a6d8ee20 [201911] Warmboot script improvements - timeout in exec and disable service-autorestart (#2149)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-05-17 15:51:04 -07:00
Vaibhav Hemant Dixit
2c104c8d56
[201911] Advance sonic-snmpagent submodule to latest (#10829)
Why I did it
Advance sonic-snmpagent submodule to include:
[201911] Fix snmp subagent errors in shutdown path Azure/sonic-snmpagent#259
2022-05-16 08:04:28 -07:00
Abhishek Dosi
b8689d71f0 Fix the build error created by cherry-pick of PR:
[bgp] Enable BGP Graceful Restart based on device role (#9486)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-04-02 10:47:44 -07:00
Abhishek Dosi
7b0ef0ed55 [Submodule update] sonic-py-swssdk
9ce4d19d5a199cffe2933d80e343a80ded398b4a (HEAD -> 201911, origin/201911) With the changes in PR:https://github.com/Azure/sonic-buildimage/pull/5289 access to redis unix socket is given to the redis group members. Many of sonic-util commands (especially in multi-asic) case use redis unix socket to connect to DB and thus those comamnd fails without providing sudo. This PR is continuation  of PR: https://github.com/Azure/sonic-buildimage/pull/7002 where we default to use TCP for Redis if user is not root

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-04-01 10:50:11 -07:00
Abhishek Dosi
843ac556a7 [Submodule update] sonic-swss
1c12a4050fecabd88245c7aa64a61259bc00db3b (HEAD -> 201911, origin/201911)Allowing the first time FEC and AN configuration to be pushed to SAI (#1705) (#2196)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-04-01 09:46:09 -07:00
abdosi
9138423b3e [bgp] Enable BGP Graceful Restart based on device role (#9486)
What I did:
Updated Jinja Template to enable BGP Graceful Restart based on device role. By default it will be enable only if the device role type is TorRouter.

Why I did:-
By default FRR is configured in Graceful Helper mode. Graceful Restart is needed on T0/TorRouter only since the device can go for warm-reboot. For T1/LeafRouter it need to be in Helper mode only
2022-04-01 09:43:53 -07:00
Sudharsan Dhamal Gopalarathnam
17c9648c9c
[202012] FEC none config through minigraph (#7670) (#10338)
When FECDisabled is set to true in minigraph.py, push 'fec' 'none' explicitly to config_db. When 'fec' is defined in port_config.ini do not override it with 'rs' for 100G

Backport of #7667 to 202012 branch.
2022-03-29 10:28:26 -07:00
abdosi
74305f8a56
Backport FRR patch tp FRR-7.2 to handle pthread race in peer notify message handling (#10324)
What I did:

Backport FRR patch FRRouting/frr#8220 on FRR 7.2. Fixes the Issue FRRouting/frr#8213

Why I did:-

Because of this race-condition we saw GR getting triggered even though BGP shut is given on peer device.

How I verify:

After patching this fix GR is not triggered on doing BGP shut on peer.
2022-03-23 08:58:10 -07:00
xumia
218a310eeb
[Submodule] Update src/sonic-restapi (#10263)
af30fec Fix urllib3 CVE-2021-33503 issue (#104) (#105)
2022-03-20 17:33:58 -07:00
Abhishek Dosi
a90ebfba51 [submodule update] sonic-snmpagent
[rfc2737]: Handle unicode error when parsing transceiver (#235)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-03-01 16:17:03 -08:00
Renuka Manavalan
e3958afa2c
Manually cherry-picked PR #9123 (#10041)
Identify the bad password set by sshd and fail auth before sending to
AAA server, and hence avoid possible user lock out by AAA.
For more details, please refer the parent/original PR #9123
2022-02-23 17:41:21 -08:00
kellyyeh
017547dad3
[201911][radv] Support multiple ipv6 prefixes per vlan interface and change radv interval to 3min (#10016)
* [radv] Support multiple ipv6 prefixes per vlan interface (#9934)
* Radvd.conf.j2 template creates two copies of the vlan interface when there are more than one ipv6 address assigned to a single vlan interface. Changed the format to add prefixes under the same vlan interface block.
2022-02-18 07:40:55 -08:00
Abhishek Dosi
c71320132f [Submodule update] sonic-swss
[fpmsyncd] Skip routes to eth0 or docker0 (#1606)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-02-17 18:34:37 -08:00
arlakshm
1d84ff5bd9
remove staticd.conf (#9657)
resolves #8979 and #9055

How I did it
Remove the file static.conf.j2,which adds the default route on eth0 from frr docker

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
2022-02-17 18:31:30 -08:00
Abhishek Dosi
9f55979696 [submodule update] sonic-restapi
a1830c1761087bdc1f7433ebbb8d0bdc419da0d3 (HEAD -> 201911, origin/master, origin/HEAD, origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
94805a39ac0712219f7dc08faa2cfdbf371dd177 Identify and report Vnet GUID for conflicting VNI (#99)
4832dfd677de72edc44d4eb8c1b60cfad79a3355 Static route expiry if not specified as persistent  (#98)
5cc4358fb67b9e2a0da9a6691064e41f97ebebc2 (master) Add support for overlay ECMP (#96)
6822a46197daef060b4d00dba5153b04b163c43f [CI] Set diff cover threshold to 50% (#97)
dcc826a1503060b9a07e4510b4f48331c49e87dd Add PR diff coverage (#95)
e842c5ff317c67919dcbcab3358143cb9a16c9dd Generate code coverage for Unit Tests (#94)
f9bbed3cb86a3bab9a07745096835dbdbe5a4db6 Convert Unit Tests from unittest framework to pytest framework (#93)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-02-17 11:14:14 -08:00
Abhishek Dosi
81175f27b8 [submodule update] sonic-sairedis
[201911] Prevent other notification event storms to keep enqueue
unchecked and drained all memory that leads to crashing the switch
router (#981)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2022-02-17 11:07:14 -08:00
xumia
9c0a09241c
[submodule]: update sonic-utilities (#9775)
update sonic-utilities
2022-01-19 18:46:39 +08:00
Abhishek Dosi
89fc705c6f [submodule] sonic-swss
ea9c6690cafb959d28c90fd5d01fce5bbb5f899b (HEAD -> 201911, origin/201911) Revert "[fpmsyncd] Skip routes to eth0 or docker0 (#1606)"
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-11-24 15:38:56 -08:00