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 #6

Closed
wants to merge 1,429 commits into from
Closed

The bug is fixed #6

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

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) (#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 <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
    25e4d77 View commit details
    Browse the repository at this point in the history
  4. [sonic-swss] Update submodule (sonic-net#6336)

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

    Update in this change:
    640a218 [packaging]: Add Support For Libboost v1.71.0 (sonic-net#449)
    
    signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    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. (so…

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

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

    …ic-net#6310)
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
    
    - 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 (sonic-net#6538)
    
    Otherwise all the docker image derived from docker-config-engine-stretch will have broken SONIC_CONFIG_ENGINE_PY2
    The bug is introduced in sonic-net#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 (sonic-net#6536)

    Fixes sonic-net#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 <daall@microsoft.com>
    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 (sonic-net#6535)

    Submodule changes to be committed:
    
    * src/sonic-platform-daemons 81318f7...e72f6cd (3):
      > [ledd] Minor refactor; add unit tests (sonic-net#143)
      > [thermalctld] Report unit test coverage (sonic-net#141)
      > [psud] Increase unit test coverage (sonic-net#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 (sonic-ne…

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

    …net#6532)
    
    Installing newst buster version of libboost (v1.71) in build docker.
    
    signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    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 (sonic-net#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. (sonic-net#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 sonic-net#6199
    To check if it works out for this issue in 201911 ? sonic-net#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 (sonic-net#6487)

    There was a mismatch with Eeprom class methods names and methods called from Eeprom class.
    
    Signed-off-by: Antonina Melnyk antoninax.melnyk@intel.com
    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 (sonic-net#6278)

    platform.json and hwsku.json files has not a full set of speeds for split modes
    
    Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
    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 (sonic-net#6277)

    platform.json and hwsku.json files has not a full set of speeds for split modes
    
    Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
    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 (sonic-net#6522)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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. (sonic-net#6470)
    
    Tests for default value of docker_routing_config_mode and Empty ACL ports.
    
    Signed-off-by: Praveen Chaudhary <pchaudhary@linkedin.com>
    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 (s…

    …onic-net#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 (sonic-net#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 <zhenhong.zhao@dell.com>
    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 (sonic-net#6506)

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

    * 20b9573 2021-01-24 | [SAI]: update SAI submodule (sonic-net#775) (HEAD, origin/master, origin/HEAD) [lguohan]
    * 667c33d 2021-01-22 | [syncd] Comparison logic add support to LABEL attribute with higher priority (sonic-net#764) [Kamil Cudnik]
    * aaf5b98 2021-01-22 | [vslib]: Fix missing MACsec Create Port action (sonic-net#770) [Ze Gan]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 sonic-net#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 <lguohan@gmail.com>
    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 (sonic-net#1606) (HEAD, origin/master, origin/HEAD) [Shi Su]
    * f4c3579 2021-01-23 | Enhance dynamic buffer calculation and bug fixes (sonic-net#1601) [Stephen Sun]
    * e800c9f 2021-01-22 | [logfile]: Add option to specify swss rec file name (sonic-net#1546) [arlakshm]
    * 1acf60e 2021-01-17 | Implementation of System ports initialization, Interface & Neighbor Synchronization... (sonic-net#1431) [minionatwork]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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 <tamer.ahmed@microsoft.com>
    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 (sonic-net#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 <kebol@nvidia.com>
    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 (sonic-ne…

    …t#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 <lguohan@gmail.com>
    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 (sonic-net#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 <lguohan@gmail.com>
    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 (sonic-net#6567)

    - archive logs
    - archive kvm memdump when failed
    - publish kvm test results
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6561)

    f4aefba - 2021-01-25 : [Mux] Fix repeating logs in case of tunnel creation fail (sonic-net#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 (

    …sonic-net#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 (sonic-net#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 <lguohan@gmail.com>
    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. [build]: add _BUILD_ENV to specify env for dpkg-buildpackage

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

    …et#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 <abdosi@microsoft.com>
    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 (

    sonic-net#6568)
    
    This commit fixes a typo in the fix delivered in PR sonic-net#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 (sonic-net#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 <kebol@nvidia.com>
    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 (sonic-net#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 <lguohan@gmail.com>
    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. [docker-fmp-frr]: remove blank lines in generated critical_process

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jan 28, 2021
    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 (sonic-net#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 (sonic-net#6582)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6581)
    
    Remove unregisterMessageHandler from NetMsgRegistrar thread (sonic-net#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 <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#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 (sonic-net#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 (sonic-net#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 (sonic-net#6591)

    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
    
    - 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 (sonic-net#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 <arlakshm@microsoft.com>
    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 (sonic-net#6601)

    * 832815e 2021-01-28 | [orchagent]: Add MACsec Orchagent (sonic-net#1474) (HEAD, origin/master, origin/HEAD) [Ze Gan]
    * dd4e409 2021-01-28 | [MACsecMgr]: Add MACsec Manager (sonic-net#1475) [Ze Gan]
    * 91e231c 2021-01-28 | [portsorch] Configure hostif tagging for subports (sonic-net#1573) [Vitaliy Senchyshyn]
    * 008325c 2021-01-29 | [PortsOrch] Add reference counting to ports for ACL bindings (sonic-net#1614) [chaoskao]
    * bbd2ca6 2021-01-28 | [crm]: Ignore unsupported/non-implemented switch attributes (sonic-net#1613) [Prabhu Sreenivasan]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#6609)

    This update includes the following changes
    
      > [syncd armhf] Fix syncd crash when running community test suites (sonic-net#777)
      > Revert "[tests]:Add unittest for MACsec on p2p establishment (sonic-net#771)"
      > [tests]:Add unittest for MACsec on p2p establishment (sonic-net#771)
      > [tests] Enable azure pipeline make check to respect unittests (sonic-net#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 (sonic-net#6415)
    
    Update Tunnel and ECMP parameters for brcm 7050cx3 48x50G+8x100G and 32x100G SKUs.
    
    signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    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 (sonic-net#6607)

    To improve python3 support of berefoot's sonic_platform
    
    Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
    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 (sonic-net#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 <lguohan@gmail.com>
    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 (sonic-net#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 <lguohan@gmail.com>
    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 <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#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 (sonic-net#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 (sonic-net#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 <xgu@centecnetworks.com>
    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 (sonic-net#6619)

    introduce run-test template 
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 <lguohan@gmail.com>
    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 (sonic-net#6628)

    pick-up upstream fixes. important ones
    
    - bgpd: Removing "neighbor <peer-group> allowas-in"
    
    complete lists
    
    *   6b2b5cce3 2021-01-29 | Merge pull request sonic-net#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 sonic-net#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 sonic-net#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 sonic-net#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 <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#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 <byu@arista.com>
    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 <lguohan@gmail.com>
    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 (so…

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

    …onic-net#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 (sonic-net#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 <volodymyrx.boiko@intel.com>
    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 <lguohan@gmail.com>
    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 (sonic-net#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. [codeowners]: Add as owners of some folders (sonic-net#6654)

    Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
    qiluo-msft authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    3bceccb View commit details
    Browse the repository at this point in the history
  6. [sairedis] Submodule Update (sonic-net#6649)

    Change in this updat:
        b39e746 Spell check fixes (sonic-net#783)
        373be80 [build-vm] Don't Install Lib Boost 1.67 (sonic-net#784)
    
    signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    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 (sonic-net#6639)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    Co-authored-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#6661)

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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. [ci]: further clean up the source directory before checkout

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Feb 3, 2021
    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 (sonic-net#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 (sonic-net#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 (sonic-net#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 (sonic-net#6669)

    This PR updates the following commits in sonic-platform-common
    6ad0004 [component] add auto_update_firmware() to support the auto update. (sonic-net#106)
    49076a9 [sonic_y_cable] Add support for measuring BER and EYE scan and running Loopback, PRBS modes on the Y cable (sonic-net#158)
    6b12b4c [sfp] Add parsing the dom_capability to sff8472 (sonic-net#102)
    7fc76b9 [sonic_pcie] Add get_pcie_aer_stats and its common implementation (sonic-net#144)
    
    Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
    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 (sonic-net#6663)

    * 3885f19 2021-02-02 | let sysDescr_pass use python3 (sonic-net#195) (HEAD, origin/master, origin/HEAD) [lguohan]
    * ad302d4 2021-01-28 | Fix: 'key not found' exception in bgp4.py (sonic-net#192) [bingwang-ms]
    * 59e2a1c 2021-01-27 | Fix fdb_vlanmac() on corner cases (sonic-net#193) [Qi Luo]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#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 <garrick_he@dell.com>
    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 (sonic-net#…

    …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 <erand@nvidia.com>
    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 (sonic-net#6562)

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

    …onic-net#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 <sumeenak@microsoft.com>
    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 (sonic-net#6681)

    * 28d358f 2021-02-01 | [show] Run fwutil with sudo (sonic-net#1364) (HEAD) [Volodymyr Boiko]
    * a50b7a2 2021-01-29 | [ecnconfig] Allow ecn unit test to run without sudo (sonic-net#1390) [Neetha John]
    * 8a1109e 2021-01-29 | [sonic-installer] Add information to syslog (sonic-net#1369) [Dmytro]
    * c7c01e4 2021-01-27 | [show] fix "show interfaces breakout" command (sonic-net#1198) [Dmytro Shevchuk]
    * 7a8024a 2021-01-27 | Prevent user from adding more then a single untagged VLAN to an interface (sonic-net#1382) [Eran Dahan]
    * 41e62c6 2021-01-26 | [pcieutil] Add 'pcie-aer' sub-command to display AER stats (sonic-net#1169) [Arun Saravanan Balachandran]
    * 47f412b 2021-01-25 | Improve robustness of consutil plugin loading (sonic-net#1353) [Samuel Angebault]
    * 64aa1b8 2021-01-26 | [show] Fix warnings, related to gearbox, while show commands execution (sonic-net#1343) [maksymbelei95]
    * ff226d0 2021-01-25 | Prevent configuring IP interface on a port which is a member of VLAN (sonic-net#1374) [Eran Dahan]
    * f1522b9 2021-01-21 | [config_mgmt.py]: Set leaf-list to empty list while port breakout. (sonic-net#1268) [Praveen Chaudhary]
    * 99c05d5 2021-01-21 | add vlan_intf_object only if there are ipv4 or ipv6 mappings (sonic-net#1377) [Sumukha Tumkur Vani]
    * b082684 2021-01-21 | [ecn] Add tests for ecnconfig command (sonic-net#1372) [Neetha John]
    * 23e0920 2021-01-21 | [sfpshow] Enhance QSFP-DD DOM information (sonic-net#1207) [shlomibitton]
    * f4edba1 2021-01-20 | [ecnconfig] handle backend port names when extracting port I/F ID from the port name (sonic-net#1361) [Mahesh Maddikayala]
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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 <liora@nvidia.com>
    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 (sonic-net#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 <ecsonic@edge-core.com>
    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 (sonic-net#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 sonic-net#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(sonic-net#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 <sumeenak@microsoft.com>
    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 (s…

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

    Changed Error log to Notice log during FDB flush notification after VLAN delete (sonic-net#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 <madhan@l-csi-0241l.mtl.labs.mlnx>
    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 (sonic-net#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 (sonic-net#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 (sonic-net#6686)

    Includes below commits
    ```
    9e91e0d 2021-02-04 | Fix: RedisClient.set() should return bool (sonic-net#454) [Qi Luo]
    244a0bf 2021-02-04 | [swig] Add missing functions for ConfigDBConnector (sonic-net#453) [Qi Luo]
    e659698 2021-01-22 | [dbconnector] Make sure json is declared as non null object (sonic-net#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' (sonic-net#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 (sonic-net#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 (sonic-net#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 <lguohan@gmail.com>
    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. (sonic-net#6702)

    * Remove makefile and 
    As part of sonic-net#6046 we have moved to python3 of dbsyncd.
    Cleanup the python2 makefile and dependency.
    Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
    
    * Revert "Remove makefile and dependency for python2 of dbsyncd."
    
    This reverts commit ceaa4f8.
    
    * Fix
    
    Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
    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 (sonic-net#…

    …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 <volodymyrx.boiko@intel.com>
    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 <lguohan@gmail.com>
    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 <lguohan@gmail.com>
    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 <lguohan@gmail.com>
    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 (sonic-net#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 (son…

    …ic-net#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 <roy_lee@edge-core.com>
    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 <lguohan@gmail.com>
    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 (sonic-net#6707)

    - [ci]: add default values to build template
    - [ci]: add marvel armhf official build
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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. [sonic-linux-kernel]: security update to kernel 4.19.152 (sonic-net#6490

    )
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Feb 7, 2021
    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 (sonic-net#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 <lguohan@gmail.com>
    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 <lguohan@gmail.com>
    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 (son…

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

    restructure repo clean up to make it robust
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    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 (sonic-net#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 (sonic-net#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