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

Merging latest changes from Azure - 2019-08-13 #28

Merged
merged 28 commits into from
Aug 13, 2019

Commits on Aug 6, 2019

  1. [Platform] Update Marvell-switching github URL (#3293)

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

Commits on Aug 7, 2019

  1. [submodule]: Updating swss common pointer (#3296)

    Sflow Tables (#299)
    [Warnings] Fix all printf format specifiers for 32bit arch compilation
    (#298)
    [schema]: Add APP_ACL_TABLE and APP_ACL_RULE_TABLE (#275)
    Sudharsan D.G authored and lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    e7af346 View commit details
    Browse the repository at this point in the history
  2. [Makefile/slave docker] ARM arch doesn't support few packages (#3273)

    * [Makefile/slave docker] ARM arch doesn't support few packages
      iproute2 is missing for ARM sonic-slave docker
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    8de26b7 View commit details
    Browse the repository at this point in the history
  3. [Platform] systemd generator deb included in marvell arm arch platform (

    #3288)
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    629688b View commit details
    Browse the repository at this point in the history
  4. [build]: enable docker in ram option for small disk device (#3279)

    when device disk is small, do not unzip dockerfs.tar.gz on disk.
    keep the tar file on the disk, unzip to tmpfs in the initrd phase.
    
    enabled this for 7050-qx32
    
    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    2b28d55 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    621d2d4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c7db1ec View commit details
    Browse the repository at this point in the history
  7. [device] various improvement for nephos devices (#3139)

    Add fan control for as7116-54x
    Modify sfputil.py to support sfp insert and remove events for as7116-54x
    Modify port_config.nps to set port default admin down
    Modify port_config.ini for add speed attr
    Code format optimization like remove newline
    Modify buffers_defaults_t0 and t1, change ingress_lossless_pool mode from dynamic to static
    Add nephos_dac.nps and nephos_opt.nps for support difference dac and fiber module
    simonJi2018 authored and lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    49f3b22 View commit details
    Browse the repository at this point in the history
  8. [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone…

    … platform (#3240)
    
    * Utilize the same sai.profile and config.bcm file
    
    Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
    
    * Fix the index issues for HWSKU: Seastone-DX010-25-50 and Seastone-DX010-50-40
    
    Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
    
    * Update sonic-swss submodule
    
    * src/sonic-swss 63afbd5...5be3963 (11):
      > Remove the platform check for remove/add port action at init phase. (#1006)
      > [test]: Add Class object in each test script file (#992)
      > [vstest]: add --imgname option to specify vs image to test (#996)
      > [qosorch]: Add cir and pir parameters for scheduler (#991)
      > [vstest]: report error when team kernel module is not available (#994)
      > Support per buffer pool watermark polling mode (#973)
      > [test]: Update test_vlan to use dvs functions (#986)
      > Add synchronous switch to orch agent (#987)
      > ARM32 bit fixes, for 64bit printf format specifier (#989)
      > [portsorch]: Rename function isPortReady() to allPortsReady() (#990)
      > [routeorch]: Fix observer detaching procedure for next hop observers (#985)
    
    Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
    zhenggen-xu authored and lguohan committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    6f40933 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a99a37d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cc31279 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. [Dell] S5232f default buffer configuration changes (#3278)

    Corrected the ingress and egress lossy and lossless buffer pool and profile values.
    Single pool for lossy and lossless traffic for PFC priority 3 and 4.
    In HWSKU DellEMC-S5232f-P-100GG/25G/10G. Defaults to lossy profile. No Lossless support.
    2 default mmu_init.data files (TD3-DEFAULT-LOSSLESS-P3P4 and "TD3-DEFAULT" created in SAI code. This will have cpu pool configuration and MMU init related configurations.
    TD3-DEFAULT.data file is only supports lossy.
    TD3-DEFAULT-LOSSLESS-P3P4.data file is supports lossless on P3 and P4.
    AshokDaparthi authored and lguohan committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    fe6664b View commit details
    Browse the repository at this point in the history
  2. [Quanta] Add a new supported device and platform, IX7-32X, IX8-56X (#…

    …3297)
    
    Switch Vendor: Quanta
    Switch SKU: IX7-32X
    CPU: Intel C2558
    ASIC Vendor: Broadcom
    Switch ASIC: Trident3, BCM56870
    Port Configuration: 32x100G
    
    Switch Vendor: Quanta
    Switch SKU: IX8-56X
    CPU: Intel C2558
    ASIC Vendor: Broadcom
    Switch ASIC: Trident3, BCM56873
    Port Configuration: 48x25G + 8x100G
    
    Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
    jonathantsai-qci authored and lguohan committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    2ff8f5d View commit details
    Browse the repository at this point in the history
  3. [device] Adding platform support for Accton as7315-27xb (#3301)

    This switch has 27 fiber ports, 4x25G, 20x10G , and 3x100G ports ports.
    CPU: Intel ® Atom™ Processor C3508,1.6GHz
    BMC: None
    MAC: Broadcom BCM88470 (Qumran AX).
    MISC: Support IEEE1588v2, hot-swappable PSU, hot-swappable fan tray.
    
    But notice here, BCM88470 is not supported for SAI now.
    So the syncd container is not running so far.
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    b45c1ac View commit details
    Browse the repository at this point in the history
  4. [Mellanox] mlnx-sfpd init flow enhancement (#3294)

    * fix sfpd initialize issue
    * fix review comments
    * rephrase the output log
    * fix retry counter
    * change the retry time to 10, means set max waiting time 1024s
    * fix mlnx-sfpd init flow with new solution
    * [mlnx-sfpd] address comments
    1. wait for 5 seconds * 30 times, 150 seconds totally. use constant wait time for each retry.
    2. use try/except structure so that error can be handled in a graceful way
    * [mlnx-sfpd] wait 5 seconds after SDK_DAEMON_READY_FILE exists to make sure SDK is fully up.
    * [mlnx-sfpd]simplify initialization by using deinitialize on initializing failure
    stephenxs authored and qiluo-msft committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    d16ece2 View commit details
    Browse the repository at this point in the history
  5. [sonic-cfg] [Marvell] read system mac address from eeprom (#3309)

    * [sonic-cfg] [Marvell] get_system_mac() to fetch valid mac address from Eeprom else
    get mac address from eth0
    
    * [platform] Marvell mac address fetch for different platform based on board
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    17b5fd2 View commit details
    Browse the repository at this point in the history
  6. [platform/mellanox] install SDK/SAI dbg symbols in debug image (#3310)

    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
    stepanblyschak authored and lguohan committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    86aa00a View commit details
    Browse the repository at this point in the history
  7. [service dependent] describe non-warm-reboot dependency outside syste…

    …md (#3311)
    
    * [service dependent] describe non-warm-reboot dependency outside systemctl
    
    When dependency was described with systemctl, it will kick in all the time,
    including under warm reboot/restart scenarios. This is not what we always
    want. For components that are capable of warm reboot/start, they need to
    describe dependency in service files.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    * [service] teamd service should not require swss service
    
    Adding require swss will cause teamd to be killed by systemctl when swss
    stops. This is not what we want in warm reboot.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    * refactoring code
    
    * rename functions to match other functions in the file
    yxieca committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    a46df66 View commit details
    Browse the repository at this point in the history
  8. Modify ag9064 platform module and add support psutil. (#3305)

    Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
    JohnsonYJLu authored and jleveque committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    3e6e037 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. Fix snmpd crash (#3312)

    * Enable debug image build for kvm image.
    
    * Fix a bug in cleaning up requests referring the netsmp_session being closed to avoid a crash, during netsnmp_session close/abort due to timeout.
    RCA:
    The netsnmp_agent_session requests use netsmp_subtree objects that matches the associated variable name.
    The netsnmp_subtrees created through a netsnmp_session are tied to that session.
    When a subagent connection is closed/dropped due to timeout, all associated netsnmp_subtree objects are fred.
    Hence during a netsnmp_session close, all the delegated netsnmp_agent_sessions are scanned for requets that could be using netsnmp_subtree objects associated with this netsnmp_sesssion or its subsession. For each of the found request, they are explicitly marked to fail and a call is made to complete them.
    
    But due to the bug in scanning, it leaves behind requests and hence later when the requests get processed, they refer the *now* freed netsnmp_subtree. As often these requests gets completed pretty soon, they escape crashing. But if it so happens that the freed memory happened to complete a memory unit, hence returned to kernel or it got reallocated & changed enough to crash, the snmpd crashes.
    
    * Revert the changes
    
    * Revert
    renukamanavalan committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    c035be6 View commit details
    Browse the repository at this point in the history
  2. [dhcp_relay] Only call 'wait_until_iface_ready' once for each interfa…

    …ce (#3317)
    
    Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
    wangshengjun authored and jleveque committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    7b0389d View commit details
    Browse the repository at this point in the history
  3. Fix to ensure that tacacs servers are ordered (reverse) by priority i…

    …n pam.d's config. (#3322)
    
    Present: Servers are listed in the same order as in redis-db
    Fix: Save the sort o/p, hence use sorted list to write into pam.d's conf.
         As well convert priority to integer for use by sort.
    renukamanavalan committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    fcdf62f View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2019

  1. [dhcp_relay] fix the compile error introduced by the fixed issue of '#…

    …3316', change the sample_output file of 'wait_for_intf.sh' (#3325)
    
    Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
    wangshengjun authored and jleveque committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    70febea View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

  1. [platform]: sfputil BFN platform module (#3324)

    Added sfputil.py for x86_64-accton_wedge100bf_32x-r0 and x86_64-accton_wedge100bf_65x-r0 devices.
    
    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and lguohan committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    27d80fc View commit details
    Browse the repository at this point in the history
  2. platform/nephos:fix the compile error about device accton-as7116 beca…

    …use version wrong (#3329)
    simonJi2018 authored and lguohan committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    000af93 View commit details
    Browse the repository at this point in the history
  3. [DELL][Z9100,S6100,S6000] Platform 2.0 SFP Changes (#3229)

    * [DELL][Z9100,S6100,S6000] Platform 2.0 SFP Changes
    
    Added support in sfp.py file which will be generic. Send the eeprom path and sfp_control path from chassis.py
    sridhar-ravindran authored and lguohan committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    88dc7ad View commit details
    Browse the repository at this point in the history