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

test #82

Closed
wants to merge 259 commits into from
Closed

test #82

wants to merge 259 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 5, 2022

  1. [pr test] increase T1-lag PR test timeout to 5 hours (sonic-net#11029)

    Why I did it
    Some PR test are timing out on T1-lag kvm test.
    
    How I did it
    Increase the timeout to 5 hours.
    
    How to verify it
    Test on this PR.
    
    Signed-off-by: Ying Xie ying.xie@microsoft.com
    yxieca committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    dbb4a98 View commit details
    Browse the repository at this point in the history
  2. [202205][linkmgrd] advance submodule head (sonic-net#11033)

    linkmgrd:
    * d27ca81 2022-06-05 |  Separate I2C mux state probing and gRPC forwarding state probing  (#86) (HEAD -> 202205) [Jing Zhang]
    * 9d7d301 2022-06-01 | Revert "Update log level for mux probing and mux state chance (#23)" (#85) [Jing Zhang]
    * 60d3d77 2022-06-05 | Fix peer mux wait back off factor (#84) [Longxiang Lyu]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    f6f0aaa View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. [ci/build]: Upgrade SONiC package versions (sonic-net#11048)

    Upgrade SONiC Versions
    Co-authored-by: mssonicbld <vsts@fv-az113-110.2axxbwkg0v3e1hk3nyhxwcxvsf.bx.internal.cloudapp.net>
    mssonicbld committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    1c2e361 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. [build] Disable reproducible build in 202205. (sonic-net#11071)

    Why I did it
    It seems that reproducible build and dood conflicts.
    Disable reproducible build first. Investigate the issue later.
    liushilongbuaa committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    edf5e44 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. [202205][sonic-utilities] submodule update (sonic-net#11065)

    0fc6f47 (HEAD -> 202205, origin/202205) [config][muxcable] Add support for displaying soc_ipv4 and cable_type in config/show muxcable commands (sonic-net#2189)
    
    Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
    vdahiya12 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d4c4993 View commit details
    Browse the repository at this point in the history
  2. [Mellanox] optimize platform API import time (sonic-net#10815)

    - Why I did it
    "import sonic_platform" takes about 600ms ~ 1000ms, it is kind of slow. After this optimization, the time is about 100ms. The benefit is that those CLIs which does not need the slow import sentence would be faster than before.
    
    - How I did it
    Find slow import and call them when need.
    
    - How to verify it
    Measure the import time.
    Junchao-Mellanox authored and yxieca committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    00d04dc View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Update SN2201 sai profile and platform reboot script (soni…

    …c-net#10978)
    
    - Why I did it
    1. SN2201 sai profile needs to be updated according to the latest hardware.
    2. In the reboot script, need to use the common symbol link of the power_cycle sysfs instead of directly accessing it due to SN2201 sysfs is different than other platforms.
    3. echo 1 > $SYSFS_PWR_CYCLE will trigger the reboot immediately, the following sleep 3 and echo 0 > $SYSFS_PWR_CYCLE will never be executed, can be removed.
    
    - How I did it
    1. Replace the SN2201 sai profile with the latest one.
    2. In the platform_reboot script, replace the direct sysfs path with the symbol link path.
    3. Remove the redundant code from platform_reboot
    
    - How to verify it
    Perform reboot on all the Nvidia platforms, and check all can be rebooted successfully.
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    keboliu authored and yxieca committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7af4efa View commit details
    Browse the repository at this point in the history
  4. [Build]: Fix the version files for armhf/arm64 not used issue (sonic-…

    …net#11021)
    
    Why I did it
    [Build]: Fix the version files in host-base-image for armhf/arm64 not used issue
    xumia authored and yxieca committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    e853f8e View commit details
    Browse the repository at this point in the history
  5. [makefile] remove all fsroot folders (sonic-net#11030)

    Why I did it
    Make reset didn't clean-up all fsroot folders.
    
    How I did it
    Remove all fsroot folders used during build.
    
    How to verify it
    Run local build and local make reset:
    
    sudo mkdir fsroot-test
    sudo touch fsroot-test/foo
    make reset
    (Without this change, make reset cannot remove fsroot-foo, with the change, the repo become clean after make reset.)
    
    Signed-off-by: Ying Xie ying.xie@microsoft.com
    yxieca committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    40a4219 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. [202205][linkmgrd][sairedis] advance submodule head (sonic-net#11091)

    linkmgrd:
    * 2da783b 2022-06-07 | Check self's mux mode before switching peer to standby & add support for `detach` mode (#79) (HEAD -> 202205, github/202205) [Jing Zhang]
    
    sairedis:
    * 54642c7 2022-06-09 | [counter] Fix port flex counter  (sonic-net#1052) (HEAD -> 202205, github/202205) [Junhua Zhai]
    * b7f5f92 2022-06-06 | [ci] Paralize azure pipeline  (sonic-net#1054) [Shilong Liu]
    
    swss:
    * 77043fb 2022-06-09 | [fpmsyncd] don't manipulate route weight (sonic-net#2321) (HEAD -> 202205, github/202205) [Ying Xie]
    * ae157f1 2022-06-10 | Fix test_warm_reboot issues blocking PR merge (sonic-net#2309) (sonic-net#2318) [Shilong Liu]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    c7d8f51 View commit details
    Browse the repository at this point in the history
  2. Add ping to swss-layer docker (sonic-net#11093)

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    921658c View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    933e0d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. [Tunnel PFC][Fix bug] Fix bug and Tests for adding property 'sai_rema…

    …p_prio_on_tnl_egress' (sonic-net#11027)
    
    * [Tunnel PFC] Tests for adding property 'sai_remap_prio_on_tnl_egress'
    
    Add tests for adding property 'sai_remap_prio_on_tnl_egress', this
    property should only be added in dual tor environment.
    
    Test done:
    Run test test_j2files.py
    
    Co-authored-by: richardyu <richardyu@contoso.com>
    2 people authored and yxieca committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    3467f43 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. [202205] [submodule] Advanced sonic-swss (sonic-net#11137)

    submodule advance
    Commit included:
    
    54a9828 - (HEAD, public/202205) Combine PGs in buffermgrd (sonic-net#2281) (sonic-net#2329) (6 minutes ago)
    StormLiangMS committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    a4c8290 View commit details
    Browse the repository at this point in the history
  2. Cleanup macsec stateDB tables on restart (sonic-net#11066)

    Clean macsec tables in STATE_DB on start
    judyjoseph authored and yxieca committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    8fc5c9b View commit details
    Browse the repository at this point in the history
  3. [installer]: fix armhf for installer.conf usage (sonic-net#11121)

    This fixes the build for armhf to be able to use '/device///installer.conf' files. Specifically, armhf needs support to be able to change the size of /var/log/ directory. It is hardcoded to 512 bytes on all armhf platforms currently. This change will allow any armhf platform to be able to use an installer.conf file to customize the installed image.
    jon-nokia authored and yxieca committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    b268573 View commit details
    Browse the repository at this point in the history
  4. [Nokia ixs7215] change var/log size to 4GB (sonic-net#11122)

    This makes use of sonic-net#11121 to add support for configuration of VAR_LOG_SIZE on Nokia IXS7215
    jon-nokia authored and yxieca committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    3f12919 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae90bfa View commit details
    Browse the repository at this point in the history
  6. [ci/build]: Upgrade SONiC package versions (sonic-net#11060)

    Co-authored-by: mssonicbld <vsts@fv-az125-175.rkccfo2qup5e5ofdktzmdhpvwd.jx.internal.cloudapp.net>
    mssonicbld and mssonicbld committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    1817c32 View commit details
    Browse the repository at this point in the history
  7. [202205][linkmgr] advance submodule head (sonic-net#11158)

    linkmgrrd:
    * d6518dd 2022-06-14 | Fix IP header checksum in handleSendSwitchCommand (#88) (HEAD -> 202205, github/202205) [Jing Zhang]
    
    swss:
    * 4430445 2022-06-03 | Add port counter sanity check (sonic-net#2300) (HEAD -> 202205, github/202205) [Junhua Zhai]
    * 01b017c 2022-05-28 | [counter] Support gearbox counters (sonic-net#2218) [Junhua Zhai]
    
    utilities:
    * ce96543 2022-05-26 | [subinterface]Avoid removing the subinterface when last configured ip is removed (sonic-net#2181) (HEAD -> 202205, github/202205) [Sudharsan Dhamal Gopalarathnam]
    * ed97c6f 2022-05-26 | [subinterface] Fix route add command to accept subinterface as dev (sonic-net#2180) [Sudharsan Dhamal Gopalarathnam]
    * 53ff644 2022-06-09 | [gendump] Add Support to dump BCM-DNX commands (sonic-net#1813) [saksarav-nokia]
    * 0e31790 2022-06-15 | [config][muxcable] fix minor config DB logic issue (sonic-net#2210) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    f14d2ae View commit details
    Browse the repository at this point in the history
  8. [202205][bcm sai] upgrade Broadcom SAI to 7.1.0.0-5 (sonic-net#11159)

    * [bcm sai] upgrade Broadcom SAI to 7.1.0.0-5
    
    - Enable Microsoft AN/LT patch
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    9329c4b View commit details
    Browse the repository at this point in the history
  9. [202205][sonic-platform-daemons] submodule update (sonic-net#11169)

    The following commits are pushed
    
    1f112b8 (HEAD -> 202205, origin/202205) [sonic-ycabled] fix grpc logic for timeout,cli HWSTATUS value retrival logic for active-active cable (sonic-net#264)
    
    Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
    vdahiya12 committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    bb8e12f View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. [hostcfgd] Initialize Restart= in feature's systemd config by the v…

    …alue of `auto_restart` in `CONFIG_DB` (sonic-net#10915)
    
    Why I did it
    Recently the nightly testing pipeline found that the autorestart test case was failed when it was run against master image. The reason is Restart= field in each container's systemd configuration file was set to Restart=no even the value of auto_restart field in FEATURE table of CONFIG_DB is enabled.
    
    This issue introduced by sonic-net#10168 can be reproduced by the following steps:
    
    Issues the config command to disable the auto-restart feature of a container
    Runs command config reload or config reload minigraph to enable auto-restart of the container
    Checks Restart= field in the container's systemd config file mentioned in step 1 by running the command
    sudo systemctl cat <container_name>.service
    Initially this PR (sonic-net#10168) wants to revert the changes proposed by this: sonic-net#8861. However, it did not fully revert all the changes.
    
    How I did it
    When hostcfgd started or was restarted, the Restart= field in each container's systemd configuration file should be initialized according to the value of auto_restart field in FEATURE table of CONFIG_DB.
    
    How to verify it
    I verified this change by running auto-restart test case against newly built master image and also ran the unittest:
    yozhao101 authored and yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    8a76cdc View commit details
    Browse the repository at this point in the history
  2. [Mellanox] [pmon] Fix for PMON service not starting when restarting S…

    …WSS service after fast/warm reboot (sonic-net#10901)
    
    - Why I did it
    Recent change to delay PMON service in case of fast/warm reboot introduce an issue when restarting only SWSS service after fast/warm reboot for Nvidia platform.
    Since the timer is triggered only when the system boot, in a scenario when the system is after a fast/warm reboot and the user restart SWSS service, as part of syncd.sh script, PMON service will stop but the timer will not start again.
    
    - How I did it
    On syncd.sh script, in case of fast/warm indication, check if pmon.timer is running.
    If it is running it means we are at the first boot and continue normally.
    If it is not running, meaning the service was restarted, start the timer to keep the system behavior consistent.
    
    - How to verify it
    Run fast/warm reboot.
    service swss restart.
    Observe PMON service starting.
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    shlomibitton authored and yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    323aa79 View commit details
    Browse the repository at this point in the history
  3. Generate switch level dscp_to_tc_map entry from qos_config template (s…

    …onic-net#11087)
    
    * Generate switch level dscp_to_tc_map
    
    Signed-off-by: bingwang <wang.bing@microsoft.com>
    bingwang-ms authored and yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    255d77e View commit details
    Browse the repository at this point in the history
  4. Update YANG for PORT_QOS_MAP to support switch level mapping (sonic-n…

    …et#11089)
    
    Signed-off-by: bingwang <wang.bing@microsoft.com>
    
    Co-authored-by: Neetha John <nejo@microsoft.com>
    2 people authored and yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    16c424b View commit details
    Browse the repository at this point in the history
  5. [Build] Improve docker build performance (sonic-net#11111)

    Why I did it
    The docker storage driver vfs is not a good option for build, it uses the “deep copy” when building a new layer, leads to lower performance and more space used on disk than other storage drivers.
    A better docker storage driver is the default one overlay2, it is a modern union filesystem.
    xumia authored and yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    90e56cc View commit details
    Browse the repository at this point in the history
  6. [202205][BRCM_SAI] update Brcm SAI dependencies (sonic-net#11173)

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    95dc2e2 View commit details
    Browse the repository at this point in the history
  7. [brcm docker build] remove extra line (sonic-net#11182)

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    36b54da View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. [memory_checker] Do not check memory usage of containers which are no…

    …t created (sonic-net#11129)
    
    Signed-off-by: Yong Zhao yozhao@microsoft.com
    
    Why I did it
    This PR aims to fix an issue (sonic-net#10088) by enhancing the script memory_checker.
    
    Specifically, if container is not created successfully during device is booted/rebooted, then memory_checker do not need check its memory usage.
    
    How I did it
    In the script memory_checker, a function is added to get names of running containers. If the specified container name is not in current running container list, then this script will exit without checking its memory usage.
    
    How to verify it
    I tested on a lab device by following the steps:
    
    Stops telemetry container with command sudo systemctl stop telemetry.service
    
    Removes telemetry container with command docker rm telemetry
    
    Checks whether the script memory_checker ran by Monit will generate the syslog message saying it will exit without checking memory usage of telemetry.
    yozhao101 authored and yxieca committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    d63d16b View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. [202205][utilities] advance utilities submodule head (sonic-net#11184)

    13ec600 [generic-config-updater] Add NTP validator (sonic-net#2212)
    4fc09b1 [GCU] Handling non-compliant leaf-list with string values (sonic-net#2174)
    ac89489 Modify override testcase to cover PORT admin_status (sonic-net#2165)
    d7953d2 [GCU] Validate peer_group_range ip_range are correct (sonic-net#2145)
    wen587 committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    7a22cbf View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. [202205][swss] advance submodule head (sonic-net#11200)

    swss:
    * a3bfd96 2022-06-18 | Enhance mock test for dynamic buffer manager for port removing and qos reload flows (sonic-net#2262) (HEAD -> 202205, github/202205) [Stephen Sun]
    * b17d6c0 2022-05-28 | Support mock_test infra for dynamic buffer manager and fix issues found during mock test (sonic-net#2234) [Stephen Sun]
    * 3fb23a1 2022-06-16 | [aclorch] Fix and simplify DTel watchlist tables and entries (sonic-net#2155) [Mickey Spiegel]
    * 9ace643 2022-06-16 | [intfmgr]: Set proxy_arp kernel param (sonic-net#2334) [Lawrence Lee]
    * 013609a 2022-06-14 | [crmorch] Prevent exceededLogCounter from resetting when low and high values are equal (sonic-net#2327) [Alexander Allen]
    * 83a1306 2022-06-13 | Fix key generation in removeDecapTunnel (sonic-net#2322) [Myron Sosyak]
    * 3d018ad 2022-06-15 | Apply `DSCP_TO_TC_MAP` from `PORT_QOS_MAP|global` to switch level (sonic-net#2314) [bingwang-ms]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    3ea8df3 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. [build] Add version files to docker image dependencies (sonic-net#11195)

    * [ci] Support to skip vstest using include/exclude config file. (sonic-net#11086)
    
    example:
    ├── folderA
    │  ├──  fileA (skip vstest)
    │  ├──  fileB
    │  └──  fileC
    If we want to skip vstest when changing /folderA/fileA, and not skip vstest when changing fileB or fileC.
    
    vstest-include:
    ^folderA/fileA
    
    vstest-exclude:
    ^folderA
    
    * [build] Add version files to docker image dependencies
    liushilongbuaa committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    57244dd View commit details
    Browse the repository at this point in the history
  2. Add two extra lossless queues for bounced back traffic (sonic-net#10496)

    Signed-off-by: bingwang <bingwang@microsoft.com>
    
    Why I did it
    This PR is to add two extra lossless queues for bounced back traffic.
    HLD sonic-net/SONiC#950
    
    SKUs include
    Arista-7050CX3-32S-C32
    Arista-7050CX3-32S-D48C8
    Arista-7260CX3-D108C8
    Arista-7260CX3-C64
    Arista-7260CX3-Q64
    
    How I did it
    Update the buffers.json.j2 template and buffers_config.j2 template to generate new BUFFER_QUEUE table.
    
    For T1 devices, queue 2 and queue 6 are set as lossless queues on T0 facing ports.
    For T0 devices, queue 2 and queue 6 are set as lossless queues on T1 facing ports.
    Queue 7 is added as a new lossy queue as DSCP 48 is mapped to TC 7, and then mapped into Queue 7
    
    How to verify it
    Verified by UT
    Verified by coping the new template and generate buffer config with sonic-cfggen
    bingwang-ms authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    6f71341 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Install MFT package on platform monitor (pmon) container (s…

    …onic-net#10932)
    
    - Why I did it
    Need to execute mlxreg inside pmon docker
    
    - How I did it
    Add MFT package to pmon Makefile
    
    - How to verify it
    Install image, go to pmon : docker exec -it pmon bash, exec mlxreg
    Verifiy warm, fast and cold reboot while MFT is being called in pmon constantly 
    
    Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
    ayurkiv-nvda authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d9f8af8 View commit details
    Browse the repository at this point in the history
  4. Add IP interface loopback action related content to YANG models. (son…

    …ic-net#11012)
    
    *Add IP interface loopback action related content to the required YANG models.
    liorghub authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e015232 View commit details
    Browse the repository at this point in the history
  5. [lldp]Fix lldp spawned after reboot when disabled (sonic-net#11080)

    - Why I did it
    When LLDP is disabled through feature command, it gets spawned after reboot.
    
    - How I did it
    In syncd.sh check if the service is enabled before spawning automatically during cold reboot.
    
    - How to verify it
    Disable lldp feature. Perform cold reboot and verify its not spawned.
    dgsudharsan authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    379d77a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5a3c8d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1976e55 View commit details
    Browse the repository at this point in the history
  8. [SSHD] Enable SSHD keepalive timeout feature (sonic-net#11115)

    #### Why I did it
    SSHD keepalive timeout feature not enabled on sonic.
    
    #### How I did it
    Enable SSHD keepalive timeout feature by set ClientAliveCountMax to 1.
    
    #### How to verify it
    Pass All E2E test case.
    Manually test with following steps:
    
    1. Change config and restart sshd
    2. Connect a ssh with -vvv option to show debug message
    3. Get running ssh by command and stop it:
    
    ```
    azureuser@liuh-dev-vm-02:~$ ps -auxww | grep vvv
    azureus+ 1614153  0.0  0.0  12244  6004 pts/1S+   15:48   0:00 ssh admin@10.250.0.101 -vvv
    azureus+ 1615570  0.0  0.0   8168  2424 pts/3S+   15:49   0:00 grep --color=auto vvv
    azureuser@liuh-dev-vm-02:~$ kill -Stop 1614153
    ```
    
    4. Check TCP status from server side with ss command:
    https://man7.org/linux/man-pages/man8/ss.8.html
    
    ```
    admin@vlab-01:~$ ss | grep -i ssh
    tcp   ESTAB  0  010.250.0.101:ssh 10.250.0.1:58150
    tcp   FIN-WAIT-2 0  010.250.0.101:ssh 10.250.0.1:58164
    tcp   ESTAB  0  010.250.0.101:ssh 10.250.0.1:57978
    ```
    
    FIN-WAIT-2 means server already terminate the connection and wait for client response:
    https://kb.iu.edu/d/ajmi
    .  FIN-WAIT-2  <-- <SEQ=300><ACK=101><CTL=ACK>  <-- CLOSE-WAIT
    
    5. Check again later will show the session been complete closed:
    
    ```
    admin@vlab-01:~$ ss | grep -i ssh
    tcp   ESTAB  0  010.250.0.101:ssh 10.250.0.1:58150
    tcp   ESTAB  0  010.250.0.101:ssh 10.250.0.1:57978
    ```
    liuh-80 authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d97b336 View commit details
    Browse the repository at this point in the history
  9. [azurepipeline]: Add t0-sonic pool back to Azp checker (sonic-net#11181)

    Why I did it
    The t0-sonic pool has been fixed, so add it back to azp checker.
    
    How I did it
    Remove continueOnError in run-test-template.yml.
    
    Signed-off-by: Ze Gan <ganze718@gmail.com>
    Pterosaur authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    40f7cec View commit details
    Browse the repository at this point in the history
  10. Change severity of log messages for cases where docker container was …

    …stopped during service checker operation (sonic-net#11188)
    
    #### Why I did it
    There might be a case where service checker periodic operation determined that specific container is running but when it tries to perform an operation on it, it was already closed by the user. This is a valid flow and we should not log an error message, informative warning is enough. 
    
    #### How I did it
    I reduce log severity.
    
    #### How to verify it
    I verified it manually.
    liorghub authored and yxieca committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    f9e93d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. [qos]: Adjust 7260 buffer sizes to accomodate extra lossless queues (s…

    …onic-net#11018)
    
    Why I did it
    As part of PCBB changes, we need to enable 2 extra lossless queues. The changes in this PR are done to adjust only the reserved sizes on Th2 for the additional 2 lossless queues
    Calculations are done based on 40 downlinks for T1 and 16 uplinks for dual ToR
    
    How to verify it
    Verified that the rendering works fine on Th2 dut
    Unit tests have been updated to reflect the modified buffer sizes when pcbb is enabled. There are existing testcases that will test the original buffer sizes when pcbb is disabled. With these changes, was able to build sonic-config-engine wheel successfully
    
    Signed-off-by: Neetha John <nejo@microsoft.com>
    neethajohn authored and yxieca committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    3304fcd View commit details
    Browse the repository at this point in the history
  2. [sonic-config-engine] Generate expected output with different cable l…

    …en (sonic-net#11092)
    
    Why I did it
    To address internal build failures where the cable len for some of the skus is set to 300m for all tiers.
    
    How I did it
    For the buffers test, generate a new output file based off the original expected output with CABLE_LENGTH table updated to use 300m. In the comparison logic, compare against each of the expected output files and if any matches, the testcase is set to pass
    
    Signed-off-by: Neetha John <nejo@microsoft.com>
    neethajohn authored and yxieca committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    ef9fb9d View commit details
    Browse the repository at this point in the history
  3. [202205] add release tag file (sonic-net#11222)

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    8249d0d View commit details
    Browse the repository at this point in the history
  4. [202205][swss][utilities][sairedis][pmon] advance submodule head (son…

    …ic-net#11223)
    
    swss:
    * 43b9f06 2022-06-23 | [ACL] Support stage particular match fields (sonic-net#2341) (HEAD -> 202205) [bingwang-ms]
    * c7f1add 2022-06-22 | Fix qos map test in vs test (sonic-net#2343) [bingwang-ms]
    * 0549f3c 2022-06-22 | Fix for "orchagent crashed when trying to delete fdb static entry with swssconfig sonic-net#11046" (sonic-net#2332) [anilkpan]
    
    utilities:
    * 785508d 2022-05-25 | [GCU] Handling type1 lists (sonic-net#2171) (HEAD -> 202205) [Mohamed Ghoneim]
    * 56c2c6b 2022-06-22 | [config reload] Fixing config reload when timer based services are disabled (sonic-net#2200) (sonic-net#2226) (HEAD -> 202205, github/202205) [Sudharsan Dhamal Gopalarathnam]
    * 600979e 2022-06-16 | Fix header for the output table following 'show ipv6 interface' command (sonic-net#2219) [Dror Prital]
    
    sairedis:
    * 14fba45 2022-06-13 | [vslib]: Fixbug in cleanup MACsec device (sonic-net#1059) (HEAD -> 202205) [Ze Gan]
    * ac6e7ad 2022-04-29 | [vslib]: Update packet number of MACsec SA at runtime (sonic-net#1007) [Ze Gan]
    
    platform-daemons:
    * 6ffec22 2022-06-22 | [ycabled] Fix the init values for active-active ports (sonic-net#266) (HEAD -> 202205) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    f6f87f1 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. [vs][asan] add /var/log/asan to ASAN-enabled docker-sonic-vs image (s…

    …onic-net#11059)
    
    To ensure that ASAN logs are always generated. Currently, the way to get the logs is to map the "/var/log/asan" outside of a container, which doesn't work for DVS test run with "--imgname" option.
    
    Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
    Yakiv-Huryk authored and yxieca committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    75f7389 View commit details
    Browse the repository at this point in the history
  2. Updated buffer profile settings for TD3 based HWSKUs (Arista-7050CX3-…

    …32S-C32, Arista-7050CX3-32S-D48C8) (sonic-net#11202)
    
    * Updated buffer profile settings for TD3 based HWSKUs (Arista-7050CX3-32S-C32, Arista-7050CX3-32S-D48C8)
    vmittal-msft authored and yxieca committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    7c55675 View commit details
    Browse the repository at this point in the history
  3. Support LOSSLESS_TRAFFIC_PATTERN and DEFAULT_LOSSLESS_BUFFER_PARAMETER (

    sonic-net#11058)
    
    #### Why I did it
    Support the following tables which were introduced during dynamic buffer calculation
    - LOSSLESS_TRAFFIC_PATTERN
    - DEFAULT_LOSSLESS_BUFFER_PARAMETER
    
    #### How I did it
    
    - LOSSLESS_TRAFFIC_PATTERN
    
    |name|type|range|mandatory|description|
    |---|---|---|---|---|
    |mtu|uint16|64~10240|true|The maximum packet size of a lossless packet|
    |small_packet_percentage|uint8|0~100|true|The percentage of small packet|
    
    - DEFAULT_LOSSLESS_BUFFER_PARAMETER
    
    |name|type|range|mandatory|description|
    |---|---|---|---|---|
    |default_dynamic_th|int8|-8~7|true|The default dynamic_th for all buffer profiles that are dynamically generated for lossless PG|
    |over_subscribe_ratio|uint16|-|false|The oversubscribe ratio for shared headroom pool.|
    |||||Semantically, the upper bound is the number of physical ports but it can not be represented in the yang module. So we keep the upper bound open. As the type is (signed) integer whose lower bound is 0 by nature, we do not need to specify the range.|
    
    #### How to verify it
    Run unit test
    stephenxs authored and yxieca committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    71c2b40 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. [202205][swss][swss-common][linkmgrd] advance submodule head (sonic-n…

    …et#11254)
    
    swss:
    * ad2d0ad 2022-06-24 | [PFC_WD] Avoid applying ZeroBuffer Profiles to ingress PG when a PFC storm is detected (sonic-net#2304) (HEAD -> 202205) [Vivek R]
    * ef75554 2022-06-25 | [swssconfig] Optimize performance of swssconfig (sonic-net#2336) [Junchao-Mellanox]
    * d9e9ba8 2022-06-24 | [fdborch] fix heap-use-after-free in clearFdbEntry() (sonic-net#2353) [Yakiv Huryk]
    * 585a69b 2022-06-24 | Create ACL table fails due to incorrect check for supported ACL actions sonic-net#11235 (sonic-net#2351) [Ravindranath C K]
    * 0d19560 2022-06-24 | [macsec] Refactor the logic of macsec name map (sonic-net#2348) [Junhua Zhai]
    * 111dfc2 2022-06-23 | [macsec] Update macsec flex counter (sonic-net#2338) (HEAD -> 202205, github/202205) [Junhua Zhai]
    
    swss-common:
    * 0213d55 2022-06-23 | [portcounter] Check if counter ID exists before arithmetic operation  (sonic-net#632) (HEAD -> 202205, github/202205) [Junhua Zhai]
    * c21c47e 2022-06-14 | [counter] Add counter table (sonic-net#622) [Junhua Zhai]
    
    utilities:
    * 430cd65 2022-06-23 | [202205] [generate dump] Move the Core/Log collection to the End of process Execution and removed default timeout  (sonic-net#2230) (github/202205) [Vivek R]
    
    linkmgrd:
    * 59334be 2022-06-24 | Remove exception throwing when initializing missing loopback interface (#90) (HEAD -> 202205) [Jing Zhang]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ae66e14 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. [Build]: Support to use symbol links for lazy installation targets to…

    … reduce the image size (sonic-net#10923)
    
    Why I did it
    Support to use symbol links in platform folder to reduce the image size.
    The current solution is to copy each lazy installation targets (xxx.deb files) to each of the folders in the platform folder. The size will keep growing when more and more packages added in the platform folder. For cisco-8000 as an example, the size will be up to 2G, while most of them are duplicate packages in the platform folder.
    
    How I did it
    Create a new folder in platform/common, all the deb packages are copied to the folder, any other folders where use the packages are the symbol links to the common folder.
    
    Why platform.tar?
    We have implemented a patch for it, see sonic-net#10775, but the problem is the the onie use really old unzip version, cannot support the symbol links.
    The current solution is similar to the PR 10775, but make the platform folder into a tar package, which can be supported by onie. During the installation, the package.tar will be extracted to the original folder and removed.
    xumia authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    e2bee17 View commit details
    Browse the repository at this point in the history
  2. [minigraph] Support parse IPv6 in device_desc.xml (sonic-net#11095)

    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    68f6833 View commit details
    Browse the repository at this point in the history
  3. Update include_macsec flag if type is SpineRouter (sonic-net#11141)

    Add the support to enable macsec when type is SpineRouter
    judyjoseph authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    d7db8a2 View commit details
    Browse the repository at this point in the history
  4. [submodule]: Update submodule for wpa-supplicant (sonic-net#11264)

    3f43852b8 [sonic_operators.cpp]: Increasing select timeout (#55)
    a1142e251  [sonic_operators.cpp] Update sonic_db_manager::get_counter (#56)
    1069d2dd4 [sonic_operators.cpp]: Fixbug wait with false positive to return success (#54)
    
    Signed-off-by: Ze Gan <ganze718@gmail.com>
    Pterosaur authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    7d832d1 View commit details
    Browse the repository at this point in the history
  5. [asan] add print_suppressions=0 to ASAN configs (sonic-net#11252)

    - Why I did it
    To provide an ability to suppress ASAN false positives and have a clean ASAN report for docker-sonic-vs/mlnx-syncd/orchagent docker
    
    - How I did it
    Added the "print_suppressions=0" to ASAN configs.
    
    - How to verify it
    add a suppression to some ASAN-enabled component (the suppression should catch some leak)
    build with ENABLE_ASAN=y
    run a test and see that the ASAN report is empty instead of having the suppression summary
    
    Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
    Yakiv-Huryk authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    97cb613 View commit details
    Browse the repository at this point in the history
  6. [system-health] Fix error log system_service'state' while doing confi… (

    sonic-net#11225)
    
    - Why I did it
    While doing config reload, FEATURE table may be removed and re-add. During this process, updating FEATURE table is not atomic. It could be that the FEATURE table has entry, but each entry has no field. This PR introduces a retry mechanism to avoid this.
    
    - How I did it
    Introduces a retry mechanism to avoid this.
    
    - How to verify it
    New unit test added to verify the flow as well as running some manual test.
    Junchao-Mellanox authored and yxieca committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    097e315 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. [202205][swss][linkmgrd] advance submodule head (sonic-net#11275)

    swss:
    * 665bbbb 2022-06-27 | Add support for IP interface loopback action (sonic-net#2307) (HEAD -> 202205, github/202205) [Lior Avramov]
    * c7f5743 2022-06-28 | [asan] suppress the static variable leaks (sonic-net#2354) [Yakiv Huryk]
    * 37e2a31 2022-06-28 | [tests] [asan] add graceful stop flag (sonic-net#2347) [Yakiv Huryk]
    * 5ab84cf 2022-06-28 | [202205][cherry-pick] Fix mux_acl_rule adding issue (sonic-net#2358) [bingwang-ms]
    
    linkmgrd:
    * a836ef7 2022-06-28 | Use Vlan MAC as src MAC for link prober by default  (#93) (HEAD -> 202205) [Jing Zhang]
    * a828e86 2022-06-28 | Fix inconsistent mux state (#92) (github/202205) [Longxiang Lyu]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    f16d494 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. [202205][pmon] advance submodule head (sonic-net#11293)

    pmon:
    * 547acc0 2022-06-29 | [ycabled] add some retry logic for gRPC channel setup;fix no channel gRPC notification (sonic-net#269) (HEAD -> 202205, github/202205) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    4ad895c View commit details
    Browse the repository at this point in the history
  2. Add extra lossy PG profile for ports between T1 and T2 (sonic-net#11157)

    Signed-off-by: bingwang <wang.bing@microsoft.com>
    
    Why I did it
    This PR brings two changes
    
    Add lossy PG profile for PG2 and PG6 on T1 for ports between T1 and T2.
    After PR Update qos config to clear queues for bounced back traffic sonic-net#10176 , the DSCP_TO_TC_MAP and TC_TO_PG_MAP is updated when remapping is enable
    
    DSCP_TO_TC_MAP
    Before	After	Why do this change
    "2" : "1"	"2" : "2"	Only change for leaf router to map DSCP 2 to TC 2 as TC 2 will be used for lossless TC
    "6" : "1"	"6" : "6"	Only change for leaf router to map DSCP 6 to TC 6 as TC 6 will be used for lossless TC
    
    TC_TO_PRIORITY_GROUP_MAP
    Before	After	Why do this change
    "2" : "0"	"2" : "2"	Only change for leaf router to map TC 2 to PG 2 as PG 2 will be used for lossless PG
    "6" : "0"	"6" : "6"	Only change for leaf router to map TC 6 to PG 6 as PG 6 will be used for lossless PG
    
    So, we have two new lossy PGs (2 and 6) for the T2 facing ports on T1, and two new lossless PGs (2 and 6) for the T0 facing port on T1.
    However, there is no lossy PG profile for the T2 facing ports on T1. The lossless PGs for ports between T1 and T0 have been handled by buffermgrd .Therefore, We need to add lossy PG profiles for T2 facing ports on T1.
    
    We don't have this issue on T0 because PG 2 and PG 6 are lossless PGs, and there is no lossy traffic mapped to PG 2 and PG 6
    
    Map port level TC7 to PG0
    Before the PCBB change, DSCP48 -> TC 6 -> PG 0.
    After the PCBB change, DSCP48 -> TC 7 -> PG 7
    Actually, we can map TC7 to PG0 to save a lossy PG.
    
    How I did it
    Update the qos and buffer template.
    
    How to verify it
    Verified by UT.
    bingwang-ms authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    d9cd1a1 View commit details
    Browse the repository at this point in the history
  3. [yang] update TCP_FLAGS format in sonic-acl.yang (sonic-net#11270)

    Why I did it
    Fix sonic-net#11224
    TCP_FLAGS supports flags/mask pattern.
    
    How I did it
    Change the pattern.
    
    How to verify it
    Add unit test.
    wen587 authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    6708a55 View commit details
    Browse the repository at this point in the history
  4. Avoid write_standby in warm restart context (sonic-net#11283)

    Avoid write_standby in warm restart context.
    
    sign-off: Jing Zhang zhangjing@microsoft.com
    
    Why I did it
    In warm restart context, we should avoid mux state change.
    
    How I did it
    Check warm restart flag before applying changes to app db.
    
    How to verify it
    Ran write_standby in table missing, key missing, field missing scenarios.
    Did a warm restart, app db changes were skipped. Saw this in syslog:
    WARNING write_standby: Taking no action due to ongoing warmrestart.
    zjswhhh authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    f25a84c View commit details
    Browse the repository at this point in the history
  5. [tunnel_packet_handler] Add a whitespace in the warning syslog messag…

    …e. (sonic-net#11232)
    
    *This PR aims to add a whitespace in the warning syslog message of process tunnel_packet_handler.
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    ab87fb8 View commit details
    Browse the repository at this point in the history
  6. Add support for Password Hardening (sonic-net#10323)

    - Why I did it
    New security feature for enforcing strong passwords when login or changing passwords of existing users into the switch.
    
    - How I did it
    By using mainly Linux package named pam-cracklib that support the enforcement of user passwords, the daemon named hostcfgd, will support add/modify password policies that enforce and strengthen the user passwords.
    
    - How to verify it
    Manually Verification-
    1. Enable the feature, using the new sonic-cli command passw-hardening or manually add the password hardening table like shown in HLD by using redis-cli command
    
    2. Change password policies manually like in step 1.
    Notes:
    password hardening CLI can be found in sonic-utilities repo-
    P.R: Add support for Password Hardening sonic-utilities#2121
    code config path: config/plugins/sonic-passwh_yang.py
    code show path: show/plugins/sonic-passwh_yang.py
    
    3. Create a new user (using adduser command) or modify an existing password by using passwd command in the terminal. And it will now request a strong password instead of default linux policies.
    
    Automatic Verification - Unitest:
    This PR contained unitest that cover:
    1. test default init values of the feature in PAM files
    2. test all the types of classes policies supported by the feature in PAM files
    3. test aging policy configuration in PAM files
    davidpil2002 authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    f17d55d View commit details
    Browse the repository at this point in the history
  7. [macsec] Parse masec_enabled and macsec_profile from minigraph (sonic…

    …-net#10917)
    
    * Updates needed to parse the macsec config from minigraph
    * Add unit tests in tests/test_cfggen.py::TestCfgGen, and updates
    judyjoseph authored and yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    37c9b27 View commit details
    Browse the repository at this point in the history
  8. [202205][swss][utilities] advance submodule head (sonic-net#11294)

    swss:
    * 6bafea4 2022-06-29 | [vnetorch] [vxlanorch] fix a set of memory usage issues (sonic-net#2352) (HEAD -> 202205, github/202205) [Yakiv Huryk]
    
    utilities:
    * c64454c 2022-06-28 | [GCU] Moving UniqueLanes from only validating moves, to be a supplemental YANG validator (sonic-net#2234) (HEAD -> 202205, github/202205) [Mohamed Ghoneim]
    * fbd79d4 2022-06-29 |  Add check to not allow deleting PO if its member of vlan (sonic-net#2237) [anilkpan]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    ded05ad View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. [ci/build]: Upgrade SONiC package versions (sonic-net#11189)

    Upgrade SONiC Versions
    mssonicbld committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    0acc47e View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    b3672c1 View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Update SDK/FW to 4.5.2262/xx.2010.2262 (sonic-net#10882)

    - Why I did it
    To include latest fixes:
    1. Warmboot | When trying to reconfigure the Flex Parser header and Flex transition parameters after ISSU, the switch will returned an error even if the configuration was identical to that done before performing the ISSU.
    2. Link Up | When toggling many ports of the Spectrum devices while raising 10GbE link up and link maintenance is enabled, the switch may get stuck and may need to be rebooted.
    3. Shared buffer | While moving from lossless to lossy while shared headroom was used, reduction of the shared headroom can only be done prior to pool type change and when shared headroom is not utilized.
    
    - How I did it
    Updated SDK submodule along with the relevant Makefiles
    
    - How to verify it
    Build an image and run tests from "sonic-mgmt".
    
    Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
    volodymyrsamotiy authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    421b659 View commit details
    Browse the repository at this point in the history
  3. Updated Chassis MMU settings for 40G/100G/400G line cards (sonic-net#…

    …11108)
    
    * Updated Chassis MMU settings for 40G/100G/400G line cards
    vmittal-msft authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    8035e3d View commit details
    Browse the repository at this point in the history
  4. [macsec] CLI Supports display of gearbox macsec counter (sonic-net#11113

    )
    
    Why I did it
    To support gearbox macsec counter display, following sonic-net/sonic-swss-common#622.
    
    How I did it
    Use swsscommon CounterTable API
    jimmyzhai authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    477ed2c View commit details
    Browse the repository at this point in the history
  5. [build] Fix libssl version issue. (sonic-net#11287)

    The following packages have unmet dependencies:
     libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb11u2 is to be installed
    E: Unable to correct problems, you have held broken packages.
    liushilongbuaa authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    f16eaf5 View commit details
    Browse the repository at this point in the history
  6. [Marvell] Update armhf sai deb (sonic-net#11296)

    1) Migrate SAI to 1.10.2
    2) MRVL-SAI fixes from 202012 branch
    
    Signed-off-by: rajkumar38 <rpennadamram@marvell.com>
    rajkumar38 authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    0bc054e View commit details
    Browse the repository at this point in the history
  7. [ci] add docker-sonic-vs with ASAN build (sonic-net#11297)

    The asan-enabled docker image will be used in other CIs that run DVS tests.
    
    Why I did it
    To add a possibility to run DVS tests with ASAN for other CIs (e.g. swss).
    
    How I did it
    Added the 'asan_image' flag to the vs job group.
    
    How to verify it
    Run the CI and check the docker-sonic-vs-asan.gz artifact.
    Yakiv-Huryk authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    fd287b7 View commit details
    Browse the repository at this point in the history
  8. [Build] Add the missing debian security mirrors in slave images (soni…

    …c-net#11305)
    
    Why I did it
    The build below was broken, it was caused by one of the required debian mirror missing.
    https://dev.azure.com/mssonic/build/_build/results?buildId=116719&view=logs&j=88ce9a53-729c-5fa9-7b6e-3d98f2488e3f&t=88f376cf-c35d-5783-0a48-9ad83a873284
    
     libpci-dev : Depends: libudev-dev (>= 196) but it is not going to be installed
     libsystemd-dev : Depends: libsystemd0 (= 232-25+deb9u14) but 232-25+deb9u13 is to be installed
    How I did it
    Add the missing mirrors for buster and stretch.
    xumia authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    a96a07e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4657d81 View commit details
    Browse the repository at this point in the history
  10. [Mellanox]Check dmi file permission before access (sonic-net#11309)

    Signed-off-by: Sudharsan Dhamal Gopalarathnam sudharsand@nvidia.com
    
    Why I did it
    During the system boot up when 'show platform status' or 'show version' command is executed before STATE_DB CHASSIS_INFO table is populated, the show will try to fallback to use the platform API. The DMI file in mellanox platforms require root permission for access. So if the show commands are executed as admin or any other user, the following error log will appear in the syslog
    
    Jun 28 17:21:25.612123 sonic ERR show: Fail to decode DMI /sys/firmware/dmi/entries/2-0/raw due to PermissionError(13, 'Permission denied')
    
    How I did it
    Check the file permission before accessing it.
    
    How to verify it
    Added UT to verify. Manually verified if the error log is not thrown.
    dgsudharsan authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    187f351 View commit details
    Browse the repository at this point in the history
  11. [minigraph][dualtor] Support parsing soc_ip out of dpg (sonic-net#1…

    …1207)
    
    Why I did it
    To further support parse out soc_ipv4 and soc_ipv6 out of Dpg:
    
    <DeviceDataPlaneInfo>
      <IPSecTunnels />
      <LoopbackIPInterfaces xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
        <a:LoopbackIPInterface>
          <ElementType>LoopbackInterface</ElementType>
          <Name>HostIP</Name>
          <AttachTo>Loopback0</AttachTo>
          <a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
            <b:IPPrefix>10.10.10.2/32</b:IPPrefix>
          </a:Prefix>
          <a:PrefixStr>10.10.10.2/32</a:PrefixStr>
        </a:LoopbackIPInterface>
        <a:LoopbackIPInterface>
          <ElementType>LoopbackInterface</ElementType>
          <Name>HostIP1</Name>
          <AttachTo>Loopback0</AttachTo>
          <a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
            <b:IPPrefix>fe80::0002/128</b:IPPrefix>
          </a:Prefix>
          <a:PrefixStr>fe80::0002/128</a:PrefixStr>
        </a:LoopbackIPInterface>
        <a:LoopbackIPInterface>
          <ElementType>LoopbackInterface</ElementType>
          <Name>SoCHostIP0</Name>
          <AttachTo>server2SOC</AttachTo>
          <a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
            <b:IPPrefix>10.10.10.3/32</b:IPPrefix>
          </a:Prefix>
          <a:PrefixStr>10.10.10.3/32</a:PrefixStr>
        </a:LoopbackIPInterface>
        <a:LoopbackIPInterface>
          <ElementType>LoopbackInterface</ElementType>
          <Name>SoCHostIP1</Name>
          <AttachTo>server2SOC</AttachTo>
          <a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
            <b:IPPrefix>fe80::0003/128</b:IPPrefix>
          </a:Prefix>
          <a:PrefixStr>fe80::0003/128</a:PrefixStr>
        </a:LoopbackIPInterface>
      </LoopbackIPInterfaces>
    </DeviceDataPlaneInfo>
    Signed-off-by: Longxiang Lyu lolv@microsoft.com
    
    How I did it
    For servers loopback definitions in Dpg, if they contain LoopbackIPInterface with tags AttachTo, which has value of format like <server_name>SOC, the address will be regarded as a SoC IP, and sonic-cfggen now will treat the port connected to the server as active-active if the redundancy_type is either Libra or Mixed.
    
    How to verify it
    Pass the unittest.
    
    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu authored and yxieca committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    7d06c7f View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Configuration menu
    Copy the full SHA
    296b21e View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Add arch folder to SDK binary location (sonic-net#11278)

    - Why I did it
    This is for the eventual support of multiple architectures for the mellanox platform.
    
    - How I did it
    Change the location of the binaries in Switch-SDK-drivers so that the path specifies the target architecture in addition to the target distribution that the debians are built for.
    
    This is the most straightforward way to separate binaries built against different architectures and selectively target them for installation in the mellanox SONiC image.
    
    - How to verify it
    Build SONiC for mellanox and verify it compiles successfully.
    alexrallen authored and yxieca committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    f99d272 View commit details
    Browse the repository at this point in the history
  3. [ci/build]: Upgrade SONiC package versions (sonic-net#11334)

    Upgrade SONiC Versions
    mssonicbld committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    1d4cba6 View commit details
    Browse the repository at this point in the history
  4. [202205][sonic-sairedis] don't try to build python-pysairedis (python…

    …2) on bullseye (sonic-net#11308)
    
    This PR is a backport of sonic-net#10950 and a fix for it sonic-net#11227
    
    - Why I did it
    To not build python2 pysairedis on bullseye
    
    - How I did it
    Cherry-picked above PRs from master
    
    - How to verify it
    Build
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    530a0ca View commit details
    Browse the repository at this point in the history
  5. [202205][utilities] advance submodule head (sonic-net#11340)

    utilities;
    * 7dae152 2022-07-05 | show linkmgrd status in `show mux status` (sonic-net#2254) (HEAD -> 202205) [Jing Zhang]
    * 6ebba53 2022-07-01 | [config/load_mgmt_config] Support load IPv6 mgmt IP (sonic-net#2206) (HEAD -> 202205, github/202205) [Jing Kan]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    4abead0 View commit details
    Browse the repository at this point in the history
  6. [202205][platform-common] advance submodule head (sonic-net#11345)

    platform-common:
    * 4fe38c7 2022-06-09 | [multiasic][sfputil]Fix the sftpuitlhelper on mutilasic platform issue (sonic-net#286) (HEAD -> 202205, github/202205) [Marty Y. Lok]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    2d9714d View commit details
    Browse the repository at this point in the history
  7. [202205][Mellanox]Check dmi file permission before access (sonic-net#…

    …11346)
    
    * [Mellanox]Check dmi file permission before access (sonic-net#11309)
    
    Signed-off-by: Sudharsan Dhamal Gopalarathnam sudharsand@nvidia.com
    
    Why I did it
    During the system boot up when 'show platform status' or 'show version' command is executed before STATE_DB CHASSIS_INFO table is populated, the show will try to fallback to use the platform API. The DMI file in mellanox platforms require root permission for access. So if the show commands are executed as admin or any other user, the following error log will appear in the syslog
    
    Jun 28 17:21:25.612123 sonic ERR show: Fail to decode DMI /sys/firmware/dmi/entries/2-0/raw due to PermissionError(13, 'Permission denied')
    
    How I did it
    Check the file permission before accessing it.
    
    How to verify it
    Added UT to verify. Manually verified if the error log is not thrown.
    dgsudharsan committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    1197897 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. [Mellanox] Update SAI to 1.21.2.0 (sonic-net#11360)

    - Why I did it
    Advance to new SAI version for bugs fixes as well as new features/enhacements:
    
    New:
    1. ARM64 support
    2. FG ECMP performance optimization
    3. Support setting empty list for port ingress/egress buffer profile list
    4. Add service port for SN5600
    5. Add CR8/SR8/LR8/KR8 interface type
    6. Disable mlxtrace during debug dump
    
    Fixes:
    1. Fix SAI_ACL_ENTRY_ATTR_FIELD_TC
    2. Fix Packets loop back if no member in portchannel
    3. Fix optimize descriptors apply time (and fast boot time)
    4. Add flush fdb entries for vxlan tunnel bridge port
    5. Don't disable used tunnel underlay interfaces
    
    - How I did it
    Advanced SAI submodule
    
    - How to verify it
    make configure PLATFORM=mellanox
    make target/sonic-mellanox.bin
    
    Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
    nazariig committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    a4da090 View commit details
    Browse the repository at this point in the history
  2. [sflow + dropmon] added the ENABLE_SFLOW_DROPMON build flag. Added pa…

    …tches for sflow repo. (sonic-net#10370)
    
    * [sflow + dropmon] added INCLUDE_SFLOW_DROPMON flag, added patches for hsflowd
    *Added a capability of monitoring dropped packets for the sFlow daemon in order to improve network - monitoring, diagnostic, and troubleshooting. The drop monitor service allows the sFlow daemon to export another type of sample - dropped packets as Discard samples alongside Counter samples and Packet Flow samples.
    
    Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
    vadymhlushko-mlnx authored and yxieca committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    12ed51d View commit details
    Browse the repository at this point in the history
  3. Add backend acl template (sonic-net#11220)

    Why I did it
    Storage backend has all vlan members tagged. If untagged packets are received on those links, they are accounted as RX_DROPS which can lead to false alarms in monitoring tools. Using this acl to hide these drops.
    
    How I did it
    Created a acl template which will be loaded during minigraph load for backend. This template will allow tagged vlan packets and dropped untagged
    
    How to verify it
    Unit tests
    
    Signed-off-by: Neetha John <nejo@microsoft.com>
    neethajohn authored and yxieca committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    73abb5c View commit details
    Browse the repository at this point in the history
  4. Minigraph parser changes for storage backend acl (sonic-net#11221)

    Signed-off-by: Neetha John nejo@microsoft.com
    
    Why I did it
    For storage backend, certain rules will be applied to the DATAACL table to allow only vlan tagged packets and drop untagged packets.
    
    How I did it
    Create DATAACL table if the device is a storage backend device
    To avoid ACL resource issues, remove EVERFLOW related tables if the device is a storage backend device
    
    How to verify it
    Added the following unit tests
    - verify that EVERFLOW acl tables is removed and DATAACL table is added for storage backend tor
    - verify that no DATAACL tables are created and EVERFLOW tables exist for storage backend leaf
    neethajohn authored and yxieca committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    37c2370 View commit details
    Browse the repository at this point in the history
  5. [Marvell-armhf] Fix kernel hang due to kernel upgrade to 5.10.103 (so…

    …nic-net#11298)
    
    Give more room for the kernel image in memory
    
    Change-Id: I015856d173d50d94e30d8c555590efb70eb712ae
    Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
    pavannaregundi authored and yxieca committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    fea173d View commit details
    Browse the repository at this point in the history
  6. [Build] Fix the missing debian package for reproducible build issue (s…

    …onic-net#11333)
    
    Why I did it
    Fix the missing debian package for reproducible build issue.
    
    The gnupg2 should be added into the version file.
    https://dev.azure.com/mssonic/build/_build/results?buildId=118139&view=logs&j=88ce9a53-729c-5fa9-7b6e-3d98f2488e3f&t=8d99be27-49d0-54d0-99b1-cfc0d47f0318
    
    The following packages have unmet dependencies:
     gnupg2 : Depends: gnupg (>= 2.2.27-2+deb11u2) but 2.2.27-2+deb11u1 is to be installed
    E: Unable to correct problems, you have held broken packages.
    
    The issue was caused by the gnupg2 removed, and not detected.
    sonic-buildimage/build_debian.sh
    
    Line 250 in 4fb6cf0
    
     sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove software-properties-common gnupg2 python3-gi 
    How I did it
    Export the debian packages when any debian package being removed.
    xumia authored and yxieca committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    9c6b9c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. [ci] Fix test stage dependency issue. (sonic-net#11386) (sonic-net#11390

    )
    
    Why I did it
    When any of the test job failed in the test stage, the rerun will not work, the test stage will be skipped automaticall, so we do not have chance to rerun the test stage again, and the checks of the test will be always in failed status, block the PR to merge forever.
    
    It should be caused by the condition in the Test stage, we should specify the status of the BuildVS stage.
    
    How I did it
    Fix stage dependency logic.
    liushilongbuaa committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    be45014 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fb00ff View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2022

  1. [202205][utilities][platform-daemon] advance submodule head (sonic-ne…

    …t#11384)
    
    utilities:
    * 9f496a0 2022-07-06 | Update load minigraph to load backend acl (sonic-net#2236) (HEAD -> 202205, github/202205) [Neetha John]
    * ea938e3 2022-07-07 | Add support for IP interface loopback action (sonic-net#2192) [Lior Avramov]
    * a0b04de 2022-07-07 | [show] add new CLI to show tunnel route objects (sonic-net#2255) [Jing Zhang]
    
    platform-daemon:
    * e03d6a9 2022-07-06 | [ycabled][grpc] Fix some time interval,options for grpc keep alive to work (sonic-net#271) (HEAD -> 202205, github/202205) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    f98814d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. [Bug]: fix the version file name issue (sonic-net#11072) (sonic-net#1…

    …1415)
    
    Why I did it
    Cherry pick PR: sonic-net#11072
    [Bug]: fix the version file name issue
    
    Why I did it
    [Bug]: fix the version file name issue
    Fix the build failure: https://dev.azure.com/mssonic/build/_build/results?buildId=107211&view=results
    
    + scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-centec
    sed: can't read /tmp/tmp.glTzJefV24/version-deb: No such file or directory
    Not found host-base-image packages, please check the version files in files/build/versions/host-base-image
    
    How I did it
    Change the version-deb, to versions-deb
    And add an improvement for host base image build, if the version path not exist, skipped the version control for base image.
    
    How to verify it
    https://dev.azure.com/mssonic/build/_build/results?buildId=107587&view=results
    xumia committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    2b086eb View commit details
    Browse the repository at this point in the history
  2. Upgrade openssh to 8.4p1-5+deb11u1 (sonic-net#11408)

    Why I did it
    Cherry-pick: sonic-net#11405
    Fix the openssh build issue, upgrade from 8.4p1-5 to 8.4p1-5+deb11u1.
    
    https://dev.azure.com/mssonic/build/_build/results?buildId=120209&view=logs&j=88ce9a53-729c-5fa9-7b6e-3d98f2488e3f&t=8d99be27-49d0-54d0-99b1-cfc0d47f0318
    
    + sudo dpkg --root=./fsroot-broadcom -i target/debs/bullseye/openssh-server_8.4p1-5_amd64.deb
    dpkg: warning: downgrading openssh-server from 1:8.4p1-5+deb11u1 to 1:8.4p1-5
    (Reading database ... 44818 files and directories currently installed.)
    Preparing to unpack .../openssh-server_8.4p1-5_amd64.deb ...
    Unpacking openssh-server (1:8.4p1-5) over (1:8.4p1-5+deb11u1) ...
    dpkg: dependency problems prevent configuration of openssh-server:
     openssh-server depends on openssh-client (= 1:8.4p1-5); however:
      Version of openssh-client on system is 1:8.4p1-5+deb11u1.
    
    dpkg: error processing package openssh-server (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     openssh-server
    + clean_sys
    
    How I did it
    Upgrade openssh from 8.4p1-5 to 8.4p1-5+deb11u1.
    xumia committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    4000453 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. [buffer] create infrastructure to enable buffer/QoS profiles

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    9494b72 View commit details
    Browse the repository at this point in the history
  2. [Buffer] Separate buffer profile for Force10-S6100

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    0c94b72 View commit details
    Browse the repository at this point in the history
  3. [Buffer] Separate buffer profile for Celestica-DX010-D48C8

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    b245ee7 View commit details
    Browse the repository at this point in the history
  4. [Buffer] Separate buffer profile for Arista-7060CX-32S-Q32

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    634b4ee View commit details
    Browse the repository at this point in the history
  5. [Buffer] Separate buffer profile for Arista-7060CX-32S-D48C8

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    a0c38a9 View commit details
    Browse the repository at this point in the history
  6. [Buffer] Separate buffer profile for Arista-7060CX-32S-C32

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    b929929 View commit details
    Browse the repository at this point in the history
  7. [Buffer] Separate buffer profile for Arista-7260CX3-C64

    50G data is not accurate, needs further update.
    
    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    8b9f1fb View commit details
    Browse the repository at this point in the history
  8. [Buffer] Separate buffer profile for Arista-7260CX3-D108C8

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    a62af01 View commit details
    Browse the repository at this point in the history
  9. [Buffer] Separate buffer profile for Arista-7260CX3-Q64

    Signed-off-by: Kevin Wang <shengkaiwang@microsoft.com>
    kevinskwang authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    7566032 View commit details
    Browse the repository at this point in the history
  10. [Arista] [201811] Add Arista-7260CX3-D96C16 HWSKU (sonic-net#10034)

    Why I did it
    This was an ask by Microsoft to provide:
    7260 config.bcm file for hardware sku Arista-7260CX3-D92C16 (Named Arista-7260CX3-D96C16).
    
    There are 16 100G uplinks:
    Ethernet13-20/1
    Ethernet45-52/1
    
    All other ports are breakout to 2 50G ports.
    
    How I did it
    Copied existing Arista-7260CX3-D108C8 HWSKU and altered the bcm.config and port_config.ini files.
    
    How to verify it
    The new 100G ports do come up with a 201811 image using this HWSKU.
    
    Co-authored-by: Zhi Yuan (Carl) Zhao <zyzhao@arista.com>
    2 people authored and yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    a0265de View commit details
    Browse the repository at this point in the history
  11. [7060] fix default port map

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    43b2f15 View commit details
    Browse the repository at this point in the history
  12. [Buffer] Separate buffer profile for Arista-7060CX-32S-Q24C8

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    cd991bb View commit details
    Browse the repository at this point in the history
  13. [ci/build]: Upgrade SONiC package versions (sonic-net#11425)

    Upgrade SONiC Versions
    mssonicbld committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    63a3631 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. [Build] Add the missing debian security mirrors in slave images (soni…

    …c-net#11305) (sonic-net#11314)
    
    Why I did it
    Cherry-pick from sonic-net#11305
    
    The build below was broken, it was caused by one of the required debian mirror missing.
    https://dev.azure.com/mssonic/build/_build/results?buildId=116719&view=logs&j=88ce9a53-729c-5fa9-7b6e-3d98f2488e3f&t=88f376cf-c35d-5783-0a48-9ad83a873284
    
     libpci-dev : Depends: libudev-dev (>= 196) but it is not going to be installed
     libsystemd-dev : Depends: libsystemd0 (= 232-25+deb9u14) but 232-25+deb9u13 is to be installed
    How I did it
    Add the missing mirrors for buster and stretch.
    xumia committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    d3ae762 View commit details
    Browse the repository at this point in the history
  2. [ci] Enable reproducible build in PR checks. (sonic-net#11411)

    * [ci] Enable reproducible build in PR checks.
    liushilongbuaa committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    80ae988 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. [device]: Add SAI checksum verify to TD3 config (sonic-net#8857)

    * [device]: Add SAI checksum verify to TD3 config
    * A new config option was added to control the value of IPV4_INCR_CHECKSUM_ORIGINAL_VALUE_VERIFY in the EGR_FLEX_CONFIG control register (this prevents checksums of 0xffff from being propagated to other devices)
    theasianpianist authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    6696873 View commit details
    Browse the repository at this point in the history
  2. [teamd] Stop teamd after stopping swss in fast-reboot (sonic-net#11210)

    - Why I did it
    To optimize fast-reboot. Teamd can be stopped after bgp is stopped and after swss is stopped because the last LACP packet can be sent still since syncd is still running. Saves 15 sec on shutdown.
    
    - How I did it
    Defined in the manifest for teamd to be stopped after swss
    
    - How to verify it
    Run it on the switch.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    3607686 View commit details
    Browse the repository at this point in the history
  3. [caclmgrd]: Add infrastructure to support adding feature specific acls (

    sonic-net#11367)
    
    Why I did it
    Add infrastructure to support adding feature specific acls.
    If feature specific ACLs has to be added:
    
    if feature_name in self.feature_present and self.feature_present.get('feature_name'):
        add_feature_specific_acls()
    How I did it
    Add function to get features present in feature table.
    
    How to verify it
    unit-test passes.
    SuvarnaMeenakshi authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    40b47e9 View commit details
    Browse the repository at this point in the history
  4. [Build] Cleanup the version deb preference file after build (sonic-ne…

    …t#11414)
    
    Why I did it
    Cleanup the version deb preference file after build.
    The version file is no use after build.
    
    How I did it
    Remove the no use version file.
    xumia authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    3f0c82c View commit details
    Browse the repository at this point in the history
  5. Minigraph parser changes to select mmu profiles based on SonicQosProf…

    …ile attribute (sonic-net#11429)
    
    Signed-off-by: Neetha John <nejo@microsoft.com>
    
    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
    neethajohn authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    aa63d31 View commit details
    Browse the repository at this point in the history
  6. Add flag to control the generation of PORT_QOS_MAP|global entry (so…

    …nic-net#11448)
    
    Why I did it
    This PR is to add a flag to control whether to generate PORT_QOS_MAP|global entry or not.
    It's because for some HWSKU, such as BackEndToRRouter and BackEndLeafRouter, there is no DSCP_TO_TC_MAP defined.
    Hence, if the PORT_QOS_MAP|global entry is generated, OA will report some error because the DSCP_TO_TC_MAP map AZURE can not be found.
    
    Jul 14 00:24:40.286767 str2-7050qx-32s-acs-03 ERR swss#orchagent: :- saiObjectTypeQuery: invalid object id oid:0x7fddb43605d0
    Jul 14 00:24:40.286767 str2-7050qx-32s-acs-03 ERR swss#orchagent: :- meta_generic_validation_objlist: SAI_SWITCH_ATTR_QOS_DSCP_TO_TC_MAP:SAI_ATTR_VALUE_TYPE_OBJECT_ID object on list [0] oid 0x7fddb43605d0 is not valid, returned null object id
    Jul 14 00:24:40.286767 str2-7050qx-32s-acs-03 ERR swss#orchagent: :- applyDscpToTcMapToSwitch: Failed to apply DSCP_TO_TC QoS map to switch rv:-5
    Jul 14 00:24:40.286767 str2-7050qx-32s-acs-03 ERR swss#orchagent: :- doTask: Failed to process QOS task, drop it
    This PR is to address the issue.
    
    How I did it
    Add a flag require_global_dscp_to_tc_map to control whether to generate the PORT_QOS_MAP|global entry. The default value for require_global_dscp_to_tc_map is true. If the device type is storage backend, the value is changed to false. Then the PORT_QOS_MAP|global entry is not generated.
    
    How to verify it
    Update the current test_qos_dscp_remapping_render_template to cover storage backend.
    bingwang-ms authored and yxieca committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    f7cc66a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. [202205][swss][sairedis] advance submodule head (sonic-net#11463)

    swss:
    * 7841930 2022-07-15 | [vxlan]Fixing L2MC vlan member caching issue (sonic-net#2378) (HEAD -> 202205) [Sudharsan Dhamal Gopalarathnam]
    * b8cd435 2022-07-14 | [muxorch] Always use direct link for SoC IPs (sonic-net#2369) [Longxiang Lyu]
    * 6158d5c 2022-07-08 | Add BGP profile to Vnet routes (sonic-net#2337) [Prince Sunny]
    * bdb7ffd 2022-07-06 | [teammgr]: Waiting MACsec ready before doLagMemberTask (sonic-net#2286) [Ze Gan]
    
    sairedis:
    * 58359d4 2022-06-30 | [sairedis] Perform log rotate on request (sonic-net#1058) (HEAD -> 202205, github/202205) [Kamil Cudnik]
    * cad0268 2022-07-13 | Enable cisco debug shell by default (sonic-net#1078) [VenkatCisco]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    10cafd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. [202205][platform-daemon] move submodule head (sonic-net#11475)

    platform-daemon:
    * 17f886d 2022-07-18 | [ycabled] remove some redundant logging for active-active cable type (sonic-net#274) (HEAD -> 202205, github/202205) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    3e9c1d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. [caclmgrd][dualtor] add iptables rule for dualtor gRPC to allow packe…

    …ts getting forwarded from loopback IP (sonic-net#11458)
    
    This PR is a required for changing the L3 IP forwarding Behavior to SoC in active-active toplogy. Basically, for getting a packet to be forwarded to the SoC IP in active-active topology, the requirement is to use the the LoopBack 3 IP inside SONiC device as the SRC IP. This is required because in active-active topology by default if the ToR wants to send packet to the SoC, it would pick the Vlan IP since that's the IP in the subnet, but since there are firewalls inside the SoC , the IP packets with Vlan IP as src IP in the IP header will be dropped. Hence to overcome this limitation, there is an iptable nat rule that is installed inside the kernel, with which all the packets which have SoC IP as destination IP, use Loopnack 3 IP as src in IP header
    
    How I did it
    check the config DB if the ToR is a DualToR and has an SoC IP assigned.
    put an iptable rule
    iptables -t nat -A POSTROUTING --destination -j SNAT --to-source "
    Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
    vdahiya12 committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    3829faf View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. [minigraph] allow LibraPeeringLink to be dualtor indication as well (s…

    …onic-net#11492)
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    aee9742 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. [bcm sai]upgrade Broadcom SAI to 7.1.0.0-6 (sonic-net#11410)

    - Default Not to report Single bit ECC correctable events to avoid the need to set SOC porperties.
    
    Signed-off-by: zitingguo <zitingguo@microsoft.com>
    Gfrom2016 authored and yxieca committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e13df58 View commit details
    Browse the repository at this point in the history
  2. Update 7260 MMU and ECN settings (sonic-net#11449)

    Signed-off-by: Neetha John <nejo@microsoft.com>
    
    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
    Updated unit tests to use the modified values for 7260 ecn settings.
    neethajohn authored and yxieca committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    f92e3e8 View commit details
    Browse the repository at this point in the history
  3. [Arista] Update platform library (sonic-net#10922)

    - Implement Pcie plugin for chassis
    - Implement set_admin_status for chassis modules
    - Fix phy declaration for phy-credo
    Staphylo authored and yxieca committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    8ae03c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. [202205][sairedis][platform-daemon][linkmgrd][utilities][swss-common]…

    … advance submodule head (sonic-net#11518)
    
    sairedis:
    * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik]
    
    platform-daemon:
    * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity  (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12]
    
    linkmgrd:
    * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (#96) (HEAD -> 202205) [Jing Zhang]
    * bbae81d 2022-07-18 | Add support for reconciliation after warm restart  (#76) [Jing Zhang]
    
    utilities:
    * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit]
    * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms]
    * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie]
    * a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy]
    
    swss-common:
    * 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    f96f0e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. [ci] Transfer organization from Azure to sonic-net for sonic-mgmt (so…

    …nic-net#11559) (sonic-net#11560)
    
    Why I did it
    Transfer organization from Azure to sonic-net for sonic-mgmt
    liushilongbuaa committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    71f47ed View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Enhance Platform API to support SN2201 - RJ45 ports and ne…

    …w components mgmt. (sonic-net#10377)
    
    * Support new platform SN2201 and RJ45 port
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    
    * remove unused import and redundant function
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    
    * fix error introduced by rebase
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    
    * Revert the special handling of RJ45 ports (#56)
    
    * Revert the special handling of RJ45 ports
    
    sfp.py
    sfp_event.py
    chassis.py
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Remove deadcode
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Support CPLD update for SN2201
    
    A new class is introduced, deriving from ComponentCPLD and overloading _install_firmware
    Change _install_firmware from private (starting with __) to protected, making it overloadable
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Initialize component BIOS/CPLD
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Remove swb_amb which doesn't on DVT board any more
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Remove the unexisted sensor - switch board ambient - from platform.json
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Do not report error on receiving unknown status on RJ45 ports
    
    Translate it to disconnect for RJ45 ports
    Report error for xSFP ports
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    * Add reinit for RJ45 to avoid exception
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    
    Co-authored-by: Stephen Sun <5379172+stephenxs@users.noreply.github.com>
    Co-authored-by: Stephen Sun <stephens@nvidia.com>
    3 people authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    2f59460 View commit details
    Browse the repository at this point in the history
  3. Skip CMIS manager (sonic-net#10907)

    * Removed unwanted changes
    
    * Fix j2 compilation error
    
    * Address review comment
    
    * Add newline
    prgeor authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    60c0019 View commit details
    Browse the repository at this point in the history
  4. add flag skip_xcvrd_cmis_mgr to skip cmis task on Nvidia platform (so…

    …nic-net#11120)
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    keboliu authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    67e46e1 View commit details
    Browse the repository at this point in the history
  5. Add gbsyncd container for broncos (sonic-net#11154)

    * Add docker-gbsyncd-broncos support
    * Address review comments
    * Add socket to gbsyncd
    * Upgrade gbsyncd-broncos to bullseye
    andywongarista authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    f377636 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4abfd37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fc93871 View commit details
    Browse the repository at this point in the history
  8. [Mellanox] Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scen…

    …ario (sonic-net#11261)
    
    - Why I did it
    Support Mellanox-SN4600C-C64 as T1 switch in dual-ToR scenario
    This is to port sonic-net#11032 and sonic-net#11299 from 202012 to master.
    
    Support additional queue and PG in buffer templates, including both traditional and dynamic model
    Support mapping DSCP 2/6 to lossless traffic in the QoS template.
    Add macros to generate additional lossless PG in the dynamic model
    Adjust the order in which the generic/dedicated (with additional lossless queues) macros are checked and called to generate buffer tables in common template buffers_config.j2
    Buffer tables are rendered via using macros.
    Both generic and dedicated macros are defined on our platform. Currently, the generic one is called as long as it is defined, which causes the generic one always being called on our platform. To avoid it, the dedicated macrio is checked and called first and then the generic ones.
    Support MAP_PFC_PRIORITY_TO_PRIORITY_GROUP on ports with additional lossless queues.
    On Mellanox-SN4600C-C64, buffer configuration for t1 is calculated as:
    
    40 * 100G downlink ports with 4 lossless PGs/queues, 1 lossy PG, and 3 lossy queues
    16 * 100G uplink ports with 2 lossless PGs/queues, 1 lossy PG, and 5 lossy queues
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    stephenxs authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    b4d8ee3 View commit details
    Browse the repository at this point in the history
  9. [macsec] cli multi-namespace support (sonic-net#11285)

    Enable multi-asic platform support for macsec cli
    jimmyzhai authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    eafaf08 View commit details
    Browse the repository at this point in the history
  10. [Mellanox] Support new platform API get_port_or_cage_type for RJ45 po…

    …rts (sonic-net#11336)
    
    - Why I did it
    Support get_port_or_cage_type for RJ45 ports
    
    - How I did it
    Implement the new platform API get_port_or_cage_type
    Fix the issue: unable to import SFP when chassis object is destructed
    
    - How to verify it
    Manually test and regression test
    
    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    stephenxs authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    94df2c4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f569636 View commit details
    Browse the repository at this point in the history
  12. [Nokia][IXR7250E] Add Nokia platform Nokia-IXR7250E-36x100GE 100G lin…

    …e card device dat (sonic-net#11382)
    
    Signed-off-by: mlok <marty.lok@nokia.com>
    mlok-nokia authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    948c932 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0c7f0aa View commit details
    Browse the repository at this point in the history
  14. [build] don't require passwordless sudo sonic-net#11417

    Why I did it
    Not all build environments have passwordless sudo enabled for all users
    
    How I did it
    Instead of using sudo to delete fsroot directories, mount them in a small, temporary docker container and delete them from there
    
    How to verify it
    Build in an environment where the build user does not have passwordless sudo enabled and confirm that no sudo password prompts are seen
    jusherma authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    e00cd53 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4bc1192 View commit details
    Browse the repository at this point in the history
  16. Added Support for deployment_id parsing for Device Asic metadata (son…

    …ic-net#11454)
    
    What I did:
    Added Support for deployment_id parsing for Device Asic metadata.
    
    Why I did:-
    Deployment Id is used in BGP docker for FRR template generation. For multi-asic platforms running in namespace without deployment id as key in DEVICE_METADATA FRR template generation fails. This change is needed after this sonic-net#10154 where if deployment_id is none we don't update DEVICE_METADA dictionary.
    
    How I verify:-
    Added unit-test.
    abdosi authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    1d32553 View commit details
    Browse the repository at this point in the history
  17. Fix chassis test issue (sonic-net#11460)

    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    stephenxs authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    e317af0 View commit details
    Browse the repository at this point in the history
  18. Enable ARP Update Script for Packet based chassis. (sonic-net#11465)

    What I did:
    
        Following changes done for packet based chassis:-
        1> Run arp_update on LC's to resolve static route nexthops over backend
        port-channel interfaces.
        2> On Supervisor make sure arp_update exit gracefully
    abdosi authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    eb56dc8 View commit details
    Browse the repository at this point in the history
  19. [iproute2]: Enhance iproute2 to update PN for XPN (sonic-net#11474)

    Why I did it
    ip command cannot update packet number if the cipher is XPN.
    
    How I did it
    Specify SSCI when update packet number and ignore SSCI value if update action.
    
    Signed-off-by: Ze Gan <ganze718@gmail.com>
    Pterosaur authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    7a502a2 View commit details
    Browse the repository at this point in the history
  20. [memory_checker] Do not check memory usage of containers if docker da…

    …emon is not running (sonic-net#11476)
    
    Fix in Monit memory_checker plugin. Skip fetching running containers if docker engine is down (can happen in deinit).
    This PR fixes issue sonic-net#11472.
    
    Signed-off-by: liora liora@nvidia.com
    
    Why I did it
    In the case where Monit runs during deinit flow, memory_checker plugin is fetching the running containers without checking if Docker service is still running. I added this check.
    
    How I did it
    Use systemctl is-active to check if Docker engine is still running.
    
    How to verify it
    Use systemctl to stop docker engine and reload Monit, no errors in log and relevant print appears in log.
    
    Which release branch to backport (provide reason below if selected)
    The fix is required in 202205 and 202012 since the PR that introduced the issue was cherry picked to those branches (sonic-net#11129).
    liorghub authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    ff3ad9d View commit details
    Browse the repository at this point in the history
  21. Automatically enable tunnel_qos_remap on T1 and T0 in DualToR deploym…

    …ent (sonic-net#11508)
    
    Why I did it
    This PR is to backport PR sonic-net#11056 and PR sonic-net#11045 into master branch.
    This PR is to enable tunnel_qos_remap on T1 and T0 in DualToR deployment.
    On T1, we check the property DownstreamRedundancyTypes. On T0, we check the property RedundancyType.
    tunnel_qos_remap is set to enabled if gemini is in DownstreamRedundancyTypes (on T1) or RedundancyType (on T0).
    
    How I did it
    The change is implemented in minigraph.py.
    
    How to verify it
    Verified by test_minigraph_case.py and 'test_j2files.py`.
    bingwang-ms authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    5a313e6 View commit details
    Browse the repository at this point in the history
  22. [hlx/sfp] fix hlx platform sfp+ tx disable issue (sonic-net#11532)

    Why I did it:
    To fix hlx platform sfp+ module tx disable issue
    
    How I did it:
    Fix sfp+ tx disable function according SFF-8472 specification
    
    Co-authored-by: Eric Zhu <erzhu@celestica.com>
    2 people authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    400b401 View commit details
    Browse the repository at this point in the history
  23. [ci] Fix some not sai package removed issue (sonic-net#11544)

    Only replace the file name starts with "cisco-".
    xumia authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    b41d516 View commit details
    Browse the repository at this point in the history
  24. Update WARM START FINALIZER to wait for linkmgrd to reconcile (sonic-…

    …net#11477)
    
    Spanning from sonic-net/sonic-linkmgrd#76, this PR is to update warm restart finalizer to wait for linkmgrd to be reconciled.
    
    sign-off: Jing Zhang zhangjing@microsoft.com
    
    Why I did it
    To make sure finalizer save config after linkmgrd's reconciliation.
    
    How I did it
    Add linkmgrd to the reconciliation wait list of warmboot finalizer.
    
    How to verify it
    Verified on lab device, linkmgrd reconciled as expected.
    zjswhhh authored and yxieca committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    a71d5db View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. [Mellanox] Fix issue: failed to decode Json while there is no hwsku.j…

    …son (sonic-net#11436)
    
    - Why I did it
    Fix bug: pmon report error on start up because some SKUs do not have hwsku.json
    
    - How I did it
    If hwsku.json, do not extract RJ45 port information
    
    - How to verify it
    Manual test.
    Unit test.
    Junchao-Mellanox authored and yxieca committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    b7e3db4 View commit details
    Browse the repository at this point in the history
  2. [202205][linkmgrd][utilities][swss][sairedis][platform-daemon][platfo…

    …rm-common] advance submodule head (sonic-net#11578)
    
    linkmgrd:
    * e0fe1d4 2022-07-27 | TSA enhancement (#98) (HEAD -> 202205) [Jing Zhang]
    
    utilities:
    * 7d7e15e 2022-07-18 | [vnet_route_check] Align DB data parse logic with format used by swsscommon API (sonic-net#2268) (HEAD -> 202205) [Volodymyr Samotiy]
    * b3d5d18 2022-07-20 | [MultiAsic] sudo reboot command doesn't gracefully stop Asic syncd# on multiasic platform (sonic-net#2258) [Marty Y. Lok]
    * 504ebe6 2022-07-08 | Add 'traffic_shift_away' option to config load_minigraph (sonic-net#2240) [tjchadaga]
    * 4079e4a 2022-06-20 | Gives cisco-8000 more flexibility to easily add subcommnads under show platform (sonic-net#2213) [Nathan Cohen]
    * 46443c6 2022-07-27 | Update db_migrator to support `PORT_QOS_MAP|global` (sonic-net#2205) [bingwang-ms]
    * d7fbdd6 2022-05-26 | fix for non-coherent cmis modules (sonic-net#2163) [qinchuanares]
    * 79b4439 2022-06-24 | [sfpshow/sfputil] Enhance sfpshow and sfputil to behavior correctly on RJ45 ports (sonic-net#2111) [Kebo Liu]
    
    swss:
    * 275f311 2022-07-26 | [DualToR] Handle race condition between tunnel_decap and mux orchestrator (sonic-net#2397) (HEAD -> 202205) [Devesh Pathak]
    * 47586e8 2022-07-22 | [EVPN]Fix missing Vlan member update notification in P2MP scenario (sonic-net#2388) [Sudharsan Dhamal Gopalarathnam]
    * 7d5c73f 2022-07-19 | [macsecmgr]: Fix cleanup macsec objs if container stop (sonic-net#2376) [Ze Gan]
    * c03996f 2022-07-17 | [orchagent]: Enhance initSaiPhyApi (sonic-net#2367) [andywongarista]
    * 57890d7 2022-07-27 | Fix for remote system interface not getting created (sonic-net#2364) [skeesara-nokia]
    * 1a93ec9 2022-07-13 | Orchagent changes for synchronizing npu/phy device Tx in the data path before enabling transceiver<CMIS compliant> Tx. (sonic-net#2277) [jaganbal-a]
    
    sairedis:
    * a4903be 2022-07-20 | Update PN with XPN support (sonic-net#1081) (HEAD -> 202205, github/202205) [Ze Gan]
    * 2cb5671 2022-07-27 | Add SAI_OBJECT_TYPE_TUNNEL object to break-before-make list (sonic-net#1075) [Vaibhav Hemant Dixit]
    
    platform-daemon:
    * 901c6a1 2022-06-28 | [CMIS]Improved 400G link bring up sequence (sonic-net#254) (HEAD -> 202205) [Prince George]
    
    platform-common:
    * f223b3f 2022-07-09 | Support get_port_or_cage_type (sonic-net#288) (HEAD -> 202205) [Stephen Sun]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    b1456ee View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    f2d7481 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. [ci] Update azp reference to support transfering organization from Az…

    …ure to sonic-net (sonic-net#11602)
    
    Why I did it
    When transfer repo to another organization, azp reference also need change.
    Change azp reference to avoid pipeline failure.
    liushilongbuaa committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6771f44 View commit details
    Browse the repository at this point in the history
  2. [DellEMC] S6100 Platform Service optimization porting in 202205 (soni…

    …c-net#11329)
    
    To reduce rc.local script execution time. Porting changes from [DellEMC] S6100 Platform Service optimization sonic-net#10989
    Changes:
    Moving platform-modules-s6100.service and s6100-lpc-monitor.service asynchronous to rc.local script.
    santhosh-kt committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    79e014e View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. [ci/build]: Upgrade SONiC package versions (sonic-net#11438)

    Upgrade SONiC Versions
    mssonicbld committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    f30e853 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. [Arista] Update configurations for 7800R3A-36D2 (sonic-net#10987)

    Why I did it
    This linecard runs in multi-asic mode and therefore needs the use_pcie_id_chassis file to work properly.
    The default_sku file was also missing which would break the boot when no minigraph is provided.
    
    Description for the changelog
    Add missing default_sku and use_pci_id_chassis configs for 7800R3A-36D2
    Staphylo authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    cf28274 View commit details
    Browse the repository at this point in the history
  2. Update swsssdk submodule (sonic-net#10996)

    Updating sonic-utilities sub module with the following commits
    
    ca785a2 Remove sonic-db-cli
    
    #### Why I did it
    To fix sonic-db-cli high CPU usage on SONiC startup issue: sonic-net#10218
    sonic-db-cli re-write with c++ and move to sonic-swss-common repo.
    
    #### How I did it
    
    #### How to verify it
    
    #### Which release branch to backport (provide reason below if selected)
    
    #### Description for the changelog
    ca785a2 Remove sonic-db-cli
    
    #### A picture of a cute animal (not mandatory but encouraged)
    
    
    Co-authored-by: liuh-80 <azureuser@liuh-dev-vm-02.5fg3zjdzj2xezlx1yazx5oxkzd.hx.internal.cloudapp.net>
    2 people authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    f6ed142 View commit details
    Browse the repository at this point in the history
  3. [swss] Adding bgp container as dependent of swss (sonic-net#11000)

    What I did:
    Added bgp as a dependent of swss
    
    Why I did it:
    bgp container was not restarting on swss crash. When swss crashes, linkmgrd
    doesn't initate a switchover because it cannot access the default route from
    orchagent. Bringing down bgp with swss will isolate the ToR, causing linkmgrd
    to initiate a switchover to the peer ToR avoiding significant packet loss.
    
    How I did it:
    Added bgp to DEPENDENT
    
    Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
    Ndancejic authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    32fb4c7 View commit details
    Browse the repository at this point in the history
  4. [Arista] Enable larger number of LAGs on 7800 LCs (sonic-net#11070)

    For 7800 LCs, set LAG mode to support 1024 number of 16-member system
    LAGs.
    
    Why I did it
    The SOC property changes are necessary to match sonic-net#10519 which increases the number of system LAG IDs to 1024.
    
    Description for the changelog
    For 7800 LCs, set LAG mode to support 1024 number of 16-member system
    LAGs.
    kenneth-arista authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    2280f38 View commit details
    Browse the repository at this point in the history
  5. [bgpcfgd] improve the log when delete a loopback interface (sonic-net…

    …#11152)
    
    Why I did it
    The bgpcfgd doesn't support deletion of 'zebra set src', if an interface is deleted, the bgpcfgd will drop a warning message. In current implementation, we only care about the loopback0 interface but not others.
    To improve the log print to have the key info, which will give the name of the deleted interface. We can ignore it if it is not the loopback0 interface. The application layer should be aware of that update and deletion is not supported, delete or update with a new address of loopback0 could cause issue, this log can give enough info to root cause the issue.
    
    How I did it
    How to verify it
    StormLiangMS authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    0b4e8f7 View commit details
    Browse the repository at this point in the history
  6. [swss.sh] clear counters cache folder on swss cold/fast reload (sonic…

    …-net#11244)
    
    A change in sonic-utilities makes all cache files be saved into a
    /tmp/cache. On swss restart this cache has to be removed in case swss
    starts in cold or fast mode. A related cache restoration in the warmboot
    finalizer script is also updated to use new location.
    
    - Why I did it
    To fix sonic-net#9817. Clear the cache directory on swss.sh except for warm start.
    Also, adopted finalize-warmboot script to take the cache directory.
    
    - How I did it
    A change in sonic-utilities makes all cache files be saved into a /tmp/cache. On swss restart this cache has to be removed in case swss starts in cold or fast mode. A related cache restoration in the warmboot finalizer script is also updated to use new location.
    
    - How to verify it
    Run togather with sonic-net/sonic-utilities#2232. Verify counters cache is removed on config reload, cold/fast reboots, swss restart.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    29d29b9 View commit details
    Browse the repository at this point in the history
  7. Upgrade sonic fips packages to version 0.2 (sonic-net#11461)

    Why I did it
    Upgrade sonic fips packages to version 0.2
    Upgrade openssl version from 1.1.1k-1+deb11u1+fips to 1.1.1n-0+deb11u3+fips
    Upgrade openssh version from 8.4p1-5+fips to 8.4p1-5+deb11u1+fips
    
    How I did it
    Change the makefile.
    xumia authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    d2d2caa View commit details
    Browse the repository at this point in the history
  8. [teamd]: Upgrade teamd docker to Bullseye (sonic-net#11536)

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    324ae3d View commit details
    Browse the repository at this point in the history
  9. [submodule]: Update sonic-wpa-supplicant (sonic-net#11539)

    ```
    88d1eaea9 [mka]: Fix rekey of PN based cannot triggered in XPN cipher (#57)
    ```
    
    Signed-off-by: Ze Gan <ganze718@gmail.com>
    Pterosaur authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    7dcd1f2 View commit details
    Browse the repository at this point in the history
  10. Add ping package to pmon docker (sonic-net#11550)

    ping command is not working inside PMON docker (bullseye)
    Use case: chassisd checks for module reachability inside PMON for "show chassis modules midplane-status" CLI, and on Cisco chassis, this uses ping command to check network reachability
    amulyan7 authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    34a20c4 View commit details
    Browse the repository at this point in the history
  11. [Mellanox] add more log while doing sysfs reading (sonic-net#11556)

    - Why I did it
    Add more log while doing sysfs reading to increase the debug capability
    
    - How I did it
    Log the relevant file path and error number while sysfs reading return None
    
    - How to verify it
    Manual test
    Junchao-Mellanox authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    bc300b4 View commit details
    Browse the repository at this point in the history
  12. Support different DSCP_TO_TC_MAP for T1 in dualtor deployment (soni…

    …c-net#11569)
    
    * Support different DSCP_TO_TC_MAP for T1 in dualtor deployment
    bingwang-ms authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    fda1290 View commit details
    Browse the repository at this point in the history
  13. Support queue 7 in dual ToR scenario (sonic-net#11571)

    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    stephenxs authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    8a12a4b View commit details
    Browse the repository at this point in the history
  14. [vs]Preventing ebtables cfg to be applied on vs (sonic-net#11585)

    *Preventing ebtables rules to be applied on KVM image. The ebtables rules in SONiC are added to prevent ARP as well as L2 forwarding to be blocked in linux kernel since the hardware will take care of the actual L2 forward. However this is not the case with KVM where linux needs to forward even L2 packets
    dgsudharsan authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    871a1c5 View commit details
    Browse the repository at this point in the history
  15. Fix CVE-2017-1000487 alert for thrift 0.14.1 (sonic-net#11634)

    Why I did it
    Fix CVE-2017-1000487 alert in thrift 0.14.1.
    See https://nvd.nist.gov/vuln/detail/CVE-2017-1000487
    
    How I did it
    Change the version of org.codehaus.plexus:plexus-utils from 3.0.14 to 3.0.16.
    xumia authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    9fd05ce View commit details
    Browse the repository at this point in the history
  16. [submodule]: Update sonic-wpa-supplicant (sonic-net#11636)

    24f505148 [eloop.c]: Increase timeout of signal termination (#62)
    2b2c1ad72 [driver_macsec_sonic.c]: Fixbug: a wrong db_wait in delete sa (#61)
    
    Signed-off-by: Ze Gan <ganze718@gmail.com>
    Pterosaur authored and yxieca committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    f16e7ad View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Change dhcp6relay to be a submodule, and rename it to dhcprelay (soni…

    …c-net#10711)
    
    Why I did it
    src/dhcprelay is being split out to be its own submodule.
    
    How I did it
    Add existing dhcprelay commits into the new repo.
    Clean up Makefile (sonic-net/sonic-dhcp-relay@772625f)
    Add LGTM config (sonic-net/sonic-dhcp-relay@5cc0889)
    Add Azure pipeline config (sonic-net/sonic-dhcp-relay@c79cdb7)
    Add submodule reference, renaming most references of dhcp6relay to dhcprelay (to reflect that this will not just be for IPv6 in the future).
    How to verify it
    Successful run of LGTM is tested at sonic-net/sonic-dhcp-relay#4. Failure run of LGTM is tested at sonic-net/sonic-dhcp-relay#3.
    
    Azure pipeline is run for each commit/PR, and will build for amd64, armhf, and arm64. UT/code coverage check is not yet done.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    d1f72a4 View commit details
    Browse the repository at this point in the history
  2. [write_standby] update write_standby.py script (sonic-net#11650)

    Why I did it
    The initial value has to be present for the state machines to work. In active-standby dual-tor scenario, or any hardware mux scenario, the value will be updtaed eventually with a delay.
    
    However, in active-active dual-tor scenario, there is no other mechanism to initialize the value and get state machines started.
    So this script will have to write something at start up time.
    
    For active-active dualtor, 'active' is a more preferred initial value, the state machine will switch the state to standby soon if
    link prober found link not in good state.
    
    How I did it
    Update the script to always provide initial values.
    
    How to verify it
    Tested on active-active dual-tor testbed.
    
    Signed-off-by: Ying Xie ying.xie@microsoft.com
    yxieca committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    094745f View commit details
    Browse the repository at this point in the history
  3. Revert "Update swsssdk submodule (sonic-net#10996)"

    This reverts commit f6ed142.
    yxieca committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5970a06 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Extend t1-lag timeout to 360 (sonic-net#11478)

    Signed-off-by: Stephen Sun <stephens@nvidia.com>
    stephenxs authored and yxieca committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    6391b0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b389931 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. [202205][linkmgrd][utilities][swss][swss-common][sairedis][platform-d…

    …aemon] advance submodule head (sonic-net#11652)
    
    linkmgrd:
    * 17240f1 2022-08-02 | [active-active] Update unhealthy label definition (#102) (HEAD -> 202205, github/202205) [Jing Zhang]
    * 99a7b4b 2022-07-28 | Update the definition of healthy label (#99) [Jing Zhang]
    * 551144b 2022-08-08 | [Active-Standby]Remove unnecessary `handleMuxWaitTimeout` logs (#100) [Jing Zhang]
    
    utilities:
    * 8cbbe4f 2022-08-08 | [crm] add checking for CRM interval range (sonic-net#2293) (HEAD -> 202205, github/202205) [Andriy Yurkiv]
    * 7dac7a7 2022-08-03 | Fix version in db_migrator  for `PORT_QOS_MAP|global` (sonic-net#2289) [bingwang-ms]
    * e14f0c9 2022-08-03 | Add override testcase to verify removal (sonic-net#2288) [jingwenxie]
    * 61ea21d 2022-07-29 | [watermarkstat] Fix CLI script for unconfigured PG counters (sonic-net#2239) [Nazarii Hnydyn]
    * e206e2d 2022-05-19 | [portconfig] Allow to configure interface mtu for physical ports only [Sudharsan Dhamal Gopalarathnam]
    * 9751479 2022-08-01 | Transfer organization from Azure to sonic-net (sonic-net#2285) [Liu Shilong]
    * 218b175 2022-07-29 | [202205][counters] Keep counters cache in a single directory (sonic-net#2280) [Stepan Blyshchak]
    
    swss:
    * d772a70 2022-08-09 | [muxorch] return true if the nbr IP is in the skip_neighbors list (sonic-net#2407) (HEAD -> 202205) [Nikola Dancejic]
    * a3ac275 2022-08-08 | [EVPN]Modified tunnel creation logic when creating tunnel in VRF-VNI map creation flow (sonic-net#2404) (HEAD -> 202205) [Sudharsan Dhamal Gopalarathnam]
    * 67c1376 2022-08-09 | [QoS] Fix issue: the WRED profile can not be set if current min > new max or current max < new min (sonic-net#2379) [Stephen Sun]
    * 0295a35 2022-07-21 | [Buffer Orch] Support removing buffer port profile list (sonic-net#2371) [Stephen Sun]
    * 450e9ec 2022-07-07 | Fix: missing sonic-db-cli in docker-sonic-vs image (sonic-net#2357) [Qi Luo]
    * c1c1147 2022-06-02 | Purge package sonic-db-cli which depends on libswsscommon (sonic-net#2308) [Qi Luo]
    
    swss-common:
    * 749cd6f 2022-07-21 | Fix PING database command not backward compatible with python version issue. (sonic-net#650) (HEAD -> 202205) [Hua Liu]
    * 4fa7484 2022-06-27 | Fix: missing sonic-db-cli in docker-sonic-vs image (sonic-net#640) [Qi Luo]
    * 4d0dc7a 2022-06-23 | [sonic-cli] Fix sonic-db-cli output format not backward compatible with python version issue. (sonic-net#631) [Hua Liu]
    * c5573fe 2022-06-03 | Purge package sonic-db-cli which depends on libswsscommon (sonic-net#628) [Qi Luo]
    * 0ade483 2022-08-02 | Add docker-mux related table names  (sonic-net#627) [Jing Zhang]
    * 675d793 2022-05-26 | Re-write sonic-db-cli with c++ for sonic startup performance issue (sonic-net#607) [Hua Liu]
    * 1155773 2022-08-01 | Transfer organization from Azure to sonic-net (sonic-net#661) (github/202205) [Liu Shilong]
    
    sairedis:
    * c62a453 2022-06-03 | Purge package sonic-db-cli which depends on libswsscommon (sonic-net#1057) (HEAD -> 202205) [Qi Luo]
    * 8be9292 2022-07-20 | [syncd] Remove error message when tryTranslateVidToRid fails (sonic-net#1048) [Kamil Cudnik]
    * eb552ee 2022-08-01 | Transfer organization from Azure to sonic-net (sonic-net#1099) (github/202205) [Liu Shilong]
    
    platform-daemon:
    * d150229 2022-08-11 | Correct the peer forwarding state table (sonic-net#281) (HEAD -> 202205) [Longxiang Lyu]
    * 9507e6c 2022-08-10 | [ycabled] remove some spurious logs (sonic-net#282) (HEAD -> 202205) [vdahiya12]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    e8fe21b View commit details
    Browse the repository at this point in the history
  2. Upgrade broadcom platform containers(syncd/ saiserver/ syncd-rpc/ syn…

    …cd-dnx-rpc) to bullseye (sonic-net#10864)
    sg893052 authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    95bf542 View commit details
    Browse the repository at this point in the history
  3. [Arista][phy-credo]: update deb for speed change and bug fix (sonic-n…

    …et#10990)
    
    Add support for reacting to speed change between 40G and 100G in CONFIG_DB
    Fix a bug on optical bit setting.
    Avoid the random error in shutdown for issue: aristanetworks/sonic#40
    Avoid to run on SmartsvilleBkMs, which depends on a different driver (credo-sai).
    
    How I did it
    How to verify it
    Verified on the duts that the commands printed in the log are matching the expectation and the interfaces are up.
    byu343 authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    b6d16f4 View commit details
    Browse the repository at this point in the history
  4. [Mellanox] Update hw-mgmt package to V.7.0020.3006 (sonic-net#11538)

    - Why I did it
    Update HW-MGMT to V.7.0020.3006
    1. Support new system SN2201
    2. Add COMEX BRDWL respin support
    
    - How I did it
    Update the version number of the makefile
    Advance the hw-mgmt submodule pointer
    
    - How to verify it
    Run full regression on Nvidia platforms
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    keboliu authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    3b749d6 View commit details
    Browse the repository at this point in the history
  5. [Mellanox] [SKU] Mellanox-SN4700-C128 SKU added (sonic-net#11574)

    - Why I did it
    New SKU for MSN-4700 Platform i.e. Mellanox-SN4700-C128
    
    Requirements:
    * Breakout: Port 1-32: 4x100G
    * Downlinks: 120 (1-30)
    * Uplinks: 8 (31-32)
    * Shared Headroom: Enabled
    * Over Subscribe Ratio: 1:8
    * Default Topology: T2
    * Default Cable Length for T2: 1500m
    * QoS params: The default ones defined in qos_config.j2 will be applied
    * Small Packet Percentage: Used 50% for traditional buffer model Note: For dynamic model, the value defined in LOSSLESS_TRAFFIC_PATTERN|AZURE|small_packet_percentage is used
    
    Additional Details:
    Switch Type has to be programmed as SpineRouter through config_db.json in DEVICE_METADATA|localhost|type field for the buffer values & cable lengths defined in the buffers_defaults_t2.j2 to apply on the device
    Cable Lengths Used for generating buffer_defaults_{t0,t1,t2}.j2 values
    
    Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
    vivekrnv authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    adccd64 View commit details
    Browse the repository at this point in the history
  6. [bgp-cfgd] BGP allow list enhancement (sonic-net#11586)

    Why I did it
    2 things are missing in current allow-prefix list implementation.
    
    In some usecase, need to tell the BGP neighbor and have different allow-prefix list for different neighbors, which is not supported.
    for the prefix list, can't support flexible le and ge.
    How I did it
    To enhance the bgp allow-prefix list feature to have:
    
    To include the neighbor type info for the allow-prefix list.
    To support flexible le and ge length for allow-prefix list.
    How to verify it
    4 new unit test cases are added in this PR to cover changes.
    StormLiangMS authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    0cec818 View commit details
    Browse the repository at this point in the history
  7. [swss.sh/syncd.sh] Trap only on EXIT (sonic-net#11590)

    When using trap on SIGTERM the script will not react to the SIGTERM signal sent while a child is executing.
    I.e, the following script does not react on SIGTERM sent to it if it is
    waiting for sleep to finish:
    
    ```
    
    trap "echo Handled SIGTERM" 0 2 3 15
    
    echo "Before sleep"
    sleep inf
    echo "After sleep"
    ```
    
    Instead, trap only on EXIT which covers also a scenario with exit on
    SIGINT, SIGTERM.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    3201dc9 View commit details
    Browse the repository at this point in the history
  8. Update Broadcom SAI to 7.1.0.0-9 (sonic-net#11612)

    This brings in a SAI library that is compiled on Bullseye.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    92ed619 View commit details
    Browse the repository at this point in the history
  9. [arp_update]: Resolve failed neighbors on dualtor (sonic-net#11615)

    In arp_update, check for FAILED or INCOMPLETE kernel neighbor entries and manually ping them to try and resolve the neighbor
    
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    15c80b2 View commit details
    Browse the repository at this point in the history
  10. [swss]: Run tunnel_pkt_handler on dualtor only (sonic-net#11627)

    At SWSS docker init time, check the device subtype and enable tunnel packet handler only if it is dualtor
    
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    964e0ab View commit details
    Browse the repository at this point in the history
  11. Upgrade LLDP docker to Bullseye (sonic-net#11628)

    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    8c88ecb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d1a9052 View commit details
    Browse the repository at this point in the history
  13. PDE migration to bullseye (sonic-net#10836)

    #### Why I did it
    Upgrade docker-pde to bullseye
    
    #### How to verify it
    Check Azp status
    geans-pin authored and yxieca committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    113e105 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. Upgrade gbsyncd container to bullseye (sonic-net#11288)

    Update the base of docker gbsyncd from buster to bullseye
    jimmyzhai authored and yxieca committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    a9f2edd View commit details
    Browse the repository at this point in the history
  2. Fix docker database flush_unused_database failed issue (sonic-net#11600

    …) (sonic-net#11677)
    
    Fix docker-database flush_unused_database failed issue: sonic-net#11597
    When change flush_unused_database from use swsssdk to use swsscommon, get_instancelist() and get_dblist() name changed but not update.
    
    Change flush_unused_database code to use swsscommon API:
    Change get_instancelist to getInstanceList.
    Change get_dblist to getDbList.
    
    Pass all E2E test.
    Manually check syslog make sure error log not exist and swss, syncd, bgp service started.
    Search code in Azure make sure there all similer case are fixed in this PR.
    
    <!--
    - Note we only backport fixes to a release branch, *not* features!
    - Please also provide a reason for the backporting below.
    - e.g.
    - [x] 202006
    -->
    
    - [ ] 201811
    - [ ] 201911
    - [ ] 202006
    - [ ] 202012
    - [ ] 202106
    - [ ] 202111
    - [ ] 202205
    
    Fix docker-database flush_unused_database failed issue: sonic-net#11597
    When change flush_unused_database from use swsssdk to use swsscommon, get_instancelist() and get_dblist() name changed but not update.
    
    <!--
    Provide a link to config_db schema for the table for which YANG model
    is defined
    Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
    -->
    
    Co-authored-by: liuh-80 <azureuser@liuh-dev-vm-02.5fg3zjdzj2xezlx1yazx5oxkzd.hx.internal.cloudapp.net>
    
    <!--
         Please make sure you've read and understood our contributing guidelines:
         https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
    
         ** Make sure all your commits include a signature generated with `git commit -s` **
    
         If this is a bug fix, make sure your description includes "fixes #xxxx", or
         "closes #xxxx" or "resolves #xxxx"
    
         Please provide the following information:
    -->
    
    #### Why I did it
    
    #### How I did it
    
    #### How to verify it
    
    #### Which release branch to backport (provide reason below if selected)
    
    <!--
    - Note we only backport fixes to a release branch, *not* features!
    - Please also provide a reason for the backporting below.
    - e.g.
    - [x] 202006
    -->
    
    - [ ] 201811
    - [ ] 201911
    - [ ] 202006
    - [ ] 202012
    - [ ] 202106
    - [ ] 202111
    - [ ] 202205
    
    #### Description for the changelog
    <!--
    Write a short (one line) summary that describes the changes in this
    pull request for inclusion in the changelog:
    -->
    
    #### Link to config_db schema for YANG module changes
    <!--
    Provide a link to config_db schema for the table for which YANG model
    is defined
    Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
    -->
    
    #### A picture of a cute animal (not mandatory but encouraged)
    liuh-80 committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    7e4883e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. [202205][kernel][swss][utilities][platform-daemon][linkmgrd] advance …

    …submodule head (sonic-net#11705)
    
    Kernel:
    * 86c4b66 2022-07-28 | [Mellanox] Add new kernel patches from HW-MGMT package V.7.0020.3005 (sonic-net#287) (HEAD -> 202205) [Kebo Liu]
    * 3a8416a 2022-07-05 | [patch] mlxsw: i2c: Prevent transaction execution for special chip (sonic-net#279) [Stepan Blyshchak]
    
    swss:
    * 3f69944 2022-08-10 | Set internal class state to reflect the actual state (sonic-net#2410) (HEAD -> 202205, tag: foo) [Prince Sunny]
    * 87e98eb 2022-08-09 | [portsorch] Expose supported FEC modes to STABE_DB and check whether FEC mode is supported before setting it (sonic-net#2400) [Stephen Sun]
    * e71ab99 2022-07-29 | portsorch: initial support for link-training (sonic-net#2359) [Dante (Kuo-Jung) Su]
    * ed5e5be 2022-07-08 | Port configuration incremental update support (sonic-net#2305) [Junchao-Mellanox]
    
    utilities:
    * 0df3ba8 2022-08-12 | Revert "Improve the way to check port type of RJ45 port (sonic-net#2249)" (HEAD -> 202205) [Ying Xie]
    * 9b21903 2022-08-12 | Fix test failure in dump table test in 202205 (sonic-net#2307) (HEAD -> 202205, github/202205) [Stephen Sun]
    * 750d1db 2022-08-11 | Convert IPv6 addresses to lowercase in apply-patch (sonic-net#2299) (HEAD -> 202205) [dbarashinvd]
    * 555947e 2022-08-09 | [config][muxcable] add support to enable/disable ycable telemetry (sonic-net#2297) [vdahiya12]
    * 978f416 2022-08-09 | Fix GCU bug when backend service modifying config (sonic-net#2295) [jingwenxie]
    * 8fed381 2022-08-02 | [intfutil] Check whether the FEC mode is supported on the platform before configuring it to CONFIG_DB (sonic-net#2223) (github/202205) [Stephen Sun]
    * a1a09e4 2022-07-29 | Improve the way to check port type of RJ45 port (sonic-net#2249) [Stephen Sun]
    * 9bdbfb8 2022-05-19 | sonic-utils: initial support for link-training (sonic-net#2071) [Dante (Kuo-Jung) Su]
    * c088ec4 2022-08-10 | Support to enable fips for the command sonic_installer (sonic-net#2154) (sonic-net#2303) [xumia]
    
    platform-daemon:
    * 767cfb6 2022-08-09 | [ycabled] add capability to enable/disable telemetry (sonic-net#279) (HEAD -> 202205) [vdahiya12]
    
    linkmgrd:
    * cf1ba2b 2022-08-12 | wait for handler to be completed (#114) (HEAD -> 202205, github/202205) [Jing Zhang]
    * e99026c 2022-08-11 | [lgtm]: add uuid-dev to lgtm prepare (#112) (HEAD -> 202205) [Jing Zhang]
    * bd1b7f0 2022-08-11 | Adjust `DbInterfaceRaceConditionCheck` to Wait Longer for Handlers to be executed (#111) (HEAD -> 202205, github/202205) [Jing Zhang]
    * e9dc6b2 2022-08-11 | Backoff mux probing for server down scenario (#106) [Jing Zhang]
    * 0d61171 2022-08-09 | Fix race condition caused by strand `wrap` method (#104) [Jing Zhang]
    * e9ede7d 2022-07-02 | Enforce switch after config mux to active (#95) [Longxiang Lyu]
    * 15dbc30 2022-06-30 | Add unittest to verify mux toggle active (#94) [Longxiang Lyu]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    ad36e17 View commit details
    Browse the repository at this point in the history
  2. [202205][utilities] advance submodule head (sonic-net#11729)

    utilities:
    * fbf82b9 2022-08-08 | Fix the issue that sonic_platform is not installed on vs image (sonic-net#2300) (HEAD -> 202205, github/202205) [Stephen Sun]
    * 19a3540 2022-08-13 | Revert "Revert "Improve the way to check port type of RJ45 port (sonic-net#2249)"" [Ying Xie]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    fd5ddba View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    5c306cc View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. [swsscommon] Add c++ version sonic-db-cli from sonic-swss-common (son…

    …ic-net#10825) (sonic-net#11713)
    
    Cherry pick PR sonic-net#10825 to 202205 branch
    
    #### Why I did it
        Fix sonic-db-cli high CPU usage on SONiC startup issue: sonic-net#10218
        ETA of this issue will be 2022/05/31
    
    #### How I did it
        Re-write sonic-cli with c++ in sonic-swss-common: sonic-net/sonic-swss-common#607
        Modify swss-common rules and slave.mk to install c++ version sonic-db-cli.
        
    
    #### How to verify it
        Pass all E2E test scenario.
    
    #### Which release branch to backport (provide reason below if selected)
    
    <!--
    - Note we only backport fixes to a release branch, *not* features!
    - Please also provide a reason for the backporting below.
    - e.g.
    - [x] 202006
    -->
    
    - [ ] 201811
    - [ ] 201911
    - [ ] 202006
    - [ ] 202012
    - [ ] 202106
    - [ ] 202111
    
    #### Description for the changelog
        Build and install c++ version sonic-db-cli from swss-common.
    
    #### Link to config_db schema for YANG module changes
    <!--
    Provide a link to config_db schema for the table for which YANG model
    is defined
    Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration.
    -->
    
    #### A picture of a cute animal (not mandatory but encouraged)
    liuh-80 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    6a2c540 View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Add support for Service Port in SN5600 (sonic-net#11609)

    - Why I did it
    SN5600 has an additional service interface with a different parameters than other interfaces.
    
    - How I did it
    Added the etp65 interface with the correct parameters.
    
    - How to verify it
    Run platform test on SN5600 platform.
    Check the service port can startup correctly.
    DavidZagury authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    25e48f9 View commit details
    Browse the repository at this point in the history
  3. [Chassis] parse 400g zr port config from minigraph (sonic-net#11616)

    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
    
    Why I did it
    Generate the port configuration required 400G ZR port from minigraph.
    
    How I did it
    Add parse logic to get tx_power and laser_freq from LinkMetadata section of the minigraph.
    Add UT for packet-chassis and voq chassis
    
    How to verify it
    UT
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
    arlakshm authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    f9bfa47 View commit details
    Browse the repository at this point in the history
  4. [swss] Adding conditional for bgp when on multi ASIC platform (sonic-…

    …net#11691)
    
    bgp should be a per-asic service, and runs for each namespace on
    multi-asic platforms. However, putting bgp in MULTI_INST_DEPENDENT
    causes swss to be restarted as well as bgp. this is causing issues after sonic-net#11000
    
    Issue: sonic-net#11653
    
    This fix:
    
    removes bgp from dependents list
    adds a conditional that either adds bgp, or bgp@$DEV to separate
    between single and multi-asic platforms
    Ndancejic authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    f63dc73 View commit details
    Browse the repository at this point in the history
  5. Add yang_config_validation in device_info (sonic-net#11715)

    Why I did it
    Put yang_config_validation in common lib and make it reusabe
    
    How I did it
    Move the definition to device_info.py
    wen587 authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    fc09ae0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91b7018 View commit details
    Browse the repository at this point in the history
  7. Update Yang for pfc_enable field (sonic-net#11747)

    Why I did it
    This PR is to update Yang model for pfc_enable and pfcwd_sw_enable fields to support more than 2 queues, like 2,3,4,6.
    Before this change, the regex "[0-7](,[0-7])?" accepts only no more than 2 queues.
    
    How I did it
    Update the regex pattern for pfc_enable and pfcwd_sw_enable, from "[0-7](,[0-7])?" to "[0-7](,[0-7])*
    
    How to verify it
    The change is verified by UT. The test input is updated to cover the change.
    
    collected 3 items                                                                                                                                                                                     
    
    tests/test_sonic_yang_models.py ..                                                                                                                                                              [ 66%]
    tests/yang_model_tests/test_yang_model.py .
    bingwang-ms authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    9ee2724 View commit details
    Browse the repository at this point in the history
  8. Yang model for xcvr tx power and frequency configuration (sonic-net#1…

    …1053)
    
    * Yang model for xcvr tx power and frequency configuration
    
    * Add unit test cases
    
    * Addressed review comments
    prgeor authored and yxieca committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    91f3502 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. [202205] address multiple linux-kernel submodule entries issue (sonic…

    …-net#11765)
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    492e647 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. [202205][linkmgrd][swss][sairedis][platform-daemon][swsssdk] advance …

    …submodule head (sonic-net#11761)
    
    linkmgrd:
    * 476f85e 2022-08-17 | Update linkmgr health after getting default route update (#117) (HEAD -> 202205, github/202205) [Longxiang Lyu]
    * fc589e9 2022-08-17 | Use `table` to toggle peer forwarding state (#108) (#120) [Longxiang Lyu]
    * bcb5a56 2022-08-17 | Fix azure pipeline (#118) (#121) [Longxiang Lyu]
    
    swss:
    * ef3a601 2022-08-17 | [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive() (sonic-net#2415) (HEAD -> 202205) [Nikola Dancejic]
    
    sairedis:
    * aed01cd 2022-08-12 | Fix: missing sonic-db-cli in docker-sonic-vs image (sonic-net#1072) (sonic-net#1104) (github/202205) [Hua Liu]
    
    platform-daemon:
    * 5a68073 2022-08-01 | Xcvrd changes to support 400G ZR configuration (sonic-net#270) (HEAD -> 202205) [Prince George]
    
    swsssdk:
    * ca785a2 2022-06-01 | Remove sonic-db-cli (#122) (HEAD -> 202205, origin/202205) [Hua Liu]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    ddf3110 View commit details
    Browse the repository at this point in the history
  2. Replace strtok in systemd-sonic-generator (sonic-net#11710)

    Signed-off-by: maipbui <maibui@microsoft.com>
    
    <!--
         Please make sure you've read and understood our contributing guidelines:
         https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
    
         ** Make sure all your commits include a signature generated with `git commit -s` **
    
         If this is a bug fix, make sure your description includes "fixes #xxxx", or
         "closes #xxxx" or "resolves #xxxx"
    
         Please provide the following information:
    -->
    
    #### Why I did it
    Replace unsafe functions to safe functions
    #### How I did it
    Replace `strtok()` by `strtok_r()`
    #### How to verify it
    
    #### Which release branch to backport (provide reason below if selected)
    
    <!--
    - Note we only backport fixes to a release branch, *not* features!
    - Please also provide a reason for the backporting below.
    - e.g.
    - [x] 202006
    -->
    
    - [ ] 201811
    - [ ] 201911
    - [ ] 202006
    - [ ] 202012
    - [ ] 202106
    - [ ] 202111
    - [ ] 202205
    
    #### Description for the changelog
    <!--
    Write a short (one line) summary that describes the changes in this
    pull request for inclusion in the changelog:
    -->
    
    #### Link to config_db schema for YANG module changes
    <!--
    Provide a link to config_db schema for the table for which YANG model
    is defined
    Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
    -->
    
    #### A picture of a cute animal (not mandatory but encouraged)
    maipbui authored and yxieca committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    dd42d82 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Fix issue: set lpmode by platform API does not work (sonic…

    …-net#11732)
    
    - Why I did it
    Fix issue: set lpmode by platform API does not work
    
    - How I did it
    Fix miss return value in code
    
    - How to verify it
    Manual test
    Junchao-Mellanox authored and yxieca committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    75844e6 View commit details
    Browse the repository at this point in the history
  4. Added support to add gbsyncd in Feature Table of Host Config DB (soni…

    …c-net#11754)
    
    Why I did:
    
    In case of multi-asic platforms gbsyncd is not getting added to Feature Table of Host Config DB. Without this container_checker complains of not needed gbsyncd container's are running.
    
    How I did:
    Update Both Host and Namespace config db when gbsyncd docker is starting.
    
    How I verify:
    Verified on Multi-asic platforms.
    abdosi authored and yxieca committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    0355caf View commit details
    Browse the repository at this point in the history
  5. update Mellanox SDK/FW to 4.5.2318 2010.2318 (sonic-net#11788)

    Why I did it
    Update SDK/FW version - 4.5.2318/2010_2318 to pick up new fixes:
    
    Cr space timeout on Hold and Release GW - at warm boot
    SPC-1 Port in stuck PHY_UP after peer side rebooted
    memory leak in sx_api_router_ecmp_update_set
    How I did it
    update the make file with the new version number
    update submodule Switch-SDK-drivers pointer
    
    How to verify it
    run sonic regression
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    keboliu committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    42c96fe View commit details
    Browse the repository at this point in the history
  6. [Chassis][Voq] Update bcm config file system_ref_core_clock_khz param…

    … for j2cplus linecards. (sonic-net#11760)
    
    Update the bcm config file system_ref_core_clock_khz param to
    handlesystems with J2cplus linecards.
    We need system_ref_core_clock_khz to be set to 1600000 for supporting j2
    and j2cplus linecards on the same chassis.
    skbarista committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    1d627f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. [202205][linkmgrd][platform-daemon][swss] advance submodule head (son…

    …ic-net#11790)
    
    linkmgrd:
    * e20e402 2022-08-18 | Update `handleMuxConfigNotification` logic (#125) (HEAD -> 202205) [Jing Zhang]
    * 8a54c06 2022-08-17 | [active-active] post mux metrics events (#123) [Jing Zhang]
    
    platform-daemon:
    * 1a833f6 2022-08-18 | [ycabled] enable telemetry for 'active-active'; fix gRPC portid ordering (sonic-net#284) (HEAD -> 202205) [vdahiya12]
    
    utilities:
    * 4bacc1c 2022-08-19 | Fix issue: exception in is_rj45_port in multi ASIC env (sonic-net#2313) (HEAD -> 202205) [Stephen Sun]
    
    swss:
    * 4085d3f 2022-07-25 | Revert hwinfo count change (sonic-net#2383) (HEAD -> 202205) [andywongarista]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    f6562a5 View commit details
    Browse the repository at this point in the history
  2. [snmpd]: Update to 5.9+dfsg-4+deb11u1 to match Debian version (sonic-…

    …net#11763)
    
    * [snmpd]: Update to 5.9+dfsg-4+deb11u1 to match Debian version
    
    This brings in some security fixes.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    
    * Update snmpd makefile
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    
    * Remove binNMU for snmpd
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    491beaf View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. [arping] install arping utility in the base image (sonic-net#11791)

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    5fb294c View commit details
    Browse the repository at this point in the history
  2. [202205]: Update package versions (sonic-net#11801)

    This was done manually, to try to get past a build error due to changing
    package versions in Debian.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    91e9db0 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. [202205][swss][sairedis] advance submodule head (sonic-net#11800)

    swss:
    * 7db9ddb 2022-08-20 | Handle dual ToR neighbor miss scenario (sonic-net#2151) (HEAD -> 202205, github/202205) [Lawrence Lee]
    
    sairedis:
    * 87d5a3e 2022-08-20 | [202205][SAI] advance SAI version to 1.10 to pick up saithrift and build changes (sonic-net#1108) (HEAD -> 202205, github/202205) [Ying Xie]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    9d00c56 View commit details
    Browse the repository at this point in the history
  2. Update swsssdk submodule (sonic-net#10996) (sonic-net#11714)

    Cherry pick PR ttps://github.com/sonic-net/pull/10996 to 202205 branch
    
    Updating sonic-utilities sub module with the following commits
    
    ca785a2 Remove sonic-db-cli
    
    #### Why I did it
    To fix sonic-db-cli high CPU usage on SONiC startup issue: sonic-net#10218
    sonic-db-cli re-write with c++ and move to sonic-swss-common repo.
    
    #### How I did it
    
    #### How to verify it
    
    #### Which release branch to backport (provide reason below if selected)
    
    #### Description for the changelog
    ca785a2 Remove sonic-db-cli
    
    #### A picture of a cute animal (not mandatory but encouraged)
    liuh-80 committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    d9192b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. [202205] [Mellanox] Update MFT to v4.21.0-100 (sonic-net#11759)

    - Why I did it
    To update MFT package to the latest version.
    
    - How I did it
    Updated MFT_VERSION & MFT_REVISION in platform/mellanox/mft.mk.
    
    - How to verify it
    Run regression testing using tests from sonic-mgmt
    
    Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
    volodymyrsamotiy committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    0011771 View commit details
    Browse the repository at this point in the history
  2. [NOKIA][DEVICE]Updated BCM config file to disable the cmic dma abort …

    …during cold boot and recycle port setting (sonic-net#11825)
    
    Signed-off-by: Sakthivadivu Saravanaraj <sakthivadivu.saravanaraj@nokia.com>
    saksarav-nokia committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    a517134 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. container_checker on supervisor should check containers based on asic…

    … presence (sonic-net#11442)
    
    Why I did it
    On a supervisor card in a chassis, syncd/teamd/swss/lldp etc dockers are created for each Switch Fabric card. However, not all chassis would have all the switch fabric cards present. In this case, only dockers for Switch Fabrics present would be created.
    
    The monit 'container_checker' fails in this scenario as it is expecting dockers for all Switch Fabrics (based on NUM_ASIC defined in asic.conf file).
    anamehra authored and yxieca committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    a2bed2a View commit details
    Browse the repository at this point in the history
  2. [Mellanox] [4700] Update platform capability file to support new brea…

    …kout mode (sonic-net#11614)
    
    - Why I did it
    This new breakout mode is required when a QSFP cable is used on the QSFP-DD supported 4700 port. since QSFP only uses the first 4 lanes, this mode is required to restrict the child ports to only use the first four lanes
    
    - How I did it
    Updated the platfrom.json file with the extended data
    
    - How to verify it
    Tested on one port:
    
    root@msn-4700:/home/admin# show int status
      Interface                            Lanes    Speed    MTU    FEC    Alias    Vlan    Oper    Admin                                             Type    Asym PFC
    -----------  -------------------------------  -------  -----  -----  -------  ------  ------  -------  -----------------------------------------------  ----------
      Ethernet0                                0      25G   9100    N/A    etp1a  routed      up       up                                  QSFP28 or later         N/A
      Ethernet1                                1      25G   9100    N/A    etp1b  routed    down       up                                              N/A         N/A
      Ethernet2                                2      25G   9100    N/A    etp1c  routed    down       up                                              N/A         N/A
      Ethernet3                                3      25G   9100    N/A    etp1d  routed    down       up                                              N/A         N/A
    
    Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
    vivekrnv authored and yxieca committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    5654524 View commit details
    Browse the repository at this point in the history
  3. PFCWD fix for multi port multi priority scenario for HWSKU Dell Z9332 (

    …sonic-net#11640)
    
    PFCWD fix for multi port multi priority scenario for HWSKU Dell Z9332
    vmittal-msft authored and yxieca committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    2eb6c3d View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. [syncd.sh] 'sxdkernel start' => 'sxdkernel restart' (sonic-net#11718)

    Change `sxdkernel start` to `sxdkernel restart`. If `syncd` service crashes in `ExecStartPre` systemd will not call `ExecStop` and thus will not call `sxdkernel stop`. Use of `sxdkernel restart` is more robust in terms of guarantees to restore the system after unexpected crashes.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    c60d78d View commit details
    Browse the repository at this point in the history
  2. [BRCM SAI 7.1.7.2] catch up CS00012257483 patch (sonic-net#11768)

    Why I did it
    It solves a swss orchagent crash issue on PikeZ device, due to link-training setting of external PHY port.
    
    How I did it
    Catch up the fix for CS00012257483 in version 7.1.7.2.
    jimmyzhai authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    322f141 View commit details
    Browse the repository at this point in the history
  3. Bullseye frr (sonic-net#11777)

    Why I did it
    Migrate FRR to bullseye
    
    How I did it
    Makefile and docker config changes to refer to bullseye instead of buster.
    
    How to verify it
    Build bullseye frr docker.
    
    Co-authored-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
    2 people authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    df36ef0 View commit details
    Browse the repository at this point in the history
  4. Add support to get fabric asic namespaces list. (sonic-net#11793)

    Why I did it
    VoQ chassis supervisor will have Fabric asics and the sub_role for fabric asics will be "Fabric".
    The fabric asics namespaces are not being returned in get_all_namespaces() and is required in caclmgrd to add right cacl to allow internal docker traffic from fabric asic namespaces.
    test_cacl_application fails on VoQ chassis Supervisor with the error:
    Failed: Missing expected iptables rules: set(['-A INPUT -s 240.127.1.1/32 -d 240.127.1.1/32 -j ACCEPT', '-A INPUT -s 240.127.1.3/32 -d 240.127.1.1/32 -j ACCEPT', '-A INPUT -s 240.127.1.2/32 -d 240.127.1.1/32 -j ACCEPT'])
    
    How I did it
    Update get_all_namespaces to return fabric namespaces list.
    
    How to verify it
    Verified on VoQ chassis.
    SuvarnaMeenakshi authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    3b04792 View commit details
    Browse the repository at this point in the history
  5. New API to support runtime metadata needed for Feature Table field ji…

    …nja rendering. (sonic-net#11795)
    
    Added new API to return runtime metadata dictionary as needed during Feature Table field rendering by hostcfgd.
    abdosi authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    1b89648 View commit details
    Browse the repository at this point in the history
  6. Build the Broadcom DNX RPC container as part of the official build (s…

    …onic-net#11829)
    
    With the Broadcom syncd containers getting upgraded to Bullseye, the DNX
    RPC container is no longer automatically built. Explicitly add a make
    command to build it.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    9551ca2 View commit details
    Browse the repository at this point in the history
  7. Mount directory warmboot in docker gbsyncd (sonic-net#11852)

    Why I did it
    The directory /var/warmboot as top directory for warmboot feature is also needed in docker gbsyncd. Some vendor SAI might save data under it. Without it, the SAI init/creation API failure has happened on PikeZ platform.
    
    How I did it
    Mount host directory /host/warmboot as /var/warmboot in docker gbsyncd, which is same as what it has done on docker syncd.
    jimmyzhai authored and yxieca committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    b722d5f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. [202205][linkmgrd][utilities][swss-common][sairedis][platform-common]…

    … advance submodule head (sonic-net#11859)
    
    linkmgrd:
    * 9a993b2 2022-08-23 | [active-active] Remove unnecessary mux wait timeout logs (#122) (HEAD -> 202205) [Jing Zhang]
    
    utilities:
    * ec4b09f 2022-08-26 | Handle non-front-panel ports in is_rj45_port (sonic-net#2327) (HEAD -> 202205, github/202205) [Stephen Sun]
    * 4adf897 2022-08-20 | Fix issue: port_type is referenced before initialized (sonic-net#2323) [Stephen Sun]
    * 314bafd 2022-08-25 | [service_mgmt]: Fix fetch MULTI_INST_DEPENDENT bug in service_mgmt.sh.j2 (sonic-net#2319) [Ze Gan]
    * e0166a0 2022-08-25 | portconfig option to configure Tx power and laser frequency of ZR transceiver module (sonic-net#2197) (sonic-net#2330) [Prince George]
    
    swss-common:
    * af80c12 2022-06-30 | [select] break the select loop if interrupt_on_signal flag is set (sonic-net#624) (HEAD -> 202205, github/202205) [Stepan Blyshchak]
    
    sairedis:
    * a1796a5 2022-07-28 | Add support of mdio IPC server class using sai switch api and unix socket (sonic-net#1080) (HEAD -> 202205) [Jiahua Wang]
    
    platform-common:
    * c1ee4b1 2022-08-20 | [CMIS] Catch Exception to avoid CMIS code crash (sonic-net#299) (HEAD -> 202205) [Kebo Liu]
    * 638d225 2022-07-13 | Fix Cmis memmap field offset (sonic-net#290) [Prince George]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    76fde84 View commit details
    Browse the repository at this point in the history
  2. [202205][Arista] Update platform submodules (sonic-net#11854)

    Backport platform code for Arista products from master.
    This most notably improve:
    
    PikeZ platform support
    Chassis fixes and improvements
    Staphylo committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    e2cade3 View commit details
    Browse the repository at this point in the history
  3. [202205] [sonic_py_common] Cache Static Information in device_info to…

    … speed up CLI response (sonic-net#11866)
    
    * [sonic_py_common] Cache Static Information in device_info to speed up CLI response (sonic-net#11696)
    
    - Why I did it
    Profiled the execution for the following cmd intfutil -c status
    
    - How I did it
    Cached the following information:
    1. get_sonic_version_info()
    2. get_platform_info()
    None of the API exposed to the user libraries (for eg: sonic-utilities) has been modified
    These methods involve reading text files or from redis. Thus, caching helped to improve the execution time
    
    - How to verify it
    Added UT's.
    Verified on the device
    
    Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
    
    * Removed UT since libswsscommom dep is missing in <=202205
    
    Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
    
    Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
    Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
    vivekrnv committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    4910298 View commit details
    Browse the repository at this point in the history
  4. [Build] Increase the size of the installer image (sonic-net#11869)

    #### Why I did it
    Fix the build failure caused by the installer image size too small. The installer image is only used during the build, not impact the final images.
    See https://dev.azure.com/mssonic/build/_build/results?buildId=139926&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=359769c4-8b5e-5976-a793-85da132e0a6f
    
    ```
    + fallocate -l 2048M ./sonic-installer.img
    + mkfs.vfat ./sonic-installer.img
    mkfs.fat 4.2 (2021-01-31)
    ++ mktemp -d
    + tmpdir=/tmp/tmp.TqdDSc00Cn
    + mount -o loop ./sonic-installer.img /tmp/tmp.TqdDSc00Cn
    + cp target/sonic-vs.bin /tmp/tmp.TqdDSc00Cn/onie-installer.bin
    cp: error writing '/tmp/tmp.TqdDSc00Cn/onie-installer.bin': No space left on device
    [  FAIL LOG END  ] [ target/sonic-vs.img.gz ]
    ```
    
    #### How I did it
    Increase the size from 2048M to 4096M.
    Why not increase to 16G like qcow2 image?
    The qcow2 supports the sparse disk, although a big disk size allocated, but it will not consume the real disk size. The falocate does not support the sparse disk. We do not want to allocate a very big disk, but no use at all. It will require more space to build.
    xumia authored and yxieca committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    e069c52 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. [202205][SAIServer] support saiserver v2 in bullseye (sonic-net#11870)

    * [SAIServer] support saiserver v2 in bullseye
    
    Support build saiserverv2 in bullseye
    
    Add dependencies for building saiserverv2
    Upgrade libboost-atomic1.71 to libboost-atomic1.74
    
    Test done:
    Local builded with NOSTRETCH=y NOJESSIE=y NOBUSTER=y SAITHRIFT_V2=y make target/docker-saiserverv2-brcm.gz
    
    * update libboost-atomic from 1.71 to 1.74 for bullseye
    richardyu-ms committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    a30daf0 View commit details
    Browse the repository at this point in the history
  2. [202205][Arista] Add initial support for 720DT-48S (sonic-net#10656) (s…

    …onic-net#11860)
    
    Added initial set of config files to allow for booting and partial traffic testing in SONiC on the 720DT-48S.
    
    How to verify it
    - Switch boots
    - show interfaces status shows links up on interfaces Ethernet24-51
    - Traffic flows with no errors on interfaces Ethernet24-51
    andywongarista committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    0adfd72 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. [actions] Update github actions label and automerge. (sonic-net#11736) (

    sonic-net#11910)
    
    1. Add auto approve step when adding label to version upgrading PR.
    2. Use mssonicbld TOKEN to merge version upgrading PR instead of 'github actions'
    liushilongbuaa committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    d46d69f View commit details
    Browse the repository at this point in the history
  2. [202205][sairedis]advance submodule head (sonic-net#11861)

    update sai module with commit
    
    - 566d4a8ef2 2022-08-11 | [SAI-PTF] Enable saiserverv2 with syncd-rpc and fix saithriftv2 build (sonic-net#1552) (sonic-net#1533) (sonic-net#1514) (sonic-net#1492) (sonic-net#1558) (sonic-net#1557) [Richard.Yu]
    - a1796a53cc 2022-08-11 | Add support of mdio IPC server class using sai switch api and unix socket
    
    Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
    
    Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
    richardyu-ms committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    921b040 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1885e56 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba020df View commit details
    Browse the repository at this point in the history
  5. [202205] Update BRCM KNET modules to support new psample definitions …

    …from sflow (sonic-net#11890)
    
    * [202205][linux-kernel] advance submodule head
    
    linux-kernel:
    * 3fe00d4 2022-06-24 | [sflow + dropmon] added missing patch for the sFlow + dropmon feature. (sonic-net#281) (HEAD -> 202205) [Vadym Hlushko]
    * ca727d6 2022-04-21 | [sflow + dropmon] added patches for the sFlow + dropmon feature. (sonic-net#276) [Vadym Hlushko]
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    * Update BRCM KNET modules to support new psample definitions from sflow… (sonic-net#11709)
    
    * Update BRCM KNET module to support new psample definitions from sflow dropmon feature
    
    * Update BRCM KNET module to support new psample definitions from sflow dropmon feature
    
    * Advance saibcm-modules-dnx
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    Co-authored-by: Michael Li <52540620+michaelli10@users.noreply.github.com>
    yxieca and michaelli10 committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    875328b View commit details
    Browse the repository at this point in the history
  6. Correct port index in Arista-720DT-48S/phy24_config.json (sonic-net#1…

    …1699)
    
    Port index 22 is associated with phy23_config.json, then same port index 22 in phy24_config.json may cause gearbox port creation error. Port Ethernet22 maps to index 23.
    jimmyzhai authored and yxieca committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    2ff3b84 View commit details
    Browse the repository at this point in the history
  7. Enable AN for Ethernet24-47 (sonic-net#11839)

    Enable port AN ON explicitly and then port will become (oper status) UP. Somehow those ports AN are not default ON in bcm sdk.
    andywongarista authored and yxieca committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    1e91ad3 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. [gbsyncd] Build docker-gbsyncd-broncos image (sonic-net#11748)

    The libsaibroncos debian package is published at $(LIBSAI_BRONCOS)_URL. Enable building docker-gbsyncd-broncos image on PLATFORM broadcom.
    jimmyzhai authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    f8a4ff0 View commit details
    Browse the repository at this point in the history
  2. [Arista] Fix content of platform.json for DCS-720DT-48S (sonic-net#11855

    )
    
    Why I did it
    Content of platform.json was outdated and some platform_tests/api of sonic-mgmt were failing.
    
    How I did it
    Added the necessary values to platform.json
    
    How to verify it
    Running platform_tests/api of sonic-mgmt should yield 100% passrate.
    Staphylo authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    31b208e View commit details
    Browse the repository at this point in the history
  3. [Nokia][Nokia-IXR7250E-36x100G & Nokia-IXR7250E-36x400G] Update BCM (s…

    …onic-net#11577)
    
    config to support ERSPAN egress mirror and also set flag to preserve ECN
    saksarav-nokia authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    5f385de View commit details
    Browse the repository at this point in the history
  4. Fix vs check install login timeout issue (sonic-net#11727)

    Why I did it
    Fix a build not stable issue: sonic-net#11620
    The vs vm has started successfully, but failed to wait for the message "sonic login:".
    
    There were 55 builds failed caused by the issue in the last 30 days.
    
    AzurePipelineBuildLogs
    | where startTime > ago(30d)
    | where type =~ "task"
    | where result =~ "failed"
    | where name =~ "Build sonic image"
    | where content contains "Timeout exceeded"
    | where content contains "re.compile('sonic login:')"
    | project-away content
    | extend branchName=case(reason=~"pullRequest", tostring(todynamic(parameters)['system.pullRequest.targetBranch']),
                  replace("refs/heads/", "", sourceBranch))
    | summarize FailedCount=dcount(buildId) by branchName
    
    branchName	FailedCount
    master	37
    202012	9
    202106	4
    202111	2
    202205	1
    201911	1
    It is caused by the login message mixed with the output message of the /etc/rc.local, one of the examples as below: (see the message rc.local[307]: sonic+ onie_disco_subnet=255.255.255.0 login: )
    The check_install.py was waiting for the message "sonic login:", and Linux console was waiting for the username input (the login message has already printed in the console).
    https://dev.azure.com/mssonic/build/_build/results?buildId=123294&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=359769c4-8b5e-5976-a793-85da132e0a6f
    
    2022-07-17T15:00:58.9198877Z [   25.493855] rc.local[307]: + onie_disco_opt53=05
    2022-07-17T15:00:58.9199330Z [   25.595054] rc.local[307]: + onie_disco_router=10.0.2.2
    2022-07-17T15:00:58.9199781Z [   25.699409] rc.local[307]: + onie_disco_serverid=10.0.2.2
    2022-07-17T15:00:58.9200252Z [   25.789891] rc.local[307]: + onie_disco_siaddr=10.0.2.2
    2022-07-17T15:00:58.9200622Z [   25.880920] 
    2022-07-17T15:00:58.9200745Z 
    2022-07-17T15:00:58.9201019Z Debian GNU/Linux 10 sonic ttyS0
    2022-07-17T15:00:58.9201201Z 
    2022-07-17T15:00:58.9201542Z rc.local[307]: sonic+ onie_disco_subnet=255.255.255.0 login: 
    2022-07-17T15:00:58.9202309Z [   26.079767] rc.local[307]: + onie_exec_url=file://dev/vdb/onie-installer.bin
    
    How I did it
    Input a newline when finished to run the script /etc/rc.local.
    If entering a newline, the message "sonic login:" will prompt again.
    xumia authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    f24a73b View commit details
    Browse the repository at this point in the history
  5. [Chassis]: filter inband and recirc ports as internal ports (sonic-ne…

    …t#11764)
    
    Why I did it
    Currently the CLI commands show interface status show interface counters and show interface description displays Ethernet-IB and Ethernet-Rec ports in the output. These are internal ports should only be displayed when the option -d all is used for the above mentioned CLI commands
    
    How I did it
    Add the port roles Inb and Rec when classifing a port as internal port.
    
    How to verify it
    Verify the CLI output of the command show interface status doesnt display the Ethenet-IB and Ethernet-Rec port when -d all option in not present
    Before
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
    arlakshm authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    1f9321a View commit details
    Browse the repository at this point in the history
  6. [mux] Exit to write standby state to active-active ports (sonic-n…

    …et#11821)
    
    [mux] Exit to write standby state to `active-active` ports
    
    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    d7f049e View commit details
    Browse the repository at this point in the history
  7. Address Review Comment to define SONIC_GLOBAL_DB_CLI in gbsyncd.sh (s…

    …onic-net#11857)
    
    As part of PR sonic-net#11754
    
        Change was added to use variable SONIC_DB_NS_CLI for
        namespace but that will not work since ./files/scripts/syncd_common.sh
        uses SONIC_DB_CLI. So revert back to use SONIC_DB_CLI and define new
        variable for SONIC_GLOBAL_DB_CLI for global/host db cli access
    
       Also fixed DB_CLI not working for namespace.
    abdosi authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    72852cd View commit details
    Browse the repository at this point in the history
  8. Align API get_device_runtime_metadata() for python version < 3.9 (son…

    …ic-net#11900)
    
    Why I did it:
    API get_device_runtime_metadata() added by sonic-net#11795 uses merge operator for dict but that is supported only for python version >=3.9. This API will be be used by scrips eg:hostcfgd which is still build for buster which does not have python 3.9 support.
    abdosi authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    3d8d516 View commit details
    Browse the repository at this point in the history
  9. [Arista7050cx3] TD3 SKU changes for pg headroom value after interop t…

    …esting with cisco 8102 (sonic-net#11901)
    
    Why I did it
    After PFC interop testing between 8102 and 7050cx3, data packet losses were observed on the Rx ports of the 7050cx3 (inflow from 8102) during testing. This was primarily due to the slower response times to react to PFC pause packets for the 8102, when receiving such frames from neighboring devices. To solve for the packet drops, the 7050cx3 pg headroom size has to be increased to 160kB.
    
    How I did it
    Modified the xoff threshold value to 160kB in the pg_profile file to allow for the buffer manager to read that value when building the image, and configuring the device
    
    How to verify it
    run "mmuconfig -l" once image is built
    
    
    Signed-off-by: dojha <devojha@microsoft.com>
    developfast authored and yxieca committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    648ddee View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fa21a82 View commit details
    Browse the repository at this point in the history
  11. fix

    liushilongbuaa committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    95282c8 View commit details
    Browse the repository at this point in the history