Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

201911 #198

Merged
merged 104 commits into from
Jul 7, 2020
Merged

201911 #198

merged 104 commits into from
Jul 7, 2020

Commits on May 23, 2020

  1. [201911][sonic-platform-common]: Advance submodule (#4635)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored May 23, 2020
    Configuration menu
    Copy the full SHA
    12fb95c View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Fix vrf test failed after frr update to 7.2 (#3763)

    Tyler Li authored and lguohan committed May 27, 2020
    Configuration menu
    Copy the full SHA
    16d9fc8 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. [Mellanox] Fix 'sensors.conf' mapping for MSN4700 (#4511)

    * [Mellanox] Fix 'sensors.conf' mapping for SN4700
    
    Signed-off-by: Shlomi Bitton <[email protected]>
    
    * Fix some labels name
    shlomibitton authored and abdosi committed May 28, 2020
    Configuration menu
    Copy the full SHA
    3ca65bd View commit details
    Browse the repository at this point in the history
  2. DellEMC: get_change_event Platform API implementation for S6000, S610…

    …0 and Z9100 (#4593)
    
    For detecting transceiver change events through xcvrd in DellEMC S6000, S6100 and Z9100 platforms.
    
    - In S6000, rename 'get_transceiver_change_event' in chassis.py to 'get_change_event' and return appropriate values.
    - In S6100, implement 'get_change_event' through polling method (poll interval = 1 second) in chassis.py (Transceiver insertion/removal does not generate interrupts due to a CPLD bug)
    - In Z9100, implement 'get_change_event' through interrupt method using select.epoll().
    ArunSaravananBalachandran authored and abdosi committed May 28, 2020
    Configuration menu
    Copy the full SHA
    98b8d1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5969470 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a693f02 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

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

Commits on Jun 3, 2020

  1. [caclmgrd] Add some default ACCEPT rules and lastly drop all incoming…

    … packets (#4412)
    
    Modified caclmgrd behavior to enhance control plane security as follows:
    
    Upon starting or receiving notification of ACL table/rule changes in Config DB:
    1. Add iptables/ip6tables commands to allow all incoming packets from established TCP sessions or new TCP sessions which are related to established TCP sessions
    2. Add iptables/ip6tables commands to allow bidirectional ICMPv4 ping and traceroute
    3. Add iptables/ip6tables commands to allow bidirectional ICMPv6 ping and traceroute
    4. Add iptables/ip6tables commands to allow all incoming Neighbor Discovery Protocol (NDP) NS/NA/RS/RA messages
    5. Add iptables/ip6tables commands to allow all incoming IPv4 DHCP packets
    6. Add iptables/ip6tables commands to allow all incoming IPv6 DHCP packets
    7. Add iptables/ip6tables commands to allow all incoming BGP traffic
    8. Add iptables/ip6tables commands for all ACL rules for recognized services (currently SSH, SNMP, NTP)
    9. For all services which we did not find configured ACL rules, add iptables/ip6tables commands to allow all incoming packets for those services (allows the device to accept SSH connections before the device is configured)
    10. Add iptables rules to drop all packets destined for loopback interface IP addresses
    11. Add iptables rules to drop all packets destined for management interface IP addresses
    12. Add iptables rules to drop all packets destined for point-to-point interface IP addresses
    13. Add iptables rules to drop all packets destined for our VLAN interface gateway IP addresses
    14. Add iptables/ip6tables commands to allow all incoming packets with TTL of 0 or 1 (This allows the device to respond to tools like tcptraceroute)
    15. If we found control plane ACLs in the configuration and applied them, we lastly add iptables/ip6tables commands to drop all other incoming packets
    jleveque authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    ac957a0 View commit details
    Browse the repository at this point in the history
  2. [caclmgrd] Ignore keys in interface-related tables if no IP prefix is…

    … present (#4581)
    
    Since the introduction of VRF, interface-related tables in ConfigDB will have multiple entries, one of which only contains the interface name and no IP prefix. Thus, when iterating over the keys in the tables, we need to ignore the entries which do not contain IP prefixes.
    jleveque authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    1e59be8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2c0ed8 View commit details
    Browse the repository at this point in the history
  4. [sonic-slave]: add debian packages needed to compile BRCM SAI3.7 (#4672)

    both for sonic-slave-stretch and sonic-slave-buster
    abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    e00d038 View commit details
    Browse the repository at this point in the history
  5. [caclmgrd] Get first VLAN host IP address via next() (#4685)

    I found that with IPv4Network types, calling list(ip_ntwrk.hosts()) is reliable. However, when doing the same with an IPv6Network, I found that the conversion to a list can hang indefinitely. This appears to me to be a bug in the ipaddress.IPv6Network implementation. However, I could not find any other reports on the web.
    
    This patch changes the behavior to call next() on the ip_ntwrk.hosts() generator instead, which returns the IP address of the first host.
    jleveque authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    913d380 View commit details
    Browse the repository at this point in the history
  6. [DellEmc] Changes to suppot new portmap for s5232f t0 config (#4670)

    To support t0 config
    srideepDell authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    0de051a View commit details
    Browse the repository at this point in the history
  7. Update sonic-restapi (#4692)

    Auto restart restapi server after cert rollover
    sumukhatv authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    6ca112e View commit details
    Browse the repository at this point in the history
  8. [build] 'make reset' target will continue recursive operations if any…

    … fail (#4675)
    
    This change allows the recursive `git clean` and `git reset` commands to continue even if they encounter an error in one of the submodules. Previously, if an error was encountered, the operation would terminate with a message similar to the following:
    
    Stopping at 'src/sonic-mgmt-framework'; script returned non-zero status.
    jleveque authored and abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    f9bb26f View commit details
    Browse the repository at this point in the history
  9. [Submodule update] sonic-swss

     [aclorch] Add support for creating ingress and egress MIRROR tables
     concurrently (#1286)
    [proxy_arp] Implement proxy ARP feature (#1302)
    Fix LAG member test case (#1304)
    [orchagent] Set default MTU for the underlay loopback interface (#1299)
    abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    3530695 View commit details
    Browse the repository at this point in the history
  10. [Submodule update] sonic-swss-common

      Fix memory leak in pyext when Selectable is returned to Python (#343)
    abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    8a66d9a View commit details
    Browse the repository at this point in the history
  11. [Submodule update] sonic-util

    Make sure db_migrator is run after all config are loaded during (#926)
    Vnet alias mapping (#924)
    Changes to make lldp show command for multi-npu platforms. (#914)
    [Mellanox] Fix thermal control issue: use natural sort for fan
    status and thermal status (#836)
    [Mellanox] add document for thermal control related cli (#832)
    abdosi committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    007eeec View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. Configuration menu
    Copy the full SHA
    fe8d461 View commit details
    Browse the repository at this point in the history
  2. [Mellanox] Update SAI, SDK 4.4.0928 and FW xx.2007.1208 (#4704)

    Signed-off-by: Volodymyr Samotiy <[email protected]>
    Volodymyr Samotiy authored Jun 4, 2020
    Configuration menu
    Copy the full SHA
    e73a5f1 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. SAI 3.7.5.1 (#4710)

    judyjoseph authored Jun 8, 2020
    Configuration menu
    Copy the full SHA
    ccf12d2 View commit details
    Browse the repository at this point in the history
  2. [submodule update] sonic-swss

     Corrected the copp rule as per NAT HLD (#1300)
    abdosi committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    b5a419e View commit details
    Browse the repository at this point in the history
  3. [201911][thermal control] Backport feature from master branch (#4677)

    Backport thermal control feature from master branch to 201911 branch by cherry-picking commits and manually resolving conflicts.
    Junchao-Mellanox authored Jun 8, 2020
    Configuration menu
    Copy the full SHA
    0a70571 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2020

  1. [201911] DellEMC: Skip thermalctld and thermal platform API changes (#…

    …4752)
    
    **- Why I did it**
    
    - Skip thermalctld in DellEMC S6000, S6100, Z9100 and Z9264 platforms.
    - Change the return type of thermal Platform APIs in DellEMC S6000, S6100 and Z9100 platforms to 'float'.
    
    **- How I did it**
    
    - Add 'skip_thermalctld:true' in pmon_daemon_control.json for DellEMC S6000, S6100, Z9100 and Z9264 platforms.
    - Made changes in thermal.py, for 'get_temperature', 'get_high_threshold' and 'get_low_threshold' to return 'float' value.
    
    **- How to verify it**
    
    - Check thermalctld is not running in 'pmon'.
    - Wrote a python script to load Chassis class and then call the APIs accordingly and verify the return type.
    ArunSaravananBalachandran authored Jun 11, 2020
    Configuration menu
    Copy the full SHA
    093d773 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. [Mellanox] Add ONIE and SSD platform components. (#4764)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    50f4e7d View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. [Mellanox] Initialize system LED color to green for 201911 (#4743)

    * [Mellanox] Initialize system LED color to green for 201911
    
    * Rename variable to make it more readable
    Junchao-Mellanox authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    62690f5 View commit details
    Browse the repository at this point in the history
  2. [baseimage]: Run fsck filesystem check support prior mounting filesys…

    …tem (#4431)
    
    * Run fsck filesystem check support prior mounting filesystem
    
    If the filesystem become non clean ("dirty"), SONiC does not run fsck to
    repair and mark it as clean again.
    
    This patch adds the functionality to run fsck on each boot, prior to the
    filesystem being mounted. This allows the filesystem to be repaired if
    needed.
    
    Note that if the filesystem is maked as clean, fsck does nothing and simply
    return so this is perfectly fine to call fsck every time prior to mount the
    filesystem.
    
    How to verify this patch (using bash):
    
    Using an image without this patch:
    
    Make the filesystem "dirty" (not clean)
    [we are making the assumption that filesystem is stored in /dev/sda3 - Please adjust depending of the platform]
    [do this only on a test platform!]
    
    dd if=/dev/sda3 of=superblock bs=1 count=2048
    printf "$(printf '\\x%02X' 2)" | dd of="superblock" bs=1 seek=1082 count=1 conv=notrunc &> /dev/null
    dd of=/dev/sda3 if=superblock bs=1 count=2048
    
    Verify that filesystem is not clean
    tune2fs -l /dev/sda3 | grep "Filesystem state:"
    
    reboot and verify that the filesystem is still not clean
    Redo the same test with an image with this patch, and verify that at next reboot the filesystem is repaired and becomes clean.
    
    fsck log is stored on syslog, using the string FSCK as markup.
    olivier-singla authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    18bbbb3 View commit details
    Browse the repository at this point in the history
  3. [systemd] Relocate all SONiC unit files to /usr/lib/systemd/system (#…

    …4673)
    
    This will allow us to disable services and have it persist across reboots by using the `systemctl mask` operation
    jleveque authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    42bc14f View commit details
    Browse the repository at this point in the history
  4. [hostcfgd] Get service enable/disable feature working (#4676)

    Fix hostcfgd so that changes to the "FEATURE" table in ConfigDB are properly handled. Three changes here:
    
    1. Fix indenting such that the handling of each key actually occurs in the for key in status_data.keys(): loop
    2. Add calls to sudo systemctl mask and sudo systemctl unmask as appropriate to ensure changes persist across reboots
    3. Substitute returns with continues so that even if one service fails, we still try to handle the others
    
    Note that the masking is persistent, even if the configuration is not saved. We may want to consider only calling systemctl enable/disable in hostcfgd when the DB table changes, and only call systemctl mask/unmask upon calling config save.
    jleveque authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    ed0e6ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d10b597 View commit details
    Browse the repository at this point in the history
  6. [ntp] disable ntp long jump (#4748)

    Found another syncd timing issue related to clock going backwards.
    To be safe disable the ntp long jump.
    
    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    aecebac View commit details
    Browse the repository at this point in the history
  7. [DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718)

    **- Why I did it**
    
    For decoding system EEPROM of S6000 based on Dell offset format and S6000-ON’s system EEPROM in ONIE TLV format.
    
    **- How I did it**
    
    - Differentiate between S6000 and S6000-ON using the product name available in ‘dmi’  ( “/sys/class/dmi/id/product_name” )
    - For decoding S6000 system EEPROM in Dell offset format and updating the redis DB with the EEPROM contents, added a new class ‘EepromS6000’ in eeprom.py, 
    - Renamed certain methods in both Eeprom, EepromS6000 classes to accommodate the plugin-specific methods.
    
    **- How to verify it**
    
    - Use 'decode-syseeprom' command to list the system EEPROM details.
    - Wrote a python script to load chassis class and call the appropriate methods.
    
    UT Logs: [S6000_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735515/S6000_eeprom_logs.txt), [S6000-ON_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735461/S6000-ON_eeprom_logs.txt)
    Test script: [eeprom_test_py.txt](https://github.com/Azure/sonic-buildimage/files/4735509/eeprom_test_py.txt)
    ArunSaravananBalachandran authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    030570d View commit details
    Browse the repository at this point in the history
  8. Submodule update - sonic-restapi (#4749)

    prsunny authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    b4f45e9 View commit details
    Browse the repository at this point in the history
  9. Fix MSN4700 sensors (#4753)

    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    eb2fe4b View commit details
    Browse the repository at this point in the history
  10. [build] Enable telemetry service by default (#4760)

    **- Why I did it**
    To ensure telemetry service is enabled by default after installing a fresh SONiC image
    
    **- How I did it**
    Set telemetry feature status to "enabled" when generating init_cfg.json file
    jleveque authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    c625e0e View commit details
    Browse the repository at this point in the history
  11. [bgp]:Add redistribution connected for ipv6 also for Frontend ASICs (#…

    …4767)
    
    * fix redistribution connected for ipv6 also
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    arlakshm authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    c5807c2 View commit details
    Browse the repository at this point in the history
  12. [k8s]: switching to Flannel from Calico. (#4768)

    Switching to Flannel from Calico which brings down the image size by around 500+MB.
    renukamanavalan authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    f8a9a1b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    143e4f5 View commit details
    Browse the repository at this point in the history
  14. [docker-syncd] Add timeout to force stop syncd container (#4617)

    **- Why I did it**
    When I tested auto-restart feature of swss container by manually killing one of critical processes in it, swss will be stopped. Then syncd container as the peer container should also be
    stopped as expected. However, I found sometimes syncd container can be stopped, sometimes
    it can not be stopped. The reason why syncd container can not be stopped is the process
    (/usr/local/bin/syncd.sh stop) to execute the stop() function will be stuck between the lines 164 –167. Systemd will wait for 90 seconds and then kill this process.
    
    164 # wait until syncd quit gracefully
    165 while docker top syncd$DEV | grep -q /usr/bin/syncd; do
    166 sleep 0.1
    167 done
    
    The first thing I did is to profile how long this while loop will spin if syncd container can be
    normally stopped after swss container is stopped. The result is 5 seconds or 6 seconds. If syncd
    container can be normally stopped, two messages will be written into syslog:
    
    str-a7050-acs-3 NOTICE syncd#dsserve: child /usr/bin/syncd exited status: 134
    str-a7050-acs-3 INFO syncd#supervisord: syncd [5] child /usr/bin/syncd exited status: 134
    
    The second thing I did was to add a timer in the condition of while loop to ensure this while loop will be forced to exit after 20 seconds:
    
    After that, the testing result is that syncd container can be normally stopped if swss is stopped
    first. One more thing I want to mention is that if syncd container is stopped during 5 seconds or 6 seconds, then the two log messages can be still seen in syslog. However, if the execution 
    time of while loop is longer than 20 seconds and is forced to exit, although syncd container can be stopped, I did not see these two messages in syslog. Further, although I observed the auto-restart feature of swss container can work correctly right now, I can not make sure the issue which syncd container can not stopped will occur in future.
    
    **- How I did it**
    I added a timer around the while loop in stop() function. This while loop will exit after spinning
    20 seconds.
    
    Signed-off-by: Yong Zhao <[email protected]>
    yozhao101 authored and abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    4846fc0 View commit details
    Browse the repository at this point in the history
  15. [Submodule update] sonic-util

     [201911][thermal control] Backport changes from master branch (#929)
         [201911][config] Support abbreviation (#933)
           Add 'hw-management-generate-dump.sh' to 'show techsupport'
           command (#934)
           [fwutil]: Update fwutil to v2.0.0.0. (#942)
           Fixes bug for PFCWD feature parameters (#838)
         Fixed fast-reboot for BFN platform (#871)
         [config] Add 'interface transceiver' subgroup with 'lpmode' and
         'reset' subcommands (#904)
          [warm-reboot]: added pre-check for ISSU file (#915)
           [config] Don't attempt to restart disabled services (#944)
    abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    c656b4c View commit details
    Browse the repository at this point in the history
  16. [Submodule update] sonic-swss

    Revert "[portsorch] Enable port-level buffer drop counters (#1237)"
    (#1308) Add more log message, fix test code (#1239)
    abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    96a8e24 View commit details
    Browse the repository at this point in the history
  17. [submodule update] sonic-platfrom-daemons

    [syseepromd] Prevent the syseepromd from termination (#56)
     [thermalctld] Fix invalid warning status (#58)
    abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    85eb651 View commit details
    Browse the repository at this point in the history
  18. [submodule update] sonic-swss-common

     Add missed BGP tables into the schema (#351)
    abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    a30a2ce View commit details
    Browse the repository at this point in the history
  19. [submodule update] sonic-platform-common

    [eeprom] Add try-except to catch the IOError (#85)
    [sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed
     to read from it (#81)
    abdosi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    bce65bb View commit details
    Browse the repository at this point in the history
  20. [Mellanox] Update SDK 4.4.0940 and FW xx.2007.1244 (#4777)

    Volodymyr Samotiy authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    2f82cce View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. [build] Ensure /usr/lib/systemd/system/ directory exists before refer…

    …encing (#4788)
    
    * Fix the Build on 201911 (Stretch) where the directory
    /usr/lib/systemd/system/ does not exist so creating
    manually. Change should not harm Master (buster) where
    the directory is created by Linux
    
    * Fix as per review comments
    abdosi committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    c2981b8 View commit details
    Browse the repository at this point in the history
  2. [submodule update] sonic-sairedis

    [syncd] Use steady clock for TimerWatchdog (#613)
    abdosi committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    1d384be View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Update MFT to v4.14.5-2. (#4784)

    Signed-off-by: Nazarii Hnydyn <[email protected]>
    nazariig authored and abdosi committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    7b18d9c View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Using (pci) device id to identify the ASIC on sai_switch_create (#4705)

    * Update to sonic_cfggen and utilities to populate the (pci) device id in the "asic_id" field in the DEVICE_METADATA. This Id is parsed from the file "asic.conf" file in the device/<platform> dir. The format of entries are  eg:  for a 2 ASIC platform.
    DEV_ID_ASIC_0=03:00.0
    DEV_ID_ASIC_1=04:00.0
     
    Going forward will use this device id as the asic instance ID passed to syncd/sai while doing create_switch. Current support is limited, supports only one TD2 platform.
    judyjoseph authored Jun 18, 2020
    Configuration menu
    Copy the full SHA
    a6877ad View commit details
    Browse the repository at this point in the history
  2. [baseimage]: incrase docker ramfs from 900MB to 1300MB (#4800)

    Images built from 201911 branch and installed on devices where we mount /var/lib/docker in RAM (because the HDD is small) were failing as there was not enough space to untar docker.tar.gz . This is due to the increase in total number of containers in the image.
    
    As of today, /var/lib/docker contains 1.1 GB of data. Therefore, this PR increases the size of the ramdisk to 1.3 GB to accommodate all the containers as of now and any new container going forward.
    Example output below from an Arista-7050-QX32 SKU:
    
    admin@str-a7050-acs-2:~$ df -h
    Filesystem Size Used Avail Use% Mounted on
    .....
    tmpfs 1.3G 1.1G 221M 84% /var/lib/docker
    .....
    Verified all docker running fine and interfaces/bgp are up.
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    abdosi authored Jun 18, 2020
    Configuration menu
    Copy the full SHA
    9244925 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. kubeadm package apt-get install has unmet dependency error (#4804)

    to other packages so intsalling them explicitly.
    abdosi committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    173168c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. [Submodule update] sonic-dbsyncd (#4801)

    lldp: For multi-npu platforms make sure to add Backplane Interface also
    as Interface Match List.
    abdosi committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    c480de4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    817ce94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ffd870 View commit details
    Browse the repository at this point in the history
  4. [caclmgrd] Don't limit connection tracking to TCP (#4796)

    Don't limit iptables connection tracking to TCP protocol; allow connection tracking for all protocols. This allows services like NTP, which is UDP-based, to receive replies from an NTP server even if the port is blocked, as long as it is in reply to a request sent from the device itself.
    jleveque authored and abdosi committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    d8886ba View commit details
    Browse the repository at this point in the history
  5. [DELL]: FTOS to SONiC fast conversion fixes (#4807)

    While migrating to SONiC 20181130, identified a couple of issues:
    1. union-mount needs /host/machine.conf parameters for vendor specific checks : however, in case of migration, the /host/machine.conf is extracted from ONIE only in https://github.com/Azure/sonic-buildimage/blob/master/files/image_config/platform/rc.local#L127. 
    2. Since grub.cfg is updated to have net.ifnames=0 biosdevname=0, 70-persistent-net.rules changes are no longer required.
    padmanarayana authored and abdosi committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    7564b06 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. [submodule update] sonic-utilities

    Fix for command. show interface transceiver eeprom -d Ethernet (#955)
    Updated natshow script to support DNAT Pool changes (#921)
    abdosi committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    16d39c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. added files to create SKU Mellanox-SN3800-D28C50 (#4809)

    * added files to create SKU Mellanox-SN3800-D28C50
    
    Co-authored-by: Madhan Babu <[email protected]>
    2 people authored and abdosi committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    415000b View commit details
    Browse the repository at this point in the history
  2. modified files relevant to SKU Mellanox-SN3800-D112C8 (#4810)

    * modified files relevant to SKU Mellanox-SN3800-D112C8
    
    Co-authored-by: Madhan Babu <[email protected]>
    2 people authored and abdosi committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    b94c12d View commit details
    Browse the repository at this point in the history
  3. added files to create SKU Mellanox-SN3800-C64 (#4812)

    * added files to create SKU Mellanox-SN3800-C64
    Co-authored-by: Madhan Babu <[email protected]>
    madhanmellanox authored and abdosi committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    67e183d View commit details
    Browse the repository at this point in the history
  4. converting to Platform based utils (#4830)

    Co-authored-by: Madhan Babu <[email protected]>
    madhanmellanox and Madhan Babu authored Jun 23, 2020
    Configuration menu
    Copy the full SHA
    337502c View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. [201911][dockers] Update critical_processes file syntax (#4854)

    Backport of #4831 to the 201911 branch
    yozhao101 authored Jun 26, 2020
    Configuration menu
    Copy the full SHA
    c2364cf View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. [broadcom-sai]: Updated broadcom SAI to fix High CPU on TH/Th2 platfo…

    …rm. (#4859)
    
    Verified after loading on TH platforms cpu usage gone down:
    
    Previous:
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    2521 root 20 0 1512860 360452 63540 S 144.6 4.4 8:00.03 syncd
    
    After Fix:
    7500 root 20 0 1592420 350912 64184 S 45.4 4.3 3:50.99 syncd
    abdosi authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    a84b534 View commit details
    Browse the repository at this point in the history
  2. [BFN] Disabled thermalctld for Barefoot platforms (#4823)

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

Commits on Jun 28, 2020

  1. Configuration menu
    Copy the full SHA
    9db492e View commit details
    Browse the repository at this point in the history
  2. added files to create SKU Mellanox-SN3800-D24C52 (#4808)

    * added files to create SKU Mellanox-SN3800-D24C52
    
    Co-authored-by: Madhan Babu <[email protected]>
    2 people authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    33e2264 View commit details
    Browse the repository at this point in the history
  3. [Mellanox] Change port index in port_config.ini to 1-based (#4781)

    * Change port index in port_config.ini to 1-based
    * Add default port index to port_config.ini, change platform plugins to accept 1-based port index
    * fix port index in sfp_event.py
    Junchao-Mellanox authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    acafde1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1bade2c View commit details
    Browse the repository at this point in the history
  5. [platform-celestica]: Update fancontrol service for Seastone-DX010 de…

    …vice (#3690)
    
    * [platform/cel]: add fancontrol service support for dx010
    
    * [device/celestica]: add hysteresis temp to dx010 fancontrol configuration
    Wirut Getbamrung authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    3d0126b View commit details
    Browse the repository at this point in the history
  6. [fast-reboot] Back up FDB/ARP/Default routes (#4795)

    FDB/ARP/Default routes files are deleted after swssconfig. This
    makes debugging/validation of device conversion hard. This PR
    saves those files in order to facilitate debugging of device conversion.
    
    signed-off-by: Tamer Ahmed <[email protected]>
    tahmed-dev authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    10cd212 View commit details
    Browse the repository at this point in the history
  7. [hostcfgd] Synchronize all feature statuses once upon start (#4714)

    - Ensure all features (services) are in the configured state when hostcfgd starts
    - Better functionalization of code
    - Also replace calls to deprecated `has_key()` method in `tacacs_server_handler()` and `tacacs_global_handler()` with `in` keyword.
    
    This PR depends on sonic-net/sonic-utilities#944, otherwise `config load_minigraph` will fail when trying to restart disabled services.
    jleveque authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    0768bf7 View commit details
    Browse the repository at this point in the history
  8. [build][systemd] Mask disabled services by default (#4721)

    When building the SONiC image, used systemd to mask all services which are set to "disabled" in init_cfg.json.
    
    This PR depends on sonic-net/sonic-utilities#944, otherwise `config load_minigraph will fail when trying to restart disabled services.
    jleveque authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    5df5015 View commit details
    Browse the repository at this point in the history
  9. [DellEMC] S52xx fix SFP reset in 1.0 API (#4858)

    Issue: Port with AOC cable does not come up when "sfputil reset <port_name>" is executed.
    
    Modified the incorrect mask used in reset API to resolve the issue.
    aravindmani-1 authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    2f97faa View commit details
    Browse the repository at this point in the history
  10. [Monit] Use the string "/usr/bin/syncd\s" to monitor the syncd process (

    #4706)
    
    **- Why I did it**
    After discussed with Joe, we use the string "/usr/bin/syncd\s" in Monit configuration file to monitor 
    syncd process on Broadcom and Mellanox. Due to my careless, I did not find this bug during the 
    previous testing. If we use the string "/usr/bin/syncd" in Monit configuration file to monitor the 
    syncd process, Monit will not detect whether syncd process is running or not. 
    
    If we ran the command  `sudo monit procmactch “/usr/bin/syncd”` on Broadcom, there will be three 
    processes in syncd container which matched this "/usr/bin/syncd": `/bin/bash /usr/bin/syncd.sh
    wait`, `/usr/bin/dsserve /usr/bin/syncd –diag -u -p /etc/sai.d/sai.profile` and `/usr/bin/syncd –diag -
    u -p /etc/sai.d/said.profile`. Monit will select the processes with the highest uptime (at there 
    `/bin/bash /usr/bin/syncd.sh wait`) to match and did not select `/usr/bin/syncd –diag -u -p
    /etc/sai.d/said.profile` to match. 
    
    Similarly, On Mellanox Monit will also select the process with the highest uptime (at there 
    `/bin/bash /usr/bin/syncd.sh wait`) to match and did not select `/usr/bin/syncd –diag -u -p
    /etc/sai.d/said.profile` to match.
    
    That is why Monit is unable to detect whether syncd process is running or not if we use the string “/usr/bin/syncd” in Monit configuration file. If we use the string "/usr/bin/syncd\s" in Monit configuration file, Monit can filter out the process `/bin/bash /usr/bin/syncd.sh wait` and thus can correctly monitor the syncd process.
    
    **- How I did it**
    
    **- How to verify it**
    
    Signed-off-by: Yong Zhao <[email protected]>
    yozhao101 authored and abdosi committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    bbcd4c6 View commit details
    Browse the repository at this point in the history
  11. [201911][docker-lldp] Correct lldp-syncd program name in critical_pro…

    …cesses file (#4863)
    
    The program name in critical_processes file must match the program name defined in supervisord.conf file.
    
    Signed-off-by: Yong Zhao <[email protected]>
    yozhao101 authored Jun 28, 2020
    Configuration menu
    Copy the full SHA
    d32beff View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2020

  1. [201911] Add executable permission back to supervisor-proc-exit-liste…

    …ner file (#4891)
    
    While testing reboot case for 201911 facing error:
    supervisor-proc-exit-listener FATAL command at '/usr/bin/supervisor-proc-exit-listener' is not executable
    
    Signed-off-by: Roman Savchuk <[email protected]>
    roman_savchuk authored Jul 3, 2020
    Configuration menu
    Copy the full SHA
    c357a56 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. Disable thermalctld for arista platforms (#4892)

    thermalctld throwing error messages because it is not yet fully configured, disabling it for now on arista platforms.
    
    Co-authored-by: Zhi Yuan Carl Zhao <[email protected]>
    zzhiyuan and Zhi Yuan Carl Zhao authored Jul 5, 2020
    Configuration menu
    Copy the full SHA
    ee13e78 View commit details
    Browse the repository at this point in the history
  2. syslog changes Multi ASIC platforms (#4738)

    Add changes for syslog support for containers running in namespaces on multi ASIC platforms.
    On Multi ASIC platforms
    
    Rsyslog service is only running on the host. There is no rsyslog service running in each namespace.
    On multi ASIC platforms the rsyslog service on the host will be listening on the docker0 ip address instead of loopback address.
    The rsyslog.conf on the containers is modified to have omfwd target ip to be docker0 ipaddress instead of loopback ip
    
    Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
    arlakshm authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    b6b1f3f View commit details
    Browse the repository at this point in the history
  3. Changes to make default route programming correct in multi-npu platfo…

    …rms (#4774)
    
    * Changes to make default route programming
    correct in multi-asic platform where frr is not running
    in host namespace. Change is to set correct administrative distance.
    Also make NAMESPACE* enviroment variable available for all dockers
    so that it can be used when needed.
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    
    * Fix review comments
    
    * Review comment to check to add default route
    only if default route exist and delete is successful.
    abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    75d5e30 View commit details
    Browse the repository at this point in the history
  4. [systemd-generator]: Fix dependency update for multi-asic platform (#…

    …4820)
    
    * [systemd-generator]: Fix the code to make sure that dependencies
    of host services are generated correctly for multi-asic platforms.
    Add code to make sure that systemd timer files are also modified
    to add the correct service dependency for multi-asic platforms.
    
    Signed-off-by: SuvarnaMeenakshi <[email protected]>
    
    * [systemd-generator]: Minor fix, remove debug code and
    remove unused variable.
    SuvarnaMeenakshi authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    fad2d47 View commit details
    Browse the repository at this point in the history
  5. Support for connecting to DB in namespace via TCP port in multi-asic …

    …platform. (#4779)
    
    * Support for connecting to DB in namespace via IP:port ( using docker bridge network ) for applications in multi-asic platform.
    
    * Added the default IP as 127.0.0.1 if the IPaddress derivation from interface fails.
    Moved the localhost loopback IP binding logic into the supervisor.j2 file.
    judyjoseph authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    a80683d View commit details
    Browse the repository at this point in the history
  6. [sonic-buildimage] Changes to make network specific sysctl common for…

    … both host and docker namespace (#4838)
    
    * [sonic-buildimage] Changes to make network specific sysctl
    common for both host and docker namespace (in multi-npu).
    
    This change is triggered with issue found in multi-npu platforms
    where in docker namespace
    net.ipv6.conf.all.forwarding was 0 (should be 1) because of
    which RS/RA message were triggered and link-local router were learnt.
    
    Beside this there were some other sysctl.net.ipv6* params whose value
    in docker namespace is not same as host namespace.
    
    So to make we are always in sync in host and docker namespace
    created common file that list all sysctl.net.* params and used
    both by host and docker namespace. Any change will get applied
    to both namespace.
    
    Signed-off-by: Abhishek Dosi <[email protected]>
    
    * Address Review Comments and made sure to invoke augtool
    only one and do string concatenation of all set commands
    
    * Address Review Comments.
    abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    4869fa7 View commit details
    Browse the repository at this point in the history
  7. Tests of FRR templates which rendered by sonic-cfggen (#4875)

    * Tests of FRR templates which rendered by sonic-cfggen
    pavel-shirshov authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    9c62ce9 View commit details
    Browse the repository at this point in the history
  8. [Dell]: DellEMC S6100 disable pericom/xlinx chipset (#4868)

    - Xilinx/pericom peripherals are not actively used in DellEMC S6100 switch.
    - These peripherals are throwing PCIE corrected messages in some of the units and filling syslog.
    - Since it is not usable disabling it at startup.
    paavaanan authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    369bf88 View commit details
    Browse the repository at this point in the history
  9. [pfx_filter]: Add a prefix mask by default in pfx_filter, when there …

    …is no one (#4860)
    
    If some table with a list of tuples (interface name, ip prefix) has ip prefixes without a mask length, it will cause issues in SONiC. For example quagga and frr will treat ipv4 address without a mask, so "10.20.30.40" address will be treated as "10.0.0.0/8", which is dangerous.
    
    The fix here is that when pfx_filter get a tuple (interface name, ip prefix), where the ip prefix doesn't have prefix mask length, add a mask by default: "/32 for ipv4 addresses, /128 for ipv6 addresses".
    
    Co-authored-by: Pavel Shirshov <[email protected]>
    2 people authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    7d840ba View commit details
    Browse the repository at this point in the history
  10. [mellanox]: Fix for MSN4600C sensors (#4754)

    Signed-off-by: Shlomi Bitton <[email protected]>
    shlomibitton authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    96ef32a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1930b3a View commit details
    Browse the repository at this point in the history
  12. Tests for bgpcfgd templates (#4841)

    * Tests for bgpcfgd templates
    pavel-shirshov authored and abdosi committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    6958441 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. [docker-sonic-mgmt]: Add docker-ce-cli to sonic-mgmt container (#3868)

    In the scope of migration from docker shell plugin to docker connection plugin, we need to have docker-ce-cli installed in docker-sonic-mgmt. sonic-net/sonic-mgmt#1269
    
    Added docker-ce-cli package to docker-sonic-mgmt.
    msosyak authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    35e9d5b View commit details
    Browse the repository at this point in the history
  2. [sonic-mgmt]: Install python-subnettree to sonic-mgmt container. (#3978)

    * Install python-subnettree to sonic-mgmt container.
    iris00522 authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    3eac616 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9e012d View commit details
    Browse the repository at this point in the history
  4. [docker-sonic-mgmt]: set wheel version to 0.33.6 to fix sonic-mgmt bu…

    …ild break
    
    looks like version 0.42 has build issues
    
    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    5310b09 View commit details
    Browse the repository at this point in the history
  5. [docker-sonic-mgmt]: Add the snmp tool to the sonic-mgmt docker (#4110)

    The snmp tool is required for interacting with certain type
    of PDU hosts in platform PSU/power related testing. This
    change is to have the snmp tool pre-built in the sonic-mgmt
    docker image.
    
    Signed-off-by: Xin Wang <[email protected]>
    wangxin authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    db15b88 View commit details
    Browse the repository at this point in the history
  6. [sonic-mgmt]: Support virtual environment for ansible 2.0.0.2 (#4325)

    . env-201811/bin/activate
    
    The ansible 2.0.0.2 will be used.
    xumia authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    d289459 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    276310d View commit details
    Browse the repository at this point in the history
  8. [docker-sonic-mgmt] Merge spytest dependencies into mgmt docker (#4411)

    Signed-off-by: Danny Allen <[email protected]>
    daall authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    1652206 View commit details
    Browse the repository at this point in the history
  9. [docker-sonic-mgmt] Add IxNetwork python client (#4533)

    * Add IxNetwork python client to sonic mgmt docker
    baiwei0427 authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    9b32171 View commit details
    Browse the repository at this point in the history
  10. [docker-sonic-mgmt]: fix pip version to 20.1.1

    Signed-off-by: Guohan Lu <[email protected]>
    lguohan authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    86955e2 View commit details
    Browse the repository at this point in the history
  11. [sonic-mgmt] upgrade paramilo to version 2.7.1 (#4750)

    spytest requires higher paramiko version. Fix it to 2.7.1.
    
    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    3129451 View commit details
    Browse the repository at this point in the history
  12. [sonic-mgmt] upgrade ansible to 2.7.12 (#4751)

    Signed-off-by: Ying Xie <[email protected]>
    yxieca authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    8a26951 View commit details
    Browse the repository at this point in the history
  13. [docker-sonic-mgmt]: import patch to support 'become' and 'become_use…

    …r' arguments in pytest-ansible (#4681)
    ArunSaravananBalachandran authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    abe2d40 View commit details
    Browse the repository at this point in the history
  14. [mgmt docker] Clean up docker-sonic-mgmt dockerfile (#4759)

    - Alphabetize dependencies to prevent duplicates
    - Remove unneccesary git clone
    
    Signed-off-by: Danny Allen <[email protected]>
    daall authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    fbdd775 View commit details
    Browse the repository at this point in the history
  15. [sonic-mgmt]: Support for pytest-html to control logs better (#4791)

    The current stdout file which also includes the dut logs are very verbose and noisy.
    
    We have manually installed it in the sonic-mgmt docker in our organization and tuned the pytest settings to produce very helpful and concise logs.
    
    pytest-html plugins can be used to post-process the output in various ways based on our different and unique organizational needs.
    
    Hence proposing to add this pkt to the docker file
    shubav authored and rlhui committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    b7b602b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a47add5 View commit details
    Browse the repository at this point in the history