Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Merge latest changes from Azure - 2019-08-06 #26

Merged
merged 33 commits into from
Aug 6, 2019
Merged

Commits on Jul 26, 2019

  1. [build]: SONiC buildimage ARM arch support (sonic-net#2980)

    ARM Architecture support in SONIC
    
    make configure platform=[ASIC_VENDOR_ARCH] PLATFORM_ARCH=[ARM_ARCH]
    SONIC_ARCH: default amd64
    armhf - arm32bit
    arm64 - arm64bit
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    50fe458 View commit details
    Browse the repository at this point in the history
  2. [build]: use j2 template for sonic slave Dockerfile (sonic-net#3223)

    Generate sonic slave Dockerfile based on j2 template
    
    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan authored Jul 26, 2019
    Configuration menu
    Copy the full SHA
    1860dd5 View commit details
    Browse the repository at this point in the history
  3. [bgp]: Implement Universal Traffic Shift for SONiC (sonic-net#3209)

    * [bgp]: Implement Universal Traffic Shift for SONiC
    
    * Fix issue with ipv6 loopback match
    
    * Add tests
    pavel-shirshov authored Jul 26, 2019
    Configuration menu
    Copy the full SHA
    b4517b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2019

  1. [slave]: Remove temporarily downloaded file (sonic-net#3222)

    Remove the downloaded tar ball after installation
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored Jul 27, 2019
    Configuration menu
    Copy the full SHA
    4585590 View commit details
    Browse the repository at this point in the history
  2. [sonic-cfggen]: Fix a wrong attribute in VXLAN_TUNNEL (sonic-net#3225)

    Change 'source_ip' to 'src_ip'
    baiwei0427 authored and stcheng committed Jul 27, 2019
    Configuration menu
    Copy the full SHA
    2081c2e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2019

  1. [Mellanox]new platform api -- support get_change_event (sonic-net#3142)

    * [Mellanox]refractor the sfp event change notification logic for new platform api
    remove the standalong daemon which is in charge of polling sfp change event through sdk interface
    and move the polling stuff to the event in the chassis daemon.
    
    * rephase some comment
    
    * fix typo in sfp_event.sfp_event.initialize
    stephenxs authored and liat-grozovik committed Jul 28, 2019
    Configuration menu
    Copy the full SHA
    a5de31b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2019

  1. [image]: increase raw disk size to 2G for raw image (sonic-net#3228)

    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan authored Jul 29, 2019
    Configuration menu
    Copy the full SHA
    2b47567 View commit details
    Browse the repository at this point in the history
  2. [build]: Move Systemd service start to systemd generator (sonic-net#3172

    )
    
    - What I did
    
     Move the enabling of Systemd services from sonic_debian_extension to a new systemd generator
    
    - How I did it
    
      Create a new systemd generator to manually create symlinks to enable systemd services
      Add rules/Makefile to build generator
      Add services to be enabled to /etc/sonic/generated_services.conf to be read by the generator at boot time
    
    Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
    Lawrence Lee authored and lguohan committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    7271fe5 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2019

  1. [build]: fail the build when there is error in build_image.sh (sonic-…

    …net#3226)
    
    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan authored Jul 30, 2019
    Configuration menu
    Copy the full SHA
    9743091 View commit details
    Browse the repository at this point in the history
  2. [dell]: Corrected dport map and renamed config files for S5232F (soni…

    …c-net#3201)
    
    * Added > /64 ip6 route support for 1024 entries.
    
    * Added t0 buffer_default file
    
    * Seperated buffer config as seperate PR
    
    Signed-off-by: Ashok Daparthi <Ashok_Daparthi@Dell.com>
    
    * Corrected Wrong dport map and renamed config files
    AshokDaparthi authored and lguohan committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    be9a639 View commit details
    Browse the repository at this point in the history
  3. [devices]: Marvell hwsku ET6448M 48x1G+4x10G Arm32 Mgmt switch (sonic…

    …-net#3221)
    
    * [platform/hwsku] Added Marvell Armhf 32 bit ET6448M 52x Board
        48x1G and 4x10G Management switch
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    88af7f6 View commit details
    Browse the repository at this point in the history
  4. [submodule]: sonic-sairedis submodule update (sonic-net#3236)

    Signed-off-by: Myron Sosyak <msosyak@barefootnetworks.com>
    msosyak authored and lguohan committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    0175d14 View commit details
    Browse the repository at this point in the history
  5. [platform]: Implemented psuutil.py for BFN reference boards (sonic-ne…

    …t#3233)
    
    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and lguohan committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    fd3e5c3 View commit details
    Browse the repository at this point in the history
  6. [docker-sonic-mgmt] install ptf framework in mgmt container and upgra…

    …de ptf (sonic-net#3239)
    
    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
    stepanblyschak authored and lguohan committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    67463f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2019

  1. [sonic-utilities] Update submodule (sonic-net#3235)

    * src/sonic-utilities ee56d54...cb0e745 (11):
      > sonic_utilities: Support for DOM Threshold values for EEPROM dump
    (sonic-net#545)
      > [portstat] Fix portstat show RX_UTIL over 100% for 100G (sonic-net#563)
      > sonic_installer: fix read-only filesystem support for firmware
    update (sonic-net#565)
      > Revert "show acl table command output should show binding column
    correctly even with single port (sonic-net#447)" (sonic-net#589)
      > show acl table command output should show binding column correctly
    even with single port (sonic-net#447)
      > [config] Do no stop or restart dependent services (sonic-net#582)
      > sfpshow: prevent 'show int trans eeprom --dom' from crashing (sonic-net#567)
      > [warm-reboot] add docker upgrade --warm option and roll back support
    (sonic-net#559)
      > [ecnconfig] Validate input WRED parameters (sonic-net#579)
      > [sonic-utilities] Add fstrim to reboot (sonic-net#535)
      > Fixing the expected neighbor command due to change in output format
    under sonic-buildimage/pull/3036 (sonic-net#584)
    jleveque authored and lguohan committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    35989ab View commit details
    Browse the repository at this point in the history
  2. [device/Accton] Fix i2c fault from ir3570a on 3 models (sonic-net#3245)

    I2c burst read may failed due to misoperation of ir3570a(A DC-to-DC converter IC).
    As sonic-net#2966, there are 3 more models have this symptom, as7326-56x, as7726-32x, and as9716-32d.
    Also correct typo of naming on as7816-64x and as7716-32x.
    
    Signed-off-by: roy_lee roy_lee@accton.com
    
    What I did
    Disabling i2c function of ir3570a which may failed i2c tranfer to others.
    Close channel of mux after data transfered.
    
    How I did it
    Identify version of ir3570, if it's ir3570a, disable its alias i2c address.
    Enable parameter of driver i2c_mux_pca954x to close channel on after every access.
    
    How to verify it
    Write 08 to offset 0xcf of systom eeprom and execute i2c block read.
    It will return error.
    plug-in several transceivers and run "show interfaces transceiver presence" and "sfputil show presence". You may see the different result. (But doing this requires updated xcvrd).
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    ff8e344 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6add944 View commit details
    Browse the repository at this point in the history
  4. [build] Fixes for multi arch in Dockerfile (sonic-net#3237)

    Fix for rules/config as it is overridden by Make infra
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    e9d3858 View commit details
    Browse the repository at this point in the history
  5. [libteam]: Fix libteam race condition when interface is created and e…

    …nslaved (sonic-net#3250)
    
    The race condition could happen like this:
    When an interface is enslaved into the port channel immediately after
    it is created, the order of creating the ifinfo and linking the ifinfo to
    the port is not guaranteed.
    
    Please check the patch commit message to get full details.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and yxieca committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    f1a88cd View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2019

  1. [sonic-linux-kernel] advance sub module head (sonic-net#3252)

    Submodule src/sonic-linux-kernel 415b368..1d9c69f:
      > [kernel source] download kernel source files from azure storage (sonic-net#95)
      > Fix false alarm when writing convrate on max6658 (sonic-net#82)
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored Aug 1, 2019
    Configuration menu
    Copy the full SHA
    e77c36b View commit details
    Browse the repository at this point in the history
  2. [sfputil]Fix issue: xcvrd is broken. (sonic-net#3258)

    xcvrd is broken because a newly introduced interface get_transceiver_dom_threshold_info_dict in common code calls a unsupported interface _read_eeprom_specific_bytes.
    Fix the issue by implement get_transceiver_dom_threshold_info_dict to avoid calling the unsupported interface.
    stephenxs authored and jleveque committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    b9a806b View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Update SAI (sonic-net#3265)

    New SAI has fix for 50G FEC issue
    
    Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
    andriymoroz-mlnx authored and lguohan committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    9a418e3 View commit details
    Browse the repository at this point in the history
  4. [Makefile] multi arch variable fix (sonic-net#3263)

    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    1ca75d3 View commit details
    Browse the repository at this point in the history
  5. [mellanox]: Added SN3800 platform (sonic-net#3262)

    * [mellanox]: Added SN3800 platform.
    
    Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
    nazariig authored and lguohan committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    c6e442b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2019

  1. [mellanox]: fix orchagent start args for mellanox (sonic-net#3268)

    Bug is introduced in sonic-net#2980. Mellanox does not support setting
    MAC on switch create.
    lguohan authored Aug 2, 2019
    Configuration menu
    Copy the full SHA
    11ea368 View commit details
    Browse the repository at this point in the history
  2. [devices]: Add platform support for delta ag9032v2a (sonic-net#3148)

    Add platform support for delta ag9032v2a
    CPU: Broadwell-DE
    ASIC: BMC56870 with <100Gx32 + 10Gx1>
    BMC: AST2520:
    - What I did
    add the new platform of delta ag9032v2a
    - How I did it
    1.provide the QSFP and SWPLD attributes and create the virtual buses of I2C
    2. provide the port configuration
    - How to verify it
    1. psuutil.py
    2. sfputil.py
    3. bcmcd
    
    - Known issue
    The port LED is not ready. We noticed that BCM chip had the M0 FW initialization issue while bringing up SDK with "BRCM SAI ver: [3.5.2.3], OCP SAI ver: [1.4], SDK ver: [6.5.14]" and here is the information :
    root@sonic:/home/admin# bcmcmd "M0 status"
    M0 status
    0:soc_iproc_data_send_wait: No response for msg 2
    M0 FW is NOT Running
    M0 FW Version is 0.0
    Host FW Version is 1.0
    Host and M0 FW Versions do not match!!!
    
    Signed-off-by: hans-tseng <hans.tseng@deltaww.com>
    hans-tseng authored and lguohan committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    ca1534a View commit details
    Browse the repository at this point in the history
  3. [Quanta] Add a new supported device and platform, IX8C-56X (sonic-net…

    …#3182)
    
    * [Quanta] Add a new supported device and platform, IX8C-56X
    
    Switch Vendor: Quanta
    Switch SKU: IX8C-56X
    ASIC Vendor: Broadcom
    Switch ASIC: Trident3
    Port Configuration: 48x25G + 8x100G
    
    Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
    jonathantsai-qci authored and lguohan committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    2bb5804 View commit details
    Browse the repository at this point in the history
  4. [Platform] Marvell hwsku ET6448M i2c slave access fixes (sonic-net#3275)

    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    7e98e3f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

  1. [device/celestica]: Implement thermal base API based on the new platf…

    …orm API (sonic-net#3220)
    Wirut Getbamrung authored and jleveque committed Aug 5, 2019
    Configuration menu
    Copy the full SHA
    1dd2688 View commit details
    Browse the repository at this point in the history
  2. fix the issue "'NoneType' object has no attribute 'closelog'" which r…

    …esults from referencing an already destroyed global variable when destructuring daemon_base.Logger by introducing a class member to represent the global (sonic-net#3281)
    stephenxs authored and jleveque committed Aug 5, 2019
    Configuration menu
    Copy the full SHA
    530a0c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. [Makefile/Telemtry] Removing Telemetry build for ARM arch as qemu (so…

    …nic-net#3287)
    
    crashes.
    
    Raised go lang support
    https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/golang-nuts/1txPOGa4aGc
    
    Also raised qemu bug for support as golang rejected it.
    https://bugs.launchpad.net/qemu/+bug/1838946
    
    In parallel, debugging issue to resolve it
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    d80d3d6 View commit details
    Browse the repository at this point in the history
  2. [sonic-cfggen]: add --key option to show a specific key (sonic-net#3248)

    * Adding --key option to sonic-cfggen script. This will help to display config DB with more granularity.
    
    Signed-off-by: Vasant Patil <vapatil@linkedin.com>
    vasant17 authored and lguohan committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    63b5e0e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into upstream-2019-08-06

    # Conflicts:
    #	build_debian.sh
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-8x100G-96x10G.config.bcm
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-96x10G+8x100G.config.bcm
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-10G/td3-s5232f-96x10G-8x100G.config.bcm
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-8x100G-96x25G.config.bcm
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-96x25G+8x100G.config.bcm
    #	device/dell/x86_64-dellemc_s5232f_c3538-r0/DellEMC-S5232f-P-25G/td3-s5232f-96x25G-8x100G.config.bcm
    #	src/sonic-utilities
    nirenjan committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    03a71be View commit details
    Browse the repository at this point in the history