Commit Graph

3866 Commits

Author SHA1 Message Date
abdosi
0f56f8b4f4
[201911] Updated to Broadcom SAI debian package to 3.7.5.2-3 (#7887)
Updated to Broadcom SAI debian package to 3.7.5.2-3
2021-06-15 16:03:23 -07:00
arlakshm
2d6b531b3e
internal loopback ipv6 fix (#7885)
In the multi asic platforms all the ASIC are advertising the same IPv6 /64 network from Loopback4096.
Therefore, the IPv6 loopback address of backend asic is not learnt on the frontend asic.
Change this to advertise the Loopback4096 address as /128
2021-06-15 15:53:58 -07:00
Neetha John
27fe654388
Add support to parse bandwidth for DeviceMgmtLinks (#7883)
Add support to parse bandwidth for DeviceMgmtLinks
2021-06-15 15:02:16 -07:00
Neetha John
86c2f4248c
Update PG profile settings for Arista-7050QX-32S-S4Q31 (#7674)
PG profile settings need to be aligned with Arista-7050-QX-32S
2021-06-15 15:01:40 -07:00
abdosi
86a11e5a1e
Updated 7260 MMU Profile based on latest MSFT Tier 1 (#7882)
Updated 7260 MMU Profile based on latest MSFT Tier 1 Tomahawk2_MMU_Setting_48x100G_40m_16x100G_300m_v1.0 and
TH2_PGHdrm_MSFT

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-06-15 13:08:47 -07:00
Renuka Manavalan
3ea38a9788
Add service to restore TACACS from old config (#7560) (#7865)
In upgrade scenarios, where config_db.json is not carry forwarded to new image, it could be left w/o TACACS credentials.
Added a service to trigger 5 minutes after boot and restore TACACS, if /etc/sonic/old_config/tacacs.json is present.

How I did it
By adding a service, that would fire 5 mins after boot.
This service apply tacacs if available.

How to verify it
Upgrade and watch status of tacacs.timer & tacacs.service
You may create /etc/sonic/old_config/tacacs.json, with updated credentials
(before 5mins after boot) and see that appears in config & persisted too.
2021-06-15 10:52:31 -07:00
Ying Xie
0e82381335 [7050] updating 7050 MMU configurations (#7801)
Why I did it
7050 S4Q31 mmu configuration is missing ALPM configurations, causing not enough memory reserved for routes. Orchagent crashes on a nightly testbed with 6400 route entries.

How I did it
Add the missing ALPM configurations.

How to verify it
Load the configuration on testbed and verified new configuration exists and no more crash.

Signed-off-by: Ying Xie ying.xie@microsoft.com
2021-06-14 13:56:01 -07:00
Abhishek Dosi
9d35ea5236 [submodule update] sonic-swss
33f370f890c525512668583a7f4e231415b28738 (HEAD -> 201911, origin/201911)
    [vnet/vxlan] Add support of multiple mappers for the VxLAN tunnel
    (#1753)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-06-14 13:55:33 -07:00
Abhishek Dosi
522c0a170b [submodule update] sonic-utilities
da3bbef916cd31267640dd4dc5823d82ee637b1e (HEAD -> 201911)
    [neighbor-advertiser] delete the tunnel maps appropriately (#1663)
    0fa589372ed391dd91f733d8a92b4f604118e8f7 (origin/201911)
    [201911][db_migrator][Mellanox] Update Mellanox buffer migrator with
    2km-cable supported (#1575)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-06-14 13:55:33 -07:00
zzhiyuan
45a8208501
Add panic_on_unrecovered_nmi to kernel settings (#7837)
Watchdog does not trigger a kernel panic on Arista 7170 platform because this parameter is missing on 201911 but not on master.
2021-06-14 13:52:51 -07:00
Dror Prital
e2eb4e49ab
[Mellanox][201911] Update FW version to 2008_3110 (#7806)
- Why I did it
Update FW version to 2008_3110 fixing SN3800 specific warm boot scenario:

1. Disable interface
2. Warm Boot
3. Enable Interface --> link will remain down.

- How I did it
Use new FW that contains the fix for the problem mentioned above

- How to verify it
Run the scenario mentioned above and make sure that the link is up after warm boot

Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-06-08 14:06:43 +03:00
Abhishek Dosi
261eac28a5 [submodule update] sonic-utilities
Revert "[201911][db_migrator] fix old 1911 feature config migration to
  a new … (#1637)"

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-06-07 09:10:32 -07:00
Volodymyr Samotiy
1523e9adf3
[sonic-utilities] Update submodule pointer (#7790)
* 42354e6 [201911][db_migrator] fix old 1911 feature config migration to a new … (#1637)

Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2021-06-06 17:21:15 +03:00
Kebo Liu
7fe493aca1
[201911][Mellanox] Align PSU name convention returned from psu.get_name platform API (#7793)
Make PSU name returned from platform API aligned with the convention "PSU {X}" instead of "PSU{X}".

This PR is to backport https://github.com/Azure/sonic-buildimage/pull/7783
2021-06-04 10:38:16 -07:00
Volodymyr Samotiy
8405d2deef
[Mellanox] Update SDK to 4.4.3106 and FW to xx.2008.3106 (#7787)
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
2021-06-03 10:02:23 -07:00
Kuanyu Chen
c4f8cf9371 [config-setup]: Fix a bug in checking if updategraph is enabled (#7093)
Encounter error during "config-setup boot" if the updategraph is enabled.

How I did it
Correct the code inside the config-setup script.
Remove the space between the assignment operator.

How to verify it
Remove the /etc/sonic/config_db.json and reboot the device.
Originally, it will return following error after boot up.
rv: command not found
After modification, it can correctly parse the status of updategraph without error.
2021-05-31 08:11:08 -07:00
Joe LeVeque
b6acac4e6a [brcm] Fix and simplify start_led.sh (#7548)
LED_PROC_INIT_SOC variable was incorrectly referenced as LED_SOC_INIT_SOC. Introduced in #5483

Rather than fixing the typo, I decided to simplify the script, removing the need for the conditional altogether by moving the bcmcmd call inside the conditional which checks for the presence of LED_SOC_INIT_SOC.
2021-05-31 08:09:19 -07:00
Neetha John
27985784eb Rename AristaQX-32S skus (#7751)
This PR contains the following changes
Original Arista-7050-QX-32S sku (32x40G ports) has been renamed to Arista-7050QX32S-Q32
Arista-7050-QX-32S is symlinked to Arista-7050QX-32S-S4Q31 (4x10G, 31x40G ports)

Signed-off-by: Neetha John <nejo@microsoft.com>
2021-05-31 08:02:06 -07:00
Neetha John
df61f462d5 Update MMU and QOS settings for Arista-7050QX-32S-S4Q31 (#7672)
Signed-off-by: Neetha John <nejo@microsoft.com>

Why I did it
Need proper MMU and Qos settings for Arista-7050QX-32S-S4Q31

How I did it
Updated the settings based on Arista-7050-QX-32S
2021-05-31 08:01:26 -07:00
Abhishek Dosi
35a9e93f72 [submodule update] sonic-swss
09457e524797bd988e011e24250a5e5c942bfdf2 (HEAD -> 201911, origin/201911)[tunneldecaporch] Set default MTU for the overlay loopback interface (#1756)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-05-31 07:51:34 -07:00
Ying Xie
897b4d2b32 [Arista] add MMU configuration for Arista 7260 C64 (#7027)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2021-05-31 07:46:38 -07:00
Abhishek Dosi
24e9c334d1 [submodule update] sonic-utilities
5f62262e5f9b5a18d94764b7f0883b34f094a0c3 (HEAD -> 201911, origin/201911) Fix unicode issue in ipaddress for python2 (#1627)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-05-31 07:44:05 -07:00
Stepan Blyshchak
e1f122cff8
[sonic-swss-common] update submodule (#7765)
Changes:

```
36bd637 Lower the log level for outdated key for Subscribe
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2021-05-31 07:17:24 -07:00
Stephen Sun
d44936fa59
[Mellanox][201911] Support buffer configuration for 2km cable (#7338)
#### Why I did it
1. Update pg_profile_lookup.ini with 2000m cable supported
2. Update buffer configuration for t1 with uplink cable 2000m
  - For SN3800 platform:
    - C64:
      - t0: 32 100G down links and 32 100G up links.
      - t1: 56 100G down links and 8 100G up links with 2 km cable.
    - D112C8: 112 50G down links and 8 100G up links.
    - D24C52: 24 50G down links, 20 100G down links, and 32 100G up links.
    - D28C50: 28 50G down links, 18 100G down links, and 32 100G up links.
  - For SN2700 platform:
    - D48C8: 48 50G down links and 8 100G up links
    - C32:
      - t0: 16 100G down links and 16 100G up links.
      - t1: 24 100G down links and 8 100G up links with 2 km cable.

Signed-off-by: Stephen Sun <stephens@nvidia.com>

#### How I did it

#### How to verify it
Run QoS regression test
2021-05-30 20:03:16 -07:00
Junchao-Mellanox
719d8ca111
[submodule] Update submodule pointer for sonic-platform-daemons (#7741)
bb1254b [201911] Initialize fan led in thermalctld for the first run (#186)
2021-05-28 13:15:22 +03:00
zzhiyuan
f2afdf666e
[201911][Arista] Update Arista submodule to include pmbus fix (#7723)
#### Why I did it
Microsoft reported occasional daemon crashes on devices running 201911. On close inspection it was due to PMBus reads failing on IOError on very rare occasions.

#### How I did it
Add try/except block on performing reads on PMBus GPIOs.

Co-authored-by: Zhi Yuan (Carl) Zhao <zyzhao@arista.com>
2021-05-27 12:30:38 -07:00
Nazarii Hnydyn
a388b71a6d
[docker-teamd]: Increase teammgrd timeout to allow graceful shutdown. (#7662)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
2021-05-27 11:24:59 -07:00
Kebo Liu
77ba74be04
update hw-mgmt package to version 2304 (#7726) 2021-05-27 10:39:16 -07:00
Shilong Liu
33106c2b47
[CI] Adjust azp build artifacts and platform to keep same with Jenkins (#7702)
* adjust azp official build platform
* update azp official build
2021-05-27 10:35:06 +08:00
Santhosh Kumar T
04b6112132
[DellEMC] Recovering the SSD upgrade status post reload in S6100 (#7688)
Why I did it
To recover the SSD upgrade state in case, if ONIE-uninstall or ssd_fw_upgrade folder got deleted.
To handle newer SSD version(S21506G - 3IE GPIO7 low devices).
Also correcting the error messages for non-upgraded S6100s.
2021-05-25 15:24:09 -07:00
Kebo Liu
4955956b51
Correct the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7707)
#### Why I did it
The label for PSU related sensors on the Spectrum-2 platform is not aligned with the physical location of the PSU.

#### How I did it
Update the label in the sensor conf file for those relevant platforms

Signed-off-by: Kebo Liu <kebol@nvidia.com>
2021-05-25 13:50:53 -07:00
Shilong Liu
8bfb1fdcc9 [ci]: enable official build in release branch (#7603)
Signed-off-by: Shilong Liu <shilongliu@microsoft.com>
2021-05-24 18:34:07 +08:00
roman_savchuk
efd4b93ac9
[BFN] Updated SAI/SDK packages to 20210519 (#7660)
Includes fix for ACL counter (changed to 64 bit)

Signed-off-by: Roman Savchuk <romanx.savchuk@intel.com>
2021-05-20 10:09:51 -07:00
xumia
7aa8a021ea
Support readonly vtysh for sudoers (#7383) (#7572)
* Support readonly vtysh for sudoers (#7383)

Why I did it
Support readonly version of the command vtysh

How I did it
Check if the command starting with "show", and verify only contains single command in script.

* Fix the type issue in rvtysh
2021-05-19 09:02:16 +08:00
yozhao101
24e1cde1e6
[201911][Monit] Restart telemetry container if memory usage is beyond the threshold (#7618)
This PR aims to monitor the memory usage of streaming telemetry container and restart streaming telemetry container if memory usage is larger than the pre-defined threshold.
2021-05-17 16:51:13 -07:00
Abhishek Dosi
306d57e189 [submodule update] sonic-swss
[fix] Use the same storm detection condition for queue occupancy non-zero case as the zero case (#1111)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-05-17 14:26:09 -07:00
Tony Titus
fbd4e452c7
[201911] [Innovium] Add new platforms and config updates (#7545)
Update Innovium configs + Add new platforms supporting Innovium chips
2021-05-17 12:30:20 -07:00
abdosi
57e5077032 [muti-asic] Updated BGP community for Internal routes (#7617)
Following changes are done:

Internal routes are tagged with no-export instead of local-AS
Option to add User Define BGP community on top of no-export
2021-05-16 19:45:54 -07:00
Abhishek Dosi
3dd3093ddc [submodule update] sonic-platform-daemons
[201911] [xcvrd] Gracefully handle improper 'specification_compliance' field; also fix other potential bugs (#178)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-05-14 11:51:44 -07:00
Abhishek Dosi
ad500a7912 [Submodule update] sonic-utilities
copy soft-reboot to /usr/bin (#1603)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-05-14 11:43:50 -07:00
Prince Sunny
68b717b556 Vxlan src port range for breakout SKU (#7612)
*Extended Vxlan src port range for lab breakout SKU - Mellanox-SN3800-D112C8
2021-05-14 11:42:58 -07:00
shlomibitton
b869ad1122 [Mellanox] Update FW to xx.2008.2526 (#7511)
- Why I did it
Updated FW to xx.2008.2526 version.

Fixed issues:
1. Spectrum-2, Spectrum-3 | sFlow | High CPU load and high on fully loaded switch.
2. Spectrum-2, Spectrum-3 | Fine grain LAG | in rare cases doesn’t update the right entry

- How I did it
Updated submodule pointer and version in a Makefile.

- How to verify it
Full regression and bugs validation

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
2021-05-14 11:42:22 -07:00
Andriy Yurkiv
eb87eb664d [Mellanox] Add support to VXLAN src port range setting via SAI profile for r SN3800-D28C49S1 (#7500)
- Why I did it
Enable VXLAN src port range configuration via SAI profile for Mellanox-SN3800-D28C49S1 SKU

- How I did it
Added SAI_VXLAN_SRCPORT_RANGE_ENABLE=1 configuration to appropriate sai.profile

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
2021-05-14 11:41:35 -07:00
Shilong Liu
f3d3c94df7 remove unused file
Signed-off-by: Shilong Liu <shilongliu@microsoft.com>
2021-05-12 15:25:36 +08:00
shilongliu
cec269c582 Update azp files with master branch 2021-05-12 15:25:36 +08:00
xumia
0f27cdd388 Export the azure pipeline build id for SONiC version (#7406)
Improve the SONiC version, fix the "azure pipeline build id" part

<target branch name>-<pullrequest id>.<azure pipelines build id>-<merge commit id>
Example: master-7381.11668-43df5c87
2021-05-12 15:25:36 +08:00
xumia
7ece5de700 [ci]: Fix official build not existing issue (#7408)
When submitting a new official build for broadcom, vs, it prompts a error message, which says the job is not defined.
It was caused by the default option "[]", which is not empty, it is used as the jobGroups parameter.
2021-05-12 15:25:36 +08:00
xumia
a5a381df7e Improve the PR build version (#7381)
Why I did it
Improve the version of the Pull Request build by changing the local branch name.

How I did it
Change the default branch name merge to [target_branch_name]-[pullrequestid].

How to verify it
For official build, the version is not changed.
For pull request build, the version as below:
2021-05-12 15:25:36 +08:00
xumia
8ef37946cd [ci] Fix the boolean value case sensitive issue in Azure Pipelines (#7399)
Why I did it
Fix the boolean value case sensitive issue in Azure Pipelines

When passing parameters to a template, the "true" or "false" will have case sensitive issue, it should be a type casting issue.
To fix it, we change the true/false to yes/no, to escape the trap.

Support to override the job groups in the template, so PR build has chance to use different build parameters, only build simple targets. For example, for broadcom, we only build target/sonic-broadcom.bin, the other images, such as swi, debug bin, etc, will not be built.
2021-05-12 15:25:36 +08:00
liushilongbuaa
fc08716732 [CI] Use the same template in PR-build pipeline and official-build pipeline
Signed-off-by: liushilongbuaa <shilongliu@microsoft.com>
2021-05-12 15:25:36 +08:00