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

201911 #161

Merged
merged 120 commits into from
May 8, 2020
Merged

201911 #161

merged 120 commits into from
May 8, 2020

Commits on Mar 14, 2020

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

Commits on Mar 15, 2020

  1. [Mellanox] Calculate the buffer size based on the latest excel and wi…

    …th gearbox considered (#4239)
    stephenxs authored and rlhui committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    774487b View commit details
    Browse the repository at this point in the history
  2. [Mellanox]Take advantage of sdk variable to customize the location wh…

    …ere sdk_socket exists. (#4223)
    
    Take advantage of an SDK environment variable to customize the location where sdk_socket exists.
    In the latest SDK sdk_socket has been moved from /tmp to /var/run which is a better place to contain this kind of file.
    However, this prevents the subdirs under /var/run from being mapped to different volumes. To resolve this, we take advantage of an SDK variable to designate the location of sdk_socket.
    This requires every process that requires to access sdk_socket have this environment variable defined. However, to define environment variable for each process is less scalable. We take advantage of the docker scope environment variable to avoid that.
    It depends on PR 4227
    stephenxs authored and rlhui committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    c700127 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    102cb83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bcfc3d1 View commit details
    Browse the repository at this point in the history
  5. [Mellanox] Add sdk 4.4.0542 (#4227)

    * [Mellanox] Add sdk 4.4.0542
    
    * fix typo
    Junchao-Mellanox authored and rlhui committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    53eb0bc View commit details
    Browse the repository at this point in the history
  6. [kernel]: security kernel update to 4.9.189 (#3913)

    This patch upgrade the kernel from version
    4.9.0-9-2 (4.9.168-1+deb9u3) to 4.9.0-11-2 (4.9.189-3+deb9u2)
    
    Co-authored-by: rajendra-dendukuri <[email protected]>
    2 people authored and abdosi committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    a8baca0 View commit details
    Browse the repository at this point in the history
  7. [sonic-cfggen] Loading the configuration from init_cfg.json and then …

    …from config_db.json (#4148)
    jleveque authored and abdosi committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    8e36068 View commit details
    Browse the repository at this point in the history
  8. [Mellanox]Integrate hw-mgmt 7.0000.3012 and advance the linux kernel (#…

    …4193)
    
    * [Mellanox]Integrate hw-mgmt 7.0000.3012
    
    * [sonic-linux-kernel]Advance the submodule head
    
    Advance the sonic-linux-kernel
    
    [sFlow]: Patch to fix skb_over_panic in psample driver (#120)
    Added support in the kernel for fullcone 3-tuple unique nat. (#100)
    Adding support to compile ARM architecture (#102)
    [ixgbe] Support bcm54616s external phy in ixgbe (#122)
    Fix i2c ISMT DMA buffer alignment issue (#123)
    [mellanox]: Add SN4700 patches. (#126)
    lguohan authored and abdosi committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    9eb3a1b View commit details
    Browse the repository at this point in the history
  9. [Submodule-Update] sonic-swss with following changes:

    Multi-Db changes for NAT feature. (#1202)
    [cfgmgr] clear loopback and vrf in kernel if not warmstart (#1141)
     upon cold reboot, skip remove mgmt vrf table from the kernel (#1214)
    abdosi committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    9f2664e View commit details
    Browse the repository at this point in the history
  10. [Submodule-Update] sonic-swss with following changes:

        Multi-Db changes for NAT feature. (#1202)
        [cfgmgr] clear loopback and vrf in kernel if not warmstart (#1141)
         upon cold reboot, skip remove mgmt vrf table from the kernel (#1214)
    abdosi committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    505d4bf View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. [BFN] Updated Barefoot DEBs to 20200205 (#4261)

    Signed-off-by: Andriy Kokhan <[email protected]>
    akokhan authored Mar 16, 2020
    Configuration menu
    Copy the full SHA
    055d7cd View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. [arista]: Fix symbolic links for arista lodoga (#4283)

    Symbolic links are used in device plugins for Arista Lodoga, but some mistake is made on them in the last pull request: https://github.com/Azure/sonic-buildimage/pull/4232.patch. This change is supposed to fix it.
    byu343 authored Mar 19, 2020
    Configuration menu
    Copy the full SHA
    ba42bde View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. [Service] Added NAT entry into CONTAINER_FEATURE. Fixes #4247. (#4250)

    * [Service] Added NAT entry into CONTAINER_FEATURE. Fixes #4247.
    
    Signed-off-by: Andriy Kokhan <[email protected]>
    akokhan authored and abdosi committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    39889a3 View commit details
    Browse the repository at this point in the history
  2. [syncd-rpc.mk] install ptf dependancy (#4279)

    Signed-off-by: Mykola Faryma <[email protected]>
    mykolaf authored and abdosi committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    444c450 View commit details
    Browse the repository at this point in the history
  3. [mgmt-framework]: Removing explicit libyang plugin path settings (#4144)

    Removing explicit libyang plugin path settings. Libyang debian package installs the extensions in standard location.
    
    Libyang debian package installs the extensions in standard location as per build time configuration (install prefix is set in patch/libyang.patch). If plugin directory is not set, libyang explicitly searches the plugins in LYEXT_PLUGINS_DIR which is populated during build. The plugins are installed in LYEXT_PLUGINS_DIR itself through debian package installation.
    
    $ grep -nr LYEXT_PLUGINS_DIR src/
    src/plugin_config.h.in:18:#define LYEXT_PLUGINS_DIR "@EXTENSIONS_PLUGINS_DIR_MACRO@" /**< directory with YANG extension plugins */
    src/plugins.c:420: pluginsdir = LYEXT_PLUGINS_DIR;
    dutta-partha authored and abdosi committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    d97051d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. [Mellanox] update hw-mgmt patch (#4288)

    Master and 201911 use the same version of hw-mgmt 2f65914 , but the hw-mgmt patch was cherry-picked to 201911 badly, the file contents have some diff, and it does not apply on 201911
    
    Signed-off-by: Mykola Faryma <[email protected]>
    mykolaf authored Mar 21, 2020
    Configuration menu
    Copy the full SHA
    7c1220e View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2020

  1. [mgmt-framework]: Update submodule to take build break fix. (#4302)

    Brief:
    The community code for has been updated, which mismatched with the existing sonic-mgmt-framework. Hence it broke the build.
    
    Submodule-PR: #43
    
    Details:
    The SONiC mgmt Framework, pulls down the community modules in two steps.
    
    Pull the existing; This does a transparent compile too.
    Then checkout the specific commit-id for each and do the final compile.
    The community code change broke in the compilation phase of step-1.
    Fix: For the two affected modules, do download only.
    
    Proper fix:
    As part of the next phase of changes, the mgmt-framework is moving go-submodule mode, which will ensure the download happens for the assigned commit-ids only.
    e.g. Refer go.mod in sonic-telemetry
    renukamanavalan authored and lguohan committed Mar 22, 2020
    Configuration menu
    Copy the full SHA
    de2afc4 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2020

  1. Configuration menu
    Copy the full SHA
    3585703 View commit details
    Browse the repository at this point in the history
  2. [NTP] Revert change in PR 2598 (#4265)

    We believe that the supervisord issue in face of clock rolling backwards
    has been addressed. Therefore reverting change 2598 to allow ntp sync
    to right clock at the start up time.
    
    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    384055a View commit details
    Browse the repository at this point in the history
  3. [ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263)

    - What I did
    Add configuration to avoid ntpd from panic and exit if the drift between new time and current system time is large.
    
    - How I did it
    Added "tinker panic 0" in ntp.conf file.
    
    - How to verify it
    [this assumes that there is a valid NTP server IP in config_db/ntp.conf]
    
    Change the current system time to a bad time with a large drift from time in ntp server; drift should be greater than 1000s.
    Reboot the device.
    Before the fix:
    3. upon reboot, ntp-config service comes up fine, ntp service goes to active(exited) state without any error message. This is because the offset between new time (from ntp server) and the current system time is very large, ntpd goes to panic mode and exits. The system continues to show the bad time.
    
    After the fix:
    3. Upon reboot, ntp-config comes up fine, ntp services comes up from and stays in active (running) state. The system clock gets synced with the ntp server time.
    SuvarnaMeenakshi authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    7b4b124 View commit details
    Browse the repository at this point in the history
  4. [vs] Add dependencies for NAT to docker-sonic-vs (#4259)

    I added dependencies to support the NAT feature on the virtual switch.
    
    Signed-off-by: Danny Allen <[email protected]>
    daall authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    d793cc8 View commit details
    Browse the repository at this point in the history
  5. [minigraph.py] Add support for 'OutAcl' keyword and attaching ACLs to…

    … VLAN interfaces (#4229)
    
    - Support parsing egress ACLs from minigraph file specified by the "OutAcl" element
    - Support attaching ACLs to VLAN interfaces
    jleveque authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    d0bae82 View commit details
    Browse the repository at this point in the history
  6. [arista] Update platform drivers submodules (#4200)

    * Build Arista drivers using DPKG_DEB
    * Update arista platform submodule
    Staphylo authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    fcb5b41 View commit details
    Browse the repository at this point in the history
  7. [docker_image_ctl.j2] Share UTS namespace with host OS (#4169)

    Instead of updating hostname manualy on Config DB hostname change,
    simply share containers UTS namespace with host OS.
    Ideally, instead of setting `--uts=host` for every container in SONiC,
    this setting can be set per container if feature requires.
    One behaviour change is introduced in this commit, when `--privileged`
    or `--cap-add=CAP_SYS_ADMIN` and `--uts=host` are combined, container
    has privilege to change host OS and every other container hostname.
    Such privilege should be fixed by limiting containers capabilities.
    
    Signed-off-by: Stepan Blyschak <[email protected]>
    stepanblyschak authored and rlhui committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    ee84dca View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    cf1dd5b View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4700 and new SK…

    …U ACS-MSN4700 (#3901)
    
    * add MSN4700 device files
    
    * update ACS-MSN4700 sai profile
    
    * update buffer pool size, headroom, sensor conf, port config and reboot scripts
    
    * fix ident
    
    * update sensor conf and buffer pool
    
    * [sn4700] add sku 4700 to chassis.py
    
    * [Mellanox-4700] Add 4700 info to psu and thermal platform API
    
    * update buffer config file template to the latest.
    update SAI profile to use 100G X 4lanes for now
    update port_config.ini according to the SAI profile
    
    * [Mellanox]Update the buffer configurations for 4700
    
    * fix alignment in pg_profile_lookup.ini
    
    * add platform components file for new sku
    
    * Update device/mellanox/x86_64-mlnx_msn4700-r0/ACS-MSN4700/pg_profile_lookup.ini
    
    Co-Authored-By: Nazarii Hnydyn <[email protected]>
    
    * remove redundant line
    
    * [Mellanox]Correct type, buffer size
    
    Co-authored-by: Nazarii Hnydyn <[email protected]>
    Co-authored-by: junchao <[email protected]>
    Co-authored-by: Stephen Sun <[email protected]>
    4 people authored and abdosi committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    ca8ac9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da92d8f View commit details
    Browse the repository at this point in the history
  4. [Mellanox] Update MFT version to 4.14.0 (#4262)

    Signed-off-by: Noa Or <[email protected]>
    noaOrMlnx authored and abdosi committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    75437bd View commit details
    Browse the repository at this point in the history
  5. [telemetry]: move default certs location from device metadata to tele…

    …metry (#4307)
    
    maintains backward compatibility to search original x509 location
    when telemetry table does not have certs
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and abdosi committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    8969b7c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9385e02 View commit details
    Browse the repository at this point in the history
  7. [SubModule Update] sonic-swsss . Following changes:

    Don't remove RIF for Vnet interface when ip prefix is deleted (#1225)
    abdosi committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    4a99a76 View commit details
    Browse the repository at this point in the history
  8. [Submodule Update] sonic-utilities Following Changes:

    [fwutil]: Use overlay driver when mounting next image filesystem (#825)
    Fix for adding L3 interface to Vlan group (#826)Fix for adding L3 interface to Vlan group (#826)
    [db_migrator]Do DB migration for buffer pool size change on Mellanox platform (#833)
    explicitly specify command with underscores (#846)
    [intfutil] set speed to 0 when interface speed is not available (#839)
    abdosi committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    1ba8944 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

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

Commits on Mar 30, 2020

  1. [build]: install cmake 3.13.2 (#4319)

    fix #4315
    
    download and install cmake 3.13.2 from azure storage 
    
    latest cmake 3.16.3 from stretch-backports breaks the libyang 1.0.73 build
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and rlhui committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    6929d1f View commit details
    Browse the repository at this point in the history
  2. [procdockerstatsd] Fix CMD field in dB (#4335)

    * Fix the CMD for the PROCESSSTATS entries so that
      there is a space between the command name and the
      arguments.
    
    Signed-off-by: Garrick He <[email protected]>
    GarrickHe authored and rlhui committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    a059d7e View commit details
    Browse the repository at this point in the history
  3. copy spc3 fw file to image (#4328)

    keboliu authored and rlhui committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    2fd1641 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d35e382 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. [device/celestica]: Fix xcvrd error (#3979) (#4345)

    * [device/celestica]: add pmon_daemon_control config
    
    * [device/celestica]:  update sfp index follow port_config
    
    * [device/celestica]:  update get_watchdog to avoid multiple daemon try opening watchdog
    Wirut Getbamrung authored Apr 1, 2020
    Configuration menu
    Copy the full SHA
    a5a11f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Multi-ASIC implementation (#3888)

    Changes made to support multi-asic platform. Added multi-instance support for swss, syncd, database, bgp, teamd and lldp.
    SuvarnaMeenakshi authored and abdosi committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    2e87a16 View commit details
    Browse the repository at this point in the history
  2. [Arista] Update drivers submodules (#4353)

    * Update arista drivers submodules
    
    * Add device configs for 7060CX2-32S
    
    * Update boot0 and union-mount for 7060CX2-32S
    
    * Add 7170-32C and 7170-32CD support in boot0
    
    * Sync after writting boot configs
    
    * Add 7170-32C and 7170-32CD device configurations
    
    Co-authored-by: Boyang Yu <[email protected]>
    
    Co-authored-by: Boyang Yu <[email protected]>
    Staphylo and byu343 authored Apr 2, 2020
    Configuration menu
    Copy the full SHA
    8819322 View commit details
    Browse the repository at this point in the history
  3. [devices][Mellanox] create sai.xml for MSN3800-D112-C8 (#4334)

    sai_xml contains info about port splits, previously it simply linked to the MSN3800 sai xml, which does not have splits. New version describes splits and speeds according to Mellanox-SN3800-D112-C8 SKU.
    
    Practically it can cause port recreation on SAI init.
    
    Signed-off-by: Mykola Faryma <[email protected]>
    mykolaf authored and abdosi committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    aa30030 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Fixbug: EVPN issue in FRR template (#4260)

    * Fixbug: EVPN issue in FRR template
    Pterosaur authored and abdosi committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    6839d14 View commit details
    Browse the repository at this point in the history
  2. Revert "Multi-ASIC implementation (#3888)"

    This reverts commit 2e87a16.
    abdosi committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    249265a View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. [Seastone] Add new HWSKU for 48x50G+8x40G (#4156)

    Add the port_config.ini and sai.profile, leveraging the same bcm file.
    
    Signed-off-by: Zhenggen Xu <[email protected]>
    zhenggen-xu authored and abdosi committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    0a4f164 View commit details
    Browse the repository at this point in the history
  2. Fix the error that 'sensord' daemon cannot be spawn correctly in pmon…

    … container (#4354)
    
    - This commit fixes the issue #4021 (Sensord not able to start up on
      both master and 201911 branches)
    - Add the new patch file for "lm-sensors" to perform dh_installinit to
      include sensord.init in the packed deb. So that the missing init
      script file for 'sensord' will be included in the created 'sensord'
      deb.
    
    Signed-off-by: Charlie Chen <[email protected]>
    CharlieChenEC authored and abdosi committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    63450d7 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] update eeprom.py plugin for SimX (#4364)

    Signed-off-by: Mykola Faryma <[email protected]>
    mykolaf authored and abdosi committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    be0e923 View commit details
    Browse the repository at this point in the history
  4. [sonic-utilities] submodule update with PR's:

     [watermarkstat] Fix issue of fields overwritten before display (#862)
    abdosi committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    d4bcd33 View commit details
    Browse the repository at this point in the history
  5. [sonic-swss] sunmodule update with PR's:

     [portsorch] Enable port-level buffer drop counters (#1237)
     [vnet]: Fix double route installation for BITMAP VNET interface (#1114)
    abdosi committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    a78789f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. Configuration menu
    Copy the full SHA
    fb06360 View commit details
    Browse the repository at this point in the history
  2. [BFN] Update Barefoot SDK packages (#4397)

    Signed-off-by: Andriy Kokhan <[email protected]>
    akokhan authored and abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    0d5c9aa View commit details
    Browse the repository at this point in the history
  3. Update dockers with platform & SONiC version as part of name/tag. (#4337

    )
    
    * Include platform info in name.
    Get SONiC Version as parameter and use
    Make additional tag as optional.
    Avoid repetitions by using function.
    
    * Per review comments, make SONIC_VERSION optional and added some comments.
    
    * 1) Added additional params are optional
    2) Handle DOCKER_IMAGE_TAG only if given
    3) Use BUILD_NUMBER only if SONIC_VERSION not given
    4) Tag with SONIC_VERSION if given.
    
    Current behavior is not changed, unless SONIC_VERSION is given.
    
    * Update per review comments
    1) Added new args with options
    2) Handle PORT possible being empty
    3) Exhibit new behavior only if both version & platform are given.
    
    * Drop redundant quotes
    renukamanavalan authored and abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    c8ad045 View commit details
    Browse the repository at this point in the history
  4. [DellEMC] S5232 platform updates (#4360)

    FPGA driver crash fix for stale buffer in i2c transfer
    LED firmware load issue fix.
    10G port swapfix
    psu/sfp bug fixes to report correct states/status of hw
    srideepDell authored and abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    c080e80 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a97b73e View commit details
    Browse the repository at this point in the history
  6. [device/accton] Fix Python error for as7116-54x (#4391)

    Fix syntax error
    jleveque authored and abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    2772cce View commit details
    Browse the repository at this point in the history
  7. [device/accton] Fix Python error for wedge100bf_32x (#4392)

    Remove undefined export, "constants"
    jleveque authored and abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    7d27d38 View commit details
    Browse the repository at this point in the history
  8. [SubModule Update] sonic-swss

    Fixed SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE to uint64_t
    abdosi committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    4f1b9ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d09fba3 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Configuration menu
    Copy the full SHA
    4ee0f1f View commit details
    Browse the repository at this point in the history
  2. [mellanox]: Add SSD FW update tool (#4351)

    * [mellanox]: Add SSD FW update tool.
    
    Signed-off-by: Nazarii Hnydyn <[email protected]>
    
    * [mellanox]: Align Platform API.
    
    Signed-off-by: Nazarii Hnydyn <[email protected]>
    
    * [mellanox]: Fix firmware description.
    
    Signed-off-by: Nazarii Hnydyn <[email protected]>
    
    * [mellanox]: Update SSD tool.
    
    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    0b35fcf View commit details
    Browse the repository at this point in the history
  3. Bug fix: #4011 #4012 - "show run acl", "show run interfaces" - traceb…

    …ack when no ACL_RULE/INTERFACE is present. (#4226)
    
    * Fix bugs - "show run acl/interfaces" returns traceback when no ACL_RULE/INTERFACE is present in configuration
    - Change logic in main to take data only if the var_json appears in DB.
    - Add unit testing for bug fix & fix comments
    
    Signed-off-by: Noa Or <[email protected]>
    noaOrMlnx authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    6844885 View commit details
    Browse the repository at this point in the history
  4. Multi-ASIC implementation (#3888)

    Changes made to support multi-asic platform. Added multi-instance support for swss, syncd, database, bgp, teamd and lldp.
    SuvarnaMeenakshi authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    0099305 View commit details
    Browse the repository at this point in the history
  5. Update Barefoot kdrv (#4355)

    msosyak authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    9dd1fa0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb55c22 View commit details
    Browse the repository at this point in the history
  7. [mellanox]: Enable CPLD update progress bar (#4363)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    c3e030b View commit details
    Browse the repository at this point in the history
  8. [Mellanox] Extend mellanox platform API to report SFP error event (#4365

    )
    
    * extend mellanox platform API to report SFP error event
    * remove unnecessary loop code
    * install enum34 to pmon to support using Enum
    keboliu authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    e4bd7ab View commit details
    Browse the repository at this point in the history
  9. [sonic-netns-exec]: use "$@" to reflects all positional parameters as…

    … they were set initially (#4375)
    
    sonic-netns-exec fails to execute below command in swss.sh:
    
        sonic-netns-exec "$NET_NS" sonic-db-cli $1 EVAL "
        local tables = {$2}
        for i = 1, table.getn(tables) do
            local matches = redis.call('KEYS', tables[i])
            for j,name in ipairs(matches) do
                redis.call('DEL', name)
            end
        end" 0
    
    This command fails with error " redis.exceptions.ResponseError: value is not an integer or out of range" .
    
    Root cause:
    
    When sonic-netns-exec executes the above function, argument passed to sonic-db-cli is NOT executed as a single script.
    
    The argument is passed as separate keywords to sonic-db-cli, as below:
    
    ['EVAL', 'local', 'tables', '=', "{'PORT_TABLE*'}", 'for', 'i', '=', '1,', 'table.getn(tables)', 'do', 'local', 'matches', '=', "redis.call('KEYS',", 'tables[i])', 'for', 'j,name', 'in', 'ipairs(matches)', 'do', "redis.call('DEL',", 'name)', 'end', 'end', '0']
    
    - How I did it
    To make sure that the parameters are passed as they were set initially, fix sonic-netns-exec to use double quoted "$@", where "$@" is "$1" "$2" "$3" ... "${N}"
    
    After fix, the argument passed to sonic-db-cli is as below:
    
    Argument passed to sonic-db-cli:
    
    ['EVAL', "\n    local tables = {'PORT_TABLE*'}\n    for i = 1, table.getn(tables) do\n        local matches = redis.call('KEYS', tables[i])\n        for j,name in ipairs(matches) do\n            redis.call('DEL', name)\n        end\n    end", '0']
    
    Signed-off-by: SuvarnaMeenakshi <[email protected]>
    SuvarnaMeenakshi authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    2f66b4c View commit details
    Browse the repository at this point in the history
  10. [docker-restapi]: Fix authentication in restapi (#4383)

    - enabling http/https endpoint and mounting the certificates directory
    - updating the sonic-restapi submodule
    sumukhatv authored and abdosi committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    23aed5a View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. Update SAI to v1.5.2

    rlhui committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    e8bfde3 View commit details
    Browse the repository at this point in the history
  2. [baseimage]: Install Kubernetes packages if enabled in image (#4374) (#…

    …4432)
    
    Install kubeadm, which transparently installs kubelet & kubectl
    As well download required Kubernetes images required to run as kubernetes node.
    The kubelet service is intentionally kept in disabled state, as it would otherwise
    continuously restart wasting resources, until join to master.
    renukamanavalan authored Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9b017a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Update frr to latest 7.2.1 (#4145)

    pavel-shirshov authored and abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    c7c78f0 View commit details
    Browse the repository at this point in the history
  2. [sonic-buildimage] libsaibcm Debian package update (#4439)

    from 3.7.3.3-3 to 3.7.3.3-4
    Fixes for PFC WD
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    5839a01 View commit details
    Browse the repository at this point in the history
  3. [grub]: use UUID for root partition (#4443)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    4c900dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be5a015 View commit details
    Browse the repository at this point in the history
  5. [Submodule update] swss with following PR's:

     Do not set PG to Buffer porfile mapping again if already exist. (#1261)
    [sub intf] Use m_lag_id to be the parent port object id when parent port
    is LAG (#1235)
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    4324f30 View commit details
    Browse the repository at this point in the history
  6. [Submodule update] sonic-utilities with PR's:

     [201911] Explicitly specify command names with underscores (continued)
    (#868)
    [fwutil]: Update Command-Reference.md. (#876)
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    8f8ea04 View commit details
    Browse the repository at this point in the history
  7. [submodule update] sonic-platform-daemons

     [xcvrd] Extend xcvrd with SFP error event handling (#52)
    [thermal fix] 1. Catch exception for each update iteration; 2. add
    unit test (#51)
     Add thermal control daemon to monitor FAN and thermal status and run
     thermal policy (#49
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    9c43360 View commit details
    Browse the repository at this point in the history
  8. [Submodule update] sonic-platform-common with PR's

    [Chassis base] Add sfp error event definition #80
    SFP(sff8472 attributes) transciever eeprom attribute support #74
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    ca926f2 View commit details
    Browse the repository at this point in the history
  9. [submodule update] sonic-swss-common with PR's

    [DBConnector] Add methods to set/get Redis client name (#335)
    abdosi committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    898f878 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. [DellEMC] s5232f console and sfputil fix (#4453)

    * [DellEMC] s5232f console and sfputil fix
    Remove hardcoding 115K baudrate for console
    Enhance sfputil api as per spec
    srideepDell authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    773e83b View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. [bgpcfgd]: Split one bgp mega-template to chunks. (#4143)

    The one big bgp configuration template was splitted into chunks.
    
    Currently we have three types of bgp neighbor peers:
    
    general bgp peers. They are represented by CONFIG_DB::BGP_NEIGHBOR table entries
    dynamic bgp peers. They are represented by CONFIG_DB::BGP_PEER_RANGE table entries
    monitors bgp peers. They are represented by CONFIG_DB::BGP_MONITORS table entries
    This PR introduces three templates for each peer type:
    
    bgp policies: represent policieas that will be applied to the bgp peer-group (ip prefix-lists, route-maps, etc)
    bgp peer-group: represent bgp peer group which has common configuration for the bgp peer type and uses bgp routing policy from the previous item
    bgp peer-group instance: represent bgp configuration, which will be used to instatiate a bgp peer-group for the bgp peer-type. Usually this one is simple, consist of the referral to the bgp peer-group, bgp peer description and bgp peer ip address.
    This PR redefined constant.yml file. Now this file has a setting for to use or don't use bgp_neighbor metadata. This file has more parameters for now, which are not used. They will be used in the next iteration of bgpcfgd.
    
    Currently all tests have been disabled. I'm going to create next PR with the tests right after this PR is merged.
    
    I'm going to introduce better bgpcfgd in a short time. It will include support of dynamic changes for the templates.
    
    FIX:: #4231
    pavel-shirshov authored and lguohan committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    2f44bcd View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. [201911][kvm]: disable pmon daemons on kvm vs platform (#4461)

    Remove skip_thermalctld as it is not available on 201911 branch
    
    hardware daemons are not supported in kvm vs platform now
    
    admin@vlab-01:/usr/share/sonic/device/x86_64-kvm_x86_64-r0$ docker exec -it pmon bash
    root@vlab-01:/# supervisorctl status
    fancontrol                       STOPPED   Not started
    lm-sensors                       STOPPED   Not started
    rsyslogd                         RUNNING   pid 23, uptime 0:03:09
    start.sh                         EXITED    Apr 22 09:07 AM
    supervisor-proc-exit-listener    RUNNING   pid 17, uptime 0:03:10
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    7abc32b View commit details
    Browse the repository at this point in the history
  2. [fancontrol] Restart process upon unexpected exit, not entire pmon co…

    …ntainer (#4101)
    
    * fancontrol restart
    
    * Cleanup the default setting for exitcodes
    
    * Remove the unnecessary stopwaitsecs default settin
    sujinmkang authored and lguohan committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    c34dcbe View commit details
    Browse the repository at this point in the history
  3. [DellEMC] S6000 - Thermal support - Last Reboot Reason (#4097)

    - Added support for Thermal event in Last Reboot Reason "show reboot-cause" command.
    - Added support for sending log message in case of thermal shutdown.
    
    sonic NOTICE root: Shutting down due to over temperature (40 degree, 30 degree, 34 degree)
    santhosh-kt authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    214541b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c43dea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    674f72e View commit details
    Browse the repository at this point in the history
  6. [device/celestica]: Fix sfp index on dx010 platform api (#4346)

    Wirut Getbamrung authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    5054f43 View commit details
    Browse the repository at this point in the history
  7. [docker]: Enabled ipv6 in dockers when using docker bridge network (#…

    …4426)
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    arlakshm authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    542f722 View commit details
    Browse the repository at this point in the history
  8. [Mellanox] Update hw-mgmt package to V.7.0000.3020 (#4362)

    * update hw-mgmt package to V.7.0000.3020
    * update sonic-linux-kernel repo to pick up new patches
    keboliu authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    1d7d8fa View commit details
    Browse the repository at this point in the history
  9. [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn3420 and new SK…

    …U ACS-MSN3420 (#4436)
    
    * New SKU support for MSN3420
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    
    Conflicts:
    	device/mellanox/x86_64-mlnx_msn2700-r0/plugins/sfputil.py
    
    * Add CPLD's
    
    * Symlink fixes and semantics
    
    * Adding new platform at end of lines
    shlomibitton authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    aa33a95 View commit details
    Browse the repository at this point in the history
  10. [mellanox]: Add DPKG local caching support. (#4441)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored and abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    8fb0549 View commit details
    Browse the repository at this point in the history
  11. [submodule-update] sonic-swss with PR's

    [routeorch] Handle the empty "nexthop" field for backward compatibility (#1263)
    [vnet] Set MTU for the VNET bridge RIF in BITMAP implementation (#1271)
     [vnet] Verify if BITMAP route exists before creating new one to avoid
     dublication (#1272)
    abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    6c65e79 View commit details
    Browse the repository at this point in the history
  12. [submodule update] sonic-utilities with PR's

    [Vxlan] : adding show vnet/vxlan cmds (#880)
    [show][bgp] Use only 'show ip bgp' as the base and use bgp_frr_v4 file
    for FRR routing stack (#884)
    [fast reboot] set a fast-reboot DB flag (#887)
    [show] Add 'ip/ipv6 bgp network' commands (#888)
    abdosi committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    827aab7 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. [PMON] Extend pmon daemon start control to lm-sensors and fancontrol …

    …for 201911 (#4487)
    
    Extend the PMON daemon start control to lm-sensors and fancontrol.
    
    change template docker-pmon.supervisord.conf.j2 and start.sh.j2 to have lm-sensors and fancontrol start scripts and supervisord config file controlled by pmon_daemon_control.json.
    
    the intention is to avoid wrong daemon status in "supervisorctl status" output. For example, on some platform, if there is no fancontrol config file, and it is not ruled out from supervisord conf file and start.sh, we'll see fancontrol in "STOPPED" status from "supervisorctl status" output, which will violate some check in the platform test(check daemon status as expected)
    keboliu authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    e12d2e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Getting #4465 in 201911

    judyjoseph committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    a3cb8a6 View commit details
    Browse the repository at this point in the history
  2. Revert "Getting #4465 in 201911"

    This reverts commit a3cb8a6.
    judyjoseph committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    15c5aa0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fad7e41 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Configuration menu
    Copy the full SHA
    db5da0f View commit details
    Browse the repository at this point in the history
  2. [brcm-th-svk]: Fix errors in BCM956960K switch (#4390)

    Fix Broadcom TH SVK boot up crash
    rajendra-dendukuri authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    e843d99 View commit details
    Browse the repository at this point in the history
  3. [dhcpmon] Filter DHCP O/A Messages of Neighboring Vlans (#4469)

    * [dhcpmon] Filter DHCP O/A Messages of Neighboring Vlans
    
    This code fixes a bug where two or more vlans exist. Cross contamination
    happens for DHCP packets Offer/Ack when received on shared northbound links.
    The code filters out those packet based on dst IP equal Vlan loopback IP.
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    cd57d45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b646045 View commit details
    Browse the repository at this point in the history
  5. [Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4600c and new S…

    …KU ACS-MSN4600C (#4483)
    
    * New SKU support for MSN4600C
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    7709ff5 View commit details
    Browse the repository at this point in the history
  6. [mellanox]: Align CPLD component with latest hw-mgmt. (#4485)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    bd370fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c92bc0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e624183 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    56072ce View commit details
    Browse the repository at this point in the history
  10. [mellanox]: MSN4700 support 8 lanes 400G with new SAI/SDK/FW (#4509)

    Update SAI/SDK/FW and MSN4700 device files to support 8 lanes 400G
    
    Update SAI to 1.16.3
    Update SDK to 4.4.0914
    Update FW to *.2007.1112
    Update MSN4700 device files to support 8 lanes 400G
    keboliu authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    4bd47e3 View commit details
    Browse the repository at this point in the history
  11. [submodule update] sonic-utilities

    [fwutil]: Fix firmware update command. (#895)
    [utility] Filter FDB entries (#890)
    abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    f762c77 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    109a13c View commit details
    Browse the repository at this point in the history
  13. [pmon]: Fix the continous syseepromd autorestart issue on 201911 (#4478)

    - Remove syseepromd from the critical process of pmon docker
    - Fix supervisor autorestart configuration of syseepromd
    sujinmkang authored and abdosi committed May 1, 2020
    Configuration menu
    Copy the full SHA
    9cbc079 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2020

  1. Configuration menu
    Copy the full SHA
    fed5009 View commit details
    Browse the repository at this point in the history
  2. Revert "Add thermal control support for SONiC (#3949)" (#4527)

    This reverts commit 109a13c.
    
    Conflicts:
    	dockers/docker-platform-monitor/docker-pmon.supervisord.conf.j2
    nazariig authored May 4, 2020
    Configuration menu
    Copy the full SHA
    c266435 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Configuration menu
    Copy the full SHA
    8456aeb View commit details
    Browse the repository at this point in the history
  2. [docker-ptf]: install tacacs+ server to test tacacs (#4224)

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and abdosi committed May 5, 2020
    Configuration menu
    Copy the full SHA
    1f72d2b View commit details
    Browse the repository at this point in the history
  3. [docker-ptf]: install ntp related package (#4275)

    setup ntp server to do the test
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and abdosi committed May 5, 2020
    Configuration menu
    Copy the full SHA
    cb22310 View commit details
    Browse the repository at this point in the history
  4. [config engine] Parser changes to support parsing of multi-asic devic…

    …e minigraph (#4222)
    
    - Changes to minigraph.py to parse minigraph.xml of a multi asic platform 
    - Changes to portconfig.py to parse additional column "asic_port_name" in
    port_config.ini
    - Add a new option -n to sonic-cfggen for multi asic platforms
    - Add unit tests for config generation for multi asic platforms
    
    Signed-off-by: SuvarnaMeenakshi <[email protected]>
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    SuvarnaMeenakshi authored and abdosi committed May 5, 2020
    Configuration menu
    Copy the full SHA
    3bf2bf9 View commit details
    Browse the repository at this point in the history
  5. [sonic-pyswssdk] submodule update with PR's:

    [configdb.py]: Allow deletion of entire table from mod_config API. (#61)
    [MultiDB] mimic redis-dump-load , adding sonic_db_dump_load.py and so… 
    [MultiDB] add sonic-db-cli PING all instances support (#65)
    Fix sonic-db-cli script to be compatible with python3 and python2.7 (#66)
    Namespace support in SonicV2Connector (#63)
    [Multiasic]: Add calculation of interface index for backplane interfa… 
    abdosi committed May 5, 2020
    Configuration menu
    Copy the full SHA
    acd82fc View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. hw-mgmt_V.7.0000.3034 integration (#4518)

    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored May 6, 2020
    Configuration menu
    Copy the full SHA
    8367dfe View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. [bgp]: align the bgp templates with new minigraph for multi NPU platf…

    …orms (#4488)
    
    - change the references to 'type' field to 'sub_role'
    - change the references to 'InternalFrontend' and 'InternalBackend' to 'FrontEnd' and 'BackEnd' respectively
    - add a statement to reflect route-reflector for backend asics
    - add a change to set "next-hop-self force" configuration for internal BGP session in multi asic platform.
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    arlakshm authored and abdosi committed May 7, 2020
    Configuration menu
    Copy the full SHA
    139d373 View commit details
    Browse the repository at this point in the history
  2. [bgpcfgd]: Fix for BGP peer not coming up even after config BGP start…

    …up all (#4547)
    
    Issue was key not correct to look into self.peer. It need to be tuple of
    (vrf,nbr). Updated for both add/del
    abdosi committed May 7, 2020
    Configuration menu
    Copy the full SHA
    5e17126 View commit details
    Browse the repository at this point in the history