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

[config] parse optional fields from hwsku #7

Open
wants to merge 143 commits into
base: master
Choose a base branch
from

Commits on Dec 24, 2020

  1. [docker-sonic-mgmt]: Upgrade Tgen API from 0.0.42 to 0.0.70 (sonic-ne…

    …t#6275)
    
    Tgen API 0.0.42 has many problems. We have fixed them in 0.0.70.
    baiwei0427 authored Dec 24, 2020
    Configuration menu
    Copy the full SHA
    8939202 View commit details
    Browse the repository at this point in the history
  2. [platform/dx010] Remove unused pca9541 device init line (sonic-net#6280)

    Remove the unused codes addressed in sonic-net#5891 on Dx010 platform.
    pphuchar authored Dec 24, 2020
    Configuration menu
    Copy the full SHA
    bf693be View commit details
    Browse the repository at this point in the history
  3. [barefoot] Fix y_profile_set to not reset link (sonic-net#6238)

    Y* profile is the name pattern for p4 programs that developed for the current platform. The difference between them is features enabled and resource reservation.
    
    For this platform, it is expected to work on any Y profile. but after the latest changes, the first Y profile is always used.
    msosyak authored Dec 24, 2020
    Configuration menu
    Copy the full SHA
    f6d1c4a View commit details
    Browse the repository at this point in the history
  4. [arm][build_debian] Clean up qemu-arm-static bin after collecting pos…

    …t-versions info (sonic-net#6289)
    
    - Why I did it
    scripts/collect_host_image_version_files.sh fails with below error:
    
    scripts/collect_host_image_version_files.sh target ./fsroot
    /usr/sbin/chroot: failed to run command 'post_run_buildinfo': No such file or directory
    /bin/cp: cannot stat './fsroot/usr/local/share/buildinfo/post-versions': No such file or directory
    
    - How I did it
    Issues is because qemu-arm-static is removed before this step. So, I moved the cleanup step to the end.
    
    Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
    Sabareesh-Kumar-Anandan authored Dec 24, 2020
    Configuration menu
    Copy the full SHA
    9aae9c9 View commit details
    Browse the repository at this point in the history
  5. [sonic-swss] submodule update (sonic-net#6292)

    [routeorch] more build error fixes when compiling for armhf (32-bit) (sonic-net#1563)
    
    Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
    Sabareesh-Kumar-Anandan authored Dec 24, 2020
    Configuration menu
    Copy the full SHA
    e93330e View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2020

  1. Add support to start fdbsyncd when orchagent docker starts (sonic-net…

    …#5979)
    
    Add support to start fdbsyncd when swss docker starts. 
    New demon is added to sync MAC from Kernel to DB and vise versa.
    kishorekunal01 authored Dec 25, 2020
    Configuration menu
    Copy the full SHA
    4bb8ab3 View commit details
    Browse the repository at this point in the history
  2. [BFN] Updated SAI headers to v1.7.1 (sonic-net#6294)

    Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com>
    
    Co-authored-by: Andriy Kokhan <andriyx.kokhan@intel.com>
    akokhan and Andriy Kokhan authored Dec 25, 2020
    Configuration menu
    Copy the full SHA
    94e143c View commit details
    Browse the repository at this point in the history
  3. [build]: disable build sonic-slave-jessie by default (sonic-net#6297)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Dec 25, 2020
    Configuration menu
    Copy the full SHA
    8060142 View commit details
    Browse the repository at this point in the history
  4. [build][arm]: allow customize docker data root for multiarch docker

    example:
    
    DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker make configure \
        PLATFORM=centec-arm64 PLATFORM_ARCH=arm64
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    2999dfa View commit details
    Browse the repository at this point in the history
  5. [build]: add arch name in sonic-slave docker image

    for exmaple, for arm64, the sonic-slave docker image name
    is sonic-slave-arm64-$(USER)
    
    for amd64, the docker image is kept as it is
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    512eb6b View commit details
    Browse the repository at this point in the history
  6. [build]: add message for sonic-slave-build

    print out sonic-slave name and tag
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    9a51505 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2020

  1. [docker-base-buster][docker-config-engine-buster] No longer install P…

    …ython 2 (sonic-net#6162)
    
    **- Why I did it**
    
    As part of migrating SONiC codebase from Python 2 to Python 3
    
    **- How I did it**
    
    - No longer install Python 2 in docker-base-buster or docker-config-engine-buster.
    - Install Python 2 and pip2 in the following containers until we can completely eliminate it there:
        - docker-platform-monitor
        - docker-sonic-mgmt-framework
        - docker-sonic-vs
    - Pin pip2 version <21 where it is still temporarily needed, as pip version 21 will drop support for Python 2
    - Also preform some other cleanup, ensuring that pip3, setuptools and wheel packages are installed in docker-base-buster, and then removing any attempts to re-install them in derived containers
    jleveque authored Dec 26, 2020
    Configuration menu
    Copy the full SHA
    d40c9a1 View commit details
    Browse the repository at this point in the history
  2. [build]: add option to pull sonic-slave docker from registry (sonic-n…

    …et#6300)
    
    - add config option ENABLE_DOCKER_BASE_PULL to pull sonic-slave docker from registry
    - use REGISTRY_PORT, REGISTRY_SERVER to specify docker registry
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Dec 26, 2020
    Configuration menu
    Copy the full SHA
    a79fcb4 View commit details
    Browse the repository at this point in the history
  3. [submodule]: swss Tunnel Manager changes (sonic-net#5843)

    Introduce tunnel manager daemon. Start the process as part of swss container
    
    Submodule update for swss:
    9ed3026 - 2020-12-24 : [NAT] ACL Rule with DO_NOT_NAT action is getting failed. (sonic-net#1502) [Akhilesh Samineni]
    c39a4b1 - 2020-12-23 : Mux/IPTunnel orchagent changes (sonic-net#1497) [Prince Sunny]
    bc8df0e - 2020-12-23 : Add support for headroom pool watermark (sonic-net#1567) [Neetha John]
    prsunny authored Dec 26, 2020
    Configuration menu
    Copy the full SHA
    8fd50e8 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2020

  1. [doc]: add centec(arm64) and marvel(armhf) build badge

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 27, 2020
    Configuration menu
    Copy the full SHA
    283ed8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c06df8 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. [build]: disable unit tests for sonic-utilities

    unit tests are running for sonic utilitie repo
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    470ed18 View commit details
    Browse the repository at this point in the history
  2. [sonic-utilities] Update sonic-utilities submodule to pick set of new…

    … fixes (sonic-net#6282)
    
    submodule sonic-utilities in sonic-buildimage has not been updated for a while and there were many fixes needed to be picked up to ease debug/development in master branch.
    
    Here are the list of changes that this update will bring in:
    
    * de14939 2020-12-27 | Revert "[pytest][qos][config] Added pytests for "config qos reload" commands (sonic-net#1266)" (HEAD -> master, origin/master, origin/HEAD) [Guohan Lu]
    * ef3370d 2020-12-24 | [fast-reboot]: Stop sflow during fast-reboot (sonic-net#1296) [jangidrk]
    * ff1db4d 2020-12-24 | [fast-reboot]: Update fast-reboot-dump.py to handle invalid parsing of genetlink type hostif object id attribute (sonic-net#1318) [jangidrk]
    * d63d11d 2020-12-23 | Added show ip/v6 route summary support for multi-asic platform (sonic-net#1320) [gechiang]
    * 6202a81 2020-12-23 | [pytest][qos][config] Added pytests for "config qos reload" commands (sonic-net#1266) [Mahesh Maddikayala]
    * f555e9e 2020-12-23 | [CRM]Add support for snat, dnat and ipmc crm resources (sonic-net#1258) [Prabhu Sreenivasan]
    * f44e57e 2020-12-22 | Retain fgnhg state db table entry during warm reboot (sonic-net#1315) [weixchen1215]
    * 5e18bf5 2020-12-23 | Fix exception handling in python3 (sonic-net#1324) [bingwang-ms]
    * b6221f4 2020-12-22 | [config] Add unit tests for 'config interface breakout' command (sonic-net#1223) [Praveen Chaudhary]
    * 150642e 2020-12-22 | [dropcounters] Fix clear for non-root users (sonic-net#1253) [Danny Allen]
    * becf5b5 2020-12-21 | Kubernetes support commands update (sonic-net#1133) [Renuka Manavalan]
    * aad2c38 2020-12-19 | VXLAN config and show utilities (sonic-net#870) [Rajesh Sankaran]
    * 9419627 2020-12-17 | [Multi-asic] Enhanced Feature Table configuration for multi-asic platforms (sonic-net#1152) [abdosi]
    * 155f6d5 2020-12-17 | [config vlan]: Remove `-t` flag from docker exec command (sonic-net#1317) [Lawrence Lee]
    * 281b157 2020-12-17 | [fast-reboot-dump] Fix exception in struct.pack (sonic-net#1309) [bingwang-ms]
    * 269c317 2020-12-16 | Mgmt vrf/SNMP agent validations and bug fixes (sonic-net#1289) [Suman Kumar]
    * 394b202 2020-12-16 | [Dynamic buffer calc] Support dynamic buffer calculation (sonic-net#973) [Stephen Sun]
    * 6dd5d31 2020-12-14 | show tech with platform dump option (sonic-net#1158) [Sujin Kang]
    * 6255384 2020-12-13 | [kdump]: Parse sonic_platform kernel command line parameter to read the platform identifier string (sonic-net#1291) [rajendra-dendukuri]
    * 0603c0b 2020-12-13 | [pcieutil] Remove 'pcie-' prefix from arguments (sonic-net#1297) [Joe LeVeque]
    * 10ffc28 2020-12-13 | Added 'detailed' option for 'show interface counters' command (sonic-net#1299) [Akhilesh Samineni]
    * 980ea0d 2020-12-11 | Fix show ip route summary on pizzabox platforms (sonic-net#1302) [gechiang]
    * af1bb47 2020-12-10 | [acl_loader] Fix default DENY rule for V6 dataplane ACLs (sonic-net#1281) [Danny Allen]
    * 57a0b41 2020-12-09 | Add show and clear commands for headroom pool watermark  (sonic-net#1144) [Neetha John]
    * d414970 2020-12-08 | [unit test][CLI][pfcwd] Added pfcwd config tests for single and multi ASIC platform. (sonic-net#1248) [Mahesh Maddikayala]
    * 2b4a58c 2020-12-08 | [sflow] Fix traceback seen for show sflow interface (sonic-net#1282) [Garrick He]
    * e22980f 2020-12-09 | [config/console][consutil] Support enable/disable console switch (sonic-net#1275) [Blueve]
    * 2f263c4 2020-12-08 | [fast-reboot] Fix fast-reboot when NDP entries are present (sonic-net#1295) [shlomibitton]
    * 326e534 2020-12-07 | Fast-reboot: add a new flag to ignore ASIC config checksum verification failures (sonic-net#1292) [Vaibhav Hemant Dixit]
    * 042254e 2020-12-04 | Kdump improvements (sonic-net#1284) [rajendra-dendukuri]
    gechiang authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    721c68c View commit details
    Browse the repository at this point in the history
  3. Add pmon daemons python3 build support (sonic-net#6176)

    **- Why I did it**
    
    python2 is end of life and SONiC is going to support python3. This PR is going to support:
    
    1. Build pmon daemons with python3
    2. Install and run python3 version pmon daemons
    
    **- How I did it**
    
    1. Change pmon daemons make files to build bothe python2 and python3 whl
    2. Change docker-platform-monitor make files to install both python2 and python3 whl
    3. Change pmon docker startup files to start pmon daemons according to the supported platform API version
    Junchao-Mellanox authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    51f896b View commit details
    Browse the repository at this point in the history
  4. [init_cfg]: allow enable/disable swss/teamd/syncd services (sonic-net…

    …#6291)
    
    swss/teamd/syncd services were changed to always enabled
    in commit fad481e as a workaround
    for not letting hostcfgd start service during the bootup process.
    
    commit 317a4b3 introduce
    wait till full system bootup before updating feature states in hostcfgd.
    
    Thus, workaround introduced in commit fad481e can be removed
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    162f0fd View commit details
    Browse the repository at this point in the history
  5. [docker-frr]: add static ipv6 loopback route to allow bgp to advertis…

    …e prefix
    
    frr does not advertise route if local route is not reachable, as a result
    loopback route /64 is not advertised to the neighbors. Add static route
    allows frr to advertise the route to its peers
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ed58684 View commit details
    Browse the repository at this point in the history
  6. [submodule]: update sonic-swss

    * 321291a 2020-12-26 | [loopback]: skip route pointing to loopback interface (sonic-net#1570) (HEAD, origin/master, origin/HEAD) [lguohan]
    * 41fd2c4 2020-12-26 | [CRM] Safety check for division by 0 (sonic-net#1569) [Prince Sunny]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    b846b9d View commit details
    Browse the repository at this point in the history
  7. [submodule]: update sonic-utilities

    * 7924bd1 2020-12-28 | [route_check]: ignore routes pointing to Loopback interface (sonic-net#1337) (HEAD, origin/master, origin/HEAD) [lguohan]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    9432bb8 View commit details
    Browse the repository at this point in the history
  8. Convert snmp.yml to configdb (sonic-net#6205)

    This PR is in preparation to move from snmp.yml to configdb. This will more closely align with other commands in sonic and use configdb as the source of truth for snmp configuration.
    Note: This is the first of 2 PR's to enable this. This PR will not change any functionality but will allow the snmp.yml file info to be put into the configdb.
    Created a script that takes the snmp.yml variables and converts them to the configdb format.
    Added file to dockerfile.j2 so that file is copied in the container.
    Updated start.sh file to automatically run the python conversion script each time the docker container is restarted.
    tsvanduyn authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    6efc0a8 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2020

  1. [ipinip.json.j2] align mellanox configuration dst_ip with other platf…

    …orms (sonic-net#6304)
    
    Mellanox already supports multiple destination IPs in IPinIP tunnel configuration, thus removing mellanox
    exception for IPinIP configuration.
    
    - How I did it
    
    Removed "dst_ip" field generation in mellanox platform condition.
    Sorted the "dst_ip" list, so that it is easier to test against sample configuration in unit tests.
    Aligned unit test sample.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak authored Dec 29, 2020
    Configuration menu
    Copy the full SHA
    23f1d51 View commit details
    Browse the repository at this point in the history
  2. [build]: install node.js for non-amd64 sonic-slave docker

    instruct azure pipeline to use node.js in the docker.
    
    https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops#bring-your-own-nodejs
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    0b0da87 View commit details
    Browse the repository at this point in the history
  3. FRR 7.5

    Build libyang1 which is required for frr 7.5
    Ubuntu authored and lguohan committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    273846a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7b8f89 View commit details
    Browse the repository at this point in the history
  5. No longer install some unnecessary Python 2 packages in host (sonic-n…

    …et#6301)
    
    - No longer install Python 2 packages in host:
        - libpython2.7-dev
        - docker
        - ipaddress
        - netifaces
        - azure-storage
        - watchdog
        - futures
    
    - Install Python 3 versions of the following packages in host:
        - docker
        - azure-storage
        - watchdog
        - redis
        - swsssdk (install unconditionally)
    jleveque authored Dec 29, 2020
    Configuration menu
    Copy the full SHA
    62662ac View commit details
    Browse the repository at this point in the history
  6. [system-health] Convert to Python 3 (sonic-net#5886)

    - Convert system-health scripts to Python 3
    - Build and install system-health as a Python 3 wheel
    - Also convert newlines from DOS to UNIX
    jleveque authored Dec 29, 2020
    Configuration menu
    Copy the full SHA
    566ea4f View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2020

  1. [build]: setup -t option in docker run correctly (sonic-net#6320)

    use bash -t test flag to check if input device is tty or not
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    727a451 View commit details
    Browse the repository at this point in the history
  2. [build]: change user name to lower case when used in sonic-slave tag (s…

    …onic-net#6319)
    
    sonic-slave tag only allows all lower case. In case the user
    name is mixed case, we need to change user name to all lower case.
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    de4a3c8 View commit details
    Browse the repository at this point in the history
  3. [buildsystem] Fix syntax error: unexpected end of file in Makefile.wo…

    …rk (sonic-net#6315)
    
    Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
    nazariig authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    119fd7f View commit details
    Browse the repository at this point in the history
  4. [sysctl] Increase hung_task_timeout_secs to 300 (sonic-net#6312)

    Depending on the performance characteristics of a given hardware platform, it's possible to exceed the default 120 second kernel timeout during I/O intensive operations like image installation. This can cause a kernel panic like so:
    
    kernel:[ 852.441781] Kernel panic - not syncing: hung_task: blocked tasks
    
    If this happens during image installation, it's possible for the install to become corrupted and leave the device in an unreachable state that requires a power cycle to resolve. This risk increases as image size continues to increase. So, we need to increase the timeout so that we don't encounter kernel panics on devices with lower disk throughput.
    
    Signed-off-by: Danny Allen <daall@microsoft.com>
    daall authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    a64994e View commit details
    Browse the repository at this point in the history
  5. [Nokia]: EEPROM platform API Python3 compliance changes (sonic-net#6318)

    - Why I did it
    Make EEPROM platform APIs Python3 compliant in Nokia platform.
    
    - How I did it
    Handle bytearray type returned by read_eeprom and read_eeprom_bytes methods.
    
    - How to verify it
    Boot Nokia ixs7215 and verify PMON docker running and show platform syseeprom
    
    Co-authored-by: Carl Keene <keene@nokia.com>
    carl-nokia and Carl Keene authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    a1fe203 View commit details
    Browse the repository at this point in the history
  6. Minigraph ECMP parsing support (cleaner format) (sonic-net#4985)

     Why I did it
    To support FG_ECMP  scenarios
    - How I did it
    Modified minigraph parser to parse ECMP fields in the case they are present in minigraph
    - How to verify it
    Loaded ensuing config_db file on a DUT to verify the fields are parsed and configure device correctly
    kktheballer authored Dec 30, 2020
    Configuration menu
    Copy the full SHA
    ba92a08 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. [determine-reboot-cause] Skip invoking platform code for unit tests f…

    …or hardware_reboot_cause (sonic-net#6325)
    
    What: Modify unit test to not call any platform dependent api in test_find_hardware_reboot_cause.
    
    - Why I did it
    MELLANOX build is failing for the recent PRs. The errors are due to platform library being invoked in a unit test for determine-reboot-cause script.
    
    Verified by running unit tests and a successful Mellanox build.
    
    Co-authored-by: Vaibhav Hemant Dixit <vadixit@microsoft.com>
    vaibhavhd and Vaibhav Hemant Dixit authored Dec 31, 2020
    Configuration menu
    Copy the full SHA
    40f69f0 View commit details
    Browse the repository at this point in the history
  2. [build]: fix syntax error when DOCKER_BASE_PULL is enabled

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    a165e63 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2021

  1. Enable the notify mode of rsyslogd imfile module used for supervisord (

    …sonic-net#6298)
    
    Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container
    abdosi authored Jan 1, 2021
    Configuration menu
    Copy the full SHA
    ef0088c View commit details
    Browse the repository at this point in the history
  2. [sonic-swss-common] Update submodule (sonic-net#6317)

    Including commits in sonic-swss-common repo:
    
    b423b9c Add support for hexists call (sonic-net#432) [Tony Titus]
    0982996 Remove extension of tableNameSeparatorMap (sonic-net#430) [Qi Luo]
    d16cc76 [build]: add azure pipeline build badge (sonic-net#429) [lguohan]
    f2aaf55 Set up CI with Azure Pipelines (sonic-net#428) [lguohan]
    Tony Titus authored Jan 1, 2021
    Configuration menu
    Copy the full SHA
    70ba591 View commit details
    Browse the repository at this point in the history
  3. [mellanox]: Update Mellanox SDK to 4.4.2208 FW to *.2008.2208 (sonic-…

    …net#6333)
    
    Features:
        Spectrum-3 | Systems | Added GA-level support for SN4700 A0 system
        All | Shared headroom | Added GA-level support for Shared headroom between PGs
    
      Bugs fixes:
        All | Counters | Sent traffic in certain size is wrongly increase to a smaller size counter, because port extended counter has a counter for sent traffic per packet-size range
        All | Shared buffer | Configuring shared buffer on the fly may, on occasion, cause the chip to get stuck
        Spectrum-2 | Modules | On occasion, link down is experienced with INPHI COLORZ PAM4 100G optic cables on SN3700 systems
    keboliu authored Jan 1, 2021
    Configuration menu
    Copy the full SHA
    3acf700 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. [device/accton] Fix accton driver not been installed (sonic-net#6327)

    Accton util applies lsmod to check if drivers are installed.
    But lsmod may return error on startup and skip module installation.
    
    Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.com>
    brandonchuang authored Jan 2, 2021
    Configuration menu
    Copy the full SHA
    c4156b8 View commit details
    Browse the repository at this point in the history
  2. [doc]: add 202012 branch in the PR request template

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    66fffed View commit details
    Browse the repository at this point in the history
  3. [build]: fix dpkg uninstall bug

    fix a bug when there are multiple debian packages to be uninstalled
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    30a51c1 View commit details
    Browse the repository at this point in the history
  4. [build]: check if package with given version is installed or not

    in case conflicting packages have same name but different version,
    the install step needs to wait till package with the conflicting
    version is uninstalled
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    d365d0d View commit details
    Browse the repository at this point in the history
  5. [frr]: remove dependency betwee frr and frr-snmp

    no instalation of frr during the build process
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    f2c418e View commit details
    Browse the repository at this point in the history
  6. [build]: add artifical dependency between libyang and frr

    frr build requires libyang 1.0.184 which conflicts with
    libyang 1.0.73. Solution here is to compile frr and libyang 1.0.184
    first, and then uninstall libyang 1.0.184 after frr build.
    Then, compile libyang 1.0.73 and all packages depend on it later.
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    ae2cb47 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2021

  1. Configuration menu
    Copy the full SHA
    36fbc01 View commit details
    Browse the repository at this point in the history
  2. [sonic-py-common] Added an API to get file path containing SONiC vers…

    …ion (sonic-net#6309)
    
    * [sonic-py-common] add an API to get file path containing SONiC version so that the API can be mocked for unit tests.
    smaheshm authored Jan 3, 2021
    Configuration menu
    Copy the full SHA
    c6253f6 View commit details
    Browse the repository at this point in the history
  3. [broadcom]: match the brcm sai filename version to control file versi…

    …on (sonic-net#6339)
    
    the control file version is 4.2.1.5-7
    
    sonic$ sudo dpkg -i target/debs/buster/libsaibcm-dev_4.2.1.5-8_amd64.deb
    (Reading database ... 175880 files and directories currently installed.)
    Preparing to unpack .../libsaibcm-dev_4.2.1.5-8_amd64.deb ...
    Unpacking libsaibcm-dev (4.2.1.5-7) over (4.2.1.5-7) ...
    Setting up libsaibcm-dev (4.2.1.5-7) ...
    lgh@491d842369cf:/sonic$ sudo dpkg -i target/debs/buster/libsaibcm_4.2.1.5-8_amd64.deb
    (Reading database ... 175880 files and directories currently installed.)
    Preparing to unpack .../libsaibcm_4.2.1.5-8_amd64.deb ...
    Unpacking libsaibcm (4.2.1.5-7) over (4.2.1.5-7) ...
    Setting up libsaibcm (4.2.1.5-7) ...
    Processing triggers for libc-bin (2.28-10) ...
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Jan 3, 2021
    Configuration menu
    Copy the full SHA
    618b4bf View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. [frr]: change frr debug package to extra to avoid build break for dbg…

    … image (sonic-net#6340)
    
    build frr dbg image force to install frr in the build process
    which breaks the current build and is uneccessary.
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    ae5caee View commit details
    Browse the repository at this point in the history
  2. [BFN] Upgrade docker-syncd-bfn to buster (sonic-net#6345)

    * Add changes to allow migration of bfn syncd to buster
    
    * Update BFN packages for Debian 10
    
    Signed-off-by: Denys Petryshyn <denysx.petryshyn@intel.com>
    dpetryshintl authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    9e57f51 View commit details
    Browse the repository at this point in the history
  3. [libyang1] Adding LFS support for arm32 (sonic-net#6346)

    In the emulated armhf environment, the function readdir()returns NULL on a ext4 file system directory. When running the libyang1 test cases, it will require to load the plugins from the files (such as metadata.so), because the readdir() is failing, the plugins can’t be loaded in the emulated armhf environment, so it causes libyang1 test error. This error is a combination of the following reasons.
    • Emulation of a 32-bit target from a 64-bit host –> qemu from x86_64 to armhf
    • Glibc version > 2.27 – Debian buster is using glibc 2.28
    
    - How I did it
    Enabled large file support by setting _FILE_OFFSET_BITS=64 for libyang1.
    
    Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
    Sabareesh-Kumar-Anandan authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    d6b92da View commit details
    Browse the repository at this point in the history
  4. [BFN] Convert platform modules to python 3 (sonic-net#6347)

    Fix syntax errors during xcvrd start with Python 3 daemons
    msosyak authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    9006b96 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Update udev rules to support 96 ttyUSB ports (sonic-net#6334)

    Signed-off-by: Jing Kan jika@microsoft.com
    sandycelestica authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    c38eee8 View commit details
    Browse the repository at this point in the history
  2. [DellEMC] Add platform-modules as prerequisite for determine-reboot-c…

    …ause (sonic-net#6322)
    
    Add a systemd dependency to make platform-modules service as a prerequisite for determine-reboot-cause service to ensure platform initialization is complete before determine-reboot-cause.service executes.
    ArunSaravananBalachandran authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    19b2b44 View commit details
    Browse the repository at this point in the history
  3. [docker-sonic-vs]: reduce the build steps for docker-sonic-vs (sonic-…

    …net#6350)
    
    combine multiple same operation into one operation to reduce
    the build steps. this is to avoid max depth exceeded issue
    in the build.
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    6fbd52b View commit details
    Browse the repository at this point in the history
  4. [lldp] lldp upstream patches (sonic-net#6118)

    The details are as follows:
    
        1. 0010-Ported-fix-for-length-exceeded-from-lldp-community.patch
    
        Patch taken from lldpd/lldpd@7824347
    
        lib: remove limit on system description length
    
        The limit was introduced in 9c49ced while fixing a memory leak.
        The state data is used to ensure we don't interleave operations. We
        need to handle the case where the value is truncated because it is
        larger than the allocated size.
    
        Fix issue lldpd/lldpd#408
    
        2. 0011-fix-med-location-len.patch
        
        Patch taken from lldpd/lldpd@5c34794
    
        lib: fix LLDP-MED location parsing in liblldpctl
    
        Some bounds were not checked correctly when parsing LLDP-MED civic
        location fields. This triggers out-of-bound reads (no write) in
        lldpcli, ultimately leading to a crash.
    
        Fix lldpd/lldpd#420
    
    Signed-off-by: sudhanshukumar22 <sudhanshu.kumar@broadcom.com>
    sudhanshukumar22 authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    7fc2d38 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9593680 View commit details
    Browse the repository at this point in the history
  6. After first bootup, the FEATURE table is not present in CONFIG_DB (so…

    …nic-net#5911)
    
    Fix the After first bootup(onie-install), the FEATURE table is not present in CONFIG_DB. 
    Fix is done by calling config reload.
    AkhileshSamineni authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    62e7c45 View commit details
    Browse the repository at this point in the history
  7. [xcvrd] Remove dependency on SONIC_PLATFORM_API_PY2 and SONIC_PLATFOR…

    …M_API_PY3 (sonic-net#6344)
    
    Remove the build time dependency on SONIC_PLATFORM_API_PY2 and SONIC_PLATFORM_API_PY3 from xcvrd make rule
    Junchao-Mellanox authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    4460076 View commit details
    Browse the repository at this point in the history
  8. [determine-reboot-cause] Ignore non-hardware reboot cause (sonic-net#…

    …6349)
    
    - Why I did it - Reboot cause prints "Non-Hardware (N/A)" instead of showing the software reboot cause.
    The issue is mishandling of hardware reboot cause in determine-reboot-cause script.
    
    - How I did it
    Fixed the handling for Non Hardware reboot cause. Ignore if Non-Hardware is present in the hardware_reboot_cause output. Added some code refactoring for simplicity.
    
    - How to verify it - With fix, the hardware reboot cause is ignored (if it is non hw):
    vaibhavhd authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    6fd78b6 View commit details
    Browse the repository at this point in the history
  9. [snmp]: updated to support snmp config from redis configdb (sonic-net…

    …#6134)
    
    **- Why I did it**
    I'm updating the jinja2 template to support getting SNMP information from the redis configdb. 
    I'm using the format approved here: 
    sonic-net/SONiC#718
    
    This will pave the way for us to decrement using the snmp.yml in the future.  
    Right now we will still be using both the snmp.yml and configdb to get variable information in order to create the snmpd.conf via the sonic-cfggen tool. 
    
    **- How I did it**
    I first updated the SNMP Schema in PR sonic-net#718 to get that approved as a standardized format. 
    Then I verified I could add snmp configs to the configdb using this standard schema.  Once the configs were added to the configdb then I updated the snmpd.conf.j2 file to support the updates via the configdb while still using the variables in the snmp.yml file in parallel.  This way we will have backward compatibility until we can fully migrate to the configdb only. 
    
    By updating the snmpd.conf.j2 template and running the sonic-cfggen tool the snmpd.conf gets generated with using the values in both the configdb and snmp.yml file. 
    
    Co-authored-by: trvanduy <trvanduy@microsoft.com>
    tsvanduyn and trvanduy authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    d769ef2 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. [rsyslog]: Explicitly set the notify mode for rsyslog imfile module (s…

    …onic-net#6351)
    
    Enable the notify mode of rsyslogd imfile module used for supervisord
    logs in docker container. 
    
    Setup the mode="inotify" when loading imfile, made sure we are are getting 
    supervisord logs in host immediately.
    
    Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
    abdosi authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    afd60bd View commit details
    Browse the repository at this point in the history
  2. [sairedis] advance sairedis submodule head (sonic-net#6365)

    To incldue following changes:
    
    - [ci]: add build for arm64 and armhf (sonic-net#757)
    - Use template hgetall, because we will tune the return types of library functions (sonic-net#759)
    - [syncd] Fix bulk multi attrs for same key db update (sonic-net#761)
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    78dae94 View commit details
    Browse the repository at this point in the history
  3. DellEMC: Z9332f change SFP detection logic (sonic-net#6261)

    - Dynamically change EEPROM driver based on media type.
    - Otherwise, EEPROM INFO and DOM INFO might not be fetched properly and will result in erroneous output.
    aravindmani-1 authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    4632e0b View commit details
    Browse the repository at this point in the history
  4. [docker-lldp]: sonic advertise meaningful SysDescription instead of d…

    …ebian (sonic-net#6114)
    
    Sonic devices advertise meaningful system description along with Debian package information.
    
    before the fix:
    
    -------------
    admin@sonic:~$ show lldp neighbors
    -------------------------------------------------------------------------------
    LLDP neighbors:
    -------------------------------------------------------------------------------
    Interface: Ethernet0, via: LLDP, RID: 3, Time: 0 day, 16:36:30
    SysName: sonic
    SysDescr: Debian GNU/Linux 9 (stretch) Linux 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
    -------------------------------------------------------------------------------
    
    After the fix:
    
    root@sonic:~# show lldp neighbors Ethernet16
    -------------------------------------------------------------------------------
    LLDP neighbors:
    -------------------------------------------------------------------------------
    Interface:    Ethernet16, via: LLDP, RID: 10, Time: 0 day, 00:01:00
        SysName:      sonic
        SysDescr:     SONiC Software Version: SONiC.sonic_upstream_1.0_daily_201130_1501_62-dirty-20201130.203529 - HwSku: Accton-AS7816-64X - Distribution: Debian 10.6 - Kernel: 4.19.0-9-2-amd64
    -------------------------------------------------------------------------------
    
    Signed-off-by: sudhanshukumar22 <sudhanshu.kumar@broadcom.com>
    sudhanshukumar22 authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    8a3ac8f View commit details
    Browse the repository at this point in the history
  5. [sonic-platform-common][sonic-platform-daemons] Update submodules (so…

    …nic-net#6352)
    
    src/sonic-platform-common 9935fca...8664efc (2):
    
    Make sonic_sfp Python2 and Python3 compatible (sonic-net#157)
    [sffbase.py] Fix to make Python 3-compatible (sonic-net#156)
    
    src/sonic-platform-daemons e6c786b...81318f7 (1):
    
    [psud] Fix issue where PSU Fan info is not updated in State DB (sonic-net#137)
    
    Fixes sonic-net#6341
    jleveque authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a013b8c View commit details
    Browse the repository at this point in the history
  6. [Nokia]: Enable Telemetry for armhf and provide required qos files (s…

    …onic-net#6364)
    
    * [platform][Nokia]: Add buffers and qos files for config qos reload
    
       - providing required files
    
    * [platform][armhf]: remove hardcoded disable for Telemetry on armhf
    
    Co-authored-by: Carl Keene <keene@nokia.com>
    carl-nokia and Carl Keene authored Jan 6, 2021
    Configuration menu
    Copy the full SHA
    f99dbff View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Updated imfile configuration for supervisord logs (sonic-net#6368)

    Updated imfile configuration for supervisord logs for stretch and buster.
    abdosi authored Jan 7, 2021
    Configuration menu
    Copy the full SHA
    afc87b8 View commit details
    Browse the repository at this point in the history
  2. [brcm]: BRCM SAI 4.2.1.5-9 Fix _brcm_sai_indexed_data_get () with une…

    …xpected queue causing _brcm_sai_switch_assert () after warm reboot (sonic-net#6374)
    
    Starting from build (master) 176 the warm reboot on BRCM Platform started to experience syncd crash. Upon further debug by Ying it was determined that the crash was related to the following new change:
    [Dynamic buffer calc] Support dynamic buffer calculation (sonic-net#1338)
    
    Ying also debugged further and found The crash was caused by buffer pool profile setting operation SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH
    
    A case has filed with BRCM while a potential fix was tried by Ying that seems to have addressed this issue and we are making this change available in master branch so that it will allow further feature validation/testing especially in the warm reboot area.
    Once an official fix is provided by BRCM, we will then remove this in house fix and apply the official fix.
    
    - How to verify it
    Just perform warm reboot with any master code 175 or above you should see this issue or issue the following cmd will also cause the crash: "mmuconfig -p egress_lossy_profile -a 0"
    gechiang authored Jan 7, 2021
    Configuration menu
    Copy the full SHA
    a6907a7 View commit details
    Browse the repository at this point in the history
  3. [system-health] Make run_command() Python 3-compliant (sonic-net#6371)

    Pass universal_newlines=True parameter to subprocess.Popen(); no longer use .encode('utf-8') on resulting stdout.
    This was missed in sonic-net#5886
    
    Note: I would prefer to use text=True instead of universal_newlines=True, as the former is an alias only available in Python 3 and is more understandable than the latter. However, Even though the setup.py file for this package only specifies Python 3, the LGTM tool finds other Python 2 code in the repo and validates the code as Python 2 code and alerts that text=True is an invalid parameter. Will stick with universal_newlines=True for now. Once all Python code in the repo has been converted to Python 3, I will change all universal_newlines=True to text=True.
    jleveque authored Jan 7, 2021
    Configuration menu
    Copy the full SHA
    2d77a36 View commit details
    Browse the repository at this point in the history
  4. [README] Update build badges to include 202012 build status (sonic-ne…

    …t#6373)
    
    Signed-off-by: Danny Allen <daall@microsoft.com>
    daall authored Jan 7, 2021
    Configuration menu
    Copy the full SHA
    0ad2098 View commit details
    Browse the repository at this point in the history
  5. [PDDF] Build and install Python 3 package (sonic-net#6286)

    - Make PDDF code compliant with both Python 2 and Python 3
    - Align code with PEP8 standards using autopep8
    - Build and install both Python 2 and Python 3 PDDF packages
    jleveque authored Jan 7, 2021
    Configuration menu
    Copy the full SHA
    e52581e View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

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

    …ade (sonic-net#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. 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. (sonic-net#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 <yozhao@microsoft.com>
    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 (sonic-n…

    …et#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 <pavel.contrib@gmail.com>
    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 (sonic-net#6382)

    Includes sonic-swss-common commits:
    ```
    71dc350 2021-01-07 | Lower the log level for outdated key for SubscriberStateTable notification (sonic-net#441) [Qi Luo]
    7e40582 2021-01-08 | Add boost dependencies (sonic-net#442) [Ze Gan]
    30a8ddf 2021-01-05 | Change DBConnector::hgetall return type from map to unordered_map (sonic-net#440) [Qi Luo]
    021108d 2021-01-02 | MCLAG Enhancements per HLD sonic-net/SONiC#596 (sonic-net#405) [Praveen-Brcm]
    54996fc 2021-01-02 | Implement ConfigDBConnector and ConfigDBPipeConnector in C++ (sonic-net#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 (sonic-net#439) [lguohan]
    f2e4210 2020-12-29 | Add utility for string and redis (sonic-net#434) [Ze Gan]
    7a885fd 2020-12-29 | [build]: add build check for arm64 and armhf (sonic-net#436) [lguohan]
    47bccc4 2020-12-24 | Add missed vector header to rediscommand.h (sonic-net#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 (sonic-net#…

    …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] <support@github.com>
    
    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 (sonic-net#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 <xgu@centecnetworks.com>
    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 (sonic-net#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 (sonic…

    …-net#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 <zegan@microsoft.com>
    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 (sonic-net#6402)

    - (HEAD, github/master) [storyteller] adding a grep wrapper with predefined scenarios (sonic-net#1349)
    - Adding global-timeout, individual command timeout, log files collection (sonic-net#1249)
    - Add FW dump with new SAI implementation (sonic-net#1338)
    - [unit test][pfcwd] Fix tests that require sudo access (sonic-net#1340)
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    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 (sonic-ne…

    …t#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 <lawlee@microsoft.com>
    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 (sonic-net#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 (sonic-net#6409)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-…

    …net#6408)
    
    Fix sonic-net#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 <lguohan@gmail.com>
    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 (s…

    …onic-net#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 <lawlee@microsoft.com>
    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. 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 (sonic-net#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 (sonic-net#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 (sonic-net#6423)
    
    Centec syncd have beend upgraded to buster, docker-syncd-centec-rpc do not need generate stretch based docker.
    
    Co-authored-by: Xianghong Gu <xgu@centecnetworks.com>
    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 (sonic-net#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 <keene@nokia.com>
    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 (sonic-net#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 (sonic-net…

    …#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' (sonic-net#6316)

    Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
    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 (sonic-net#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 (sonic-net#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 (sonic-net#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 (sonic-net#6431)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-ne…

    …t#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 (sonic-net#…

    …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 <kebol@nvidia.com>
    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 (s…

    …onic-net#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 sonic-net#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 (sonic-net#6169)

    Includes below sonic-snmpagent commits
    ```
    dfde06e 2021-01-13 | Revert "[rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (sonic-net#169)" (sonic-net#191) [Stepan Blyshchak]
    45edd7e 2021-01-04 | [snmpagent] Fix hardcoded qsfp lane count by reading sensor status from DB (sonic-net#184) [Junchao-Mellanox]
    3b72a6f 2021-01-02 | Fix: handle empty LOC_CHASSIS_TABLE (sonic-net#190) [Qi Luo]
    4aad821 2020-12-29 | [sysName]: Implement sysName OID (sonic-net#185) [SuvarnaMeenakshi]
    8efb4bb 2020-12-29 | [rfc1213] fix counter value type (sonic-net#189) [Stepan Blyshchak]
    025483a 2020-12-23 | [RouteUpdater]: Fix multi_asic mock function implementation and multi_asic variable name (sonic-net#186) [SuvarnaMeenakshi]
    381ae47 2020-12-10 | [mibs] b'VLAN_TABLE:' -> 'VLAN_TABLE' (sonic-net#181) [Stepan Blyshchak]
    e54036c 2020-12-09 | [rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (sonic-net#169) [Stepan Blyshchak]
    fd1eae7 2020-11-24 | Set swsscommon logging level (sonic-net#178) [Qi Luo]
    706d504 2020-11-23 | Improve MockRedis _encode(): so it will work on all types of value (sonic-net#179) [Qi Luo]
    64c93a1 2020-11-16 | [RFC4292][Namespace]: Fix implementation of RouteUpdater for multi-asic platform (sonic-net#176) [SuvarnaMeenakshi]
    b8f19ee 2020-11-12 | [sonic-snmpagent] SONiC physical entity mib extension (sonic-net#168) [Junchao-Mellanox]
    6b94ec3 2020-11-05 | Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (sonic-net#162) [Qi Luo]
    ```
    
    Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
    Co-authored-by: Qi Luo <qiluo-msft@users.noreply.github.com>
    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 (sonic-net#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 (sonic-net#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 (sonic…

    …-net#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) (sonic-net#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 (s…

    …onic-net#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 <ying.xie@microsoft.com>
    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 (so…

    …nic-net#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 (sonic-net#…

    …6458)
    
    “time" module was missed to be imported and will cause an error when the branch hit.
    
    Signed-off-by: Kebo Liu <kebol@nvidia.com>
    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 (sonic-net…

    …#6440)
    
    Some non-production minigraphs will have an empty ClusterName tag
    
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    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. (

    sonic-net#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 <roy_lee@edge-core.com>
    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 (s…

    …onic-net#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 (sonic-net#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 <kebol@nvidia.com>
    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 (sonic-net#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 (sonic-net#6457)
    
    Avoid sonic-cfggen crashing when a server does not have a configured loopback address in the minigraph
    
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    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 (sonic-net#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-ne…

    …t#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 <vadymh@nvidia.com>
    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 (sonic-n…

    …et#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 <vadymh@nvidia.com>
    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 (sonic-net#6472)

    dump netstat info on error
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6471)

    use dpkg-buildpackage build with fakeroot
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6489)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net…

    …#6478)
    
    Fix sonic-net#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. [ci]: build docker-sonic-vs.gz in kvm build pipeline (sonic-net#6494)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Jan 19, 2021
    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 (sonic-ne…

    …t#6020)
    
    platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout
    
    Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
    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 (sonic-net#6492)

    * 3b330db4a 2021-01-18 | [build]: Fix build error when compiling for armhf (32-bit) (sonic-net#30) (HEAD, origin/master, origin/HEAD, master) [dflynn-Nokia]
    * 56aaa225b 2021-01-16 | [ci]: add pipeline for armhf and arm64 (sonic-net#29) [lguohan]
    * 90da6141c 2021-01-12 | [ci]: propagate the correct error code the next step (sonic-net#27) [lguohan]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6496)

    [ci]: download artifacts from master branch (sonic-net#768)
    Do not create fabric port if mapping is not available (sonic-net#769)
    [syncd] Comparison logic log also current attr value on set operation (sonic-net#763)
    Add fabric port test to vslib (sonic-net#737)
    [ci]: use sonicbld pool (sonic-net#766)
    [tests] Remove exit command blocking all tests to run (sonic-net#765)
    [vslib]: adapt macsec sai 1.7.1 (sonic-net#755)
    Add support for SAI_SWITCH_ATTR_AVAILABLE_IPMC_ENTRY needed by CRM (sonic-net#756)
    
    Signed-off-by: Danny Allen <daall@microsoft.com>
    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 (sonic-net#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 <shlomibi@nvidia.com>
    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 (sonic-net#…

    …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. (sonic-net#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 (sonic-ne…

    …t#5774)
    
    * support reproduceable build for git clone
    
    Signed-off-by: shilongliu <shilongliu@microsoft.com>
    
    * fix
    
    Co-authored-by: shilongliu <shilongliu@microsoft.com>
    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 (sonic-net#6507)

    Changes in this update:
    37695c8 [show]: Use TCP Connection For Muxcable Commands (sonic-net#1371)
    8119ba2 Validations checks while creating and deleting a Portchannel (sonic-net#1326)
    3df267e [config] Fix Breakout mode option and BREAKOUT_CFG table check method (sonic-net#1270)
    9bd709b [show] Fix show arp in case with FDB entries, linked to default VLAN (sonic-net#1357)
    bc2d27e [generate_dump]: fix syntax error
    
    signed-of-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    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
    0eed960 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    427903e View commit details
    Browse the repository at this point in the history