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

Sync to master #12

Merged
merged 407 commits into from
Sep 19, 2019
Merged

Sync to master #12

merged 407 commits into from
Sep 19, 2019
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 24, 2019

  1. [telemetry]: change the service dependency from swss to database (#3072)

    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
    jipanyang authored and jleveque committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    9a1bebe View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. [sonic-cfggen] Add Mellanox platform specific code to read base mac f…

    …rom machine.conf (#2991)
    
    * add code to read base mac from machine.conf
    
    * rewording the comments
    
    * add mac validation with re
    
    * fix review comments
    
    * remove empty line
    keboliu authored and liat-grozovik committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    331866d View commit details
    Browse the repository at this point in the history
  2. [device/celestica] Implement PSU APIs based on the new platform API (#…

    Wirut Getbamrung authored and jleveque committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    94b3c36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b92d980 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. fix fast reboot compatibility (#3083)

    * fix fast reboot compatibility
    
    We should handle both cases for backward-compatible with 201803:
     - fast-reboot
     - SONIC_BOOT_TYPE=fast-reboot
    
    * handle review comments
    * add a comment that getBootType code snippet is shared between two files
    stepanblyschak authored and qiluo-msft committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    6961816 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Add new hwsku Arista-7050QX32S-Q32 (#3091)

    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    wendani authored Jun 28, 2019
    Configuration menu
    Copy the full SHA
    dbdc166 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c3fdfd View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2019

  1. [devices]: Add lpmode in sfputil.py for Accton AS6712-32X (#3095)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    0b8c1a1 View commit details
    Browse the repository at this point in the history
  2. [devices]: Add lpmode in sfputil.py for Accton AS5712-54X (#3094)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    5ec23df View commit details
    Browse the repository at this point in the history
  3. [device/Arista] Update drivers submodules (#3092)

    - Add reboot cause support for the platform API
     - Add LED support for the platform API xcvrs and fans
     - Misc fixes
    Staphylo authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    a80baaf View commit details
    Browse the repository at this point in the history
  4. [devices]: Add a new supported device DellEMC s5232f (#3090)

    * Switch Vendor: DellEMC
        * Switch SKU: s5232F
        * ASIC Vendor: Broadcom
        * Swich ASIC: Trident3
        * Port Configuration: 32x100G
        * SONiC Image: sonic-broadcom.bin
    
        * LED support for s5232f
        * Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup
        * Added 100G,25G,10G configruation ( 100G is default).
    srideepDell authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    0695a64 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe45a0d View commit details
    Browse the repository at this point in the history
  6. [devices]: Add lpmode in sfputil.py for Accton AS7512 (#3005)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    8b225d3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9b0d1b7 View commit details
    Browse the repository at this point in the history
  8. [devices]: DellEMC S6100 Watchdog support (#2835)

    paavaanan authored and lguohan committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    4f737f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. [device/celestica]: Add firmware management api based on the new plat…

    …form API (#3013)
    Wirut Getbamrung authored and jleveque committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    1616f48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22c0f4d View commit details
    Browse the repository at this point in the history
  3. [devices]: Add lpmode in sfputil.py for Accton AS7312-54XS (#3007)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    2ec473c View commit details
    Browse the repository at this point in the history
  4. [ARISTA] adding 7060_cs32s to eMMC exclusions (#2982)

    * [ARISTA] adding 7060_cs32s to eMMC exclusions
    
    Following PR 2774 we added the 7060-cx32s according to the guidelines of
    PR 2780
    
    This adds the 7060-cx32s to the list f devices that mount /var/log as a
    tmpfs to mitigate eMMC wearout
    
    Signed-off-by: Michel Moriniaux <m.moriniaux@criteo.com>
    
    * [ARISTA] adding 7060_cs32s to eMMC exclusions
    
    Following PR 2774 we added the 7060-cx32s according to the guidelines of
    PR 2780
    
    This adds the 7060-cx32s to the list f devices that mount /var/log as a
    tmpfs to mitigate eMMC wearout
    
    Signed-off-by: Michel Moriniaux <m.moriniaux@criteo.com>
    MichelMoriniaux authored and lguohan committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    dc74724 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc7854c View commit details
    Browse the repository at this point in the history
  6. [Mellanox] Support new platform api sfp part (#3101)

    Implement new platform api sfp part, including the following APIs;
    - get_reset_status
    - get_tx_disable_channel
    - get_lpmode
    - get_power_override
    - reset
    - set_lpmode
    - tx_disable
    - tx_disable_channel
    - set_power_override
    stephenxs authored and jleveque committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    86495a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. [devices]: DellEMC S5232f > /64 prefix route support bug fix. (#3111)

    * Added > /64 ip6 route support for 1024 entries.
    
    Signed-off-by: Ashok Daparthi <Ashok_Daparthi@Dell.com>
    AshokDaparthi authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    469b2bb View commit details
    Browse the repository at this point in the history
  2. [devices]: Add lpmode in sfputil.py for Accton AS7312-54X (#3006)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    d0981c4 View commit details
    Browse the repository at this point in the history
  3. sonic-device-data: update SAI config checker for Broadcom TD3 and TH3 (

    …#3107)
    
    * sonic-device-data: update SAI config checker for Broadcom TD3 and TH3
    
    The following properties have been approved by the Broadcom chip arch team:
    
    l3_alpm_ipv6_128b_bkt_rsvd
    ifp_inports_support_enable
    pll_bypass
    dpr_clock_frequency
    device_clock_frequency
    port_flex_enable
    mmu_port_num_mc_queue
    serdes_core_rx_polarity_flip_physical{<PORT>}
    serdes_core_tx_polarity_flip_physical{<PORT>}
    
    Signed-off-by: Dante (Kuo-Jung) Su <dante.su@broadcom.com>
    Change-Id: I1c6239cddfb0582a9298e671d792a32f79e4f006
    ds952811 authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    ce52791 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    810bc0d View commit details
    Browse the repository at this point in the history
  5. [devices]: Add lpmode in sfputil.py for Accton AS7716-32X (#3039)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    206ca1b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    56608bf View commit details
    Browse the repository at this point in the history
  7. [syncd-rpc] fix syncd rpc build and add cleanup (#3113)

    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
    stepanblyschak authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    211c8cd View commit details
    Browse the repository at this point in the history
  8. [reboot-cause]: Move reboot cause processing to its own service, 'pro…

    …cess-reboot-cause' (#3102)
    jleveque authored and lguohan committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    e5a2beb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Configuration menu
    Copy the full SHA
    f14354f View commit details
    Browse the repository at this point in the history
  2. [build]: Added debug symbols to many debug dockers. (#3098)

    * Added debug symbols to many debug dockers.
    
    * For debug images *only*:
    1) Archive source files into debug image
    2) Archived source is copied into /src
    3) Created an empty dir /debug
    4) Mount both /src as ro & /debug as rw into every docker
    5) Login banner will give some details on /src & /debug
    6) Devs can copy core file into /debug and view it from inside a container.
    7) Dev may create all gdb logs and other data directly into /debug.
    
    * Dropped redundant REDIS_TOOLS per review comments.
    
    * Added debug symbols to frr package and hence FRR based BGP docker.
    
    * 1) Moved dbg_files.sh to scripts/
    2) Src directories to archive are now collected from individual Makefiles.
    3) Added few more debug symbols
    4) Added few more debug dockers.
    
    Here after no more changes except per review comments.
    
    To debug:
    Install required version of debug image in Switch or VM.
    Copy core file into /debug of host
    Get into Docker
    gdb /usr/bin/<daemon> -c /debug/<your core file>
    set directory /src/... <-- inside gdb to get the source
    
    For non-in-depth debugging:
    
    Download corresponding debug Docker image (docker-...-dbg.gz) to your VM
    Load the image
    Run image with entrypoint as 'bash' with dir containing core mapped in.
    Run gdb on the core.
    renukamanavalan authored and lguohan committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    76bf5a0 View commit details
    Browse the repository at this point in the history
  3. [database]: Update redis to 5.0.3 (#3066)

    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
    jipanyang authored and lguohan committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    9a8202a View commit details
    Browse the repository at this point in the history
  4. [Mellanox]New platform api -- chassis part (#3082)

    * new platform api, chassis part
    
    * Inject mlnx mlx libs to platform monitor
    
    * address the review comments
    
    * remove some confusing naming.
    
    * Adjust the minor cause to a more human-readable way when rebooted by firmware
    
    * address review comments
    
    * expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified
    
    * 1. Revert "expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified"
    Since the only hardware-causing reboot should be handled by get_reboot_cause and the logic of handling reboot cause is about to move to the host side, no need to mount this dir to pmon docker.
    This reverts commit 3feb968.
    2. adjust log output by using sonic_daemon_base.daemon_base.Logger.
    3. remove the logic of verifying /host/reboot-cause/ files.
    4. fix typo.
    
    * implement get_firmware_version and adjust the interfaces regarding components' version retrieving according to the sonic-net/sonic-platform-common#34
    stephenxs authored and liat-grozovik committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    82fb3a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. [redis]: build redis-tools-dbgsym instead of redis-server-dbgsym (#3125)

    redis-server-dbgsym is not available since redis server 4
    lguohan authored Jul 5, 2019
    Configuration menu
    Copy the full SHA
    cf063bd View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Fix typo "xSFP_VLOT_OFFSET" (#3118)

    Variables SFP_VLOT_OFFSET and QSFP_VLOT_OFFSET containing the typo are originally defined in repo sonic-platform-common. The typo has been fixed in PR #33. However, some Mellanox-specific code hasn't updated correspondingly, which results in xcvrd fail to start.
    This PR updates the variable name in Mellanox-specific code correspondingly to fix that.
    stephenxs authored and lguohan committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    20e4547 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2019

  1. [process-reboot-cause] Handle case if platform does not yet have soni…

    …c_platform implementation (#3126)
    jleveque authored Jul 6, 2019
    Configuration menu
    Copy the full SHA
    5e2ab9d View commit details
    Browse the repository at this point in the history
  2. [device/Arista] Update arista driver submodules (#3122)

    - Add PSU support for the platform API
     - Complete LED support for the platform API
     - Misc refactoring
    Staphylo authored and lguohan committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    ae2e555 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] fix the issue that failing to test whether dom supported p…

    …rior to reading dom data (#3120)
    
    * fix the issue Bug SW #1816356 which is due to failing to test whether dom supported prior to reading dom data
    
    * use pre-defined variable to avoid magic number.
    no need to read 16 bytes, 1 byte is enough since calibration and dom capability are all in bytes at offset 92
    stephenxs authored and lguohan committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    f41e381 View commit details
    Browse the repository at this point in the history
  4. [device][platform] add platform as5835-54t, accton. (#3119)

    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    5a89cf5 View commit details
    Browse the repository at this point in the history
  5. [sairedis.mk] do not build rpc sairedis when not needed (#3109)

    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
    stepanblyschak authored and lguohan committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    e4300b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2019

  1. [sshd] Close all SSH connetions after 15 minutes of inactivity (#3031)

    - What I did
    
    Configure sshd to close all SSH connetions after 15 minutes of inactivity.
    
    - How I did it
    
    Set ClientAliveInterval to 900 (900 seconds = 15 minutes) and ClientAliveCountMax to 0
    in /etc/ssh/sshd_config using augtool in build_debian.sh. In the process, I refactored the existing augtool command for sshd_config so as to add comments and empty lines to file for readability.
    
    - How to verify it
    
    Log into device via management port. Wait 15 minutes without sending a keystroke -- you should be automatically logged out.
    jleveque authored and lguohan committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    8329ce1 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. [device/celestica] Implement Watchdog APIs based on the new platform …

    …API (#3123)
    Wirut Getbamrung authored and jleveque committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    bd67200 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. [swss.sh]: Cleanup LAG entries in STATE DB (#3114)

    Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
    stepanblyschak authored and stcheng committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    59117d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ed8c81 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Fix the memory leak in mlnx-sfpd (#3128)

    * fix the memory leak in on_pmpe. objects created via sx_api having convention new_<type_name> should be release explicitly via delete_<type_name>.
    
    * avoid duplicate code.
    stephenxs authored and liat-grozovik committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    cca115d View commit details
    Browse the repository at this point in the history
  4. [sonic-cfggen]: Remove trailing spaces (#3129)

    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and lguohan committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    9764589 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

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

Commits on Jul 11, 2019

  1. [device]: Modify as5835_54x port_config.ini (#3130)

    Signed-off-by: derek_sun <derek_sun@edge-core.com>
    dereksun01 authored and lguohan committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    acf1a53 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2019

  1. [Mellanox]Update hw-mgmt package to v183 (#3138)

    * Update hw-mgmt package to v183
    
    * update sonic-linux-kernel repo to pick up new patches
    keboliu authored and liat-grozovik committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    89d9864 View commit details
    Browse the repository at this point in the history
  2. [devices]: Add tuning for Arista 7060PX/DX4 32x400G (#3145)

    * Add serdes polarity for 32x400G Arista 7060PX/DX4
    
    * Add serdes polarity for 64x100G on Arista 7060PX/DX4
    zzhiyuan authored and lguohan committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    16e8571 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2019

  1. [baseimage]: Remove old ping permission fix because of aufs->overlay …

    …filesystem (#3154)
    
    Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
    qiluo-msft authored and lguohan committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    6a99dd8 View commit details
    Browse the repository at this point in the history
  2. [build] Add option to avoid Docker base image :latest tag (#3124)

    Define slave_base_tag_ref variable in Makefile.work containing
    specific base image tag to use, rather than always defaulting
    to :latest.
    
    Add an ARG command before FROM statement in Dockerfile.user
    for sonic-slave and sonic-slave-stretch. ARG variable defaults
    to latest if slave_base_tag_ref not specified in Makefile.work.
    
    The presumption to always refer to the :latest tagged Docker base
    image when creating the user image causes problems in a shared
    build server environment, where the most recently created base
    image (i.e. the current :latest tag) may not be compatible with
    the current build. For example, different users working in
    different branches may all be sharing the same build server.
    
    Signed-off-by: Greg Paussa greg.paussa@broadcom.com
    
    - What I did
    Added a DOCKER_AVOID_BASE_TAG_LATEST build option to rules/config that forces the Docker user image creation to refer to its base image by a specific tag rather than rely on the :latest tag. This is needed in a shared build server environment where builds from different developers and/or different SONiC branches all converge on the same Docker daemon instance running on the build server. The :latest tag is always assigned to the most recent base image built, which might not correspond to the base image needed for a particular build, thus causing various build errors that mostly manifest as missing Debian packages or package version mismatches.
    
    NOTE TO REVIEWERS: This PR relies on Docker support of "ARG before FROM," which was first introduced in Docker version 17.05.1-ce. Although there is no mention of a minimum required Docker version for the build server in the SONiC Building Guide pages, please consider whether it is reasonable to assume that Docker 17.05.1-ce or later must be used for SONiC build hosts before approving this PR.
    
    - How I did it
    Added an ARG before the FROM statement at the top of the sonic-slave/Dockerfile.user and sonic-slave-stretch/Dockerfile.user files. The ARG variable defaults to latest, but can be overridden in Makefile.work to reference the SLAVE_BASE_TAG so that it refers to the specific, matching base image for the build. This override is activated by un-commenting the DOCKER_AVOID_BASE_TAG_LATEST = y line in rules/config.
    gpaussabrcm authored and lguohan committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    48c77f8 View commit details
    Browse the repository at this point in the history
  3. [build]: Added debug dockers & image info (#3121)

    Added details on how to build debug docker images and how they can be exploited for debugging.
    renukamanavalan authored and lguohan committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    33a1b26 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. [database] save configuration after DB migration (#3143)

    - Make sure that migrated DB contents persisted for next boot
    - Make sure that db saved after warm reboot.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored Jul 16, 2019
    Configuration menu
    Copy the full SHA
    b5a4527 View commit details
    Browse the repository at this point in the history
  2. [baseimage]: Fix process-reboot-cause possibly throwing OSError (#3159)

    In case of going from previous iteration of SONiC, and the last reboot
    was hardware, REBOOT_CAUSE_FILE may not be present and the service may
    throw an error.
    zzhiyuan authored and lguohan committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    e4c041b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    083f858 View commit details
    Browse the repository at this point in the history
  4. [mlnx|spc2] change egress lossless pool size from 37M to 34M (#3166)

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    mykolaf authored and lguohan committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    8989c0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ef7dc5 View commit details
    Browse the repository at this point in the history
  6. [sonic-cfggen]: Improve T2 chassis frontend parsing (#3155)

    * Remove unnecessary checks
    baiwei0427 authored and prsunny committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    7e78d40 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6d3e9e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

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

    * ee56d54 2019-07-16 | [fast-reboot] Stop services after killing containers to prevent automatic restart (#572) (HEAD -> master, origin/master, origin/HEAD) [Joe LeVeque]
    * c718cab 2019-07-17 | [acl_loader]: Fix show mirror_session error (#580) [JaredLius]
    * 2764c6c 2019-07-16 | [Mellanox] Improve the prompt of the Mellanox sdk sniffer command. (#546) [Stephen Sun]
    * 5a5b74d 2019-07-10 | Generate interface table to have an entry for default VRF (#525) [Prince Sunny]
    * c30e9ff 2019-07-10 | [show] Don't abort in InterfaceAliasConverter ctor if PORT table doesn't exist (#571) [Joe LeVeque]
    * 1aac696 2019-07-10 | [fast reboot] stop removing opennsl module before reboot (#560) [Ying Xie]
    * 37823d4 2019-07-09 | Modified CLI doc for 201904 release, changed the config interface command, etc., (#561) [kannankvs]
    * 77ae6b8 2019-07-03 | [PR template] Add reminder to update Command Line Reference Guide if modifying user-facing commands (#569) [Joe LeVeque]
    * dc52015 2019-06-25 | [Sonic-utilities]: Added commands to view acl and port running configs (#557) [Prem Prakash]
    * c7f45c3 2019-06-19 | [warm-reboot] Use retryCount option of orchagent_restart_check program (#555) [Jipan Yang]
    * c6a08f7 2019-06-17 | [scripts]: add support to db_migrator for non-default unix socket (#551) [Lawrence Lee]
    * 98e087f 2019-06-06 | [show]: Edit comment (#549) [Vasant Patil]
    * 5667a90 2019-06-06 | [intfutil] Fix error when <interface name> specified in show interface related commands (#548) [Gord Chen]
    * b7fcb1f 2019-06-04 | Add buffer pool watermark support in watermarkstat and counterpoll (#521) [Wenda Ni]
    * 635dc88 2019-06-03 | [config]: Add config acl add/remove table command (#541) [Shuotian Cheng]
    * dcdc922 2019-06-03 | [show]: Add show policer command (#540) [Shuotian Cheng]
    * 82ef3ec 2019-06-01 | IP Address validation check (#530) [Tapash Das]
    * 1f326ad 2019-05-31 | [show] Remove ability to clear counters from 'show' commands (#518) [Joe LeVeque]
    * 669d36d 2019-06-01 | Add SONIC CLI Manual (#533) [kannankvs]
    * 7657001 2019-06-01 | 'show vlan config' not displaying the VLAN members, after the clear config and reload with default l2 configuration. (#457) [RAMA CHANDRA REDDY GADDAM]
    * 9493883 2019-05-28 | use vlan members (#542) [trzhang-msft]
    * 128462a 2019-05-22 | [config]: Add --policer option for mirror session (#537) [Shuotian Cheng]
    * 38da7f3 2019-05-22 | [acl_loader]: Add policer attribute in show mirror_session command (#538) [Shuotian Cheng]
    * f95ff00 2019-05-22 | [acl_loader]: Do not apply default DENY rule for MIRRORV6 table (#522) [Shuotian Cheng]
    * 50b7256 2019-05-21 | [sonic_installer] If asked to install an image which is already installed, simply set as default (#534) [Joe LeVeque]
    * d823062 2019-05-20 | [201811] enable DB migrator code (#536) [Ying Xie]
    * 7f7f384 2019-05-10 | update scheme variable name (#531) [trzhang-msft]
    * c66315a 2019-05-10 | Config interface Loopback0 ip add/del is not working (#443) [Kiran Kumar Kella]
    * 430d4b8 2019-05-10 | decode-syseeprom : added new option to show the Product Name. (#496) [Olivier Singla]
    jleveque authored and lguohan committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    c9d4afe View commit details
    Browse the repository at this point in the history
  2. [Mellanox] update SDK/FW (#3168)

    Integrating official Mellanox SDK/FW release as a pre condition for getting new Mellanox SAI release with hash changes (inner field) and 3k VXLAN scale. As well as bug fix for Spectrum LP mode and Spectrum 2 PFC WD
    
    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    mykolaf authored and lguohan committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f409e04 View commit details
    Browse the repository at this point in the history
  3. [baseimage]: Install mcelog package to host OS; log machine check exc…

    …eptions (MCE) to syslog (#3158)
    
    * Install mcelog package to host OS; log machine check exceptions (MCE) to syslog
    jleveque authored and lguohan committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    fa8b22a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    34b841e View commit details
    Browse the repository at this point in the history
  5. Fix for LLDP portname exposed as MAC address bug (#3152)

    * Subscribe to both ConfigDB and AppDB
    to get notifications to apply LLDP port config
    
    * the operstate file is not consistent
    Removing this since it is not serving any purpose
    
    * Remove check for PortInitDone and PortConfigDone
    This is not prteset in Config DB
    
    * Remove checking State DB for port creation
    
    * Check for key to be present before fetching it
    
    * Addressing review comments
    Sumukha Tumkur Vani authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ac9934a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. [slave]: Add quote to package version range (#3177)

    Without quote, the command will ignore the version and
    regard the ">" as a file redirection symbol and redirect
    all the output to a file named the version range.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and lguohan committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    cb9f82c View commit details
    Browse the repository at this point in the history
  2. [device] Update as5835_54x port_config.ini (#3181)

    Signed-off-by: derek_sun <derek_sun@edge-core.com>
    dereksun01 authored and lguohan committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ef3b817 View commit details
    Browse the repository at this point in the history
  3. [device][accton]: add support for as7312-54xs (#3140)

    * Add driver and util for peripherals of as7312-54xs, most are copied from as7312-54s.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Add default port speed and index from 1.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Update i2c addr of psus.
    Add system logging for monitor.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Correct syntax of module_dirs.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Validate sfputil after tested.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Correct the index of eeprom mapping.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    9c4d234 View commit details
    Browse the repository at this point in the history
  4. Reverting permission changes on lldpmgrd (#3184)

    The permissions got changed inadverently in this PR: #3152
    Sumukha Tumkur Vani authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    6e37e23 View commit details
    Browse the repository at this point in the history
  5. [bgp]: Fix isolate/unisolate command for ipv6 peers (#3183)

    * Fix isolate/unisolate command for ipv6 peers
    pavel-shirshov authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7af5469 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Configuration menu
    Copy the full SHA
    6c4ec39 View commit details
    Browse the repository at this point in the history
  2. [devices]: DellEMC [s5232]: PSU detection and default led state suppo…

    …rt (#3185)
    
    *   [devices]: Add a new supported device DellEMC s5232f
    
        * Switch Vendor: DellEMC
        * Switch SKU: s5232F
        * ASIC Vendor: Broadcom
        * Swich ASIC: Trident3
        * Port Configuration: 32x100G
        * SONiC Image: sonic-broadcom.bin
    
        * LED support for s5232f
        * Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup
        * Added 100G,25G,10G configruation ( 100G is default).
    
    * s5232[device] PSU detecttion and default led state support
    srideepDell authored and lguohan committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    ce5d16f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2019

  1. [submodule]: Update swss related submodules (#3190)

    swss:
    [vxlanorch]: Allow ipv6 src ip for Vxlan tunnel creation (#896)
    [aclorch]: Allow DTEL drop actions in DTEL flow watchlist (#915)
    Fix typo in orchagent_restart_check from fasle to false. (#923)
    [sonic-swss]: Fix for FPM accept call failure in ARM arch (#925)
    Add retryCount option for orchagent_restart_check program. (#833)
    [vlan] Add pytest cases to validate nonexistent vlan behavior. (#874)
    [intfsorch] Wait for interface prior to prefix (#796)
    Set timer only when interval changes. Not in each firing of the timer. (#945)
    [test]: Fix set interface in configuration database (#956)
    [copporch]: Fix polymorphic type error (#946)
    [AclOrch]: Fix the acl mirror counter doubled by inactive mirror and active again (#952)
    [MirrorOrch]: Init the next hop ip with 0 instead of default constructor (#953)
    [portsorch]: Add reference count of port (#962)
    [mock_test]: Move mock tests into a separate folder to separate them from vs tests (#950)
    remove crm acl_counters when acl_table removed (#918)
    [aclorch]: Fix matching MIRROR_DSCP throws unnecessary errors (#966)
    [policerorch]: Fix return code comparison error (#968)
    [gitignore]: Add swss-dbg related files (#967)
    [vxlanmgrd]: Fix for vxlanmgrd cannot correctly work after config reload (#934)
    [vxlanorch]: Add extra info into NOTICE logs (#891)
    [test]: Add a neighbor entry with BCAST MAC and verify its ignored (#955)
    [copporch]: Fix copporch in DEL command (#972)
    [orchagent]: Fix crash during orchagent process exit (#974)
    [vnetorch]: Fix VNET orchagents order for warm-reboot flow (#958)
    [test]: Skip unstable test test_vnet_orch_1 (#976)
    [intfsorch]: Fix rif flex counter removal error (#975)
    Update tests README.md file
    [aclorch]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (#978)
    [test]: Skip test_watermark.py::TestWatermark::test_lua_plugins (#981)
    [teamsyncd]: Add information for LAG membership changes (#982)
    
    common:
    Add an assert to logger, which will log a message and abort. (#286)
    [test]: Add IpAddress::isZero() unit test (#289)
    do not abort when read timerfd return 0 and errno = 0 (#291)
    Add BGP_STATE_TABLE in stateDB (#273)
    [IpAddress]: add mcast scope on address and isFullMask method on prefix (#285)
    Add ignore Wshadow pragma to json.hpp (#292)
    [executor]: Fix Executor does not get correct priority saved in m_selectable (#290)
    [schema]: Remove duplicate STATE_MIRROR_SESSION_TABLE_NAME (#294)
    timerfd:read failure - Record in logs as error. (#295)
    [schema]: Change CFG_ACL_TABLE_NAME to CFG_ACL_TABLE_TABLE_NAME (#296)
    [schema]: Add PASS_THROUGH_ROUTE_TABLE to config and application db (#297)
    
    sairedis:
    ARM32 bit fixes, for 64bit printf format specifier (#468)
    Reduce the timeout (GET_RESPONSE_TIMEOUT) from 6 minutes to 1 minute. (#472)
    Fixed config_syncd_barefoot function (#474)
    [syncd_init_common.sh] fix fast reboot backwards compatibility (#480)
    Add default bridge id for bridge port id of type PORT in virtual switch (#473)
    Fix a bug in parsing kernel argument of fast-reboot (#482)
    Add TimerWatchdog for monitoring long execution apis (#469)
    Add specific comparison logic for tunnel map (#475)
    [vslib] add ACL action capabilities support (#481)
    Per buffer pool watermark polling mode (#485)
    Add specific comparison logic for ACL counter (#484)
    Process flex counters requests in separate thread (#483)
    Make sairedis/syncd synchronous (#476)
    Fixed conditional operator. (#487)
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and lguohan committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    01a5bea View commit details
    Browse the repository at this point in the history
  2. [baseimage]: Upgrade ifupdown2 to version 1.2.8 (#3180)

    * Upgrade ifupdown2 to version 1.2.8
    
    Required by ZTP to support ZTP over IPv6 transport
    
    Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
    rajendra-dendukuri authored and lguohan committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    40c8bc1 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. [Mellanox] support new platform api, thermal and psu part (#3175)

    * support new platform api, thermal and psu part
    for psu, all APIs are supported.
    for thermal, we support
      get_temperature,
      get_high_threshold
    for the thermal sensors of cpu core, cpu pack, psu and sfp module
    and get_temperature for the ambient thermal sensors around the asic, port, fan, comex and board.
    
    * 1. address review comments
    2. improve the handling of PSU inserting/removal
    3. tolerance diverse psu thermal sensor file name conventions
    
    * 1. adjust thermal code according to the latest version of hw-management
    2. check power_good_status rather than whether file existing ahead of reading voltage, current and power of PSU
    stephenxs authored and lguohan committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    1d15022 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    401f704 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92efe73 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Configuration menu
    Copy the full SHA
    39b641e View commit details
    Browse the repository at this point in the history
  2. [ptf] Fixed root ssh authentication issue (#3192)

    Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
    nazariig authored and lguohan committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    77b3a18 View commit details
    Browse the repository at this point in the history
  3. [device/celestica]: Implement device base APIs for Fan/PSU API based …

    …on the new platform API (#3163)
    
    * [platform/cel]: add fan present sysfs
    
    * [device/celestica]: move component device to chassis
    
    * [device/celestica]: add basic device api
    Wirut Getbamrung authored and lguohan committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    0340cf3 View commit details
    Browse the repository at this point in the history
  4. [submodule]: Update sonic-swss pointer (#3207)

    * 63afbd5 2019-07-22 [vnetorch]: Set default VxLAN encap TTL value (#980) [Volodymyr Samotiy]
    
    Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
    Volodymyr Samotiy authored and lguohan committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    e2c8993 View commit details
    Browse the repository at this point in the history
  5. [sonic-platform-modules-dell] Graceful platform reboot (#2912)

    The following commit addresses the graceful unmounting of file
    system and graceful shutdown of dockers before calling a
    cold reboot which will cause a power cycle of SSD. This ensures
    orderly shutdown and no corruption of files systems because
    of the power cycle to SSD.
    This commit will use the existing systemd-reboot service scripts
    and override the configuration to do cold reboot for S6100 and
    Z9100.
    Unit tested the fix and graceful shutdown of file system and
    dockers are done with cold reboot.
    
    Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
    Harish Venkatraman authored and lguohan committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    dbe07a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. [docker-engine]: Update docker engine to 18.09.8 (#3211)

    Signed-off-by: Neetha John <nejo@microsoft.com>
    neethajohn authored and lguohan committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    f64e791 View commit details
    Browse the repository at this point in the history
  2. [config-engine]: Add admin_status up to l2switch.json template (#3210)

    Bring up all ports by default by adding the admin_status:up
    to each of the ports.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and lguohan committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    dbda34f View commit details
    Browse the repository at this point in the history
  3. [warm reboot] save configuration after warm reboot (#3200)

    * [warm reboot] save configuration after warm reboot
    
    After warm reboot, save a copy of in memory database to config_db.json,
    upgrade procedure might have removed config_db.json to force new image
    to reload minigraph. However, reload minigraph is skipped during warm
    reboot. Missing config_db.json would cause device to fault in next
    non-upgrading cold/fast reboot.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    * Update finalize-warmboot.sh
    yxieca authored Jul 24, 2019
    Configuration menu
    Copy the full SHA
    9d64ce7 View commit details
    Browse the repository at this point in the history
  4. [Accton] Correct port index and offer the default speed. (#3213)

    * [as5712-54x]
    Verified with index from 1.
    Add qsfp_event() for command "show interaface trancerver".
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as6712-32x]
    Add default port speed.
    Verified with index from 1.
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7726-32x]
    Add default port speed.
    Verified with index from 1.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7712-32x]
    Add default port speed.
    Verified with index from 1.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as5812-54x]
    Add default port speed.
    Verified with index from 1.
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as5712-54x]
    Update port-config with 1-based index.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as5812-54x]
    Somehow the service may block, use type=simple to work-around.
    Add syslog function for monitor.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7716-32x]
    Update port-config with 1-based index.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7816-64x]
    Update port-config with 1-based index.
    Implement sfputil change_event.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7326-56x]
    Update port-config with 1-based index.
    Implement sfputil change_event.
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Remove debug code.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * [as7312-54x]
    Update port-config with 1-based index and default port speed.
    
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    efe9438 View commit details
    Browse the repository at this point in the history
  5. [DELLEMC][S6000] Platform 2.0 Reboot Reason and fixed issue in proces…

    …s-reboot-cause (#3156)
    
    Added Reboot Reason for S6000 in platform 2.0
    Fixed issue in process-reboot-cause
    Added package uninstall code in platform de-init code for z9100, s6100
    - How I did it
    -> Added support for S6000 Reboot Reason
    -> Added platform.py for all platforms
    -> Verified show reboot-cause command with the code changes. Added UT logs with show reboot-cause
    -> Modified process-reboot-cause service to start after pmon.service. In S6000, we have to wait for nvram to be loaded.
    -> If reboot-cause service starts before pmon.service, show reboot-cause is showing incorrect reason.
    -> Bug fix in process-reboot-cause file
    - import sonic_platform
    + import sonic_platform.platform
    sridhar-ravindran authored and lguohan committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    95558ad View commit details
    Browse the repository at this point in the history
  6. [baseimage] management VRF support via l3mdev (#2585)

    This commit adds support for New feature management VRF using L3mdev.  Added
    commands to enable/disable management VRF. Config vrf add mgmt will enable
    management VRF, enslave the eth0 device to the master device mgmt and restart
    interfaces-configs in mgmt-vrf context.
    
    management interface (eth0) can be configured using config interface eth0 ip
    add command and removed using config interface eth0 ip remove command.
    
    Requirement and design are covered in mgmt vrf design document.  Currently show
    command displays linux command output; will update show command display in next
    PR after concluding what would be the output for the show commands. Added
    metric for default routes in dhcp and static, any changes for metric will be
    addressed subsequently after discussing.
    
    Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
    Harish Venkatraman authored and lguohan committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    3e69427 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. [build]: pin down j2cli to 0.3.10 in sonic-slave docker (#3219)

    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan authored Jul 25, 2019
    Configuration menu
    Copy the full SHA
    7b0786e View commit details
    Browse the repository at this point in the history
  2. [platform]: fixed syseeprom access for BFN platform (#3216)

    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and lguohan committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    4eb3568 View commit details
    Browse the repository at this point in the history
  3. [Mellanox]: Update SAI pointer (#3208)

    Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
    Volodymyr Samotiy authored and lguohan committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    2c6cd62 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2019

  1. [build]: SONiC buildimage ARM arch support (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#3235)

    * src/sonic-utilities ee56d54...cb0e745 (11):
      > sonic_utilities: Support for DOM Threshold values for EEPROM dump
    (#545)
      > [portstat] Fix portstat show RX_UTIL over 100% for 100G (#563)
      > sonic_installer: fix read-only filesystem support for firmware
    update (#565)
      > Revert "show acl table command output should show binding column
    correctly even with single port (#447)" (#589)
      > show acl table command output should show binding column correctly
    even with single port (#447)
      > [config] Do no stop or restart dependent services (#582)
      > sfpshow: prevent 'show int trans eeprom --dom' from crashing (#567)
      > [warm-reboot] add docker upgrade --warm option and roll back support
    (#559)
      > [ecnconfig] Validate input WRED parameters (#579)
      > [sonic-utilities] Add fstrim to reboot (#535)
      > Fixing the expected neighbor command due to change in output format
    under sonic-buildimage/pull/3036 (#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 (#3245)

    I2c burst read may failed due to misoperation of ir3570a(A DC-to-DC converter IC).
    As #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 (#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 (#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 (#3252)

    Submodule src/sonic-linux-kernel 415b368..1d9c69f:
      > [kernel source] download kernel source files from azure storage (#95)
      > Fix false alarm when writing convrate on max6658 (#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. (#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 (#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 (#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 (#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 (#3268)

    Bug is introduced in #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 (#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 (#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 (#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 (#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 (#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 (#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 (#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. [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
  4. Configuration menu
    Copy the full SHA
    e547b0d View commit details
    Browse the repository at this point in the history
  5. 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 authored 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 authored 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 authored 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 authored 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
  4. [as5835-54x] Implement get_transceiver_change_event() in sfputil.py (#…

    …3308)
    
    Signed-off-by: brandon_chuang <brandon_chuang@CicadaBuildServer.accton.com.tw>
    brandonchuang authored and jleveque committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    c605dd2 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. [mmu] add mmu_init_config to HWSKU Arista-7260CX3-Q64 (#3334)

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored Aug 14, 2019
    Configuration menu
    Copy the full SHA
    99b0b34 View commit details
    Browse the repository at this point in the history
  2. [swss][sairedis] advance sub-modules (#3326)

    [sairedis]:
    
    ARM32 bit fixes, for 64bit printf format specifier (#490)
    fix wrong API type , add cmdline parse option , remove unuseful api call (#499)
    Use pointer to member function to reduce the footprint of collectCounters() (#488)
    [syncd] Add support for Innovium platform (#496)
    [saisdkdump]: Fix dump generation crash (#493)
    
    [swss]:
    
    Add scope attribute to VNET table. (#954)
    [portsyncd]: Fix portsyncd restart case (#1019)
    [vnet]: Enable "vnet_orch_1" VS test case (#1020)
    [vlan] Add pytest cases to validate the behavior about add LAG member to vlan. (#875)
    [policerorch]: Add the capability to update policer rate/size (#1017)
    [aclorch]: Add MIRRORv6 support for NPS platform (#1018)
    [orchagent]: Avoid crash by setting g_syncMode flag before create_switch (#1014)
    [orchagent] Add support for Innovium platform (#1005)
    Provide broadcast IP while configuring interface ip address (#1007)
    [VLAN] Add pytest cases to validate different use-case of tagging_mode. (#860)
    [vstest]: Add test_port_config.py which include breakout port test. (#866)
    [vstests]: change 'test_acl_egress_table.py' to UNIX format (#1010)
    [vlan] Add pytest cases to verify data in app db and state db. (#895)
    [vstest]: Add the CRM tests (#1013)
    [warm-reboot]: add bgp eoiu support to speed up route reconcile (#856)
    [fdborch] support mac update (#877)
    [vxlanorch] Fix Logic of Vxlan tunnel removal (#995)
    Fix VLAN error introduced with new 4.9 kernel behavior (#1001)
    Config DB manual is being moved from Wiki to SWSS repo (#1002)
    Trap DHCPv6 packets for supporting ZTP over in-band interfaces using … (#997)
    
    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and lguohan committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    a209c7f View commit details
    Browse the repository at this point in the history
  3. [innovium]: Initial commit (#3243)

    [build] Add ipmitool
    [dockers] Add innovium platform in orchagent + ipmitool in snmp
    [platform/innovium] Add innovium platform
    [device/celestica] Add x86_64-cel_midstone-r0 device for innovium
    [device/delta] Add x86_64-delta_et-c032if-r0 device for innovium
    [sonic-slave-stretch] Add texi2html
    
    Signed-off-by: Tony Titus ttitus@innovium.com
    tonytitus authored and lguohan committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    91510a7 View commit details
    Browse the repository at this point in the history
  4. [sonic-platform-common][sonic-platform-daemon] Update submodules (#3333)

    [sonic-platform-common]
    
    [sonic_sfp] Interpret sff 'int' element =0 as valid value (sonic-net/sonic-platform-common#51)
    add more error code to get_transceiver_change_event ((sonic-net/sonic-platform-common#50)
    [sonic_platform_base] support new-platform-api-based daemons ((sonic-net/sonic-platform-common#48)
    sync change to sonic_platform_base/sonic_sfp and create symbol link ((sonic-net/sonic-platform-common#49)
    Add parser support for Tx_RxLos,TxFault, PowerControl, ResetStatus in sff8436.py ((sonic-net/sonic-platform-common#45)
    readd type_abbrv_name in sonic_sfp/sff8436.py ((sonic-net/sonic-platform-common#44)
    [psu_base] get_status_led() returns current state of the status LED ((sonic-net/sonic-platform-common#39)
    Fix abbrv name for OSFP ((sonic-net/sonic-platform-common#36)
    [sff8436] support "Control Bytes" and "Options" ((sonic-net/sonic-platform-common#38)
    sonic_sfp: avoid possible key error in get_physical_to_logical() ((sonic-net/sonic-platform-common#37)
    
    [sonic-platform-daemons]
    
    [xcvrd] Enhance xcvrd to handle new system level event/error (sonic-net/sonic-platform-daemons#39)
    [xcvrd] Support both new platform API and old platform plugins (sonic-net/sonic-platform-daemons#38)
    [psud] Support both new platform API and old platform plugins (sonic-net/sonic-platform-daemons#37)
    [syseepromd] Support both new platform API and old platform plugins (sonic-net/sonic-platform-daemons#36)
    Add missing import statemet (sonic-net/sonic-platform-daemons#32)
    sonic_xcvrd: Support for DOM Threshold values for EEPROM dump (sonic-net/sonic-platform-daemons#29)
    keboliu authored and jleveque committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    b283b4b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2019

  1. [device/celestica]: Implement Sfp APIs based on the new platform API (#…

    …3290)
    
    * [platform/cel]: update qsfp driver for dx010
    
    * [device/celestica]: add sfp api
    
    * [device/celestica]: add eeprom api
    Wirut Getbamrung authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    ea063db View commit details
    Browse the repository at this point in the history
  2. [baseimage]: install ndisc6 package (#3344)

    ndisc6 gathers a few diagnostic tools for IPv6 networks including:
    
     - ndisc6, which performs ICMPv6 Neighbor Discovery in userland,
     - rdisc6, which performs ICMPv6 Router Discovery in userland,
     - rltraceroute6, a UDP/ICMP IPv6 implementation of traceroute,
     - tcptraceroute6, a TCP/IPv6-based traceroute implementation,
     - tcpspray6, a TCP/IP Discard/Echo bandwidth meter,
     - addrinfo, easy script interface for hostname and address resolution,
     - dnssort, DNS sorting script.
    
    Signed-off-by: Guohan Lu <gulv@microsoft.com>
    lguohan authored Aug 15, 2019
    Configuration menu
    Copy the full SHA
    b2db397 View commit details
    Browse the repository at this point in the history
  3. [build] Fix cleaning SONIC_PYTHON_STDEB_DEBS (#3343)

    * slave.mk
    * .gitignore
    
    The SONIC_PYTHON_STDEB_DEBS group is part of SONIC_CLEAN_DEBS
    for cleaning with 'make clean', but this group is overlooked
    since they reside in PYTHON_DEBS_PATH, not DEBS_PATH. This
    fix creates a separate clean rule for SONIC_PYTHON_STDEB_DEBS.
    
    Also noticed the .arch file showing up on 'git status' so
    added it to .gitignore.
    
    Signed-off-by: Greg Paussa <greg.paussa@broadcom.com>
    gpaussabrcm authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    f65c796 View commit details
    Browse the repository at this point in the history
  4. [Quanta] Add a new supported device and platform, IX9-32X (#3341)

    Switch Vendor: Quanta
    Switch SKU: IX9-32X
    CPU: Broadwell-DE with BMC
    ASIC Vendor: Broadcom
    Switch ASIC: Tomahawk3, BCM56980
    Port Configuration: 32x400G
    
    Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
    jonathantsai-qci authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    ee31e3b View commit details
    Browse the repository at this point in the history
  5. [control plane assistant] stop control plane assistant after warm reb…

    …oot (#3337)
    
    Delay saving configuration so that the control assistant configurations
    won't be persisted.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    d6b4223 View commit details
    Browse the repository at this point in the history
  6. [Quanta][IX7,IX8,IX8C] Correct port index (#3327)

    Verified with index from 1
    
    Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
    jonathantsai-qci authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    d49e1dc View commit details
    Browse the repository at this point in the history
  7. [device] as5712-54x, add more entries for sensors (#3328)

    * Change psu driver to comfort to lm-sensors.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Duplicate fan attributes with naming conforming to lm-sensors.
    Replace psu drivers.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Revise cpr_4011_4mxx.c to support lm-sensors.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    e19e661 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ff6437e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4fed69e View commit details
    Browse the repository at this point in the history
  10. [platform]: Added exceptions handling for BFN syseeprom and psuutil (#…

    …3342)
    
    Added exceptions handling for BFN psuutil.py and eeprom.py which are raised when syseepromd and psud try to connect to the BFN thrift server which is not up yet. Now the exceptions backtrace is not logged to the syslog. Also psud doesn't exit on system bootup due to uncaught exception.
    
    Signed-off-by: Vitaliy Senchyshyn <vsenchyshyn@barefootnetworks.com>
    vsenchyshyn authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    6f49dee View commit details
    Browse the repository at this point in the history
  11. [device] Add pmon_daemon_control.json for accton (#3340)

    Add pmon_daemon_control.json for accton devices which do not need led_control
    
    Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
    brandonchuang authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    47a9a61 View commit details
    Browse the repository at this point in the history
  12. [build]: Fix INSTALL_DEBUG_TOOLS build config option (#2564)

    * Fix INSTALL_DEBUG_TOOLS build config option
    
    Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
    jipanyang authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    0ec5de4 View commit details
    Browse the repository at this point in the history
  13. [device/Arista] Update drivers submodules (#3339)

    - Improve smbus reliability for all platforms
     - Delay processing of the reboot cause to reduce critical path
     - Add support of get_change_event for PSUs
    Staphylo authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    05d75de View commit details
    Browse the repository at this point in the history
  14. [Quanta/platform] Update IX1B to support Stretch (#2358)

    * [Quanta/platform] Update IX1B to support Stretch
    
    What I did
    Update IX1B's platform folders to support Stretch
    How I did it
    Follow https://github.com/Azure/SONiC/wiki/Porting-Guide
    How to verify it
    Follow https://github.com/Azure/SONiC/wiki/Command-Reference
    to verify hardware information can get from CLI correctly
    
    Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
    jonathantsai-qci authored and lguohan committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    a5c351a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2019

  1. [innovium]: Fix package path + add SYSTEMD_SONIC_GENERATOR (#3351)

    Fix innovium debian package path
    Add SYSTEMD_SONIC_GENERATOR
    
    Signed-off-by: Tony Titus ttitus@innovium.com
    tonytitus authored and lguohan committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    d92d9f8 View commit details
    Browse the repository at this point in the history
  2. [radv service] radv service should be a cold only dependent of swss (#…

    …3348)
    
    radv should be left alone during warm restart of swss. Otherwise it will
    announce departure and cause hosts to lose default gateway.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca authored Aug 16, 2019
    Configuration menu
    Copy the full SHA
    84b667f View commit details
    Browse the repository at this point in the history
  3. [docker-fpm-frr]: Generate separated staticd.conf for staticd (#3306)

    * [docker-fpm-frr]: Generate separated staticd.conf for staticd
    
    Generate staticd.conf by templates/staticd.conf.j2 with config DB data
    
    * [docker-fpm-frr]: Remove default_route block from zebra.conf.j2
    
    default_route block already moved to staticd.conf.j2
    
    * [docker-fpm-frr]: Add test for staticd.conf.j2 template
    
    * Add test for staticd.conf.j2 template
    
    * Correct the sample output of zebra.conf.j2 template
    
    * Fix a typo in test_zebra_frr
    
    * [docker-fpm-frr]: Fix test_j2files test errors
    
    * Fix test errors in test_j2files.py and test_j2files_t2_chassis_fe.py
    
    * Fix typo in test_j2files_t2_chassis_fe.py
    shikenghua authored and pavel-shirshov committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    bf08a2c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. [Mellanox] Update SDK (v3.4.1886) and hw-magmt (v2.0.0191) (#3359)

    This commit also includes sonic-linux-kernel submodule update
    Commits included:
    f8b30b4 [Mellanox] Add hw-management driver patches (#97)
    feb786b Add psample and act_sample drivers (#94)
    15f8651 Update optoe driver to add CMIS (QSFP-DD, OSFP, ...) support (#96)
    andriymoroz-mlnx authored and liat-grozovik committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    7ca4d32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c870b39 View commit details
    Browse the repository at this point in the history
  3. update cpld & swpld module attribute (#3362)

    Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
    JohnsonYJLu authored and jleveque committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    cc66423 View commit details
    Browse the repository at this point in the history
  4. [Mellanox] align platform reboot to use "hardware reboot" (#3321)

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    mykolaf authored and jleveque committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    2a7d862 View commit details
    Browse the repository at this point in the history
  5. [barefoot]: updated SDK to 9.0 pre-release (#3350)

    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and prsunny committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    f468bc7 View commit details
    Browse the repository at this point in the history
  6. [Fast-Reboot]: FR mode is active only first 3 minutes after start. (#…

    …3352)
    
    * Fast reboot mode should be enabled only 3 minutes after restart
    
    * Advance sonic-quagga submodule
    pavel-shirshov authored Aug 19, 2019
    Configuration menu
    Copy the full SHA
    8facac9 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2019

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

Commits on Aug 21, 2019

  1. [kernel] Upgrade kernel to version 4.9.168-1+deb9u5 (#3369)

    * [kernel] Upgrade kernel to version 4.9.168-1+deb9u5
    
    - Picking up security patches.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    
    * advance linux-kernel sub module head
    yxieca authored Aug 21, 2019
    Configuration menu
    Copy the full SHA
    8b674c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2019

  1. Configuration menu
    Copy the full SHA
    9cebe7c View commit details
    Browse the repository at this point in the history
  2. BIOS upgrade support with API2.0 for DellEMC S6100 (#3116)

    paavaanan authored and jleveque committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    aea84a7 View commit details
    Browse the repository at this point in the history
  3. [device/arista] Update drivers submodules (#3378)

    - increase timeout for power supply driver initialization
    Staphylo authored and jleveque committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    8924739 View commit details
    Browse the repository at this point in the history
  4. [mlnx_platform_api.thermal]align thermal sensor names with hw-managem…

    …ent v2.0.0191 (#3371)
    
    temp_xxxx_module{} => module{}_temp_xxxx
    stephenxs authored and jleveque committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    97b43f9 View commit details
    Browse the repository at this point in the history
  5. Z9264f-LED_changes (#3376)

    Updated z9264_platform.sh to change appropriate LED when HWSKU is changed.
    aravindmani-1 authored and jleveque committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    f238042 View commit details
    Browse the repository at this point in the history
  6. remove platform_wait script from mellanox simx platform (#3380)

    mellanox simx platform don't have QSFP sysfs created, this script will cause timeout issue on simx platform
    Signed-off-by: Kebo Liu <kebol@mellanox.com>
    keboliu authored and jleveque committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    4aadbbe View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

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

Commits on Aug 26, 2019

  1. [doc]: use docker without sudo (#3336)

     Users can install docker with sudo, and it requires sudo to issue docker command. This will cause few errors in Makefile.work which need use docker without sudo.
    tim-rj authored and lguohan committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    9e44070 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Configuration menu
    Copy the full SHA
    1840bef View commit details
    Browse the repository at this point in the history
  2. Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y (#3323)

    * Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y
    
    * Dropped -v (verbose flag) from tar command
    renukamanavalan authored Aug 28, 2019
    Configuration menu
    Copy the full SHA
    14458b7 View commit details
    Browse the repository at this point in the history
  3. [Makefile] Multiarch docker service cleanup at make reset (#3366)

    * [Makefile] make reset target changed to ONESHELL and multiarch docker
    stop has been added in reset
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    bdce201 View commit details
    Browse the repository at this point in the history
  4. create multiple Redis DB instances based on CONFIG at /etc/sonic/data…

    …base_config.json (#2182)
    
    this is the first step to moving different databases tables into different database instances
    
    in this PR, only handle multiple database instances creation based on user configuration at /etc/sonic/database_config.json
    
    we keep current method to create single database instance if no extra/new DATABASE configuration exist in database_config.json file.
    
    if user try to configure more db instances at database_config.json , we create those new db instances along with the original db instance existing today.
    
    The configuration is as below, later we can add more db related information if needed:
    {
    ...
    "DATABASE": {
    "redis-db-01" : {
    "port" : "6380",
    "database": ["APPL_DB", "STATE_DB"]
    },
    "redis-db-02" : {
    "port" : "6381",
    "database":["ASIC_DB"]
    },
    }
    ...
    }
    
    The detail description is at design doc at sonic-net/SONiC#271
    
    The main idea is : when database.sh started, we check the configuration and generate corresponding scripts.
    
    rc.local service handle old_config copy when loading new images, there is no dependency between rc.local and database service today, for safety and make sure the copy operation are done before database try to read it, we make database service run after rc.local
    
    Then database docker started, we check the configuration and generate corresponding scripts/.conf in database docker as well.
    
    based on those conf, we create databases instances as required.
    
    at last, we ping_pong check database are up and continue
    
    
Signed-off-by: Dong Zhang d.zhang@alibaba-inc.com
    dzhangalibaba authored and lguohan committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    768beb7 View commit details
    Browse the repository at this point in the history
  5. [platform/cel]: Add new API installer to pmon and base image (#3379)

    * [platform/cel]: Add new api installer
    
    * [device/celestica]: Update APIs to support both pmon and base image
    
    * [device/e1031]: update hwmon name
    Wirut Getbamrung authored and lguohan committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    a5b805e View commit details
    Browse the repository at this point in the history
  6. [syncd-rpc-brcm]: Fix syncd terminated in broadcom rpc image (#3391)

    Signed-off-by: chiourung_huang <chiourung_huang@edge-core.com>
    chiourung authored and lguohan committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    4c36866 View commit details
    Browse the repository at this point in the history
  7. [Mellanox] optimize new platform api (#3289)

    optimize SFP module operations and fix issues.
    
    - split initialization of variant categories of devices and initialize each category of devices only when needed, so that unnecessary dependencies can be avoided.
    - update watchdog logic, only initializing watchdog when referenced.
    - support platform.py and enable to initialize variant devices on a host/docker basis
    - update init so that sonic_platform can be imported as a whole.
    stephenxs authored and lguohan committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    5c2d711 View commit details
    Browse the repository at this point in the history
  8. [swss]: Add hash seed 15 for SpineRouter type (#3390)

    Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
    zhenggen-xu authored and stcheng committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    f920560 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. [platform]: BFN platform modules update (#3389)

    * Fixed initial state for eeprom.py and sfputil.py when thrift server is down
    * Added transceiver plug-in/out event processing
    
    Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
    akokhan authored and lguohan committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    754c0b1 View commit details
    Browse the repository at this point in the history
  2. [build_debian] docker version update for ARM arch (#3353)

    Docker version above 18 has inconsistent behaviour with qemu.
    Hence using the same version 18 used in sonic-slave
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    7bf8fbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3323e9b View commit details
    Browse the repository at this point in the history
  4. [docker-fpm-frr/bgpcfgd]: Update interface of bgpcfgd from swsssdk to…

    … swsscommon (#3264)
    
    Update interfaces of bgpcfd from swsssdk to swsscommon to unify a suit of interface with other component. Meanwhile, we can listen multiple tables at one thread under swsscommon interface.
    
    Signed-off-by: Ze Gan ganze718@gmail.com
    
    - What I did
    Move the interface of bgpcfgd from swsssdk to swsscommon. Because bgpcfgd need to listen more events in the future and we want to maintain one kind of APIs, swsscommon is more suitable than swsssdk.
    
    - How I did it
    Refactor the BGPConfigDaemon to two components, Daemon and BGPConfigManager. We can register new managers to the Daemon object if we want to listen more events.
    Pterosaur authored and lguohan committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    be3cbdb View commit details
    Browse the repository at this point in the history
  5. [libteam]: timerfd read() could return 0 fix (#3393)

    * Update sonic-quagga submodule
    
    * [libteam]: timerfd read() could return 0
    pavel-shirshov authored and yxieca committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    1c06ae6 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Add IPv6 Support in TACACS (#3395)

    * Add patch to support IPv6
    
    * Add support for IPv6
    
    * Remove in-correct changes by IPv6 support patch
    SuvarnaMeenakshi authored Sep 3, 2019
    Configuration menu
    Copy the full SHA
    1b0e900 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2019

  1. [minigraph]: Ignore mirror session portion in minigraph (#3410)

    This piece of information is currently not used. Revert this
    pull request in the future to add back the default mirror
    session information into the configuration database.
    
    Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
    stcheng authored and lguohan committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    063567c View commit details
    Browse the repository at this point in the history
  2. [src/sonic-utilities] Update sonic-utilities submodule (#3405)

    Submodule src/sonic-utilities 4024019:
    
    [doc/command-reference.md] dos2unix & remove trailing spaces (#591)
    [show] Add BGP neighbor info to 'show ip/ipv6 interfaces' command output (#598)
    [config]: fix the runtime error of the 'show line' command (#595) (#596)
    Revert "Removed 'show interfaces alias'. (#412)" (#603)
    [debug][undebug] Rework of CLI for BGP (#583)
    Changing "show runningconfiguration interface" to "show runningconfiguration ports" (#600)
    [config] Add commands to add/remove DHCP server address from a VLAN (#585)
    [neighbor_advertiser] Use full vlan name for vxlan tunnel map programming (#604)
    [neighbor_advertise]: Use the existing MIRROR ACL table (#605)
    Read config DB for running interface(s) and display per port/interface (#594)
    [fast/warm reboot] kill radv docker before stopping BGP (#608)
    [config] Add commands for adding/removing syslog servers (#609)
    [config] Call 'systemctl reset-failed' before 'systemctl restart' when restarting services (#607)
    [Command Reference] Add config commands for DHCP relay destination address (#610)
    [config] Add commands for adding/removing NTP servers (#611)
    [neighbor_advertiser]: Add V6 support to mirror ICMPV6 packets (#612)
    [neighbor advertiser] try getting vlan addresses from o.s first (#613)
    [show] Add command 'show runningconfiguration syslog' (#617)
    [show] Add command 'show runningconfig ntp' (#620)
    Added check to config syslog del to verify if ip address was configured. (#622)
    [fast-reboot] Check if ASIC config has changed before warm reboot (#621)
    
    Signed-off-by: Danny Allen daall@microsoft.com
    daall authored and lguohan committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    47504d1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2019

  1. [build_debian] Include checksum of ASIC config files in SONiC filesys…

    …tem (#3384)
    
    [build_debian] Generate checksum of ASIC config files
    
    * Adds script to generate checksums for ASIC config files
    * Adds step to build_debian that copies ASIC config checksum into SONiC filesystem
    
    Signed-off-by: Danny Allen daall@microsoft.com
    daall authored Sep 6, 2019
    Configuration menu
    Copy the full SHA
    cfcf305 View commit details
    Browse the repository at this point in the history
  2. [devices]: Adding platform support for Juniper QFX5210 (#3270)

    This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
    on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
    Intel Broadwell-DE. The machine has Redundant and hot-swappable
    Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper authored and lguohan committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    fdcb69d View commit details
    Browse the repository at this point in the history
  3. Use dot1p to tc mapping for backend switches (#3412)

    * Use dot1p to tc mapping for backend switches
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    
    * Do not write DSCP to TC mapping into CONFIG_DB or config_db.json for
    storage switches
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    wendani authored and lguohan committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    ca43dad View commit details
    Browse the repository at this point in the history
  4. [dhcp_relay]:filter out the ipv6 address of dhcp server for dhcp rela… (

    #3397)
    
    * [dhcp_relay]:filter out the ipv6 address of dhcp server for dhcp relay(v4) config file.
    
    Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
    wangshengjun authored and lguohan committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    9fdc6bd View commit details
    Browse the repository at this point in the history
  5. [DELL][S6000] Platform 2.0 TransceiverChange Support (#3414)

    Implemented remaining APIs in s6100,z9100,s6000
    Removed soft link in s6100,s6000,z9100 and implemented seperately
    Implemented get_transceiver_change_event in S6000
    sridhar-ravindran authored and lguohan committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    309af83 View commit details
    Browse the repository at this point in the history
  6. [device/celestica]: Update new platform APIs (#3415)

    * [device/celestica]: Update fan and psu apis
    
    * [device/celestica]: Update sfp apis
    Wirut Getbamrung authored and lguohan committed Sep 6, 2019
    Configuration menu
    Copy the full SHA
    150ee07 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d47ec52 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. Configuration menu
    Copy the full SHA
    4bad5ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    584ac01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a27f127 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1158c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2019

  1. Configuration menu
    Copy the full SHA
    aa76ef3 View commit details
    Browse the repository at this point in the history
  2. [devices]: Update arista submodule (#3431)

    - Add support for fans in new platform API
    - Mount platform API in pmon for arista platforms
    zzhiyuan authored and lguohan committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    2095d6e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2019

  1. [sonic-slave]: Updated version of ctypesgen.py has a different name (#…

    …3434)
    
    * Fix the build. Updated version of ctypesgen.py has a different name
    pavel-shirshov authored and lguohan committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    db90d4c View commit details
    Browse the repository at this point in the history
  2. [device][accton] Add as5812-54t. (#3428)

    * Verified as5812_54t platfrom, except SDK and monitor.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Add as5812-54t to build its debian package.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Use the right cpld read/write api.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Update device paths.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * update psu driver, correct python lib location.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    
    * Give a default return value.
    Signed-off-by: roy_lee <roy_lee@accton.com>
    roylee123 authored and lguohan committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    9179990 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9310e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    372f786 View commit details
    Browse the repository at this point in the history
  5. [Juniper][QFX5210] Optoe driver for SFP management (#3438)

    * Adding platform support for Juniper QFX5210
    
    This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
    on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
    Intel Broadwell-DE. The machine has Redundant and hot-swappable
    Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    
    * [Juniper][QFX5210] Optoe driver for SFP management
    
    This commit implements the following changes
     - Moving to optoe driver for sfp management
     - Removing the old sfp driver
     - Updating the port-config.ini to add the index field
     - Correction in sfputil.py to incorporate optoe driver
     - Platform support for 'poweroff' command
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper authored and lguohan committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    3ff0c4d View commit details
    Browse the repository at this point in the history
  6. [build]: sonic arm64 changes (#3419)

    Marvell arm64 changes over sonic
    
    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    11258e5 View commit details
    Browse the repository at this point in the history
  7. [build]: Sonic installer script for armhf (#3303)

    Signed-off-by: Antony Rheneus <arheneus@marvell.com>
    antony-rheneus authored and lguohan committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    23a3faf View commit details
    Browse the repository at this point in the history
  8. [submodule update]: Advance sonic-dbsyncd (#3440)

    * [submodule update]: Advance sonic-dbsyncd
    pavel-shirshov authored Sep 11, 2019
    Configuration menu
    Copy the full SHA
    2114b21 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2019

  1. Configuration menu
    Copy the full SHA
    0e62280 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbbd3db View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2019

  1. [baseimage]: fix monit configuration (#3448)

    - monit config broke by one monit upgrade
    - abandon sed approach since it is suspestible to monit config changes
    - use unixsocket instead of httpd due to a bug in 5.20.0
    lguohan authored Sep 13, 2019
    Configuration menu
    Copy the full SHA
    95a72b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da2ae49 View commit details
    Browse the repository at this point in the history
  3. [cron.d] Add cron job to periodically clean-up core files (#3449)

    * [cron.d] Create cron job to periodically clean-up core files
    * Create script to scan /var/core and clean-up older core files
    * Create cron job to run clean-up script
    
    Signed-off-by: Danny Allen <daall@microsoft.com>
    
    * Update interval for running cron job
    
    * Respond to feedback
    
    * Change syslog id
    daall authored and yxieca committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    97c675c View commit details
    Browse the repository at this point in the history
  4. [Qos] use dot1p to tc mapping for backend switches (#3422)

    * Use dot1p to tc mapping for backend switches
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    
    * Do not write DSCP to TC mapping into CONFIG_DB or config_db.json for
    storage switches
    
    Signed-off-by: Wenda Ni <wenni@microsoft.com>
    wendani authored and lguohan committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    81aef6b View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2019

  1. Merge pull request #3363 from ArunSaravananBalachandran/platform2.0_s…

    …6100
    
    DellEMC S6100 : Platform2.0 API implementation [Module, Thermal]
    sujinmkang authored Sep 14, 2019
    Configuration menu
    Copy the full SHA
    faa754f View commit details
    Browse the repository at this point in the history
  2. [snmpd]: Fix possible snmpd crash when sub agen timeout. (#3455)

    Upon snmpd closes a netsnmp_agent_session due to snmp_timeout
    there is a possibility of crash due to stale memory access.
    
    This is a patch from source-forge:net-snmp. commit-id #793d59
    renukamanavalan authored and lguohan committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    72e879e View commit details
    Browse the repository at this point in the history
  3. [build] Avoid race condition in sonic-platform-common (#3457)

    Both python2 and python3 wheels being built out of the same
    source directory can interfere with each other when
    SONIC_BUILD_JOBS > 1.
    
    Signed-off-by: Greg Paussa <greg.paussa@broadcom.com>
    gpaussabrcm authored and lguohan committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    a2cd26a View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2019

  1. [devices]: DellEMC Z9264f_50gProfile: Added support for 50G T0 profile (

    #3418)
    
    * Z9264f_50gProfile: Added support for 50g profile
    aravindmani-1 authored and lguohan committed Sep 15, 2019
    Configuration menu
    Copy the full SHA
    ac1d2c1 View commit details
    Browse the repository at this point in the history
  2. [sflow]: Build infrastructure changes to support sflow docker and uti…

    …lities (#3251)
    
    Introduce a new "sflow" container (if ENABLE_SFLOW is set). The new docker will include:
    hsflowd : host-sflow based daemon is the sFlow agent
    psample : Built from libpsample repository. Useful in debugging sampled packets/groups.
    sflowtool : Locally dump sflow samples (e.g. with a in-unit collector)
    
    In case of SONiC-VS, enable psample & act_sample kernel modules.
    
    VS' syncd needs iproute2=4.20.0-2~bpo9+1 & libcap2-bin=1:2.25-1 to support tc-sample
    
    tc-syncd is provided as a convenience tool for debugging (e.g. tc-syncd filter show ...)
    padmanarayana authored and lguohan committed Sep 15, 2019
    Configuration menu
    Copy the full SHA
    75104bb View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. Configuration menu
    Copy the full SHA
    1cbc99d View commit details
    Browse the repository at this point in the history
  2. [baseimage]: Management vrf ntp support (#3204)

    This commit adds NTP support for management VRF using L3mdev. Config vrf add
    mgmt will enable management VRF, enslave the eth0 device to the master device
    mgmt, stop ntp service in default, restart interfaces-configs and restart ntp
    service in mgmt-vrf context. Requirement and design are covered in mgmt vrf
    design document.
    
    Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
    Harish Venkatraman authored and lguohan committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    31d1a76 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3381 from ArunSaravananBalachandran/platform2.0

    DellEMC : Platform2.0 API Implementation for Chassis [S6000, S6100, Z9100], Fan [S6000]
    sujinmkang authored Sep 16, 2019
    Configuration menu
    Copy the full SHA
    a62ab78 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

  1. [Mellanox] platform_reboot - sync & umount fs before power cycle (#3430)

    Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
    mykolaf authored and lguohan committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    124b26d View commit details
    Browse the repository at this point in the history
  2. [DELL] S6100 Support PowerCycle in Last Reboot Reason (#3403)

    * [DELL] S6100 Support PowerCycle in Last Reboot Reason
    
    * handle first time boot properly
    
    * S6000 Last Reboot Reason Fix
    sridhar-ravindran authored and sujinmkang committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    3c0b56a View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2019

  1. Install Iptables rules to set TCPMSS for 'lo' interface (#3452)

    * Install Iptables rules to set TCPMSS for lo interface
    * Moved implementation to hostcfgd to maintain at one place
    prsunny authored Sep 18, 2019
    Configuration menu
    Copy the full SHA
    8ca1eb2 View commit details
    Browse the repository at this point in the history
  2. [lldp]: expose lldpcli command of lldp docker to host (#3473)

    Lldp can not be configured in host environment, so we expose lldpcli command of lldp docker to host for configuring more convenient.
    yangshp1987 authored and lguohan committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    503d87b View commit details
    Browse the repository at this point in the history
  3. [submodule update]: Advance sonic-platform-common submodule. (#3468)

    Commits on Aug 15, 2019
    [sonic_sfp] Fix global name about sfp module is not defined (#53) 04014b6
    
    Commits on Aug 20, 2019
    [xcvrd] Fix crashing due to missing fields of some module types (#54) c011c73
    Remove duplicated sonic_eeprom and create symlink (#55) 087593e
    
    Commits on Sep 10, 2019
    [sfp_base] Raise exceptions (previously was incorrectly returning the… c21507e
    Added new API to interact with the platform components (#60) 33b037d
    
    Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
    nazariig authored and lguohan committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    bbba3c7 View commit details
    Browse the repository at this point in the history
  4. [submodule update]: Advance sonic-utilities submodule. (#3466)

    Commits on Sep 10, 2019
    [config] Add commands to remove BGP neighbor configuration (#625) da5cc8c
    
    Commits on Sep 12, 2019
    [config] Reset failed status of all SONiC services, whether or not th… b943d67
    
    Commits on Sep 13, 2019
    [warm-reboot]: Do not clean up mirror session state database (#639) cbcdc82
    
    Commits on Sep 17, 2019
    Add SSD Health CLI utility (#587) 065414a
    Fixed config Asym PFC CLI. (#632) c1c53f5
    
    Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
    nazariig authored and lguohan committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    19ffb02 View commit details
    Browse the repository at this point in the history
  5. DellEMC S6000 : Platform2.0 API implementation [PSU, Thermal] (#3357)

    * DellEMC S6000 : Platform2.0 API implementation [PSU, Thermal]
    
    * Fix invalid number of arguments error
    
    * DellEMC S6000 : Platform2.0 [ Thermal ]
    
    * DellEMC S6000 : Platform2.0 API [PSU, Thermal]
    
    * Updated merge changes
    ArunSaravananBalachandran authored and sujinmkang committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    6ca0d7b View commit details
    Browse the repository at this point in the history
  6. DellEMC Z9100 : Platform2.0 API implementation [PSU, Thermal] (#3361)

    * DellEMC Z9100 : Platform2.0 API implementation [PSU, Thermal]
    
    * DellEMC Z9100 : Platform2.0 API [ Thermal ]
    
    * DellEMC Z9100 : Platform2.0 API [PSU, Thermal]
    ArunSaravananBalachandran authored and sujinmkang committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    5c9348b View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. [SNMP] management VRF SNMP support (#2608)

    * [SNMP] management VRF SNMP support
    
    This commit adds SNMP support for Management VRF using l3mdev.
    The patch included provides VRF support, there is no single
    "listendevice" configuration, rather multiple agentaddress
    config options can each have their own "interface" to bind to
    using "ip%interface". The snmpd.conf file is accordingly
    generated using the snmp.yml file and redis database info.
    
    Adding below the comments of SNMP patch 1376
    --------------------------------------------
    Since the Linux kernel added support for Virtual Routing
    and Forwarding (VRF) in version 4.3
    (Note: these won't compile on non-linux platforms)
    
    https://www.kernel.org/doc/Documentation/networking/vrf.txt
    
    Linux users could not use snmpd in its current form to
    bind specific listening IP addresses to specific VRF
    devices. A simplified description of a VRF inteface
    is an interface that is a master (a container of sorts)
    that collects a set of physicalinterfaces to form a
    routing table.
    
    This set of two patches (one for V5-7-patches and one
    for V5-8-patches branches) is almost identical to patch
    single "listendevice" configuration. Rather, multiple
    agentAddress config options can each have their own
    "interface" to bind to using the <ip>%<interface>
    syntax.</interface></ip>
    -------------------------------------------
    
    Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
    Harish Venkatraman authored and lguohan committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    9d2d617 View commit details
    Browse the repository at this point in the history