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

Update master #1

Merged
merged 143 commits into from
Feb 9, 2021
Merged

Update master #1

merged 143 commits into from
Feb 9, 2021

Commits on Jan 19, 2021

  1. Configuration menu
    Copy the full SHA
    53c2a0a View commit details
    Browse the repository at this point in the history
  2. [DPB] [Mellanox] added capability files for SN3420 platform (#6020)

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

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

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

Commits on Jan 20, 2021

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

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

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

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

Commits on Jan 21, 2021

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

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

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

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

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

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

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

Commits on Jan 22, 2021

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

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

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

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

Commits on Jan 23, 2021

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

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

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

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

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

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

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

Commits on Jan 24, 2021

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

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

Commits on Jan 25, 2021

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commits on Jan 26, 2021

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

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

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

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

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

Commits on Jan 27, 2021

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

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

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

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

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

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

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

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

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

Commits on Jan 28, 2021

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

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

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

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

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

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

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

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

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

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

Commits on Jan 29, 2021

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

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

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

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

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

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

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

Commits on Jan 30, 2021

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

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

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

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

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

Commits on Jan 31, 2021

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

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

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

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

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

Commits on Feb 1, 2021

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

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

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

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

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

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

Commits on Feb 2, 2021

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

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

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

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

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

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

Commits on Feb 3, 2021

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

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

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

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

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

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

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

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

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

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

Commits on Feb 4, 2021

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commits on Feb 5, 2021

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

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

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

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

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

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

Commits on Feb 6, 2021

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

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

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

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

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

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

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

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

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

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

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

Commits on Feb 7, 2021

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

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

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

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

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

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

Commits on Feb 8, 2021

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

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

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

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

Commits on Feb 9, 2021

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

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

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