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

The bug is fixed #14

Closed
wants to merge 1,479 commits into from
Closed

The bug is fixed #14

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

Commits on Jan 8, 2021

  1. Take a copy of existing TACACS credentials and restore it during upgr…

    …ade (#6285)
    
    In scenario where upgrade gets config from minigraph, it could miss tacacs credentials as they are not in minigraph. Hence restore explicitly upon load-minigraph, if present.
    
    - Why I did it
    Upon boot, when config migration is required, the switch could load config from minigraph. The config-load from minigraph would wipe off TACACS key and disable login via TACACS, which would disable all remote user access. This change, would re-configure the TACACS if there is a saved copy available.
    
    - How I did it
    When config is loaded from minigraph, look for a TACACS credentials back up (tacacs.json) under /etc/sonic/old_config. If present, load the credentials into running config, before config-save is called.
    
    - How to verify it
    Remove /etc/sonic/config_db.json and do an image update. Upon reboot, w/o this change, you would not be able ssh in as remote user. You may login as admin and check out, "show tacacs" & "show aaa" to verify that tacacs-key is missing and login is not enabled for tacacs.
    With this change applied, remove /etc/sonic/config_db.json, but save tacacs & aaa credentials as tacacs.json in /etc/sonic/. Upon reboot, you should see remote user access possible.
    renukamanavalan authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    dbc6718 View commit details
    Browse the repository at this point in the history
  2. [ci]: Set up CI with Azure Pipelines (#6384)

    [skip ci]
    lguohan authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    fc3cb76 View commit details
    Browse the repository at this point in the history
  3. [Monit] Monitoring the running status of containers. (#6251)

    **- Why I did it**
    This PR aims to monitor the running status of each container. Currently the auto-restart feature was enabled. If a critical process exited unexpected, the container will be restarted. If the container was restarted 3 times during 20 minutes, then it will not run anymore unless we cleared the flag using the command `sudo systemctl reset-failed <container_name>` manually. 
    
    **- How I did it**
    We will employ Monit to monitor a script. This script will generate the expected running container list and compare it with the current running containers. If there are containers which were expected to run but were not running, then an alerting message will be written into syslog.
    
    **- How to verify it**
    I tested this feature on a lab device `str-a7050-acs-3` which has single ASIC and `str2-n3164-acs-3` which has a Multi-ASIC. First I manually stopped a container by running the command `sudo systemctl stop <container_name>`, then I checked whether there was an alerting message in the syslog.
    
    Signed-off-by: Yong Zhao <[email protected]>
    yozhao101 authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    04cd1d6 View commit details
    Browse the repository at this point in the history
  4. [bgpcfgd]: Support default action for "Allow prefix" feature (#6370)

    * Use 20 and 30 route-map entries instead of 2 and 3 for TSA
    
    * Added support for dynamic "Allow list" default action.
    
    Co-authored-by: Pavel Shirshov <[email protected]>
    pavel-shirshov and Pavel Shirshov authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    83715cf View commit details
    Browse the repository at this point in the history
  5. [sonic-swss-common] Update submodule (#6382)

    Includes sonic-swss-common commits:
    ```
    71dc350 2021-01-07 | Lower the log level for outdated key for SubscriberStateTable notification (#441) [Qi Luo]
    7e40582 2021-01-08 | Add boost dependencies (#442) [Ze Gan]
    30a8ddf 2021-01-05 | Change DBConnector::hgetall return type from map to unordered_map (#440) [Qi Luo]
    021108d 2021-01-02 | MCLAG Enhancements per HLD sonic-net/SONiC#596 (#405) [Praveen-Brcm]
    54996fc 2021-01-02 | Implement ConfigDBConnector and ConfigDBPipeConnector in C++ (#437) [Qi Luo]
    8286525 2020-12-27 | Simply refactor DBConnector hgetall() [Qi Luo]
    6d1d33b 2020-12-27 | Fix RedisTransactioner: handle empty deque [Qi Luo]
    624e0b8 2020-12-26 | Move complex class constructor as explicit, and fix several mistaken copy constructor usage [Qi Luo]
    3b983f9 2020-12-30 | [ci]: add timeout to 180 minutes for arm build (#439) [lguohan]
    f2e4210 2020-12-29 | Add utility for string and redis (#434) [Ze Gan]
    7a885fd 2020-12-29 | [build]: add build check for arm64 and armhf (#436) [lguohan]
    47bccc4 2020-12-24 | Add missed vector header to rediscommand.h (#435) [Ze Gan]
    ```
    qiluo-msft authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    5b7f88a View commit details
    Browse the repository at this point in the history
  6. Bump lxml from 4.6.1 to 4.6.2 in /src/sonic-config-engine (#6385)

    Bumps [lxml](https://github.com/lxml/lxml) from 4.6.1 to 4.6.2.
    - [Release notes](https://github.com/lxml/lxml/releases)
    - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
    - [Commits](lxml/lxml@lxml-4.6.1...lxml-4.6.2)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    72b6350 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2021

  1. [Centec ARM64]Upgrade Centec syncd docker to buster and Enable Teleme…

    …try on ARM64 (#6386)
    
    * Enable telemetry for ARM64 by default
    
    * [Centec]Upgrade Centec syncd docker to buster; libjemalloc2 have been installed in docker-base-buster, remove libjemalloc1 from docker-syncd-centec's Dockerfile.j2
    
    Co-authored-by: Gu Xianghong <[email protected]>
    guxianghong and Gu Xianghong authored Jan 9, 2021
    Configuration menu
    Copy the full SHA
    c64052b View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. [Arista] Update driver submodules (#6396)

     - Cleanup and Refactor of library internals, logic mostly unchanged.
     - Enhance debugability with `arista dump` and `arista diag` commands.
     - Fix power supply detection issue.
    Staphylo authored Jan 10, 2021
    Configuration menu
    Copy the full SHA
    1498408 View commit details
    Browse the repository at this point in the history
  2. [docker-macsec]: MACsec container and wpa_supplicant component (#5700)

    The HLD about MACsec feature is at :
    
    https://github.com/Azure/SONiC/blob/master/doc/macsec/MACsec_hld.md
    
    - How to verify it
    This PR doesn't set MACsec container automatically start, You should manually start the container by docker run docker-macsec
    wpa_supplicant binary can be found at MACsec container.
    This PR depends on the PR, WPA_SUPPLICANT, and The MACsec container will be set as automatically start by later PR.
    
    Signed-off-by: zegan <[email protected]>
    Pterosaur authored Jan 10, 2021
    Configuration menu
    Copy the full SHA
    c225752 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. [utilities] advance utilities submodule head (#6402)

    - (HEAD, github/master) [storyteller] adding a grep wrapper with predefined scenarios (#1349)
    - Adding global-timeout, individual command timeout, log files collection (#1249)
    - Add FW dump with new SAI implementation (#1338)
    - [unit test][pfcwd] Fix tests that require sudo access (#1340)
    
    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    2816515 View commit details
    Browse the repository at this point in the history
  2. [minigraph.py]: Add peer switch hostname to device metadata (#6405)

    To make the peer switch hostname easily accessible from config DB. Add peer_switch field to DEVICE_METADATA table
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    3dd993e View commit details
    Browse the repository at this point in the history
  3. [arista]: Fix web package md5 hash not correct issue (#6411)

    Need to add the follow redirection option -L when downloading the package with redirection.
    xumia authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    4ef3f13 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2021

  1. [ci]: add mellanox build to azure-pipeline (#6409)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    6ff8d2c View commit details
    Browse the repository at this point in the history
  2. [build]: fix dpkg admindir corruption issue in parallel build (#6408)

    Fix #119
    
    when parallel build is enable, multiple dpkg-buildpackage
    instances are running at the same time. /var/lib/dpkg is shared
    by all instances and the /var/lib/dpkg/updates could be corrupted
    and cause the build failure.
    
    the fix is to use overlay fs to mount separate /var/lib/dpkg
    for each dpkg-buildpackage instance so that they are not affecting
    each other.
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    ab2ae41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b82408 View commit details
    Browse the repository at this point in the history
  4. [minigraph.py]: Force /32 prefix for mux cable server IPv4 loopbacks (#…

    …6418)
    
    Server IPv4 loopbacks do not always arrive with /32 prefix, which is a requirement for the MUX_CABLE table in config DB
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    6e63ecf View commit details
    Browse the repository at this point in the history
  5. Anchor the libprotobuf-dev version based on a fixed version by using …

    …debian control dependency (#6420)
    gechiang authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    26fd527 View commit details
    Browse the repository at this point in the history
  6. [as7326-54x] Remove not need executable flag (#6326)

    Remove executable bit from the service files
    jostar-yang authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    bbd6967 View commit details
    Browse the repository at this point in the history
  7. [Mellanox] [platform API] Fix “local variable 'label_port' referenced…

    … before assignment” error (#6419)
    
    In rare case can see that xcvrd failed due to "UnboundLocalError: local variable 'label_port' referenced before assignment"
    
    Init "label_port" as None at the beginning of the function, to avoid the case that "label_port" not assigned.
    keboliu authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    015b421 View commit details
    Browse the repository at this point in the history
  8. [Centec] upgrade to buster docker for DOCKER_SYNCD_CENTEC_RPC, docker…

    …-saiserver-centec and platform-modules (#6423)
    
    Centec syncd have beend upgraded to buster, docker-syncd-centec-rpc do not need generate stretch based docker.
    
    Co-authored-by: Xianghong Gu <[email protected]>
    guxianghong and Xianghong Gu authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    d4f9fa5 View commit details
    Browse the repository at this point in the history
  9. [Platform][nokia]: python3-smbus package add with python3 and jinja f…

    …ixes (#6416)
    
    fix platform driver breakage due to python3 upgrade and fix load minigraph errors with config load_minigraph -y
    
    **- How I did it**
    added python3-smbus to the pmon docker template since the previous was python2 specific 
    fixed additional "ord" python2 specific code 
    fixed the jinja templates used by qos reload - the template logic required data to be parsed 
    
    **- How to verify it**
    run "show platform XXX" commands and verify output
    run "sudo config load_minigraph -y" and verify configuration 
    run "show interfaces XXX" and verify output 
    
    Co-authored-by: Carl Keene <[email protected]>
    carl-nokia and Carl Keene authored Jan 12, 2021
    Configuration menu
    Copy the full SHA
    380edf0 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. [Nokia ixs7215] Add SW assist for platform entropy & fix inband mgmt …

    …support (#6417)
    
    - Improve random number generation during early Sonic initialization by providing SW updates to Linux entropy value.
    - Improve handling of platform In-Band management port
    
    This commit provides the following updates to the Nokia ixs7215 platform
    
    1. The Marvell Armada-38x SOC requires SW assistance to improve the system
       entropy value available early on in the Sonic boot sequence.
    2. The Nokia ixs7215 platform does not have a dedicated Out-Of-Band (OOB) mgmt
       port and thus requires additional logic to optionally support configuring
       front panel port 48 as an In-Band mgmt port. This commit provides additional
       logic to manage and maintain the operation of this In-Band mgmt port.
    dflynn-Nokia authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    674fac2 View commit details
    Browse the repository at this point in the history
  2. Fix py3 version changed even version control enabled issue (#6422)

    * Fix py3 version changed even version control enabled issue
    
    * Add some comments and simplify the script
    
    * Add the comment to explain how to get the not hooked command
    xumia authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    1dcab4d View commit details
    Browse the repository at this point in the history
  3. [SN4410] fixed 'port_config.ini' (#6316)

    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    b56320c View commit details
    Browse the repository at this point in the history
  4. Update swi-tools in buster Dockerfile (#6414)

    Fixed swi-tools code to work with `python3`
    Updated the version of swi-tools downloaded by the `sonic-slave-buster/Dockerfile.j2`
    Other Dockerfiles still use the `python2` version, though swi-tools is not used within the stretch builder.
    Staphylo authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    68e9b83 View commit details
    Browse the repository at this point in the history
  5. [Mellanox] Fix issue: need import initialize_sdk_handle in get_sdk_ha…

    …ndle (#6435)
    
    Found test_sfp.py failed due to use a method without importing it.
    Junchao-Mellanox authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    0a49edb View commit details
    Browse the repository at this point in the history
  6. [sonic-swss-common] Advance swss-common head to include General Prote…

    …ction error fix (#6436)
    
    To include Kernel GP fault seen in *syncd processes:
    sonic-net/sonic-swss-common#444
    vaibhavhd authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    8b4b146 View commit details
    Browse the repository at this point in the history
  7. [ci]: cleanup fsroot reliably (#6431)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    1c00145 View commit details
    Browse the repository at this point in the history
  8. [build]: Fix for missing dependencies in the DPKG framework (#6393)

    1. Fixes the missing DPKG file for gbsyncd-vs package
    2. Fixes the softlink issue on the Platform-common and ztp package
    3. Fixes the PYTHNON_DEBS list is missing for DBG dockers.
    Kalimuthu-Velappan authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    18350a5 View commit details
    Browse the repository at this point in the history
  9. [sonic-linux-kernel]: Update sonic-linux-kernel submodule (#6433)

    Update sonic-linux-kernel pointer to pick up new commits:
    
    - Backport patches to increase critical threshold for ASIC and validate transceiver temperature a7c1af7  sonic-net/sonic-linux-kernel@548e8e0
    - [ci]: Set up CI with Azure Pipelines   548e8e0 sonic-net/sonic-linux-kernel@a7c1af7
    
    Signed-off-by: Kebo Liu <[email protected]>
    keboliu authored Jan 13, 2021
    Configuration menu
    Copy the full SHA
    8655334 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. [swss] Depend on Python 3 version of swsscommon rather than Python 2 (#…

    …6432)
    
    The only Python code in the SwSS package, restore_neighbors.py, was recently converted to Python 3 and most dependencies were updated as part of #6207. However, the SwSS makefile still listed the Python 2 version of the swsscommon package as a dependency. This caused Python 2-related packages to be installed in containers unnecessarily.
    jleveque authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    4612f68 View commit details
    Browse the repository at this point in the history
  2. [snmpagent] update submodule (#6169)

    Includes below sonic-snmpagent commits
    ```
    dfde06e 2021-01-13 | Revert "[rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (#169)" (#191) [Stepan Blyshchak]
    45edd7e 2021-01-04 | [snmpagent] Fix hardcoded qsfp lane count by reading sensor status from DB (#184) [Junchao-Mellanox]
    3b72a6f 2021-01-02 | Fix: handle empty LOC_CHASSIS_TABLE (#190) [Qi Luo]
    4aad821 2020-12-29 | [sysName]: Implement sysName OID (#185) [SuvarnaMeenakshi]
    8efb4bb 2020-12-29 | [rfc1213] fix counter value type (#189) [Stepan Blyshchak]
    025483a 2020-12-23 | [RouteUpdater]: Fix multi_asic mock function implementation and multi_asic variable name (#186) [SuvarnaMeenakshi]
    381ae47 2020-12-10 | [mibs] b'VLAN_TABLE:' -> 'VLAN_TABLE' (#181) [Stepan Blyshchak]
    e54036c 2020-12-09 | [rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (#169) [Stepan Blyshchak]
    fd1eae7 2020-11-24 | Set swsscommon logging level (#178) [Qi Luo]
    706d504 2020-11-23 | Improve MockRedis _encode(): so it will work on all types of value (#179) [Qi Luo]
    64c93a1 2020-11-16 | [RFC4292][Namespace]: Fix implementation of RouteUpdater for multi-asic platform (#176) [SuvarnaMeenakshi]
    b8f19ee 2020-11-12 | [sonic-snmpagent] SONiC physical entity mib extension (#168) [Junchao-Mellanox]
    6b94ec3 2020-11-05 | Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (#162) [Qi Luo]
    ```
    
    Signed-off-by: Stepan Blyshchak <[email protected]>
    Co-authored-by: Qi Luo <[email protected]>
    stepanblyschak and qiluo-msft authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    9a1b42f View commit details
    Browse the repository at this point in the history
  3. Remove things needed for building Python 3 from source (#6441)

    **- Why I did it**
    
    Prior to SONiC using Debian Buster, we needed to build Python 3.5 or newer from source for installation in the SNMP container, becuase it wasn't available from the Debian repository for Jessie or Stretch. Now that all containers are based on Buster, we simply install Python 3.7 from the Debian repository in the host as well as all containers. We are no longer building Python 3 from source, so the Makefile is unused and we no longer need to install build dependencies in the slave containers.
    
    **- How I did it**
    
    - Remove Python 3 makefile
    - No longer install Python 3 build dependencies in the slave containers.
    jleveque authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    c141bb9 View commit details
    Browse the repository at this point in the history
  4. [sonic-platform-common] Enable pytest during build for Python 3 packa…

    …ge (#6442)
    
    **- Why I did it**
    
    To enable running Pytest unit tests before building the Python 3 sonic-platform-common package
    
    **- How I did it**
    
    - Add Python 3 sonic-config-engine package as a dependency of Python 3 sonic-platform-common package (needed for both runtime and unit tests)
    - No longer disable unit tests when building Python 3 sonic-platform-common package
    jleveque authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    419c10b View commit details
    Browse the repository at this point in the history
  5. [docker-frr]: Use egrep with regexp to match correct TSA rules (#6403)

    **- Why I did it**
    Earlier today we found a bug in the SONiC TSA implementation.
    TSC shows incorrect output (see below) in case we have a route-map which contains TSA route-map as a prefix.
    ```
    admin@str-s6100-acs-1:~$ TSC
    Traffic Shift Check:
    System Mode: Not consistent
    ```
    The reason is that TSC implementation has too loose regexps in TSA utilities, which match wrong route-map entries:
    For example, current TSC matches following
    ```
    route-map TO_BGP_PEER_V4 permit 200
    route-map TO_BGP_PEER_V6 permit 200
    ```
    But it should match only
    ```
    route-map TO_BGP_PEER_V4 permit 20
    route-map TO_BGP_PEER_V4 deny 30
    route-map TO_BGP_PEER_V6 permit 20
    route-map TO_BGP_PEER_V6 deny 30
    ```
    
    **- How I did it**
    I fixed it by using egrep with `^` and `$` regexp markers which match begin and end of the line.
    
    **- How to verify it**
    1. Add follwing entry to FRR config:
    ```
    str-s6100-acs-1# 
    str-s6100-acs-1# conf t
    str-s6100-acs-1(config)# route-map TO_BGP_PEER_V4 permit 200 
    str-s6100-acs-1(config-route-map)# end
    ```
    2. Use the TSC command and check output. It should show normal.
    ```
    admin@str-s6100-acs-1:~$ TSC
    Traffic Shift Check:
    System Mode: Normal```
    pavel-shirshov authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    16e5434 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Export libyang API "lyd_check_mandatory_tree" for Management framewor…

    …k (CVL) (#5714)
    
    - Why I did it
    Management framework (CVL) needs to call lyd_check_mandatory_tree() for validation and hence exported lyd_check_mandatory_tree() as an API.
    
    - How I did it
    Added "API" keyword before lyd_check_mandatory_tree() definition.
    
    - How to verify it
    There is no functionality code change here and no specific steps to verify it. Management framework (CVL) should be able to call this function and no patching and compilation error should be seen.
    
    - Description for the changelog
    Added "API" keyword before export lyd_check_mandatory_tree() function definition.
    dutta-partha authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    58a13b4 View commit details
    Browse the repository at this point in the history
  2. [warm boot finalizer] only wait for enabled components to reconcile (#…

    …6454)
    
    * [warm boot finalizer] only wait for enabled components to reconcile
    
    Define the component with its associated service. Only wait for components that have associated service enabled to reconcile during warm reboot.
    
    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    054f5b7 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] PSU and module thermals are no longer child of chassis (#6460

    )
    
    In order to build up device hierachy, PSU and module thermals are no longer child of chassis. PSU thermal belongs to PSU objects and SFP thermals belong to SFP object now. Need align this change in platform.json. Move thermal objects to correct parent device
    Junchao-Mellanox authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    6db88e8 View commit details
    Browse the repository at this point in the history
  4. [mellanox][platform api] fix a missing import time module (#6458)

    “time" module was missed to be imported and will cause an error when the branch hit.
    
    Signed-off-by: Kebo Liu <[email protected]>
    keboliu authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    1b29805 View commit details
    Browse the repository at this point in the history
  5. [minigraph.py]: Check for empty cluster tag before parsing (#6440)

    Some non-production minigraphs will have an empty ClusterName tag
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    ffcef27 View commit details
    Browse the repository at this point in the history
  6. [device/accton]: As7816-64x, fix memory leakage on accton fan monitor. (

    #6168)
    
    It's been reported that accton fan monitor process keeps consuming memory after few days.
    The amount of memory occupied increases in linear and never leased.
    
    Signed-off-by: roy_lee <[email protected]>
    roylee123 authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    c9d3e25 View commit details
    Browse the repository at this point in the history
  7. [device/celestica]: Add thermalctld support on DX010 platform APIs (#…

    …6089)
    
    **- Why I did it**
    - The thermalctld daemon on the Pmon docker requires support from the thermal manager API.
    
    **- How I did it**
    - Removed the old function for detecting a faulty fan.
    - Removed the old function for detecting excess temperature.
    - Implement thermal_manager APIs based on ThermalManagerBase
    - Implement thermal_conditions APIs based on ThermalPolicyConditionBase
    - Implement thermal_actions APIs based on ThermalPolicyActionBase
    - Implement thermal_info APIs based on ThermalPolicyInfoBase
    - Add thermal_policy.json
    Wirut Getbamrung authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0ca3434 View commit details
    Browse the repository at this point in the history
  8. [Mellanox] Make determine-reboot-cause service start after hw-managem…

    …ent service (#6465)
    
    **- Why I did it**
    
    On the Mellanox platform, reboot cause is fetched from some certain sysfs which is created by the hw-management service. So determine-reboot-cause service shall start after hw-management, otherwise it could fail due to the related sysfs is not available yet.
    
    **- How I did it**
    
    Add a patch to the hw-management service to make sure determine-reboot-cause service should start after it.
    
    Signed-off-by: Kebo Liu <[email protected]>
    keboliu authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    4cf9316 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. [build arm] fix sonic-slave-buster build break (#6469)

    When building the sonic-slave-buster docker container, the node.js package is
    installed to meet the requirements of the Azure DevOPs pipleline
    build. Recently this install of node.js has been failing.
    
    This commit fixes that build break by upgrading the
    sonic-slave-buster build to install version 14.x of node.js which is the
    current LTS version for buster.
    dflynn-Nokia authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    2830a2b View commit details
    Browse the repository at this point in the history
  2. [minigraph.py]: Don't create mux table entries for servers w/o loopba…

    …cks (#6457)
    
    Avoid sonic-cfggen crashing when a server does not have a configured loopback address in the minigraph
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    063e11c View commit details
    Browse the repository at this point in the history
  3. [DPB][YANG-models] extended regex pattern according to Mellanox syste…

    …ms speeds requirements (#6279)
    
    [DPB][MLNX][YANG] fixed range of max speed
    
    - Why I did it
    All Mellanox platforms require DPB modes with a specific set of speeds example
    
    - How I did it
    Extended regex pattern inside YANG model.
    Supported platforms: SN2010, SN2100, SN2410, SN2700, SN3420, SN3700, SN3700C, SN3800, SN4600C, SN4410, SN4700
    
    - How to verify it
    Manually tested DPB CLI on all platform with all modes
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    1ea5fd7 View commit details
    Browse the repository at this point in the history
  4. [DPB] [Mellanox] added capability files for SN2700 platform (#6003)

    [DPB] added capability files for SN2700 platform
    
    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN2700
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation.
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    c984cf9 View commit details
    Browse the repository at this point in the history
  5. [DPB] [Mellanox] added capability files for SN3800 platform (#6013)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN3800
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    d1db716 View commit details
    Browse the repository at this point in the history
  6. [DPB] [Mellanox] added capability files for SN2010 platform (#6015)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN2010
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    ce819e7 View commit details
    Browse the repository at this point in the history
  7. [DPB] [Mellanox] added capability files for SN2100 platform (#6016)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN2100
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    ffc957c View commit details
    Browse the repository at this point in the history
  8. [DPB] [Mellanox] added capability files for SN2410 platform (#6017)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN2410
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation.
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    553ece0 View commit details
    Browse the repository at this point in the history
  9. [DPB] [Mellanox] added capability files for SN3700 platform (#6021)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN3700
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    dd13e41 View commit details
    Browse the repository at this point in the history
  10. [DPB] [Mellanox] added capability files for SN4410 platform (#6059)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN4410
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    db5a88e View commit details
    Browse the repository at this point in the history
  11. [DPB] [Mellanox] added capability files for SN4600C platform (#6061)

    - Why I did it
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    - How I did it
    Created capability files according to platform specification SN4600C
    
    - How to verify it
    Full qualification requires bugs fixes reported under sonic-buildimage
    
    NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation.
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    ece8297 View commit details
    Browse the repository at this point in the history
  12. [kvm]: add debug cmd for build_kvm_image.sh (#6472)

    dump netstat info on error
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    9b2bc88 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. [mellanox]: fix mellanox hw-management build (#6471)

    use dpkg-buildpackage build with fakeroot
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 18, 2021
    Configuration menu
    Copy the full SHA
    755c737 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. [ci]: exit kvmtest on the first error (#6489)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    52afc80 View commit details
    Browse the repository at this point in the history
  2. [bgpd]: Check zebra is ready to connect when starting bgpd (#6478)

    Fix #5026
    
    There is a race condition between zebra server accepts connections and bgpd tries to connect. Bgpd has a chance to try to connect before zebra is ready. In this scenario, bgpd will try again after 10 seconds and operate as normal within these 10 seconds. As a consequence, whatever bgpd tries to sent to zebra will be missing in the 10 seconds. To avoid such a scenario, bgpd should start after zebra is ready to accept connections.
    shi-su authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    afee1a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53c2a0a View commit details
    Browse the repository at this point in the history
  4. [DPB] [Mellanox] added capability files for SN3420 platform (#6020)

    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    4e1c102 View commit details
    Browse the repository at this point in the history
  5. [submodule]: update sonic-wpa-supplicant (#6492)

    * 3b330db4a 2021-01-18 | [build]: Fix build error when compiling for armhf (32-bit) (#30) (HEAD, origin/master, origin/HEAD, master) [dflynn-Nokia]
    * 56aaa225b 2021-01-16 | [ci]: add pipeline for armhf and arm64 (#29) [lguohan]
    * 90da6141c 2021-01-12 | [ci]: propagate the correct error code the next step (#27) [lguohan]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    6d13d0f View commit details
    Browse the repository at this point in the history
  6. [submodule] Update sonic-sairedis submodule pointer (#6496)

    [ci]: download artifacts from master branch (#768)
    Do not create fabric port if mapping is not available (#769)
    [syncd] Comparison logic log also current attr value on set operation (#763)
    Add fabric port test to vslib (#737)
    [ci]: use sonicbld pool (#766)
    [tests] Remove exit command blocking all tests to run (#765)
    [vslib]: adapt macsec sai 1.7.1 (#755)
    Add support for SAI_SWITCH_ATTR_AVAILABLE_IPMC_ENTRY needed by CRM (#756)
    
    Signed-off-by: Danny Allen <[email protected]>
    daall authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    3a942fb View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. [submodule]: update sonic-utilities (#6485)

    - [route_check.py] - update includes checks on subscriptions (sonic-net/sonic-utilities#1344)
    - Validations checks while adding a member to PortChannel and removing a member from a Portchannel (sonic-net/sonic-utilities#1328)
    - [show] Add subcommand to show midplane status for modular chassis (sonic-net/sonic-utilities#1267)
    - [pytest][qos][config] Added pytests for "config qos reload" commands" (sonic-net/sonic-utilities#1346)
    - Drop explict 3 seconds pause between two object updates/deletes. (sonic-net/sonic-utilities#1359)
    - [show]fix for show muxcable status by replacing "hostname" to "peer_switch" for deriving tor ipv4_address (sonic-net/sonic-utilities#1360)
    - [PFCWD] Fix 'start' pfcwd command (sonic-net/sonic-utilities#1345)
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored Jan 20, 2021
    Configuration menu
    Copy the full SHA
    abb0139 View commit details
    Browse the repository at this point in the history
  2. sonic-config-engine uses libswsscommon instead of swsssdk (#6406)

    **- Why I did it**
    swsssdk will be deprecated. Migrate sonic-config-engine to use libswsscommon library instead
    
    **- How to verify it**
    Unit test
    qiluo-msft authored Jan 20, 2021
    Configuration menu
    Copy the full SHA
    3c16f80 View commit details
    Browse the repository at this point in the history
  3. [frr]: ADD L3 VNI EVPN Support for SONiC, Send RMAC and VLAN along wi…

    …th prefix to fpmsyncd. (#4806)
    
    Currently FRR is send Prefix with VNI information to FPMSYNCD. This PR allows FRR to send RMAC with EVPN Type5 prefix to fpmsyncd. This is a temp fix. This patch will be removed once neighorch is ready to handle the Prefix and ARP (containing RMAC) separately.
    kishorekunal01 authored Jan 20, 2021
    Configuration menu
    Copy the full SHA
    cad2025 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. [files/build/versions]: support reproduceable build for git (#5774)

    * support reproduceable build for git clone
    
    Signed-off-by: shilongliu <[email protected]>
    
    * fix
    
    Co-authored-by: shilongliu <[email protected]>
    liushilongbuaa and liushilongbuaa authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    d75c290 View commit details
    Browse the repository at this point in the history
  2. [submodule]: Update SONiC Utilities Submodule (#6507)

    Changes in this update:
    37695c8 [show]: Use TCP Connection For Muxcable Commands (#1371)
    8119ba2 Validations checks while creating and deleting a Portchannel (#1326)
    3df267e [config] Fix Breakout mode option and BREAKOUT_CFG table check method (#1270)
    9bd709b [show] Fix show arp in case with FDB entries, linked to default VLAN (#1357)
    bc2d27e [generate_dump]: fix syntax error
    
    signed-of-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    df29773 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25e4d77 View commit details
    Browse the repository at this point in the history
  4. [sonic-swss] Update submodule (#6336)

    Including below commits:
    
    36f7332 2021-01-14 | modified ERR log to NOTICE log for FDB notification failure after VLAN delete (#1595) [madhanmellanox]
    c21c883 2021-01-12 | [ci]: download artifacts from master branch build (#1597) [lguohan]
    a1d03a4 2021-01-12 | [fgnhgorch] Match mode changes for Fine Grained ECMP (#1565) [anish-n]
    1b65f3d 2021-01-12 | [ci]: use sonicbld pool (#1594) [lguohan]
    48ae866 2021-01-12 | [pfcwd] Update PFC storm detection logic for Mellanox platforms (#1586) [Volodymyr Samotiy]
    850001f 2021-01-12 | [FPMSYNCD] Evpn/Vxlan related changes to support FRR7.5(#1585) [KISHORE KUNAL]
    64ca9bb 2021-01-12 | [ci]: only copy artifacts when build is successful (#1590) [lguohan]
    17d0dae 2021-01-11 | [Fdborch] Fix for arm compilation (#1592) [Prince Sunny]
    693a02c 2021-01-08 | [gearbox] Add support for "hwinfo" field (#1547) [Baptiste Covolato]
    7e3b2c6 2021-01-09 | [Evpn Warmreboot] Added Dependancy check logic in VrfMgr (#1466) [nkelapur]
    a960e2e 2021-01-09 | [Orchagent]: FdbOrch changes for EVPN VXLAN (#1275) [Pankaj Jain]
    097cfda 2021-01-08 | [swss test] update setup guide for swss tests (#1582) [Ying Xie]
    b42253a 2021-01-05 | Fix for armhf build (#1580) [Qi Luo]
    d8c1465 2021-01-05 | [dvs] Update/disable DVS tests with new FRR 7.5 behavior (#1579) [Danny Allen]
    f6c7422 2021-01-05 | ASIC internal temperature sensors support (#1517) [Santhosh Kumar T]
    0aa9ef2 2021-01-01 | Simply by auto iterator type, because we will tune the return types of library functions (#1577) [Qi Luo]
    773238b 2020-12-31 | [build]: Fix format string for size_t (#1576) [Qi Luo]
    7ba4e43 2020-12-30 | [fgnhgorch] add warm reboot support for fgnhg (#1538) [weixchen1215]
    4cf6617 2020-12-30 | [ci]: add build for arm64 and armhf (#1572) [lguohan]
    6ebc0ed 2020-12-29 | [ci]: add azure-pipeline for amd64 (#1571) [lguohan]
    e32b9d0 2020-12-29 | [FDBSYNCD] Added pytest for fdbsyncd (#1560) [KISHORE KUNAL]
    a43f6be 2020-12-30 | [crm] Add support for snat, dnat and ipmc crm resources (#1511) [Prabhu Sreenivasan]
    7fc3888 2020-12-29 | PY Test script for EVPN L3 VxLAN (#1330) [Tapash Das]
    6eb36d9 2020-12-27 | vlanmgr changes related to EVPN VxLan warmboot (#1460) [anilkpan]
    
    Signed-off-by: Guohan Lu <[email protected]>
    qiluo-msft authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    21c3573 View commit details
    Browse the repository at this point in the history
  5. [sonic-swss-common]: Update Submodule (#6508)

    Update in this change:
    640a218 [packaging]: Add Support For Libboost v1.71.0 (#449)
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    5c31f6d View commit details
    Browse the repository at this point in the history
  6. [supervisord] Monitoring the critical processes with supervisord. (#6242

    )
    
    - Why I did it
    Initially, we used Monit to monitor critical processes in each container. If one of critical processes was not running
    or crashed due to some reasons, then Monit will write an alerting message into syslog periodically. If we add a new process
    in a container, the corresponding Monti configuration file will also need to update. It is a little hard for maintenance.
    
    Currently we employed event listener of Supervisod to do this monitoring. Since processes in each container are managed by
    Supervisord, we can only focus on the logic of monitoring.
    
    - How I did it
    We borrowed the event listener of Supervisord to monitor critical processes in containers. The event listener will take
    following steps if it was notified one of critical processes exited unexpectedly:
    
    The event listener will first check whether the auto-restart mechanism was enabled for this container or not. If auto-restart mechanism was enabled, event listener will kill the Supervisord process, which should cause the container to exit and subsequently get restarted.
    
    If auto-restart mechanism was not enabled for this contianer, the event listener will enter a loop which will first sleep 1 minute and then check whether the process is running. If yes, the event listener exits. If no, an alerting message will be written into syslog.
    
    - How to verify it
    First, we need checked whether the auto-restart mechanism of a container was enabled or not by running the command show feature status. If enabled, one critical process should be selected and killed manually, then we need check whether the container will be restarted or not.
    
    Second, we can disable the auto-restart mechanism if it was enabled at step 1 by running the commnad sudo config feature autorestart <container_name> disabled. Then one critical process should be selected and killed. After that, we will see the alerting message which will appear in the syslog every 1 minute.
    
    - Which release branch to backport (provide reason below if selected)
    
     201811
     201911
    [x ] 202006
    yozhao101 authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    be3c036 View commit details
    Browse the repository at this point in the history
  7. [minigraph.py]: Force /128 prefix for server IPv6 loopbacks (#6524)

    Meet the requirement for the MUX_CABLE table that IPv6 loopbacks have a /128 prefix
    
    Note that this change only affects the MUX_CABLE table, all other tables continue to use the loopback address provided in minigraph.
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    8729fdc View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. [pmon]: Run ledd using python3 unless excluded (#6528)

    **- Why I did it**
    
    Ledd is the last daemon that is not enabled to run in python3.
    Even though there is a plan to deprecate this daemon and to replace it by something else it's one simple step toward python2 deprecation.
    
    **- How I did it**
    
    Changed the `command=` line for `ledd` in the `supervisord` configuration of `pmon`.
    Copied what was done for other daemons.
    
    **- How to verify it**
    
    Booting a product that has a `led_control.py` should now show the ledd running in python3.
    I ran `python3 -m pylint` on all `led_control.py` plugin which means that most of them should be python3 compliant.
    There is however still a risk that some might not work.
    Staphylo authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    0464d15 View commit details
    Browse the repository at this point in the history
  2. Updated BBR to use peer group name as prefix. (#6515)

    To make BBR configured for peer-group if it's name starts with (prefixed) with the string define in constants.yml instead of exact string match.
    abdosi authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    5f39926 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07200ee View commit details
    Browse the repository at this point in the history
  4. [Multi Asic] support of swss.rec and sairedis.rec for multi asic (#6310)

    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan [email protected]
    
    - Why I did it
    This PR has the changes to support having different swss.rec and sairedis.rec for each asic.
    The logrotate script is updated as well
    
    - How I did it
    
    Update the orchagent.sh script to use the logfile name options in these PRs(sonic-net/sonic-swss#1546 and sonic-net/sonic-sairedis#747)
    In multi asic platforms the record files will be different for each asic, with the format swss.asic{x}.rec and sairedis.asic{x}.rec
    
    Update the logrotate script for multiasic platform .
    arlakshm authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    0e12ca8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1043678 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. [docker-config-engine-stretch]: Add missing dependency PYTHON2_SWSSCO…

    …MMON (#6538)
    
    Otherwise all the docker image derived from docker-config-engine-stretch will have broken SONIC_CONFIG_ENGINE_PY2
    The bug is introduced in #6406
    qiluo-msft authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    1c13340 View commit details
    Browse the repository at this point in the history
  2. [DellEMC Z9332f] Remove duplicate ipmihelper.py script (#6536)

    Fixes #6445
    
    Because the ipmihelper.py script in the 9332 folder is slightly different than the common one (due to LGTM fixes), when the common one gets copied during build time it causes the workspace/build to become dirty.
    
    Signed-off-by: Danny Allen <[email protected]>
    daall authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ef6a05f View commit details
    Browse the repository at this point in the history
  3. [sonic-platform-daemons] Update submodule (#6535)

    Submodule changes to be committed:
    
    * src/sonic-platform-daemons 81318f7...e72f6cd (3):
      > [ledd] Minor refactor; add unit tests (#143)
      > [thermalctld] Report unit test coverage (#141)
      > [psud] Increase unit test coverage (#140)
    jleveque authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    4a8e513 View commit details
    Browse the repository at this point in the history
  4. [process-reboot-cause] Make process-reboot-cause executable (#6534)

    process-reboot-cause script should be executable.
    jleveque authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    d4cde6d View commit details
    Browse the repository at this point in the history
  5. [build-docker-buster]: Install libboost 1.171 In Build Docker (#6532)

    Installing newst buster version of libboost (v1.71) in build docker.
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    8ce1e3e View commit details
    Browse the repository at this point in the history
  6. [sonic-host-services] Report unit test coverage (#6533)

    To view unit test coverage of sonic-host-services package upon build
    jleveque authored Jan 23, 2021
    Configuration menu
    Copy the full SHA
    238803d View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. [teamd]: Increase wait timeout for teamd docker stop to clean Port ch…

    …annels. (#6537)
    
    The Portchannels were not getting cleaned up as the cleanup activity was taking more than 10 secs which is default docker timeout after which a SIGKILL will be send.
    Fixes #6199
    To check if it works out for this issue in 201911 ? #6503
    
    This issue is significantly seen in master branch compared to 201911 because the Portchannel cleanup takes more time in master. Test on a DUT with 8 Port Channels.
    
    master
    
        admin@str-s6000-acs-8:~$ time sudo systemctl stop teamd
        real    0m15.599s
        user    0m0.061s
        sys     0m0.038s
    Sonic 201911.v58
    
        admin@str-s6000-acs-8:~$ time sudo systemctl stop teamd
        real    0m5.541s
        user    0m0.020s
        sys     0m0.028s
    judyjoseph authored Jan 24, 2021
    Configuration menu
    Copy the full SHA
    46b3bd5 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. [barefoot] Fixes for platform API (#6487)

    There was a mismatch with Eeprom class methods names and methods called from Eeprom class.
    
    Signed-off-by: Antonina Melnyk [email protected]
    antoninamelnyk authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    da7f80d View commit details
    Browse the repository at this point in the history
  2. [DPB][SN4700] extended set of speeds for split modes (#6278)

    platform.json and hwsku.json files has not a full set of speeds for split modes
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    709c1ec View commit details
    Browse the repository at this point in the history
  3. [DPB][SN3700C] extended set of speeds for split modes (#6277)

    platform.json and hwsku.json files has not a full set of speeds for split modes
    
    Signed-off-by: Vadym Hlushko <[email protected]>
    vadymhlushko-mlnx authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    48e7116 View commit details
    Browse the repository at this point in the history
  4. [ci]: build syncd-rpc for broadcom and mellanox (#6522)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    0daad0b View commit details
    Browse the repository at this point in the history
  5. [yang_model_test]: Tests for default value of docker_routing_config_m…

    …ode and Empty ACL ports. (#6470)
    
    Tests for default value of docker_routing_config_mode and Empty ACL ports.
    
    Signed-off-by: Praveen Chaudhary <[email protected]>
    Praveen Chaudhary authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    24df482 View commit details
    Browse the repository at this point in the history
  6. [sonic-cfggen] parse optional fec and autoneg fields from hwsku.json (#…

    …6155)
    
    **- Why I did it**
    
    For now `hwsku.json` and `platform.json` dont support optional fields. For example no way to add `fec` or `autoneg` field using `platform.json` and `hwsku.json`.
    
    **- How I did it**
    Added parsing of optional fields from hwsku.json.
    
    **- How to verify it**
    Add optional field to `hwsku.json`. After first boot will be generated new `config_db.json` or you can generate it using `sonic-cfggen` command. In this file must be optional field from `hwsku.json` or check using command `redis-cli hgetall PORT_TABLE:Ethernet0`
    Example of `hwsku.json`, that must be parsed:
    ```
    {
        "interfaces": {
            "Ethernet0": {
                "default_brkout_mode": "1x100G[40G]",
                "fec": "rs",
                "autoneg": "0"
            },
    ...
    }
    ```
    Example of generated `config_db.json`:
    ```
        "PORT": {
            "Ethernet0": {
                "alias": "Ethernet0",
                "lanes": "0,1,2,3",
                "speed": "100000",
                "index": "1",
                "admin_status": "up",
                "fec": "rs",
                "autoneg": "0",
                "mtu": "9100"
            },
    ```
    So, we can see this entries in redis db:
    ```
    admin@sonic:~$ redis-cli hgetall PORT_TABLE:Ethernet0
    
     1) "alias"
     2) "Ethernet0"
     3) "lanes"
     4) "0,1,2,3"
     5) "speed"
     6) "100000"
     7) "index"
     8) "1"
     9) "admin_status"
    10) "up"
    11) "fec"
    12) "rs"
    13) "autoneg"
    14) "0"
    15) "mtu"
    16) "9100"
    17) "description"
    18) ""
    19) "oper_status"
    20) "up"
    ```
    
    Also its way to fix `show interface status`, `FEC` field but also need add `FEC` field to `hwsku.json`.
    Before:
    ```
    admin@sonic:~$ show interfaces status
      Interface            Lanes    Speed    MTU    FEC        Alias    Vlan    Oper    Admin             Type    Asym PFC
    -----------  ---------------  -------  -----  -----  -----------  ------  ------  -------  ---------------  ----------
      Ethernet0          0,1,2,3     100G   9100     N/A    Ethernet0  routed      up       up  QSFP28 or later         N/A
    ```
    After:
    ```
    admin@sonic:~$ show interfaces status
      Interface            Lanes    Speed    MTU    FEC        Alias    Vlan    Oper    Admin             Type    Asym PFC
    -----------  ---------------  -------  -----  -----  -----------  ------  ------  -------  ---------------  ----------
      Ethernet0          0,1,2,3     100G   9100     rs    Ethernet0  routed      up       up  QSFP28 or later         N/A
    ```
    dmytroxshevchuk authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    dd0e110 View commit details
    Browse the repository at this point in the history
  7. [frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framew…

    …ork_config is true (#5142)
    
    - Support for non-template based FRR configurations (BGP, route-map, OSPF, static route..etc) using config DB schema.
    - Support for save & restore - Jinja template based config-DB data read and apply to FRR during startup
    
    **- How I did it**
    
    - add frrcfgd service
    - when frr_mgmg_framework_config is set, frrcfgd starts in bgp container
    - when user changed the BGP or other related table entries in config DB, frrcfgd will run corresponding VTYSH commands to program on FRR.
    - add jinja template to generate FRR config file to be used by FRR daemons while bgp container restarted
    
    **- How to verify it**
    1. Add/delete data on config DB and then run VTYSH "show running-config" command to check if FRR configuration changed.
    1. Restart bgp container and check if generated FRR config file is correct and run VTYSH "show running-config" command to check if FRR configuration is consistent with attributes in config DB
    
    Co-authored-by: Zhenhong Zhao <[email protected]>
    zhaozhenhong and Zhenhong Zhao authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    a171e6c View commit details
    Browse the repository at this point in the history
  8. [ci]: add vs tests (#6506)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    3bc82e5 View commit details
    Browse the repository at this point in the history
  9. [submodule]: update sonic-sairedis (#6544)

    * 20b9573 2021-01-24 | [SAI]: update SAI submodule (#775) (HEAD, origin/master, origin/HEAD) [lguohan]
    * 667c33d 2021-01-22 | [syncd] Comparison logic add support to LABEL attribute with higher priority (#764) [Kamil Cudnik]
    * aaf5b98 2021-01-22 | [vslib]: Fix missing MACsec Create Port action (#770) [Ze Gan]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    cd3ed54 View commit details
    Browse the repository at this point in the history
  10. [vstest]: add default vs test

    Check #6483
    
    add test to make sure default route change in eth0 does not
    affect the default route in the default vrf
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    4b5212b View commit details
    Browse the repository at this point in the history
  11. [submodule]: update sonic-swss

    * f4e8245 2021-01-24 | [fpmsyncd] Skip routes to eth0 or docker0 (#1606) (HEAD, origin/master, origin/HEAD) [Shi Su]
    * f4c3579 2021-01-23 | Enhance dynamic buffer calculation and bug fixes (#1601) [Stephen Sun]
    * e800c9f 2021-01-22 | [logfile]: Add option to specify swss rec file name (#1546) [arlakshm]
    * 1acf60e 2021-01-17 | Implementation of System ports initialization, Interface & Neighbor Synchronization... (#1431) [minionatwork]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    a38377e View commit details
    Browse the repository at this point in the history
  12. [dhcp-relay]: Launch DHCP Relay On L3 Vlan (#6527)

    Recent changes brought l2 vlan concept which do not have DHCP
    clients behind them and so DHCP relay is not required. Also,
    dhcpmon fails to launch on those vlans as their interfaces
    lack IP addresses. This PR limit launch of both DHCP relay
    and dhcpmon to L3 vlans only.
    
    singed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    8d857fa View commit details
    Browse the repository at this point in the history
  13. [mellanox]: Update SDK to 4.4.2308, FW to *.2008.2308 (#6552)

    Bugs fixes:
        All | Kernel | During system reload when CPU is loaded with heavy traffic, a Kernel Panic may occur.
        All | Modules, Port split | FW stuck when device rebooted with locked Optical Transceivers in split mode
        Spectrum-3 | PFC | On Spectrum-3 systems, slow reaction time to Rx pause packets on 40GbE ports may lead to buffer overflow on servers.
        Spectrum-3 | SN4700, Port Split | On rare occasion SN4700, conducting 100G split (4x25G) in NRZ when splitter port 1 or 2 are down, ports 3 and 4 will also go down.
    
    Enahncments:
        All | Kernel | new notification on ISSU start, so other kernel drivers can disable any interface to ASIC
    
    Signed-off-by: Kebo Liu <[email protected]>
    keboliu authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    84985e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2021

  1. [ci]: reset the owner for all files under working directory (#6557)

    reset the owner for all files under working directory. some files were owned by root after build, which cause
    next build to fail since directory cannot be cleanned.
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 26, 2021
    Configuration menu
    Copy the full SHA
    6957e37 View commit details
    Browse the repository at this point in the history
  2. [ci]: add -k ceos option to setup t0 testbed (#6565)

    this is due to command line change in
    sonic-net/sonic-mgmt@1e12790
    
    this is due to command line change in
    sonic-net/sonic-mgmt@1e12790
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 26, 2021
    Configuration menu
    Copy the full SHA
    30ae46e View commit details
    Browse the repository at this point in the history
  3. [ci]: archive kvmtest artifacts (#6567)

    - archive logs
    - archive kvm memdump when failed
    - publish kvm test results
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 26, 2021
    Configuration menu
    Copy the full SHA
    a9a0e30 View commit details
    Browse the repository at this point in the history
  4. [submodule]: update sonic-swss (#6561)

    f4aefba - 2021-01-25 : [Mux] Fix repeating logs in case of tunnel creation fail (#1610) [Prince Sunny]
    prsunny authored Jan 26, 2021
    Configuration menu
    Copy the full SHA
    7337483 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e616a32 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. [bgpmon]: Fix exception in bgpmon caused by duplicate bgp neighbor ID (

    …#6546)
    
    * Fix exception in bgpmon caused by duplicate keys
    It is possible that BGP neighbors in IPv4 and IPv6 address families
    share the same name (such as bgp monitor). However, such case is not
    handled in bgpmon, and an Exception will be raised. This commit will
    address the issue by Using set instead of list to avoid duplicate keys.
    bingwang-ms authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    6fa807d View commit details
    Browse the repository at this point in the history
  2. Add hw-mgmt patch to support SDK OFFLINE event for handling flow with…

    …in service firmware upgrade (#6550)
    
    During ISSU, "mlxsw_minimal" driver still trying to access firmware, in some cases FW could return some wrong critical threshold value which will cause switch shutdown.
    
    **- How I did it**
    In order to prevent "mlxsw_minimal" driver from accessing ASIC during ISSU, SDK will raise "OFFLINE" 'udev' event
    at the early beginning of such flow. When this event is received, hw-management will remove "mlxsw_minimal" driver.
    There is no need to implement the opposite "ONLINE" event since this flow is ended up with "kexec".
    
    **- How to verify it**
    repeatedly perform warm reboot, make sure there is no switch shutdown occurred.
    keboliu authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    9ff5644 View commit details
    Browse the repository at this point in the history
  3. [docker-ptf]: build docker ptf

    - combine docker-ptf-saithrift into docker-ptf docker
    - build docker-ptf under platform vs
    - remove docker-ptf for other platforms
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    ca0e8cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    044efe7 View commit details
    Browse the repository at this point in the history
  5. [ci]: build docker-ptf on vs platform

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    f3a901c View commit details
    Browse the repository at this point in the history
  6. [baseimage]: Updates for Ebtables and support for multi-asic (#6542)

    Following changes were done for ebtables:
    
    - Support for Multi-asic platforms. Ebtable filters are installed in namespace for multi-asic and not host. On Single asic installed on  host.
    
    - For Multi-asic platforms we don't want to install on host otherwise Namespace-to-Namespace communication does not happens since ARP Request are not forwarded.
    
    - Updated to use text file to restore ebtables rules then the binary format. Rules are restore as part of Database docker init instead of rc.local
    
    - Removed the ebtable service files for buster as not needed as filters are restored/installed as part of database docker init.
       All the binaries are pre-installed with ebtables* binary are same as ebatbles-legacy-* 
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    abdosi authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    cfa8fbb View commit details
    Browse the repository at this point in the history
  7. [docker-config-engine-stretch]: Fix dependency typo PYTHON2_SWSSCOMMON (

    #6568)
    
    This commit fixes a typo in the fix delivered in PR #6538
    
    syncd fails on the armhf platform within sonic-config-engine/portconfig.py when importing the following
    'from swsscommon.swsscommon import ConfigDBConnector'
    dflynn-Nokia authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    1f2797a View commit details
    Browse the repository at this point in the history
  8. [mellanox]: Update SAI to sonic2012 1.18.1.0 (#6566)

    Changes in the new release:
    
    1. Policy based hashing optimization
    2. New attribute support for Max port headroom
    3. Tunnel ECN map fixes
    4. Tunnel EVPN skeleton extensions (peer attrib, maps)
    5. Bridge port admin not affecting port admin (optimize port down time)
    6. CRM new API for neighbors and tunnel termination entries
    7. Improve FDB event for flush by bridge port (before, null bridge was reported to SONiC, now the bridge will be extracted from bridge port)
    8. DHCP L2 v4+v6 traps (for ZTP use case)
    9. Generic counter implementation
    
    Signed-off-by: Kebo Liu <[email protected]>
    keboliu authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    7f222e7 View commit details
    Browse the repository at this point in the history
  9. [FRR] Create a separate script to wait zebra to be ready to receive c…

    …onnections (#6519)
    
    The requirement for zebra to be ready to accept connections is a generic problem that is not 
    specific to bgpd. Making the script to wait for zebra socket a separate script and let bgpd and 
    staticd to wait for zebra socket.
    shi-su authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    aab37b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. [proc-exit-listener]: ignore blank lines

    make proc-exit-listener more rebust
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    34cca20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7346cc View commit details
    Browse the repository at this point in the history
  3. [ci]: Download artifact instead of using nfs storage (#6570)

    I notice that I rerun a failed job (not the stages), the nfs store is already cleaned by previous failed jobs.
    qiluo-msft authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    69c5832 View commit details
    Browse the repository at this point in the history
  4. [ci]: correct ownership of artifacts (#6582)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    7d01613 View commit details
    Browse the repository at this point in the history
  5. [sonic-sairedis] advance submodule to include fix for syncd crash dur…

    …ing shutdown (#6581)
    
    Remove unregisterMessageHandler from NetMsgRegistrar thread (#779)
    vaibhavhd authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    98298f7 View commit details
    Browse the repository at this point in the history
  6. [ci]: append job.attempt in memdump/log artifacts

    azure pipepline does not allow upload same artifacts again.
    thus, use job.attempt to uniquely name the test artifacts
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    fb0b999 View commit details
    Browse the repository at this point in the history
  7. [build]: stop prompt during build (#6585)

    Some commands used during build will prompt user interactively, but this is not expected during build. Since most output is collected into log file, user could not see the prompt and feel the build process hangs.
    
    - How I did it
    
    Use mv command in non interactive mode
    Redirect stdin to null if command output is collected into log file.
    qiluo-msft authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    0e72878 View commit details
    Browse the repository at this point in the history
  8. [BCMSAI] Update BCMSAI debian to 4.3.0.10 with 6.5.21 SDK, and openns…

    …l module to 6.5.21 (#6526)
    
    BCMSAI 4.3.0.10, 6.5.21 SDK release with enhancements and fixes for vxlan, TD3 MMU, TD4-X9 EA support, etc.
    smaheshm authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    f6b842e View commit details
    Browse the repository at this point in the history
  9. [docker-sonic-vs] Install sonic-platform-common package (#6587)

    **- Why I did it**
    
    sonic-utilities will become dependent upon sonic-platform-common as of sonic-net/sonic-utilities#1386.
    
    **- How I did it**
    
    - Add sonic-platform-common as a dependency in docker-sonic-vs.mk
    - Additionally, no longer install Python 2 packages of swsssdk and sonic-py-common, as they should no longer be needed.
    jleveque authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    5985d94 View commit details
    Browse the repository at this point in the history
  10. Bump pyyaml from 5.3.1 to 5.4.1 (#6511)

    RCE resolved in new version yaml/pyyaml#420
    qiluo-msft authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    1c8d5ec View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. [multi asic] add ip netns identify command to sudoer (#6591)

    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    
    - Why I did it
    The command sudo ip netns identify <pid> is used in function get_current_namespace
    to check in the cli command is running in host context or within a namespace.
    
    This function is used for every CLI command and command sudo ip netns identify <pid> needs to be added in sudoer files to allow users with RO access to run show cli commands
    
    This problem is not there on single asic platforms.
    
    - How I did it
    Add ip netns identify [0-9]* to sudoers file.
    arlakshm authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    ff8cc49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e623c90 View commit details
    Browse the repository at this point in the history
  3. [baseimage]: add docker ps to the sudoer file (#6604)

    fixes sonic-net/sonic-utilities#1389
    
    With the recent changes in sudoer files. The  show commands fails for the read-only users. 
    The problem here is the 'docker ps' is failing in the function [get_routing_stack()](https://github.com/Azure/sonic-utilities/blob/8a1109ed30576f0287fcd98a4349617f7fb55700/show/main.py#L54) therefore all the CLI commands are failing.
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    arlakshm authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    b522540 View commit details
    Browse the repository at this point in the history
  4. [submodule]: update sonic-swss (#6601)

    * 832815e 2021-01-28 | [orchagent]: Add MACsec Orchagent (#1474) (HEAD, origin/master, origin/HEAD) [Ze Gan]
    * dd4e409 2021-01-28 | [MACsecMgr]: Add MACsec Manager (#1475) [Ze Gan]
    * 91e231c 2021-01-28 | [portsorch] Configure hostif tagging for subports (#1573) [Vitaliy Senchyshyn]
    * 008325c 2021-01-29 | [PortsOrch] Add reference counting to ports for ACL bindings (#1614) [chaoskao]
    * bbd2ca6 2021-01-28 | [crm]: Ignore unsupported/non-implemented switch attributes (#1613) [Prabhu Sreenivasan]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    759936c View commit details
    Browse the repository at this point in the history
  5. [build_debian.sh] Freeze pip2 < version 21 (#6597)

    **- Why I did it**
    
    As per https://pypi.org/project/pip/ pip 21.0 does not not support Python 2 from Jan 2021. Most places in the codebase have already been pinned, but this one was missed.
    
    **- How I did it**
    
    Pin pip2 < version 21 in build_debian.sh
    jleveque authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    f9d75a0 View commit details
    Browse the repository at this point in the history
  6. [submodule] update sonic-sairedis (#6609)

    This update includes the following changes
    
      > [syncd armhf] Fix syncd crash when running community test suites (#777)
      > Revert "[tests]:Add unittest for MACsec on p2p establishment (#771)"
      > [tests]:Add unittest for MACsec on p2p establishment (#771)
      > [tests] Enable azure pipeline make check to respect unittests (#760)
    dflynn-Nokia authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    2a2c6b7 View commit details
    Browse the repository at this point in the history
  7. [sonic-device-data]: Update BRCM Tunnel/ECMP Parameter For 7050cx3 SK…

    …Us (#6415)
    
    Update Tunnel and ECMP parameters for brcm 7050cx3 48x50G+8x100G and 32x100G SKUs.
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Jan 29, 2021
    Configuration menu
    Copy the full SHA
    284c273 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. [barefoot][platform] platform API 2.0 fixes (#6607)

    To improve python3 support of berefoot's sonic_platform
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Jan 30, 2021
    Configuration menu
    Copy the full SHA
    4818706 View commit details
    Browse the repository at this point in the history
  2. [broadcom]: Fix BRCM Syncd Error:syncd#/supervisord: syncd sh: 1: eth…

    …tool: not found (#6615)
    
    Starting with BRCM SAI 4.3.1.5 we see the following :ethtool not fount" error in syslog during boot up:
    ```
    Jan 27 07:36:14.712472 str-s6100-acs-1 INFO syncd#/supervisord: syncd sh: 1:
    Jan 27 07:36:14.712844 str-s6100-acs-1 INFO syncd#/supervisord: syncd ethtool: not found
    Jan 27 07:36:14.713228 str-s6100-acs-1 INFO syncd#/supervisord: syncd #15
    Jan 27 07:36:14.713840 str-s6100-acs-1 INFO syncd#syncd: [0] SAI_API_HOSTIF:_brcm_sai_hostif_speed_set:11894 cmd ethtool -s Ethernet39 speed 40000 rc:32512
    Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet39
    Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- initPort: Initialized port Ethernet39
    Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- initializePort: Initializing port alias:Ethernet36 pid:1000000000040
    Jan 27 07:36:14.726793 str-s6100-acs-1 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet36 admin:0 oper:0 addr:4c:76:25:f5:48:80 ifindex:75 master:0
    Jan 27 07:36:14.727967 str-s6100-acs-1 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet36(ok) to state db
    Jan 27 07:36:14.729331 str-s6100-acs-1 NOTICE swss#orchagent: :- addHostIntfs: Create host interface for port Ethernet36
    Jan 27 07:36:14.752398 str-s6100-acs-1 INFO syncd#/supervisord: syncd sh: 1: ethtool: not found#015
    Jan 27 07:36:14.752689 str-s6100-acs-1 INFO syncd#syncd: [0] SAI_API_HOSTIF:_brcm_sai_hostif_speed_set:11894 cmd ethtool -s Ethernet36 speed 40000 rc:32512
    Jan 27 07:36:14.756050 str-s6100-acs-1 NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet36
    Jan 27 07:36:14.757585 str-s6100-acs-1 NOTICE swss#orchagent: :- initPort: Initialized port Ethernet36
    ```
    It seems that starting with BRCM SAI 4.2.1.5 syncd is using ethtool to set the host interface speed and since this ethtool was not part of the syncd Docker, we observe these "ethtool not found" issue.
    gechiang authored Jan 30, 2021
    Configuration menu
    Copy the full SHA
    c5d4779 View commit details
    Browse the repository at this point in the history
  3. [ci]: reset the repo

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    3ffa352 View commit details
    Browse the repository at this point in the history
  4. [broadcom]: Add BCM config variable that contains premier cancun firm…

    …ware path (#6611)
    
    BRCM SDK 6.5.21 includes firmware updates (premier cancun) for TD3 platforms. The firmware update is required on TD3 platforms, which is packaged with BCMSAI 4.3.0.10.
    
    **- How I did it**
    
    Updated BCM config with a new variable that specifies the firmware package path. SDK uses this path to locate firmware packages and load during cold boot.
    
    **- How to verify it**
    
     
    bsv
    BRCM SAI ver: [4.3.0.10], OCP SAI ver: [1.7.1], SDK ver: [sdk-6.5.21] CANCUN ver: [5.3.3]
    drivshell>
    admin@str2-7050cx3-acs-02:~$ bcmsh
    Press Enter to show prompt.
    Press Ctrl+C to exit.
    NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time.
     
     
    drivshell>cancun stat
    cancun stat
    UNIT0 CANCUN:
            CIH: LOADED
            Ver: 06.06.01
     
            CMH: LOADED
            Ver: 06.06.01
            SDK Ver: 06.05.21
     
            CCH: LOADED
           Ver: 06.06.01
            SDK Ver: 06.05.21
     
            CEH: LOADED
            Ver: 06.06.01
            SDK Ver: 06.05.21
     
    drivshell>
    smaheshm authored Jan 30, 2021
    Configuration menu
    Copy the full SHA
    908884b View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2021

  1. [kvm]: install net-tools package for debug

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 31, 2021
    Configuration menu
    Copy the full SHA
    83c51e4 View commit details
    Browse the repository at this point in the history
  2. [ci]: cleanup source directory upon checkout

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Jan 31, 2021
    Configuration menu
    Copy the full SHA
    c041d25 View commit details
    Browse the repository at this point in the history
  3. Check fan speed before check fan status (#6586)

    **- Why I did it**
    In thermalctd, when speed of fan exceeds threshold, the fan status will be saved as "bad". So in system health, it is better to check fan speed before fan status. In this case, if fan speed exceeds threshold, we get more detailed information.
    
    **- How I did it**
    Move fan speed check logic before fan status check
    
    **- How to verify it**
    Manual test
    Junchao-Mellanox authored Jan 31, 2021
    Configuration menu
    Copy the full SHA
    2a0351c View commit details
    Browse the repository at this point in the history
  4. [syncd-rpc docker] Fix issue: ptf_nn_agent isn't able to start in syn…

    …cd-rpc docker on buster (#6448)
    
    - Why I did it
    Fix issue: ptf_nn_agent isn't able to start in syncd-rpc docker on buster.
    
    - How I did it
    The issue is fixed by installing python-dev, cffi and nnpy for python 2 explicitly.
    
    - How to verify it
    Run copp test on RPC image.
    stephenxs authored Jan 31, 2021
    Configuration menu
    Copy the full SHA
    4f50658 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. [broadcom]: broadcom sai update to 4.3.0.10-3 (#6620)

    1. BRCM SAI Debian build need not have any Kernel version dependency - Starting with 4.3 BRCM made changes in SAI so that this dependency has been cleaned up. We can now remove the Kernel Version dependency from Azure Pipeline build script.
    
    2. Bypass PEER_MODE p2mp setting causing SYNCd crash on non-TD3 SKUs - Temporarily patch BRCM SAI code to not cause SYNCd crash when Orchagent program SAI_TUNNEL_ATTR_PEER_MODE: SAI_TUNNEL_PEER_MODE_P2MP on Non-TD3 SKUs. Will remove this when BRCM provide proper fix to address this issue.
    gechiang authored Feb 1, 2021
    Configuration menu
    Copy the full SHA
    7928fbf View commit details
    Browse the repository at this point in the history
  2. [arm64] disable snmp's parallel make (#6592)

    snmpd's compile is always failed with file truncated on ARM64 arch, the error log is like "/usr/bin/ld: mibgroup/ip-forward-mib/inetCidrRouteTable/.libs/inetCidrRouteTable_interface.o: file not recognized: file truncated"
    
    Co-authored-by: Xianghong Gu <[email protected]>
    guxianghong and Xianghong Gu authored Feb 1, 2021
    Configuration menu
    Copy the full SHA
    4421a68 View commit details
    Browse the repository at this point in the history
  3. [ci]: add t1-lag testbed (#6619)

    introduce run-test template 
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 1, 2021
    Configuration menu
    Copy the full SHA
    dbfdab7 View commit details
    Browse the repository at this point in the history
  4. [owners]: add initial owners

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    8a024f0 View commit details
    Browse the repository at this point in the history
  5. [frr]: upgrade frr to frr-7.5-s2 tag (#6628)

    pick-up upstream fixes. important ones
    
    - bgpd: Removing "neighbor <peer-group> allowas-in"
    
    complete lists
    
    *   6b2b5cce3 2021-01-29 | Merge pull request #7977 from ton31337/fix/allowas_in_reset_value_7.5 (HEAD -> frr/7.5, tag: frr-7.5-s2, upstream/stable/7.5, origin/frr/7.5, stable/7.5) [Donald Sharp]
    |\
    | * f403534df 2021-01-28 | bgpd: Removing "neighbor <peer-group> allowas-in" [Kishore Kunal]
    * |   86e2f106c 2021-01-28 | Merge pull request #7962 from ton31337/fix/bgpd_validate_community_7.5 [Donald Sharp]
    |\ \
    | |/
    |/|
    | * e182af45c 2021-01-05 | bgpd: separate lcommunity validation from tokenizer [Wesley Coakley]
    | * 2cf37d594 2020-12-30 | bgpd: Validate community list if they are not malformed [Donatas Abraitis]
    |/
    *   a4af08a19 2021-01-22 | Merge pull request #7912 from idryzhov/7.5-backports-2021-01 [Donald Sharp]
    |\
    | * 160021013 2021-01-12 | bgpd : multiple memory leak fixes in show commands [Sarita Patra]
    | * 46a2b560f 2021-01-19 | tools: fix frr-reload BFD profile support [Rafael Zalamena]
    | * 7f6c81fca 2020-12-02 | ospfd: fix area removal at interface level [ckishimo]
    | * f7db4dfb1 2021-01-08 | bfdd: update vrf of received packet [Philippe Guibert]
    | * 4d470f3ef 2021-01-08 | bfdd: enable bfd session if vrf interface available [Philippe Guibert]
    | * c656985fb 2021-01-08 | bfdd: socket should be bound to vrf interface by default [Philippe Guibert]
    | * f30c002b8 2021-01-15 | bgpd: Allow peer-groups to have `ttl-security hops` configured [Donald Sharp]
    | * 85ff76513 2021-01-15 | configure.ac: Correct library name for sysrepo [Bo Zhang]
    | * d00c543f1 2020-12-04 | bgpd: Handle IPv6 prefixes with IPv4 nexthops for zebra [Donatas Abraitis]
    | * 87b9b2973 2021-01-06 | zebra: zebra route-map delay-timer is global not per vrf [Donald Sharp]
    | * 91e1adec9 2021-01-05 | bgpd: Fix default-originate clearing from peer-groups. [zyxwvu Shi]
    | * 0f2f32fa1 2021-01-05 | isisd: When last area address is removed, resign if we were DR [Karen Schoener]
    | * 842e99d49 2021-01-02 | vrrpd.yang bug fix: modify augment path to comply with rfc 7950 [Bo Zhang]
    | * 9616ef937 2020-12-24 | ospfd: fix no show database output when selecting vrf [Louis Scalbert]
    | * 4c4764e36 2020-11-30 | ospf6d: ospfv3 disable on the interface, but interface prefix still shown in the output [Yash Ranjan]
    | * 1870dbd86 2020-12-14 | ospf6d: Link LSA is not updated when router priority is modified [Mobashshera Rasool]
    | * 4883a06c3 2020-12-10 | bgpd: fix evpn route-map vni filter at origin [Chirag Shah]
    |/
    *   9c087052a 2021-01-15 | Merge pull request #7877 from vishaldhingra/static_7_5 [Mark Stapp]
    |\
    | * a687b6b27 2021-01-15 | staticd: Backend cofiguration code to fix table-id problem [vdhingra]
    | * 52370b494 2021-01-15 | staticd: autogenerated code modifications due to yang changes [vdhingra]
    | * f9d6511f2 2021-01-15 | staticd: make table-id as the key for path-list [vdhingra]
    |/
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 1, 2021
    Configuration menu
    Copy the full SHA
    5c8b70e View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. [Bgpcfgd] Add unit tests (#6634)

    Add unit tests for bgpcfgd and fix a minor bug in manager_intf.py found in testing
    shi-su authored Feb 2, 2021
    Configuration menu
    Copy the full SHA
    ee18483 View commit details
    Browse the repository at this point in the history
  2. [kdump] Fix OOM events in crashkernel (#6447)

    A few issues where discovered with crashkernel on Arista platforms.
    
    1) platforms using `docker_inram=on` would end up OOM in kdump environment.
    This happens because the same initramfs is used by SONiC and the crashkernel.
    With `docker_inram=on` the `dockerfs.tar.gz` is extracted in a `tmpfs` created for the occasion.
    Since `dockerfs.tar.gz` weights more than 1.5G, it doesn't fit into the kdump environment and ends up OOM.
    This OOM event can in turn trigger a panic.
    
    2) Arista platforms with `secureboot` enabled would fail to load the crashkernel because the kernel parameter would be discarded on boot.
    This happens because the `boot0` in secureboot mode is strict about kernel parameter injection.
    
    3) The secureboot path allowlist would remove kernel crash reports.
    
    4) The kdump service would fail on Arista products since `/boot/` is empty in `secureboot`
    
    **- How I did it**
    
    1) To prevent an OOM event in the crashkernel the fix is to avoid the codepaths in `union-mount` that create tmpfs and populate them. Some more codepath specific to Arista devices are also skipped to make the kdump process faster.
    This relies on detecting that the initramfs is starting in a kdump environment and skipping some initialization.
    The `/usr/sbin/kdump-config` tool appends a few kernel cmdline arguments when loading the crashkernel.
    The most unique one is `systemd.unit=kdump-tools.service` which is used in a few initramfs hooks to set `in_kdump`.
    
    2) To allow `kdump` to work in `secureboot` environment the cmdline generation in boot0 was slightly modified.
    The codepath to load kernel parameters changed by SONiC is now running for booting in secure mode.
    It was altered to prevent an append only behavior which would grow the `kernel-cmdline` at every reboot.
    This ever growing behavior would lead `kexec` to fail to load the kernel due to a too long cmdline.
    
    3) To get the kernel crash under /var/crash this path has to be added to `allowlist_paths`
    
    4) The `/host/image-XXX/boot` folder is now populated in `secureboot` mode but not used.
    
    **- How to verify it**
    
    Regular boot:
     - enable kdump
     - enable docker_inram=on via kernel-params
     - reboot
     - generate a crash `echo c > /proc/sysrq-trigger`
     - before: witness OOM events on the console
     - after: crash kernel works and crash available under /var/crash
    
    Secure boot:
     - enable kdump
     - reboot
     - generate a crash `echo c > /proc/sysrq-trigger`
     - before: witness no kdump
     - after: crash kernel works and crash available under /var/crash
    
    
    Co-authored-by: Boyang Yu <[email protected]>
    Staphylo and byu343 authored Feb 2, 2021
    Configuration menu
    Copy the full SHA
    0c4d4ac View commit details
    Browse the repository at this point in the history
  3. [proc-exit-listener]: fix syntax error

    the bug is introduced in commit 34cca20
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    3f2a39d View commit details
    Browse the repository at this point in the history
  4. Update minigraph.py to parse kubernetes config from minigraph.xml (#6633

    )
    
    Update minigraph parser to retrieve kubernetes server info from minigraph.xml and update "KUBERNETES_MASTER|SERVER" in running config.
    Update minigraph parser to include clusterName from minigraph.xml into "DEVICE_METADATA|localhost"
    renukamanavalan authored Feb 2, 2021
    Configuration menu
    Copy the full SHA
    890545f View commit details
    Browse the repository at this point in the history
  5. [arista]: 7050CX3-32S-C32: Remove unused 10G ports and update speed (#…

    …6638)
    
    port_config.ini for HWSKU Arista-7050CX3-32S-C32 has missing speed column and duplicated lanes.
    The incorrect speed causes issues in Orchagent RESTARTCHECK as the below task remains as the remaining item during swss shutdown.
    vaibhavhd authored Feb 2, 2021
    Configuration menu
    Copy the full SHA
    580666a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. [platform][barefoot] Install sonic_platform to host (#6644)

    - Why I did it
    SONiC design requires sonic_platform package to be installed in SONiC host environment, not only in docker containers.
    
    - How I did it
    For now, sonic_platform python wheel package, that is used by pmon, is provided via device-specific platform modules deb packages that unpacks the wheel package file into specific device's directory on lazy-install.
    The PR makes deb packages' postinst script also install these unpacked wheel packages to host.
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    f8ddc39 View commit details
    Browse the repository at this point in the history
  2. [codeowners]: update the global fallback

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    eeb9554 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c98e8d6 View commit details
    Browse the repository at this point in the history
  4. [ci] Archive compiled Debian packages and Python wheels (#6650)

    Archive compiled Debian packages and Python wheels so that the artifacts can be downloaded and used by other pipelines.
    Also archive related log files.
    jleveque authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    c488c2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bceccb View commit details
    Browse the repository at this point in the history
  6. [sairedis] Submodule Update (#6649)

    Change in this updat:
        b39e746 Spell check fixes (#783)
        373be80 [build-vm] Don't Install Lib Boost 1.67 (#784)
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    80cd8c4 View commit details
    Browse the repository at this point in the history
  7. [ci]: Cleanup fsroot before checking out code (#6639)

    Signed-off-by: Guohan Lu <[email protected]>
    Co-authored-by: Guohan Lu <[email protected]>
    xumia and lguohan authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    aae9664 View commit details
    Browse the repository at this point in the history
  8. [ci]: exclude .github from trigger build (#6661)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    70a6d76 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c591efc View commit details
    Browse the repository at this point in the history
  10. [barefoot] add platform.json, hwsku.json for mavericks (#6629)

    platform.json and hwsku.json replacement for deprecated port_config.ini. Also this files need for Dynamic Port Breakout.
    dmytroxshevchuk authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    f72e77c View commit details
    Browse the repository at this point in the history
  11. [bgpcfgd]: Fix unit test for bgp manager (#6668)

    The check for check_neig_meta was not following the value in constants. Fix it to match the value in constants.
    shi-su authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    a09ff52 View commit details
    Browse the repository at this point in the history
  12. BRCM SAI 4.3.0.10-4 Fix _brcm_sai_indexed_data_get () with unexpected…

    … queue causing _brcm_sai_switch_assert () after warm reboot (#6664)
    gechiang authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    f005888 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. [sonic-platform-common] submodule update (#6669)

    This PR updates the following commits in sonic-platform-common
    6ad0004 [component] add auto_update_firmware() to support the auto update. (#106)
    49076a9 [sonic_y_cable] Add support for measuring BER and EYE scan and running Loopback, PRBS modes on the Y cable (#158)
    6b12b4c [sfp] Add parsing the dom_capability to sff8472 (#102)
    7fc76b9 [sonic_pcie] Add get_pcie_aer_stats and its common implementation (#144)
    
    Signed-off-by: vaibhav-dahiya <[email protected]>
    vdahiya12 authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    efce680 View commit details
    Browse the repository at this point in the history
  2. [submodule]: update sonic-snmpagent (#6663)

    * 3885f19 2021-02-02 | let sysDescr_pass use python3 (#195) (HEAD, origin/master, origin/HEAD) [lguohan]
    * ad302d4 2021-01-28 | Fix: 'key not found' exception in bgp4.py (#192) [bingwang-ms]
    * 59e2a1c 2021-01-27 | Fix fdb_vlanmac() on corner cases (#193) [Qi Luo]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    9e5fcec View commit details
    Browse the repository at this point in the history
  3. [build]: Fix dependency: asyncsnmp should not depend on PYTHON_SWSSCO…

    …MMON (#6672)
    
    Add dependency: dbsyncd will depend on PYTHON3_SWSSCOMMON
    qiluo-msft authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    9bf01cb View commit details
    Browse the repository at this point in the history
  4. [sFlow] - Fix memory leak (#6662)

    * Bump version number to 2.0.32-1 to include a fix for a memory-leak
      found during testing. A wrong API is used to free the cJSON
      data-structure, which only frees the first pointed-to structure.
      The proper API should recursively free all structures.
    
    Signed-off-by: Garrick He <[email protected]>
    GarrickHe authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    bb5b77b View commit details
    Browse the repository at this point in the history
  5. [MLNX] update SAI submodule to include fix for debug dump (#6667)

    **Why I did it**
    Disable SDK extended dump due to issue found
    
    **How I did it**
    Update SAI submodule
    
    **How to verify it**
    Verify the SDK extended dump is not called.
    
    Signed-off-by: Eran Dahan <[email protected]>
    deran1980 authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    984c1cd View commit details
    Browse the repository at this point in the history
  6. Version control git (#6562)

    * support reproduceable build for git clone
    
    Signed-off-by: shilongliu <[email protected]>
    
    * fix
    
    * bug-fix
    
    Signed-off-by: shilongliu <[email protected]>
    
    * bug-fix
    
    Signed-off-by: shilongliu <[email protected]>
    
    Co-authored-by: shilongliu <[email protected]>
    liushilongbuaa and liushilongbuaa authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    e387531 View commit details
    Browse the repository at this point in the history
  7. Fix Allow prefix Delete case (#6671)

    When we add allow-list key with action above route-map gets updated . For eg if we add deny action above template will become to no-export community. Now if we delete the key Issue is we still keep the no-export and do not move back to drop community.
    
    This PR fixes this issue by rolling back default route-map community value back to constants.yml default action.
    abdosi authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    92e3517 View commit details
    Browse the repository at this point in the history
  8. [build]: Fix syncd dpkg cache dependency issue (#6680)

    * Fix syncd dpkg cache dependency issue
    xumia authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    19ccba4 View commit details
    Browse the repository at this point in the history
  9. [vs]: Update swiotlb buffer size to support multi-asic VS platform. (#…

    …6674)
    
    Current mutli-asic vs hwsku consists of 6 asics with each asic having 32 interfaces.
    When bringing this up, below issue was seen:
    When all 32 interfaces in each namespace (sonic interfaces and linux interface) is set to 9100 mtu, DMA error is seen "DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:06:03.0" which can be fixed by updating swiotlb=65536 in /host/grub/grub.cfg .
    
    Signed-off-by: SuvarnaMeenakshi <[email protected]>
    SuvarnaMeenakshi authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    2a92701 View commit details
    Browse the repository at this point in the history
  10. [submodule]: update sonic-utilities (#6681)

    * 28d358f 2021-02-01 | [show] Run fwutil with sudo (#1364) (HEAD) [Volodymyr Boiko]
    * a50b7a2 2021-01-29 | [ecnconfig] Allow ecn unit test to run without sudo (#1390) [Neetha John]
    * 8a1109e 2021-01-29 | [sonic-installer] Add information to syslog (#1369) [Dmytro]
    * c7c01e4 2021-01-27 | [show] fix "show interfaces breakout" command (#1198) [Dmytro Shevchuk]
    * 7a8024a 2021-01-27 | Prevent user from adding more then a single untagged VLAN to an interface (#1382) [Eran Dahan]
    * 41e62c6 2021-01-26 | [pcieutil] Add 'pcie-aer' sub-command to display AER stats (#1169) [Arun Saravanan Balachandran]
    * 47f412b 2021-01-25 | Improve robustness of consutil plugin loading (#1353) [Samuel Angebault]
    * 64aa1b8 2021-01-26 | [show] Fix warnings, related to gearbox, while show commands execution (#1343) [maksymbelei95]
    * ff226d0 2021-01-25 | Prevent configuring IP interface on a port which is a member of VLAN (#1374) [Eran Dahan]
    * f1522b9 2021-01-21 | [config_mgmt.py]: Set leaf-list to empty list while port breakout. (#1268) [Praveen Chaudhary]
    * 99c05d5 2021-01-21 | add vlan_intf_object only if there are ipv4 or ipv6 mappings (#1377) [Sumukha Tumkur Vani]
    * b082684 2021-01-21 | [ecn] Add tests for ecnconfig command (#1372) [Neetha John]
    * 23e0920 2021-01-21 | [sfpshow] Enhance QSFP-DD DOM information (#1207) [shlomibitton]
    * f4edba1 2021-01-20 | [ecnconfig] handle backend port names when extracting port I/F ID from the port name (#1361) [Mahesh Maddikayala]
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    ed4f8d0 View commit details
    Browse the repository at this point in the history
  11. [Mellanox] Update FW upgrade script to use 'mlxfwmanager -d' option f…

    …or specifying MST device in FW burn operation (#6541)
    
    **- Why I did it**
    Reduce the time it takes for the ASIC FW burn as part of the automatic FW upgrade procedure.
    
    **- How I did it**
    Add -d option to mlxfwmanager tool to use the faster MST device and not the default one which is not the fastest one.
    
    **- How to verify it**
    I manually changed ASIC FW followed by reboot command in order for FW upgrade to take place on deinit.
    I manually changed ASIC FW followed by hard reset in order for FW upgrade to take place on init.
    
    Signed-off-by: liora <[email protected]>
    liorghub authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    f76926a View commit details
    Browse the repository at this point in the history
  12. [device] Add as4630_54pe SDK configuration parameters (#5167)

    **- Why I did it**
    - Add as4630_54pe SDK configuration parameters.
    
    **- How I did it**
    - Add  l3_alpm_enable=2 and ipv6_lpm_128b_enable=1 in hx5-as4630-48x1G+4x25G+2x100G.bcm.
    
    Co-authored-by: derek_sun <derek_sun@edge-core>
    Co-authored-by: derek_sun <[email protected]>
    3 people authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    ca35503 View commit details
    Browse the repository at this point in the history
  13. [pcie-check] Update underlying pcieutil command and add to sudoers fi…

    …le (#6682)
    
    - Why I did it
    
    As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax.
    
    Resolves #6676
    
    - How I did it
    
    Remove pcie- prefix from pcieutil subcommands in calling applications
    Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions
    jleveque authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    820d350 View commit details
    Browse the repository at this point in the history
  14. [multi_asic][vs]: Add dependency in teamd service to start after topo…

    …logy service(#6594)
    
    [multi_asic][vs]: Add dependency in teamd service to start after topology service.
    - Why I did it
    In multi-asic VS, topology service is run after database service to set up the internal asic topology.
    swss and syncd have a dependency to start after topology service is run so that the interfaces are moved to right namespace and created in the right namespace. In case of multi-asic vs, during the initial boot up, when there is no configuration added, teamd service starts and swss/syncd do not start as topology service does not start. Upon loading configuration using config_db or minigraph, swss and sycnd start up , but teamd is not restarted as swss is not stopped and started. This causes teamd to be in a bad state and requires a reload of config.
    
    - How I did it
    Add dependency in teamd service to start after topology service is completed.
    
    - How to verify it
    No change in single asic vs or platform.
    No change in multi-asic regular image.
    Change only in multi-asic VS. Bring up a multi-asic VS image without any configration, teamd service will fail to start due to dependency failure. Load minigraph, start topology service, load configuration, ensure all services come up.
    Signed-off-by: SuvarnaMeenakshi <[email protected]>
    SuvarnaMeenakshi authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    62a599a View commit details
    Browse the repository at this point in the history
  15. [installer] Fix variable inside machine.conf caused install.sh error (#…

    …6600)
    
    Encounter error when install SONiC image if there are some onie_discovery variables assigned with multiple values inside machine.conf
    
    - How I did it
    
    Replace original ". /machine.conf" method and add another function to do the same thing.
    
    - How to verify it
    
    Add a item inside /host/machine.conf like onie_disco_ntpsrv=10.254.141.10 10.254.141.131
    Do sonic_installer install to check if any error occurs
    kuanyu99 authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    cb70c66 View commit details
    Browse the repository at this point in the history
  16. [submodule]: Updating sonic-swss (#6685)

    Changed Error log to Notice log during FDB flush notification after VLAN delete (#1618) 288fb40
    
    - How to verify it
    Create a VLAN and add member port to it. Then inject traffic on the member port for that VLAN. Ensure that FDB entry is learnt for that VLAN member port. Then remove the member port and remove VLAN. Check if you get a NOTICE log that "failed to locate VLAN" appears in syslogs.
    
    Co-authored-by: Madhan Babu <[email protected]>
    madhanmellanox and Madhan Babu authored Feb 4, 2021
    Configuration menu
    Copy the full SHA
    4a93bb2 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Dell S6000: Fix reboot failure issue (#6656)

    Reboot command in Dell S6000 failed to reboot the switch. Added retry mechanism and CPU reset.
    aravindmani-1 authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    85a6314 View commit details
    Browse the repository at this point in the history
  2. DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementati…

    …on and fixes (#6438)
    
    **- Why I did it**
    
    To incorporate the below changes in DellEMC S6100, S6000 platforms.
    
    - S6100, S6000:
        - Enable 'thermalctld'
        - Implement DeviceBase methods (presence, status, model, serial) for Fantray and Component
        - Implement ‘get_position_in_parent’, ‘is_replaceable’ methods for all device types
        - Implement ‘get_status’ method for Fantray
        - Implement ‘get_temperature’, ‘get_temperature_high_threshold’, ‘get_voltage_high_threshold’, ‘get_voltage_low_threshold’ methods for PSU
        - Implement ‘get_status_led’, ‘set_status_led’ methods for Chassis
        - SFP:
            - Make EEPROM read both Python2 and Python3 compatible
            - Fix ‘get_tx_disable_channel’ method’s return type
            - Implement ‘tx_disable’, ‘tx_disable_channel’ and ‘set_power_override’ methods
    - S6000:
        - Move PSU thermal sensors from Chassis to respective PSU
        - Make available the data of both Fans present in each Fantray
    
    
    **- How I did it**
    
    - Remove 'skip_thermalctld:true' in pmon_daemon_control.json
    - Implement the platform API methods in the respective device files
    - Use `bytearray` for data read from transceiver EEPROM 
    - Change return type of 'get_tx_disable_channel' to match specification in sonic_platform_common/sfp_base.py
    ArunSaravananBalachandran authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    fa89c6d View commit details
    Browse the repository at this point in the history
  3. [sonic-swss-common] Update submodule (#6686)

    Includes below commits
    ```
    9e91e0d 2021-02-04 | Fix: RedisClient.set() should return bool (#454) [Qi Luo]
    244a0bf 2021-02-04 | [swig] Add missing functions for ConfigDBConnector (#453) [Qi Luo]
    e659698 2021-01-22 | [dbconnector] Make sure json is declared as non null object (#452) [Kamil Cudnik]
    ```
    qiluo-msft authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    d4b852a View commit details
    Browse the repository at this point in the history
  4. [platform] Update QSFP method name 'parse_qsfp_dom_capability' -> 'pa…

    …rse_dom_capability' (#6695)
    
    **- Why I did it**
    PR sonic-net/sonic-platform-common#102 modified the name of the SFF-8436 (QSFP) method to align the method name between all drivers, renaming it from `parse_qsfp_dom_capability` to `parse_dom_capability`. Once the submodule was updated, the callers using the old nomenclature broke. This PR updates all callers to use the new naming convention.
    
    **- How I did it**
    
    Update the name of the function globally for all calls into the SFF-8436 driver.
    
    Note that the QSFP-DD driver still uses the old nomenclature and should be modified similarly. I will open a PR to handle this separately.
    jleveque authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    18f2c5c View commit details
    Browse the repository at this point in the history
  5. [ci]: Add yaml for azure pipeline official build (#6588)

    **- Why I did it**
    To support nightly build for master branch
    
    **- How to verify it**
    confirm from azure pipeline page.
    liushilongbuaa authored Feb 5, 2021
    Configuration menu
    Copy the full SHA
    23381e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Add the 10G ports with updated speed (#6699)

    Port_config update for hwsku 7050CX3-32S-C3 - add two 10G ports.
    This change is added to fix issue of "PortsOrch initialization failure" seen by previous removal of these 10G ports.
    Tested on the device with new minigraph, and the PortsOrch initialization failure is not seen.
    vaibhavhd authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    a7ba1b8 View commit details
    Browse the repository at this point in the history
  2. [ci]: rename official-broadcom to official-build.yml

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    f5b24d8 View commit details
    Browse the repository at this point in the history
  3. Remove makefile and dependency for python2 of dbsyncd. (#6702)

    * Remove makefile and 
    As part of #6046 we have moved to python3 of dbsyncd.
    Cleanup the python2 makefile and dependency.
    Signed-off-by: Abhishek Dosi <[email protected]>
    
    * Revert "Remove makefile and dependency for python2 of dbsyncd."
    
    This reverts commit ceaa4f8.
    
    * Fix
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    abdosi authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    d2b8b94 View commit details
    Browse the repository at this point in the history
  4. [barefoot][platform] Fix sonic-platform host installation (#6696)

    prerm is needed for platform modules package to be properly removed.
    Added prerm to remove installed in postinst wheel packages.
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    3f2a493 View commit details
    Browse the repository at this point in the history
  5. [skip ci]: disable trigger for official build

    official build only use scheduled build
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    b4fc842 View commit details
    Browse the repository at this point in the history
  6. [tacacs]: use stg to apply patch

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    87ecaeb View commit details
    Browse the repository at this point in the history
  7. [tacacs]: do not modify local user if there is no priviledge

    check the uid before modify local user account.
    
    when run sudo, the process the invoke nss_tacplus library
    does not have priviledge to modify the user profile, and
    will generate below error messages:
    
        user_rw@sonic:~$ sudo bash
        usermod: Permission denied.
        usermod: cannot lock /etc/passwd; try again later.
        usermod: Permission denied.
        usermod: cannot lock /etc/passwd; try again later.
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    47e5f05 View commit details
    Browse the repository at this point in the history
  8. [sonic-utilities] Depend on sonic-platform-common (#6703)

    sonic-utilities will become dependent upon sonic-platform-common as of sonic-net/sonic-utilities#1386.
    jleveque authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    10324d0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c6085c6 View commit details
    Browse the repository at this point in the history
  10. [device/accton/as4630-54pe] Fix accton driver not been installed (#6321)

    Accton util applies lsmod to check if drivers are installed.
    But lsmod may return error on startup and skip module installation.
    
    Signed-off-by: roy_lee <[email protected]>
    roylee123 authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    b6a6c0c View commit details
    Browse the repository at this point in the history
  11. [kvm]: print running process when build kvm fails

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    3001bbc View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2021

  1. [ci]: add marvel armhf official build (#6707)

    - [ci]: add default values to build template
    - [ci]: add marvel armhf official build
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 7, 2021
    Configuration menu
    Copy the full SHA
    2a66e80 View commit details
    Browse the repository at this point in the history
  2. [barefoot] Add hwsku.json, platform.json for montara (#6554)

    * [device] add platform.json hwsku.json for Montara
    * [device] add autonge, fec fields to hwsku
    dmytroxshevchuk authored Feb 7, 2021
    Configuration menu
    Copy the full SHA
    3cc5515 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    834347b View commit details
    Browse the repository at this point in the history
  4. Fix dynamic minimum fan table issue caused by python3 (#6690)

    **- Why I did it**
    After migrating to python3, the operator '/' always get a float result, but it gets integer result in python2. Need fix this in thermal_conditions.
    
    **- How I did it**
    1. cast float value to int
    2. change the unit test case to cover this situation
    
    **- How to verify it**
    Manually test and regression test
    Junchao-Mellanox authored Feb 7, 2021
    Configuration menu
    Copy the full SHA
    6d4c20e View commit details
    Browse the repository at this point in the history
  5. [ci]: fix the build template error

    proper bool comparision
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    54abfd5 View commit details
    Browse the repository at this point in the history
  6. [ci]: use build-template for pr build

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    092f537 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. [syncd-vs]: remove hardcode version for iproute2 and libcap2-bin (#6713)

    Fix #6711 
    
    the requirement was introduced in commit 75104bb
    to support sflow in stretch build. in buster build, the requirement
    is met, no need to pin down the version.
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 8, 2021
    Configuration menu
    Copy the full SHA
    de51ee3 View commit details
    Browse the repository at this point in the history
  2. [ci]: restructure repo clean up to make it robust (#6716)

    restructure repo clean up to make it robust
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 8, 2021
    Configuration menu
    Copy the full SHA
    d843d6e View commit details
    Browse the repository at this point in the history
  3. [broadcom]: BRCM SAI 4.3.0.10-5 : Fix for ACL entry set attribute for…

    … IN_PORTS for TD3 (#6718)
    
    ACL entry set attribute updates all the entries in the table. The correct behavior is to set the attribute on single entry.
    
    - How I did it
    Current SDK code, while setting the new attribute, is going through all the entries and updating it. Added a logic to check for requested entry and only allow for that ACL entry.
    A case has filed with BRCM. Once an official fix is provided by BRCM, we will then remove this in house fix and apply the official fix.
    vmittal-msft authored Feb 8, 2021
    Configuration menu
    Copy the full SHA
    1d99d14 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. [sonic-host-service] Move to sonic-host-services package (#6273)

    - Why I did it
    
    To move ‘sonic-host-service’ which is currently built as a separate package to ‘sonic-host-services' package. 
    
    - How I did it
    
    - Moved 'sonic-host-server' to 'src/sonic-host-services' and included it as part of the python3 wheel.
    - Other files were moved to 'src/sonic-host-services-data' and included as part of the deb package.
    - Changed build option ‘INCLUDE_HOST_SERVICE’ to ‘ENABLE_HOST_SERVICE_ON_START’ for enabling sonic-hostservice at boot-up by default.
    ArunSaravananBalachandran authored Feb 9, 2021
    Configuration menu
    Copy the full SHA
    3015de1 View commit details
    Browse the repository at this point in the history
  2. [ci]: add centec-arm64 to offical build

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    c56cd00 View commit details
    Browse the repository at this point in the history
  3. [saibcm-modules]: match linux kernel version (#6732)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 9, 2021
    Configuration menu
    Copy the full SHA
    cea8c18 View commit details
    Browse the repository at this point in the history
  4. [as7312-54x] Support platform API2.0 (#6272)

    Add platform 2.0 support for Accton as7312-54x platform
    jostar-yang authored Feb 9, 2021
    Configuration menu
    Copy the full SHA
    c54a03f View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. [syncd-rpc] Install Libboost Atomic 1.71, Libqtcore And Libqtnetwork (#…

    …6689)
    
    When Building syncd-rpc, libthrift has dependency on libboost-atomic1.71.0,
    however the debian packager install version 1.67 instead. This PR
    preinstalls libboost-atomic v 1.71 to avoid falling back to v 1.67.
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    149a68b View commit details
    Browse the repository at this point in the history
  2. [sonic-platform-common] Update submodule (#6742)

    Submodule commits included:
    
    * src/sonic-platform-common 6ad0004...bd4dc03 (1):
      > [sonic_sfp/qsfp_dd.py] Update DOM capability method name to align with other drivers (#163)
    
    Also align all calling function names to match.
    jleveque authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    7ea0d9e View commit details
    Browse the repository at this point in the history
  3. Dell S6100: Watchdog - Fix Python3 incompatibility (#6734)

    To make watchdog.arm() method python3 compatible in DellEMC S6100.
    ArunSaravananBalachandran authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    8ec747f View commit details
    Browse the repository at this point in the history
  4. [Celestica][haliburton][cp210x] modprobe cp210x to ensure the driver …

    …loaded properly (#6715)
    
    This PR is to fix issue: #6603
    The CP210x driver not attached properly after first login (cold-plug), lsusb and dmesg shown that the usb devices has been recognized but driver is missing.
    Blueve authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    d8fe592 View commit details
    Browse the repository at this point in the history
  5. [ci]: move cleanup before archive artifacts (#6749)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    ed9a14f View commit details
    Browse the repository at this point in the history
  6. [submodule] update sonic-sairedis (#6747)

    Includes below commits:
    13474d1 2021-02-08 [sairedis][syncd] VidManager add updateIndex method (Azure#787)
    be8059f 2021-02-08 [sairedis] Add get response timeout knob (Azure#774)
    3663e30 2021-02-06 [syncd] Create base class SaiSwitchInterface (Azure#786)
    3360b0f 2021-02-05 Reduce log level of redis channel to debug (Azure#790)
    08d338a 2021-02-05 syncd: Fix profile iterator bug (Azure#789)
    a6377d0 2021-02-03 [ci]: use publish pipeline artifacts to publish syslog (Azure#788)
    
    Signed-off-by: liora <[email protected]>
    liorghub authored Feb 10, 2021
    Configuration menu
    Copy the full SHA
    c5a1132 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2021

  1. [barefoot][device][plugins] Fix sfp reset (#6745)

    Fix sfp reset in Barefoot's sfputil
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    11937d3 View commit details
    Browse the repository at this point in the history
  2. Disable port 8090 (#6764)

    sumukhatv authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    c427e72 View commit details
    Browse the repository at this point in the history
  3. [sonic-platform-common] Update submodule (#6762)

    * src/sonic-platform-common bd4dc03...513920c (1):
      > [sffbase] Make convert_hex_to_string() compatible with both Python 2 and Python 3 (#165)
    jleveque authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    bcc0c9e View commit details
    Browse the repository at this point in the history
  4. [linux-kernel]: correct kernel package name for armhf (#6751)

    armhf kernel package name does not have `unsigned` string
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    a24235b View commit details
    Browse the repository at this point in the history
  5. [GitHub] Tweak PR and issue templates (#6744)

    Tweak GitHub issue and pull request templates
    - Rename files to align with new [standard](https://docs.github.com/en/github/building-a-strong-community/using-templates-to-encourage-useful-issues-and-pull-requests)
    - Use markdown headings rather than bolded bullets
    jleveque authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    c327689 View commit details
    Browse the repository at this point in the history
  6. [Mellanox][SAI] update submodule pointer (#6729)

    Include SAI bug fixes:
    
    - Apply device MAC on port host interface when port is removed from LAG.
    - [Shared Headroom]: fixed watermark handling for SHP flow
    - Decrease verbosity of policer unbind message when no policer is attached
    
    Signed-off-by: Stepan Blyschak <[email protected]>
    stepanblyschak authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    0e17525 View commit details
    Browse the repository at this point in the history
  7. [slave.mk] Remove PYTHON_CLICK target (#6763)

    We stopped building our own custom python-click package via #5549. This target should have been removed at that time but was missed.
    jleveque authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    d6f236c View commit details
    Browse the repository at this point in the history
  8. [ci]: improve cleanup by claim ownership in source folder

    the added change was accidentally removed in commit 092f537
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    4c8bff6 View commit details
    Browse the repository at this point in the history
  9. [broadcom]: Upgrading bcmsai from 4.3.0.10-5 to 4.3.0.13 (#6767)

    Merged bcmsai 4.3.0.13 code to top of master bcmsai 4.3.0.10-5.
    
    - How to verify it
    Ran nightly regression on T0 and T1 topology using bcmsai 4.3.0.13. Test results are better than previous runs.
    For T0 -
    New test passing - CRM, Decap, FDB, platform test, VxLAN
    New test failing – PFC unknown MAC
    For T1 –
    New test passing – Port Channel
    New test failing – platform test
    vmittal-msft authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    71c5e74 View commit details
    Browse the repository at this point in the history
  10. [systemd] Increase syncd startup script timeout to support FW upgrade…

    … on init. (#6709)
    
    **- Why I did it**
    To support FW upgrade on init.
    
    **- How I did it**
    Change timeout value
    
    **- How to verify it**
    I manually changed ASIC and Gearbox FW followed by hard reset in order for FW upgrade to take place on init.
    
    Signed-off-by: liora <[email protected]>
    liorghub authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    6f8c315 View commit details
    Browse the repository at this point in the history
  11. [platform][barefoot] Fix sonic_platform for x86_64-accton_wedge100bf_…

    …65x-r0 (#6612)
    
    platform modules' deb package rules for x86_64-accton_wedge100bf_65x-r0 was missing the code that installs the sonic_platform wheel package file under device directory on host (which is checked by pmon deamon on start)
    vboykox authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    9cd9ff7 View commit details
    Browse the repository at this point in the history
  12. [Platform][ixs7215]: Platform API test required files with Updates an…

    …d Improvements (#6738)
    
    - Why I did it
    Enable platform API tests to run successfully by providing required test infrastructure files along with supporting changes.
    
    - How I did it
    Added platform.json along with supporting changes.
    - Addition of pcie.yaml supporting pcied
    - Addition of Real fan drawer support vs Virtual
    - Removal of python2 wheel with support in place for python3
    - supporting changes platform api tests
    carl-nokia authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    2bf1806 View commit details
    Browse the repository at this point in the history
  13. DellEMC: Z9332f enable mem cache flag (#6771)

    SER test script is failing as mem_cache flag is disabled.
    aravindmani-1 authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    23535b1 View commit details
    Browse the repository at this point in the history
  14. [barefoot][sonic-platform] Fix get_system_eeprom_info and refactor ee…

    …prom.py (#6739)
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    32c497f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. [barefoot][sonic-platform] Refactor sfp.py (#6770)

    Use separate file for each sfp eeprom operation
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    72ca4d7 View commit details
    Browse the repository at this point in the history
  2. [barefoot][sonic-platform] Fix sfp reset (#6746)

    Fix wrong sfp reset return value
    
    Signed-off-by: Volodymyr Boyko <[email protected]>
    vboykox authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    b8da051 View commit details
    Browse the repository at this point in the history
  3. DellEMC: Add platform.json for S6000, S6100 (#6735)

    Add platform.json used for sonic-mgmt testing in DellEMC S6000, S6100 platforms.
    ArunSaravananBalachandran authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    fe1ed32 View commit details
    Browse the repository at this point in the history
  4. [sonic-utilities]: Submodule update (#6760)

    sonic-utilities 28d358f...f5b8a1e (22):
    > Fix deprecation warnings (#1423)
    > Fix: initialize SonicDBConfig differently for single or multi_asic (continued) (#1417)
    > [multi-asic] show ip interface changes for multi asic (#1396)
    > [show mux]: Sort output by intf name (#1418)
    > [ci] Test and build package using Azure Pipelines (#1406)
    > [GitHub] Tweak PR and issue templates (#1419)
    > Import 'mock' module from 'unittest' library (#1415)
    > Revert "Add FW dump with new SAI implementation (#1338)" (#1407)
    > [config reload]: Restart macsec container (#1410)
    > [pcieutil] Remove the warning message and change the config file location (#1362)
    > Fix: initialize SonicDBConfig differently for single or multi_asic (#1409)
    > Support shared headroom pool on top of dynamic buffer calculation (#1348)
    > Fix unsupported fs.squashfs extraction in sonic-installer (#1366)
    > [show] Use proper variable to avoid exception in natshow script (#1383)
    > Set up CI with Azure Pipelines
    > [config reload]: Restart mux container (#1401)
    > Advertise ipv6 link local address (#1402)
    > [storyteller] Enhance the storyteller utility (#1400)
    > [show] Fix int status when portchannel is in the system (#1376)
    > [config][show] cli support for retrieving ber, eye-info and configuring prbs, loopback on Y-cable  (#1386)
    > Skip route check for tun0 interfaces (#1399)
    > do not parse stderr to get correct routing stack (#1398)
    > [storyteller] allow storyteller to work on downloaded logs (#1388)
    > [vrf]: Fix freezing during interface binding (#1325)
    > Use SonicV2Connector/ConfigDBConnector/SonicDBConfig from swsscommon instread of swsssdk (#1392)
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    d3072cd View commit details
    Browse the repository at this point in the history
  5. [ci]: build vs image in official build (#6768)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    7475b98 View commit details
    Browse the repository at this point in the history
  6. [broadcom]: BRCM SAI 4.3.0.13-1 Pick up BRCM Patch to fix bogus inter…

    …face counters (#6775)
    
    This PR is needed to fix the show interface counters output issue where the counters are not correct due to an issue introduced in BRCM SAI 4.3.
    
    - How to verify it
    Without the fix if one injects packets, the expected counters for the interfaces involved do not show correct count values. The RX count looks to be TX count while TX count looks to be RX count but even that the values could not be trusted.
    After the fix the counters started to look correct. Here is one sample output taken after the fix is applied where I manually injected 10,000 packets into Ethernet92 to be routed out of the port channel member port Ethernet40. Also injected 10,000 invalid packets into the same Ethernet92 and all 10,000 packets were shown RX_DRP correctly.
    gechiang authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    0252425 View commit details
    Browse the repository at this point in the history
  7. [docker-fpm-frr]: TSA/B/C changes for multi-asic (#6510)

    - Introduced TS common file in docker as well and moved common functions.
    - TSA/B/C scripts run only in BGP instances for front end ASICs.
           In addition skip enforcing it on route maps used between internal BGP sessions.
    
    admin@str--acs-1:~$ sudo /usr/bin/TSA
    System Mode: Normal -> Maintenance
    
    and in case of Multi-ASIC
    admin@str--acs-1:~$ sudo /usr/bin/TSA
    BGP0 : System Mode: Normal -> Maintenance
    BGP1 : System Mode: Normal -> Maintenance
    BGP2 : System Mode: Normal -> Maintenance
    judyjoseph authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    ad88700 View commit details
    Browse the repository at this point in the history
  8. [SwSS] Disabled the autorestart of process coppmgrd. (#6774)

    coppmgrd process do not need to be auto-restarted if it exited unexpectedly.
    
    Signed-off-by: Yong Zhao <[email protected]>
    yozhao101 authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    4b10924 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2021

  1. [armhf build] Fix azure-storage dependency on cryptography package (#…

    …6780)
    
    Fix marvell-armhf build break
    
    The azure-storage package depends on the cryptography package. Newer
    versions of cryptography require the rust compiler, the correct version
    for which is not readily available in buster. Hence we pre-install an
    older version here to satisfy the azure-storage dependency.
    Note: This is not a problem for other architectures as pre-built versions
    of cryptography are available for those. This sequence can be removed
    after upgrading to debian bullseye.
    dflynn-Nokia authored Feb 14, 2021
    Configuration menu
    Copy the full SHA
    88961f1 View commit details
    Browse the repository at this point in the history
  2. [platform] Update path to udevprefix.conf file (#6779)

    sonic-net/sonic-utilities#1431 changes the path to the udevprefix.conf file. The file previously inappropriately resided in the <platform>/plugins/ directory. That directory is reserved for now-deprecated Python platform plugins, and will be removed in the near future.
    jleveque authored Feb 14, 2021
    Configuration menu
    Copy the full SHA
    c651fbc View commit details
    Browse the repository at this point in the history
  3. [sonic-utilities] Update submodule (#6777)

    Commits include:
    
    * src/sonic-utilities c7e46c9...42cab68 (3):
      > [consutil] Look for udevprefix.conf file under platform dir, not plugins (#1431)
      > [ci]: download from sonic-buildimage.vs artifact (#1428)
      > [storyteller] sort output by time and improve lag support (#1430)
    jleveque authored Feb 14, 2021
    Configuration menu
    Copy the full SHA
    19ecdbb View commit details
    Browse the repository at this point in the history
  4. [swss]: Clear MUX-related state DB tables on start (#6759)

    * Add *MUX_CABLE_TABLE* to set of tables to clear on SWSS start, which
    will clear HW_MUX_CABLE_TABLE and MUX_CABLE_TABLE
    * Order swss to start before pmon to ensure that DBs are cleared before
    xcvrd (running inside pmon) starts and re-populates the tables
    
    Signed-off-by: Lawrence Lee <[email protected]>
    theasianpianist authored Feb 14, 2021
    Configuration menu
    Copy the full SHA
    97c605f View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. Stop teamd service before syncd (#6755)

    - What I did
    All SWSS dependent services should stop before SWSS service to avoid future possible issues.
    For example 'teamd' service will stop before to allow the driver unload netdev gracefully.
    This is to stop all LAG's before restarting syncd service when running 'config reload' command.
    
    - How I did it
    Change the order of dependent services of SWSS.
    
    - How to verify it
    Run 'config reload' command.
    Previously the operation failed when a large number of PortChannel configured on the system.
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored Feb 15, 2021
    Configuration menu
    Copy the full SHA
    f6bee73 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Support shared headroom pool for Microsoft SKUs (#6366)

    - Why I did it
    Support shared headroom pool
    
    Signed-off-by: Stephen Sun [email protected]
    
    - How I did it
    Port configurations for SKUs based on 2700/3800 platform from 201911
    For SN3800 platform:
    C64: 32 100G down links and 32 100G up links.
    D112C8: 112 50G down links and 8 100G up links.
    D24C52: 24 50G down links, 20 100G down links, and 32 100G up links.
    D28C50: 28 50G down links, 18 100G down links, and 32 100G up links.
    For SN2700 platform:
    D48C8: 48 50G down links and 8 100G up links
    C32: 16 100G downlinks and 16 100G uplinks
    Add configuration for Mellanox-SN4600C-D112C8
    112 50G down links and 8 100G up links.
    
    - How to verify it
    Run regression test.
    stephenxs authored Feb 16, 2021
    Configuration menu
    Copy the full SHA
    7790a74 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. [Mellanox] Update SDK to 4.4.2318, FW to *.2008.2314 (#6794)

    To have the following fixes:
    * All | Port status remains down after warm boot and flapping the port on peer side
    * All | LAG HASH  | IPv6 SRC_IP is not accounted in LAG hashing [
    * All | ASIC driver | Kernel crash observed when driver reload is initiated before it fully loaded
    * Spectrum-3 | Buffer | In lossless configuration, headroom is been evicted only when the shared buffers is free
    * All | prevent FW access during ISSU
    
    Signed-off-by: Volodymyr Samotiy <[email protected]>
    volodymyrsamotiy authored Feb 17, 2021
    Configuration menu
    Copy the full SHA
    6998aef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf83b6c View commit details
    Browse the repository at this point in the history
  3. [build] Install Python 3 scapy version 2.4.4 in host OS (#6799)

    As we are currently in the process of removing Python 2 from SONiC, to ensure a seamless transition to Python 3.
    jleveque authored Feb 17, 2021
    Configuration menu
    Copy the full SHA
    3fe8382 View commit details
    Browse the repository at this point in the history
  4. [sonic-platform-common] sub_module update (#6797)

    This PR updates the following commits
    c6b642b [ci]: download from sonic-buildimage.vs artifact (#168)
    e76ecc6 [sonic_y_cable] add support for retrieving firmware info for Y cable, internal and nic temperature and voltage (#162)
    f9cf8c9 [GitHub] Add pull request template (#167)
    c31636e [ci] Call pip2/3 using sudo (#166)
    5521f67 [ci] Test and build packages using Azure Pipelines (#164)
    faca35c [ci]: Set up CI with Azure Pipelines
    
    Signed-off-by: vaibhav-dahiya <[email protected]>
    vdahiya12 authored Feb 17, 2021
    Configuration menu
    Copy the full SHA
    89a41e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02cc486 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. [StreamingTelemetry] add noTLS support for debug purpose (#6704)

    adding noTLS mode for debugging purpose
    Removing config-set for port 8080. It fails to start telemetry if docker restarts in case on noTLS mode because it expects log_level config to be present as well.
    pra-moh authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    2e42ecb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ef5bd2 View commit details
    Browse the repository at this point in the history
  3. [frr]: upgrade frr to frr-7.5-s3 tag (#6807)

    Update FRR 7.5 head. The following is a list of new commits.
    
    ```
    e2f17ae47ad047e66923c2ff1e84c9ba10d4ad38 Merge pull request #8096 from idryzhov/7.5-backports-2021-02-16
    380341362ced8e317c18b7395acb012de1f23acd ospf6d: Don't send hellos on loopback interface
    7fa78b659f8e720466e0df62689327ea4b9ff867 bgpd: send correct BMP down message when nht fails
    385faf6c079a41def1e6eb882cbfd50047559644 [filter]: change return code for errors
    d9a0e9a2934f2f75c64496fe4c724a18aa581fcb bfdd: fix session lookup
    08afa0a75311a4e8cb2a18116384b603f7f2d751 ospf6d : fix issue in ecmp inter area  route
    2299afa1a9128d87d5169742b993c0ada575eb83 ospfd:  Prevent duplicate packet read in certain vrf situations
    ff42a28af659ee61c0efb877b10738a5812f4bc2 vrf: use wrappers to change VRF_CONFIGURED flag
    2bdc59ca21da2d67b77ec70a2fadffbca60690cd vrf: mark vrf as configured when entering vrf node
    b9611f65a71adc0b8fa14a5a4d1a8f44e04dcd85 ospf6d: Fix LSA formatting out-of-bounds access
    610ebf56913fa56167b0a2a127b07afe020a1efe bfdd: Prevent use after free ( again )
    35b0cd5d753dda9aa70ea1c06db61a8d4b8671e3 *: Fix usage of bfd_adj_event
    95b8915d0f4de3eae5438632ecd0827061ef48e8 ospf6d: Fix LSA formatting inconsistent retvals
    49d73d8be84dbd23d767697474019165e511786c pimd: SGRpt prune received during prune didn't override holdtime
    1d0d19afa9bb7cd4bc476d00c887876bc04eee95 eigrpd: Correctly set the mtu for eigrp packets sent
    bbb08db69f8eb554d23b4920c1c1e3982d8d2a91 zebra: Prevent sending of unininted data
    0813d650a8120458ab7d9317061f3864dbc6f2f7 ospf6d: prevent use after free
    2f2e981d967b36b240fca82fea8a961d927ef43c lib: Prevent unininted usage of data
    6171becdb391ea5b88916a3a28b04b555e1fc518 bfdd: Prevent storage of ifp pointer that has been deleted
    9ebb41cf4bb51e0872796530bf8c7a4d819053db bfdd: Prevent unininited data transmittal
    72e16db6fea3629111537f9eb10c86f2d275adcb eigrpd: Prevent uninitialized value from being used
    72b61a5bb09d59c3cc0d1d401d51de96949dff52 zebra: disallow resolution to duplicate nexthops
    1083bae40b00c0ed2c9f3521ae1ab9675a87202e bgpd: Initialize bgp_notify.raw_data before passing to bgp_notify_receive()
    31df7314310416f10c133dcfe9c4586edadf3fbb doc: ebgp-requires-policy requires manuall session clearing
    ecc8ec678d2d8a1c3d1d50a22732f9fc4bad689c watchfrr: fix SA warning
    9d9365d161979a031de817c1fbcab6508dfee013 watchfrr: fix crash on missing optional argument
    907e600d63c1c5b6bda40b0a08344a72533b1787 pimd: Prevent use after free
    b47374f0e95d99c93bfe2d14afe55219a9fda455 doc: Update bgp doc for more rfc-8212 talk
    4fbeef60cc8dc5362ff84fc91d1a4e343e4e32c7 docker: centos 7, 8 yang bump and repo fixes
    808e6d731f330df4a91fdfd6df6a3c8dce1651a6 docker: prefer alpine:latest for building
    91b3c471f1c48818370a0f218add917f0d46aa47 Merge pull request #8092 from donaldsharp/7.5_track
    60be43c0bf63c16ca42008fa802d0a2050f3fce2 Merge pull request #8090 from ton31337/fix/static_network_vrf_7.5
    1f6785aa60cc57a5c8d5de98c9c09a344a0c9262 ospf6d: Track wait_timer and disable when needed
    c89e326be91312bed066eb2447ea8944e25a225e bgpd: Check for peer->su_remote if not NULL when handling IPv6 nexthop
    15e070f6448870c98c030b6b5013ad8750d8918b Merge pull request #8047 from pguibert6WIND/nhrp_shortcut_routes_75
    912994efec94082ae7d8c5e014c410964bea19f4 Merge pull request #8034 from qlyoung/fix-gnu-readline-bracketed-paste-7.5.1
    9f50536993f1eb900fbfbe98d21b8c072bbd9c15 nhrpd: replace nhrp route nexthop with onlink route when prefix=nh
    8c185008246db31c34574d7b79358001ac411f84 nhrpd: shortcut routes installed with nexthop.
    c46c87d19758040bc3f3902ab8e4a0f1bb908721 vtysh: disable bracketed paste in readline
    20b35e4c3386de798f3b0cb9f2a7e6b04d995485 Merge pull request #8018 from ton31337/fix/drop_aggregate_as_attribute_if_malformed_7.5
    fa25d7327fd64613cc7530aba2edfcde038da074 bgpd: Unset only aggregator flag when AGGREGATOR_AS is 0
    3ee9a3726fe1a526d946c1978487a4509fe98f29 bgpd: Drop aggregator_as attribute if malformed in case of BGP_AS_ZERO
    be88595c6a2011f0e882bfa663baa61c86ede14e Merge pull request #8005 from opensourcerouting/snap-libyang1-fix-75
    fd840ad37f2e836b210c6e60fc6325a4c3e495ce snapcraft: Update rtrlib to 0.7.0
    3d00552fa9aedb96acd7ea773bc14fd2b77e7e0f snapcraft: Fix passthrough path for Libyang 1.x
    ```
    shi-su authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    951ce67 View commit details
    Browse the repository at this point in the history
  4. [sonic-platform-daemons] sub_module update (#6814)

    This PR includes the following commit in sonic-platform-daemons
    
    068bccc [xcvrd] Store mux_cable telemetry data in State DB (#148)
    93cac0a [ci]: download from sonic-buildimage.vs artifact (#152)
    d651e9b [GitHub] Add pull request template (#151)
    bd7830b [pcied] Remove unnecessary message and move the configuration path (#144)
    9080fda [ci] Call pip2/3 using sudo (#150)
    de60784 [ci] Test and build packages using Azure Pipelines (#149)
    8bf0fd1 [ledd] Refactor to allow for more thorough unit testing; Increase unit test coverage (#147)
    26bdc9e Set up CI with Azure Pipelines
    1fcaa57 [pcied] Add PCIe AER stats collection (#100)
    
    Signed-off-by: vaibhav-dahiya <[email protected]>
    vdahiya12 authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    ceacdb4 View commit details
    Browse the repository at this point in the history
  5. [Mellanox][SAI] update submodule pointer (#6806)

    Open ACL Outer VLAN ID for egress for ports part of VLAN RIF
    
    - Why I did it
    Open ACL Outer VLAN ID for egress for ports part of VLAN RIF
    
    - How I did it
    Updated SAI submodule pointer
    
    - How to verify it
    Build an image, deploy and check all is up and running.
    Verify ACL sonic-mgmt test is passing
    
    Signed-off-by: Volodymyr Samotiy <[email protected]>
    volodymyrsamotiy authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    ea100d2 View commit details
    Browse the repository at this point in the history
  6. Fix for Mellanox-SN4600C-D112C8 SKU (#6817)

    - Why I did it
    Mellanox-SN4600C-D112C8 SKU is not configured properly.
    It should have 112 50G interfaces and 8 100G interfaces as described on this PR.
    
    - How I did it
    Modify sai_profile, port_config.ini and hwsku.json for DPB.
    
    - How to verify it
    Apply this HwSKU to a MSN4600C Mellanox platform.
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    2076260 View commit details
    Browse the repository at this point in the history
  7. [sonic-swss-common] Submodule Update (#6812)

    Change in this update:
        b75aab7 [swss-common] Add LINKMGR CFG and MUX LINKMGR state table names (#421)
        4a77d1c [ci]: add vstest (#459)
        07258a6 [ci]: use build template (#457)
        ddcae3e runRedisScript api to process integer returned by script run in the redis (#447)
        33d89c7 [systemlag] Schema defs for system lag (#448)
        af01f37 spell check fixes (#456)
        7afd43d Update to make getNamespaces() API at par with the get_ns_list() swssdk-py API. (#455)
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored Feb 18, 2021
    Configuration menu
    Copy the full SHA
    2fc37dd View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. [multi-asic][vs]: Update topology script to retrieve hwsku from minig…

    …raph (#6219)
    
    Update topology script to retrieve hwsku from minigraph
    if hwsku information is not available in config_db.
    Fix clean up of interfaces in msft_multi_asic_vs hwsku
    topology script.
    - Why I did it
    When bringing up multi-asic VS switch, topology service is started during boot up.
    Topology service starts a shell script which runs the topology script present in /usr/share/sonic/device// directory. To invoke hwsku specific script, the topology script tries to retrieve hwsku information from config_db.
    During initial boot up config_db might not be populated. In order to start topology service before config_db is updated,
    update topology script to get hwsku information from minigraph.xml if it is available.
    This will be helpful to bring up multi-asic VS testbed by loading minigraph and starting topology service.
    - How I did it
    Update topology.sh script to retrieve hwsku information from minigraph.xml.
    Fix clean up function on msft_multi_asic_vs toplogy script.
    - How to verify it
    single-asic VS - no change; topology service is only enabled for multi-asic VS.
    multi-asic VS - Bring up multi-asic VS image, copy minigraph to vs image, start topology service. Topology service should be successful.
    to test clean up function fix, start topology service - make sure interfaces are created and moved to the right namespaces.
    stop topology service - make sure namespace do not have any interface and all front end interfaces are present in default namespace.
    SuvarnaMeenakshi authored Feb 19, 2021
    Configuration menu
    Copy the full SHA
    5a49a0f View commit details
    Browse the repository at this point in the history