Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master to Vadym master #16

Merged
merged 20 commits into from
Mar 31, 2022
Merged

Commits on Mar 28, 2022

  1. Introduce the asic_subtype field for adding the sub platform variants. (

    #10235)
    
    * Introduce the asic_subtype field for adding the sub platform variants. 
       It uses the value of TARGET_MACHINE variable in slave.mk.
    judyjoseph authored Mar 28, 2022
    Configuration menu
    Copy the full SHA
    8e64284 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. [Build]: Fix host image debian package version issue (#10358)

    Why I did it
    Fix host image debian package version issue.
    The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.
    
    How I did it
    The package versions of host-image should contain host-base-image.
    xumia authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    beead0a View commit details
    Browse the repository at this point in the history
  2. [sonic-swss]: Advance submodule (#10332)

    Update sonic-swss submodule to include below commits:
    d80094b [aclorch] Do not fail ACL rule remove flow if rule already deleted (#2183)
    bea0b70 [gcov]: Change coverage.xml file references (#2120)
    829b219 [tunnelmgrd]: Warm boot support (#2166)
    ad65b0a Fix issue: sometimes PFC WD unable to create zero buffer pool (#2164)
    608acc3 [doc] Moving Configuration.md from swss to yang sub-folder (#2177)
    0294376 [orchagent] NVGRE Tunnel orchestration agent implementation (#1953)
    ce88696 [ci] Update default sonic image downloading build ID. (#2175)
    
    Co-authored-by: liora <liora@nvidia.com>
    liorghub and liorghub authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    f054d07 View commit details
    Browse the repository at this point in the history
  3. [Accton/PDDF] Enable thermalctld in pmon (#9982)

    When do "skip_thermalcltd: true" will let "show platform fan" and "show platform temp" fail.
    When enable thermalctld, these cmd will work well.
    
    Signed-off-by: Jostar Yang <jostar_yang@accton.com.tw>
    jostar-yang authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    7debcff View commit details
    Browse the repository at this point in the history
  4. [Accton/PDDF] Support show cmd for psu-temp and fan (#10215)

    Why I did it
    Support for show platform temp/fan for psu-temp and fan.
    Original code doesn't has fan_drawer to support these information.
    
    How I did it
    Support for show platform temp/fan for psu-temp and fan.
    Add fan_drawer.py and update thermal.py to add needed code.
    It need PDDF common code to support . (Refer to #10213)
    
    How to verify it
    Test show platform temp and show platform fan.
    root@as7726-32x-2:~# show platform fan
    Drawer LED FAN Speed Direction Presence Status Timestamp
    
    Fantray1 green Fantray1_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray1 green Fantray1_2 38% EXHAUST Present OK 20220311 08:13:04
    Fantray2 green Fantray2_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray2 green Fantray2_2 38% EXHAUST Present OK 20220311 08:13:04
    Fantray3 green Fantray3_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray3 green Fantray3_2 38% EXHAUST Present OK 20220311 08:13:04
    Fantray4 green Fantray4_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray4 green Fantray4_2 38% EXHAUST Present OK 20220311 08:13:04
    Fantray5 green Fantray5_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray5 green Fantray5_2 38% EXHAUST Present OK 20220311 08:13:04
    Fantray6 green Fantray6_1 38% EXHAUST Present OK 20220311 08:13:04
    Fantray6 green Fantray6_2 38% EXHAUST Present OK 20220311 08:13:04
    N/A green PSU1_FAN1 23% EXHAUST Present OK 20220311 08:13:04
    N/A green PSU2_FAN1 22% EXHAUST Present OK 20220311 08:13:04
    root@as7726-32x-2:~# show platform temp
    Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp
    
    PSU1_TEMP1 28 N/A N/A N/A N/A False 20220311 08:13:04
    PSU2_TEMP1 25 N/A N/A N/A N/A False 20220311 08:13:04
    TEMP1 23.5 80.0 N/A N/A N/A False 20220311 08:13:04
    TEMP2 27 80.0 N/A N/A N/A False 20220311 08:13:04
    TEMP3 24 80.0 N/A N/A N/A False 20220311 08:13:04
    TEMP4 27 80.0 N/A N/A N/A False 20220311 08:13:04
    TEMP5 24 80.0 N/A N/A N/A False 20220311 08:13:04
    
    Co-authored-by: Jostar Yang <jostar_yang@accton.com.tw>
    jostar-yang and Jostar Yang authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    ab3053b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ddcfd0 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. [Build]: fix ENABLE_DOCKER_BASE_PULL not working issue in armhf/arm64 (

    …#10330)
    
    Why I did it
    Fix ENABLE_DOCKER_BASE_PULL not working issue in armhf/arm64
    For build in native armhf/arm64, the expected container registry repo name is sonic-slave-<stretch|buster|bullseye>
    
    How I did it
    Publish the slave image to sonic-slave-<stretch|buster|bullseye>.
    xumia authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    ced22db View commit details
    Browse the repository at this point in the history
  2. [submodule] Advance sonic-utilities submodule pointer (#10333)

    Update sonic-utilities submodule to include below commits:
    510a9b9 Add date to show version (#2086)
    61b1396 [sfpshow][recycle_port] sfpshow script needs to skip recycle ports (#2109)
    4681697 Support command `show ip fib` and `show ipv6 fib` (#2100)
    2a982a1 Update `config mirror_session` CLI to support heximal gre type value (#2095)
    b25f1e1 [generic-config-updater] Add caclrule validator (#2103)
    968900c [sonic-package-manager] do not mod_config for whole config db when setting init_cfg (#2055)
    bf55ceb [nvgre] Added auto-generated CLI plugins and test for NVGRE Tunnel feature (#1915)
    8389c81 [sonic-cli-gen] fix failure "Error: digits_class" when field "digit_class" does not exist in DB (#2054)
    f71ef64 Fix import statement in mclag.py (#2073)
    liorghub authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    761ae24 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Credo Y-cable read_eeprom/write_eeprom API implementation (#…

    …10320)
    
    - Why I did it
    Implement read_eeprom/write_eeprom API for Credo Y-cable for Dual ToR Active-Standby
    
    - How I did it
    Use mlxreg utility for API implementation
    
    Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
    ayurkiv-nvda authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    1e2e493 View commit details
    Browse the repository at this point in the history
  4. [tun_pkt]: Wait for AsyncSniffer to init fully (#10346)

    Fix for Tunnel packet handler can crash at system startup 
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    b31df59 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. [YANG ] Support vlan sub intf short naming format (#10160)

    Why I did it
    To support vlan sub intf short naming format, like subport Eth8.100 for parent portEthernet8 with vlan id 100.
    
    How I did it
    Add checks to must condition to verify there is a port or portchannel with the index same as the vlan sub intf.
    
    How to verify it
    Run the unttests.
    lolyu authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    16766c0 View commit details
    Browse the repository at this point in the history
  2. [build][Bug]: Fix the command set_reproducible_mirrors not found issue (

    #10398)
    
    Why I did it
    Fix the command set_reproducible_mirrors not found issue during the build.
    xumia authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    47f4a9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8b80d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f01c7f View commit details
    Browse the repository at this point in the history
  5. [ci] Add azure pipeline to build common libs. (#10367)

    Why I did it
    To remove reference on Azure.sonic-buildimage artifacts.
    Azure.sonic-buildimage has a higher failure rate.
    liushilongbuaa authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    c03bf07 View commit details
    Browse the repository at this point in the history
  6. [Mellanox] Update hw-mgmt package to version V.7.0020.2004 (#10401)

    - Why I did it
    Take new hw-mgmt release to SONiC, including:
    
    New features:
    1. hw-mgmt: add to PSU FW upgrade tool command to show current FW version
    2. hw-mgmt: add to PSU FW upgrade tool support for single-PSU-in-the-system FW upgrade
    3. hw-mgmt: add attribute “/firmware” to show FW version of restricted upgradable PSUs only
    4. hw-mgmt: Add NVME temperature reports attributes (_alarm/_crit/_min/_max)
    
    Bug fix:
    1. psu: redundant i2c_addr attributes being created for psu 3 & 4 in system having only 2 psus.
    2. hw-mgmt: in SPC1/2 i2c driver removal is too slow vs. ASIC reset causing non-functional log errors
    3. PSU thresholds sysfs changed in 5.10 to “read only” preventing modification (modification required due PSU HW bug)
    4. CPLD3 sysfs attribute missing after chip down/up flow
    5. sysfs attributes missing when hw-mgmt is restarted (stop/start) within systemd
    
    Release notes can be found from link https://github.com/Mellanox/hw-mgmt/blob/V.7.0020.2004/debian/Release.txt
    
    - How I did it
    Update hw-mgmt make file with new version number
    Update hw-mgmt submodule pointer
    
    - How to verify it
    Run platform regression on all Mellanox platform
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    keboliu authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    85539e7 View commit details
    Browse the repository at this point in the history
  7. [sonic-cfggen] Fix invalid switch_type (#10383)

    Why I did it
    sonic-config-engine unit test is using invalid switch_type
    
    How I did it
    Update xml with correct switch_type
    
    How to verify it
    Run UT for sonic-config-engine
    
    Signed-off-by: Gang Lv ganglv@microsoft.com
    ganglyu authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    6e51779 View commit details
    Browse the repository at this point in the history
  8. Add j2 template for enable pam_limit and limit SSH session (#10177)

    #### Why I did it
        When too many user login concurrently and run commands, SONiC may kernel panic on some device which has very limited memory.
    
    #### How I did it
        Add j2 template for setup pam_limit plugin for limit SSH session per-user.
    
    #### How to verify it
        Manually validate the j2 template can generate correct config file.
    
    #### Which release branch to backport (provide reason below if selected)
    
    - [x] 201811
    - [ ] 201911
    - [ ] 202006
    - [x] 202012
    - [x] 202106
    - [x] 202111
    
    #### Description for the changelog
        Add j2 template for setup pam_limit plugin for limit SSH session per-user.
    
    #### A picture of a cute animal (not mandatory but encouraged)
    liuh-80 authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    271ef69 View commit details
    Browse the repository at this point in the history
  9. [submodule] Update sonic-sairedis (#10302)

    1ccda8d MACsec in Gearbox (#993)
    7a2b824 Update SAI submodule (#1015)
    418d5fb Add pre match logic for lag member (#1008)
    
    Signed-off-by: Myron Sosyak <myronx.sosyak@intel.com>
    Myron Sosyak authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    71a0472 View commit details
    Browse the repository at this point in the history
  10. [counter] Fix issue: non default counters will be delayed forever aft…

    …er fastboot (#10413)
    
    - Why I did it
    Fastboot will delay all counters in CONFIG DB, it relies on enable_counters.py to recover the delayed counters. However, enable_counters.py does not recover those non-default counters.
    
    - How I did it
    For non-default counters, if it is in CONFIG DB, put delay status to false after the waiting.
    
    - How to verify it
    Manual test
    Junchao-Mellanox authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    106fac5 View commit details
    Browse the repository at this point in the history