Commit Graph

5556 Commits

Author SHA1 Message Date
mssonicbld
dd1db72c1f
[ci/build]: Upgrade SONiC package versions (#12368) 2022-10-13 15:35:28 +08:00
Vivek
0de604baa6 [DHCP_RELAY] Updated wait_for_intf.sh to wait for ipv6 global and link local addr (#12273)
- Why I did it
Fixes #11431

- How I did it
dhcp6relay binds to ipv6 addresses configured on these vlan interfaces
Thus check if they are ready before launching dhcp6relay

- How to verify it
Unit Tests
Tested on a live device

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
2022-10-12 23:27:03 +00:00
Liu Shilong
75581e1580 [build] Fix dpkg front lock issue with apt-get (#12332) 2022-10-12 23:27:00 +00:00
xumia
09f2d40c79 [Build][Bug] Fix apt-get remove version not lock issue (#12193)
Why I did it
Fix apt-get remove/purge version not locked issue when the apt-get options not specified.

How I did it
Add a space character before and after the command line parameters.
2022-10-12 23:26:54 +00:00
Dror Prital
208107f2f9
[202012][submodule] Advance sonic-utilities pointer (#12359)
Update sonic-utilities submodule pointer to include the following:

94a3436 [show] vnet endpoint [ip/ipv6] command (2342) (#2421)
84a0712 [VxLAN]Fix Vxlan delete command to throw error when there are references (#2404)
1341f58 [202012] [generate_dump]: Enhance show techsupport for cisco-8000 platform (#2395)

Signed-off-by: dprital <drorp@nvidia.com>
2022-10-12 11:47:45 +03:00
Liu Shilong
7b848ab147
[Build] Fix the build unstalbe issue caused by the kvm not ready (#12180) (#12354)
Why I did it
Fix the build unstable issue caused by the kvm 9000 port is not ready to use in 2 seconds.

2022-09-02T10:57:30.8122304Z + /usr/bin/kvm -m 8192 -name onie -boot order=cd,once=d -cdrom target/files/bullseye/onie-recovery-x86_64-kvm_x86_64_4_asic-r0.iso -device e1000,netdev=onienet -netdev user,id=onienet,hostfwd=:0.0.0.0:3041-:22 -vnc 0.0.0.0:0 -vga std -drive file=target/sonic-6asic-vs.img,media=disk,if=virtio,index=0 -drive file=./sonic-installer.img,if=virtio,index=1 -serial telnet:127.0.0.1:9000,server
2022-09-02T10:57:30.8123378Z + sleep 2.0
2022-09-02T10:57:30.8123889Z + '[' -d /proc/284923 ']'
2022-09-02T10:57:30.8124528Z + echo 'to kill kvm:  sudo kill 284923'
2022-09-02T10:57:30.8124994Z to kill kvm:  sudo kill 284923
2022-09-02T10:57:30.8125362Z + ./install_sonic.py
2022-09-02T10:57:30.8125720Z Trying 127.0.0.1...
2022-09-02T10:57:30.8126041Z telnet: Unable to connect to remote host: Connection refused

How I did it
Waiting more time until the tcp port 9000 is ready, waiting for 60 seconds in maximum.

Co-authored-by: xumia <59720581+xumia@users.noreply.github.com>
2022-10-12 15:54:06 +08:00
mssonicbld
54b0b8b557
[ci/build]: Upgrade SONiC package versions (#12355) 2022-10-11 21:45:13 +08:00
Neetha John
1b99c605a6
[202012] [minigraph] Remove SLB and bgp monitor peers for storage backend (#12262)
Why I did it
This is to backport #12251 to 202012

Signed-off-by: Neetha John <nejo@microsoft.com>
2022-10-10 14:29:41 -07:00
mssonicbld
3d8fbf4bca
[actions] Add auto cherry-pick actions to release branch (#11496) (#12336)
* [actions] Add github actions to auto cherry-pick prs to release branches

* Add README, fix workflow

Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2022-10-10 17:22:13 +08:00
mssonicbld
30adf36ce3
[ci/build]: Upgrade SONiC package versions (#12302) 2022-10-09 18:25:20 +08:00
Prince Sunny
5f4c4e5b5d
[Submodule] update sonic-restapi (#12288)
Update sonic-restapi submodule for the following commits:

86543d0 - 2022-10-05 : Updates to route PATCH API (#129) [Sumukha Tumkur Vani]
a1af82c - 2022-09-21 : Install libyang to azure pipeline (#128) [Hua Liu]
2007c4c - 2022-09-09 : Increase coverage threshold (#126) [Sumukha Tumkur Vani]
2022-10-08 10:53:01 -07:00
gechiang
1e6d63a412
[202012][BRCMSAI] 4.3.7.1-2 to back out a change that broke 4.3.7.1-1 (#12298)
This is basically the same as previous PR: (#12275)
With backing out a change that was breaking the build. Copying the same info from that PR here.
2022-10-06 21:25:34 -07:00
vdahiya12
a0f1e14c31
[202012][sonic-platform-daemons] submodule update (#12266)
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>

git log --oneline 99d2528..202012
aacb772 (HEAD -> 202012, origin/202012) [ycabled] fix naming error for
error condition for CLI handling (#302)
f2201ab [ycabled] add some exception catching logic to some vendor
specific API's (#301)
2022-10-05 15:52:58 -07:00
gechiang
9c9d902ede
[202012]BRCM SAI 4.3.7.1-1 pick up fix CS00012263713 (mirrored packet with extra VLAN Tag) (#12275)
Pick up fix for CS00012263713 (mirrored packet with extra VLAN Tag) BRCM SAI 4.3.7.1-1

Preliminary tests look fine. BGP neighbors were all up with proper routes programmed
interfaces are all up
Manually ran the following test cases on 7050CX3 (TD3) T0 DUT and all passed:

     fib/test_fib.py
     acl/test_acl.py
     arp/test_neighbor_mac_noptf.py
     fdb/test_fdb.py
     decap/test_decap.py
     pc/test_lag_2.py
     pc/test_po_cleanup.py
     pc/test_po_update.py
     everflow/test_everflow_ipv6.py
     everflow/test_everflow_testbed.py
     route/test_default_route.py
     ipfwd/test_dip_sip.py
     copp/test_copp.py
     crm/test_crm.py
2022-10-05 09:40:55 -07:00
mssonicbld
37a189b3f3
[ci/build]: Upgrade SONiC package versions (#12277) 2022-10-05 20:57:41 +08:00
Qi Luo
c7e0d50c74
[ci]: Fix the wrong branch in build step "Download sonic-buildimage.vs artifact" (#12272) 2022-10-04 14:16:56 -07:00
mssonicbld
7474a1bcd8
[ci/build]: Upgrade SONiC package versions (#12267) 2022-10-04 21:20:48 +08:00
Xichen96
a16843a67c Enable swap for haliburton device. (#11746)
Signed-off-by: Xichen Lin <lukelin0907@gmail.com>

Signed-off-by: Xichen Lin <lukelin0907@gmail.com>
2022-10-03 22:31:00 +00:00
Ying Xie
64ce6696bb [mux] skip mux operations during warm shutdown (#11937)
* [mux] skip mux operations during warm shutdown

- Enhance write_standby.py script to skip actions during warm shutdown.
- Expand the support to BGP service.
- MuX support was added by a previous PR.
- don't skip action during warm recovery

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2022-10-03 22:30:55 +00:00
Longxiang Lyu
893391f76e [mux] Exit to write standby state to active-active ports (#11821)
[mux] Exit to write standby state to `active-active` ports

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
2022-10-03 19:52:51 +00:00
mssonicbld
a05d86a047
[ci/build]: Upgrade SONiC package versions (#12252) 2022-10-02 18:38:46 +08:00
mssonicbld
f61c84b09e
[ci/build]: Upgrade SONiC package versions (#12243) 2022-09-30 21:36:39 +08:00
Keith Lu
811f8d65be
202012_update_submodule_sonic-sairedis (#12174)
Update sonic-sairedis submodule pointer to include the following:

2f92b4493e [syncd] bulk OID remove requires RID (#1130)
2022-09-29 14:54:19 -07:00
jhli-cisco
109d0e9d3a
Update cisco-8000 submodule to v0.117 (#12211) 2022-09-28 14:56:22 -07:00
mssonicbld
8994298788
[ci/build]: Upgrade SONiC package versions (#12199) 2022-09-28 21:32:50 +08:00
Jing Zhang
8ef7fa2e36
[202012][sonic-linkmgrd] submodule udpate (#12131)
[202012][sonic-linkmgrd] submodule udpate

ddbd792 Jing Zhang Tue Sep 13 10:34:32 2022 -0700 [active-standby] update warmboot reconciliation logic (#129)

sign-off: Jing Zhang zhangjing@microsoft.com
2022-09-26 11:01:12 -07:00
mssonicbld
dc67ec2869
[ci/build]: Upgrade SONiC package versions (#12181) 2022-09-25 20:10:04 +08:00
vdahiya12
26470dd231
[202012][sonic-platform-common][sonic-platform-daemons] (#12178)
[sonic-platform-common] commit ->
git log --oneline c87fd2d..202012
5c90100 (HEAD -> 202012, origin/202012) [credo][ycable] remove
mux-toggle inprogress flags for some API's (#311)

[sonic-platform-daemons] commit ->
git log --oneline 5f3d0a7..202012
99d2528 (HEAD -> 202012, origin/202012) add support to execute new
ycable API's, add datetime field to mux_info (#297) (#299)

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
2022-09-24 15:16:54 -07:00
zitingguo-ms
95b19bbb46
Pick up fixes and make up BRCM SAI version to 4.3.7.1 (#12069)
Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2022-09-22 22:59:51 -07:00
jhli-cisco
daff6dbaaa
Update cisco-8000 submodule to v0.116 (#12135) 2022-09-22 13:38:13 +08:00
mssonicbld
2b5eb45d83
[ci/build]: Upgrade SONiC package versions (#12141) 2022-09-21 20:37:27 +08:00
Xichen96
3a0d0303ac
[202012][submodule] update sonic-utilities (#12124)
47dc7ea Added support for tunnel route status in show vnet routes all. (#2341)
7b8a62f Vnet_route_check Vxlan tunnel route update. (#2281) (#2376)
b21e2ce [202012][sonic_installer] consider existing swap when setting up swap

Signed-off-by: Xichen Lin <lukelin0907@gmail.com>
2022-09-21 16:10:09 +08:00
mssonicbld
4396d67d64
[ci/build]: Upgrade SONiC package versions (#12120) 2022-09-20 19:51:45 +08:00
vdahiya12
3f3d472a15
[sonic-platform-common][sonic-platform-daemons] submodule update (#12105)
sonic-platform-common
c87fd2d (HEAD -> 202012, origin/202012) [Credo][Ycable] enhancement and error exception for some APIs (#303)
5e990c2 [ycable] add definitions of some new API's for Y-Cable infrastructure (#301)

sonic-platform-daemons
5f3d0a7 (HEAD -> 202012, origin/202012) [ycabled] fix insert events from xcvrd;cleanup some mux toggle logic (#287
Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
2022-09-19 15:42:32 -07:00
Dror Prital
429ef389ad
[202012][submodule] Advance sonic-snmpagent pointer (#11964)
Update sonic-snmpagent submodule pointer to include the following:
* Fix: if routestr does not exist, skip ([#257](https://github.com/sonic-net/sonic-snmpagent/pull/257))

Signed-off-by: dprital <drorp@nvidia.com>
2022-09-19 09:21:53 +03:00
mssonicbld
6678e3356e
[ci/build]: Upgrade SONiC package versions (#12101) 2022-09-18 19:48:13 +08:00
ganglv
64d189388e Fix dhcp option buffer issue (#12033)
Why I did it
Current isc-dhcp uses below code to remove DHCP option:
memmove(sp, op, op[1] + 2);
sp += op[1] + 2;

sp points to the option to be stripped, we can call it as option S.
op points to the option after options S, we can call it as option O.
DHCP option is a typical type-length-value structure, the first byte is type, the second byte is length, and remain parts are value.
In this case, option O length is bigger than option S, and more than 2 bytes, after the memmove, we will get this result:

Now Option S and Option O are overwritten, op[1] was the length of Option O, and it's modified after memmove.
But current implementation is still using op[1] as length to update sp (sp+=op[1]+2), so we get the wrong sp.

How I did it
Create patch from https://github.com/isc-projects/dhcp
The new impelementation use mlen to store the length of Option O before memmove, that's how it fixed the bug.
size_t mlen = op[1] + 2;
memmove(sp, op, mlen);
sp += mlen;

How to verify it
I have a PR for sonic-mgmt to cover this issue:
sonic-net/sonic-mgmt#6330

Signed-off-by: Gang Lv ganglv@microsoft.com
2022-09-17 00:41:57 +00:00
lixiaoyuner
0abf8d0419 Make client indentity by AME cert (#11946)
* Make client indentity by AME cert

* Join k8s cluster by ipv6

* Change join test cases

* Test case bug fix

* Improve read node label func

* Configure kubelet and change test cases

* For kubernetes version 1.22.2

* Fix undefine issue

Signed-off-by: Yun Li <yunli1@microsoft.com>
2022-09-17 00:41:53 +00:00
bingwang-ms
ee7d9d1c45 Map TC6 to Queue 1 for regular traffic (#11904)
Why I did it
This PR is to update TC_TO_QUEUE_MAP|AZURE for SKU Arista-7050CX3-32S-D48C8 and Arista-7260CX3 T0.

The change is only to align the TC_TO_QUEUE_MAP for regular traffic and bounced traffic. It has no impact on business because we have no traffic being mapped to TC2 or TC6.

How I did it
Update TC_TO_QUEUE_MAP|AZURE , and test cases as well.

How to verify it
Verified by running test case test_j2files.py

/sonic/src/sonic-config-engine$ python3 setup.py test -s tests/test_j2files.py
running test
......
----------------------------------------------------------------------
Ran 29 tests in 25.390s

OK
2022-09-17 00:41:48 +00:00
lixiaoyuner
00810f8dd9
Upgrade k8s package version (#12057)
Signed-off-by: Yun Li <yunli1@microsoft.com>
2022-09-16 13:16:00 +08:00
Sudharsan Dhamal Gopalarathnam
237b40bc31
[202012][submodule] Update sonic-sairedis submodule (#12072)
Update sonic-sairedis submodule pointer to include the following:
* 1d3720e Added Flex Counters support for tunnel counters (#886) ([#1120](https://github.com/Azure/sonic-sairedis/pull/1120))
* 6469456 [lgtm] Add uuid library (#1119) ([#1126](https://github.com/Azure/sonic-sairedis/pull/1126))
2022-09-14 19:23:49 -07:00
mssonicbld
a195f8343f
[ci/build]: Upgrade SONiC package versions (#12068) 2022-09-14 23:05:43 +08:00
Sudharsan Dhamal Gopalarathnam
df9b676360
[202012][submodule] Update sonic-swss submodule (#12060)
Update sonic-swss submodule pointer to include the following:
* VxLAN Tunnel Counters and Rates implementation (#1859) ([#2442]
* Fix for "orchagent crashed when trying to delete fdb static entry with swssconfig #11046" ([#2374]
2022-09-14 07:53:30 -07:00
Sudharsan Dhamal Gopalarathnam
e98f56c842
[202012][submodule] Update sonic-utilities submodule (#12061)
Update sonic-utilities submodule pointer to include the following:
* [202012][VxLAN]VxLAN Tunnel Counters and Rates implementation ([#2353](https://github.com/Azure/sonic-utilities/pull/2353))
2022-09-14 07:42:58 -07:00
kellyyeh
2f7ca1d7b6
Add dhcprelay submodule (#12030) 2022-09-12 18:12:05 -07:00
mssonicbld
37ada92ad5
[ci/build]: Upgrade SONiC package versions (#12043) 2022-09-11 18:59:58 +08:00
Sudharsan Dhamal Gopalarathnam
81e139f483
VxLAN Tunnel Counters and Rates implementation (#8369) (#11986)
* Enable flex counters for Vxlan tunnel
* VxLAN Tunnel Counters and Rates implementation  (#8369) (#11986)
2022-09-09 16:43:09 -07:00
mssonicbld
5e8332f505
[ci/build]: Upgrade SONiC package versions (#12039) 2022-09-09 21:46:28 +08:00
Sumukha Tumkur Vani
aa715b9b4b
[202012] [RESTAPI] Update submodule
[202012] [RESTAPI] Update submodule

Fix missing dependencies and improve dependency management sonic-restapi#123
[Static Route Expiry] Update API contract sonic-restapi#125
[Static Route Expiry] Feature support sonic-restapi#124
Handle IPv6 VNET routes sonic-restapi#127
2022-09-08 19:51:20 -07:00
Sudharsan Dhamal Gopalarathnam
5b9fc0aef5
[202012][submodule] Update sonic-swss-common submodule (#11994)
Update sonic-swss-common submodule pointer to include the following:
* VxLAN Tunnel Counters and Rates implementation (#519) ([#679](https://github.com/Azure/sonic-swss-common/pull/679))
2022-09-08 19:49:53 -07:00