-
Notifications
You must be signed in to change notification settings - Fork 15
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
201911 #198
Commits on May 23, 2020
-
[201911][sonic-platform-common]: Advance submodule (#4635)
Signed-off-by: Nazarii Hnydyn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12fb95c - Browse repository at this point
Copy the full SHA 12fb95cView commit details
Commits on May 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 16d9fc8 - Browse repository at this point
Copy the full SHA 16d9fc8View commit details
Commits on May 28, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for 3ca65bd - Browse repository at this point
Copy the full SHA 3ca65bdView commit details -
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().
Configuration menu - View commit details
-
Copy full SHA for 98b8d1e - Browse repository at this point
Copy the full SHA 98b8d1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5969470 - Browse repository at this point
Copy the full SHA 5969470View commit details -
Configuration menu - View commit details
-
Copy full SHA for a693f02 - Browse repository at this point
Copy the full SHA a693f02View commit details
Commits on Jun 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 618d529 - Browse repository at this point
Copy the full SHA 618d529View commit details
Commits on Jun 3, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for ac957a0 - Browse repository at this point
Copy the full SHA ac957a0View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 1e59be8 - Browse repository at this point
Copy the full SHA 1e59be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c0ed8 - Browse repository at this point
Copy the full SHA f2c0ed8View commit details -
[sonic-slave]: add debian packages needed to compile BRCM SAI3.7 (#4672)
both for sonic-slave-stretch and sonic-slave-buster
Configuration menu - View commit details
-
Copy full SHA for e00d038 - Browse repository at this point
Copy the full SHA e00d038View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 913d380 - Browse repository at this point
Copy the full SHA 913d380View commit details -
[DellEmc] Changes to suppot new portmap for s5232f t0 config (#4670)
To support t0 config
Configuration menu - View commit details
-
Copy full SHA for 0de051a - Browse repository at this point
Copy the full SHA 0de051aView commit details -
Auto restart restapi server after cert rollover
Configuration menu - View commit details
-
Copy full SHA for 6ca112e - Browse repository at this point
Copy the full SHA 6ca112eView commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for f9bb26f - Browse repository at this point
Copy the full SHA f9bb26fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3530695 - Browse repository at this point
Copy the full SHA 3530695View commit details -
[Submodule update] sonic-swss-common
Fix memory leak in pyext when Selectable is returned to Python (#343)
Configuration menu - View commit details
-
Copy full SHA for 8a66d9a - Browse repository at this point
Copy the full SHA 8a66d9aView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 007eeec - Browse repository at this point
Copy the full SHA 007eeecView commit details
Commits on Jun 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fe8d461 - Browse repository at this point
Copy the full SHA fe8d461View commit details -
[Mellanox] Update SAI, SDK 4.4.0928 and FW xx.2007.1208 (#4704)
Signed-off-by: Volodymyr Samotiy <[email protected]>
Volodymyr Samotiy authoredJun 4, 2020 Configuration menu - View commit details
-
Copy full SHA for e73a5f1 - Browse repository at this point
Copy the full SHA e73a5f1View commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ccf12d2 - Browse repository at this point
Copy the full SHA ccf12d2View commit details -
Corrected the copp rule as per NAT HLD (#1300)
Configuration menu - View commit details
-
Copy full SHA for b5a419e - Browse repository at this point
Copy the full SHA b5a419eView commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 0a70571 - Browse repository at this point
Copy the full SHA 0a70571View commit details
Commits on Jun 11, 2020
-
[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.
Configuration menu - View commit details
-
Copy full SHA for 093d773 - Browse repository at this point
Copy the full SHA 093d773View commit details
Commits on Jun 15, 2020
-
[Mellanox] Add ONIE and SSD platform components. (#4764)
Signed-off-by: Nazarii Hnydyn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50f4e7d - Browse repository at this point
Copy the full SHA 50f4e7dView commit details
Commits on Jun 16, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for 62690f5 - Browse repository at this point
Copy the full SHA 62690f5View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 18bbbb3 - Browse repository at this point
Copy the full SHA 18bbbb3View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 42bc14f - Browse repository at this point
Copy the full SHA 42bc14fView commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for ed0e6ae - Browse repository at this point
Copy the full SHA ed0e6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d10b597 - Browse repository at this point
Copy the full SHA d10b597View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for aecebac - Browse repository at this point
Copy the full SHA aecebacView commit details -
[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)
Configuration menu - View commit details
-
Copy full SHA for 030570d - Browse repository at this point
Copy the full SHA 030570dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f45e9 - Browse repository at this point
Copy the full SHA b4f45e9View commit details -
Signed-off-by: Shlomi Bitton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb2fe4b - Browse repository at this point
Copy the full SHA eb2fe4bView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for c625e0e - Browse repository at this point
Copy the full SHA c625e0eView commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for c5807c2 - Browse repository at this point
Copy the full SHA c5807c2View commit details -
[k8s]: switching to Flannel from Calico. (#4768)
Switching to Flannel from Calico which brings down the image size by around 500+MB.
Configuration menu - View commit details
-
Copy full SHA for f8a9a1b - Browse repository at this point
Copy the full SHA f8a9a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 143e4f5 - Browse repository at this point
Copy the full SHA 143e4f5View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 4846fc0 - Browse repository at this point
Copy the full SHA 4846fc0View commit details -
[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)
Configuration menu - View commit details
-
Copy full SHA for c656b4c - Browse repository at this point
Copy the full SHA c656b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a8e24 - Browse repository at this point
Copy the full SHA 96a8e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85eb651 - Browse repository at this point
Copy the full SHA 85eb651View commit details -
[submodule update] sonic-swss-common
Add missed BGP tables into the schema (#351)
Configuration menu - View commit details
-
Copy full SHA for a30a2ce - Browse repository at this point
Copy the full SHA a30a2ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for bce65bb - Browse repository at this point
Copy the full SHA bce65bbView commit details -
[Mellanox] Update SDK 4.4.0940 and FW xx.2007.1244 (#4777)
Volodymyr Samotiy authoredJun 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 2f82cce - Browse repository at this point
Copy the full SHA 2f82cceView commit details
Commits on Jun 17, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for c2981b8 - Browse repository at this point
Copy the full SHA c2981b8View commit details -
[submodule update] sonic-sairedis
[syncd] Use steady clock for TimerWatchdog (#613)
Configuration menu - View commit details
-
Copy full SHA for 1d384be - Browse repository at this point
Copy the full SHA 1d384beView commit details -
[Mellanox] Update MFT to v4.14.5-2. (#4784)
Signed-off-by: Nazarii Hnydyn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b18d9c - Browse repository at this point
Copy the full SHA 7b18d9cView commit details
Commits on Jun 18, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for a6877ad - Browse repository at this point
Copy the full SHA a6877adView commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 9244925 - Browse repository at this point
Copy the full SHA 9244925View commit details
Commits on Jun 19, 2020
-
kubeadm package apt-get install has unmet dependency error (#4804)
to other packages so intsalling them explicitly.
Configuration menu - View commit details
-
Copy full SHA for 173168c - Browse repository at this point
Copy the full SHA 173168cView commit details
Commits on Jun 20, 2020
-
[Submodule update] sonic-dbsyncd (#4801)
lldp: For multi-npu platforms make sure to add Backplane Interface also as Interface Match List.
Configuration menu - View commit details
-
Copy full SHA for c480de4 - Browse repository at this point
Copy the full SHA c480de4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 817ce94 - Browse repository at this point
Copy the full SHA 817ce94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ffd870 - Browse repository at this point
Copy the full SHA 9ffd870View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for d8886ba - Browse repository at this point
Copy the full SHA d8886baView commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 7564b06 - Browse repository at this point
Copy the full SHA 7564b06View commit details
Commits on Jun 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 16d39c6 - Browse repository at this point
Copy the full SHA 16d39c6View commit details
Commits on Jun 23, 2020
-
added files to create SKU Mellanox-SN3800-D28C50 (#4809)
* added files to create SKU Mellanox-SN3800-D28C50 Co-authored-by: Madhan Babu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 415000b - Browse repository at this point
Copy the full SHA 415000bView commit details -
modified files relevant to SKU Mellanox-SN3800-D112C8 (#4810)
* modified files relevant to SKU Mellanox-SN3800-D112C8 Co-authored-by: Madhan Babu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b94c12d - Browse repository at this point
Copy the full SHA b94c12dView commit details -
added files to create SKU Mellanox-SN3800-C64 (#4812)
* added files to create SKU Mellanox-SN3800-C64 Co-authored-by: Madhan Babu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e183d - Browse repository at this point
Copy the full SHA 67e183dView commit details -
converting to Platform based utils (#4830)
Co-authored-by: Madhan Babu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 337502c - Browse repository at this point
Copy the full SHA 337502cView commit details
Commits on Jun 26, 2020
-
[201911][dockers] Update critical_processes file syntax (#4854)
Backport of #4831 to the 201911 branch
Configuration menu - View commit details
-
Copy full SHA for c2364cf - Browse repository at this point
Copy the full SHA c2364cfView commit details
Commits on Jun 27, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for a84b534 - Browse repository at this point
Copy the full SHA a84b534View commit details -
[BFN] Disabled thermalctld for Barefoot platforms (#4823)
Signed-off-by: Andriy Kokhan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d436b3 - Browse repository at this point
Copy the full SHA 7d436b3View commit details
Commits on Jun 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9db492e - Browse repository at this point
Copy the full SHA 9db492eView commit details -
added files to create SKU Mellanox-SN3800-D24C52 (#4808)
* added files to create SKU Mellanox-SN3800-D24C52 Co-authored-by: Madhan Babu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33e2264 - Browse repository at this point
Copy the full SHA 33e2264View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for acafde1 - Browse repository at this point
Copy the full SHA acafde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bade2c - Browse repository at this point
Copy the full SHA 1bade2cView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 3d0126b - Browse repository at this point
Copy the full SHA 3d0126bView commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 10cd212 - Browse repository at this point
Copy the full SHA 10cd212View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 0768bf7 - Browse repository at this point
Copy the full SHA 0768bf7View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 5df5015 - Browse repository at this point
Copy the full SHA 5df5015View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 2f97faa - Browse repository at this point
Copy the full SHA 2f97faaView commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for bbcd4c6 - Browse repository at this point
Copy the full SHA bbcd4c6View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for d32beff - Browse repository at this point
Copy the full SHA d32beffView commit details
Commits on Jul 3, 2020
-
[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 authoredJul 3, 2020 Configuration menu - View commit details
-
Copy full SHA for c357a56 - Browse repository at this point
Copy the full SHA c357a56View commit details
Commits on Jul 5, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for ee13e78 - Browse repository at this point
Copy the full SHA ee13e78View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b6b1f3f - Browse repository at this point
Copy the full SHA b6b1f3fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 75d5e30 - Browse repository at this point
Copy the full SHA 75d5e30View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for fad2d47 - Browse repository at this point
Copy the full SHA fad2d47View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a80683d - Browse repository at this point
Copy the full SHA a80683dView commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 4869fa7 - Browse repository at this point
Copy the full SHA 4869fa7View commit details -
Tests of FRR templates which rendered by sonic-cfggen (#4875)
* Tests of FRR templates which rendered by sonic-cfggen
Configuration menu - View commit details
-
Copy full SHA for 9c62ce9 - Browse repository at this point
Copy the full SHA 9c62ce9View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 369bf88 - Browse repository at this point
Copy the full SHA 369bf88View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 7d840ba - Browse repository at this point
Copy the full SHA 7d840baView commit details -
[mellanox]: Fix for MSN4600C sensors (#4754)
Signed-off-by: Shlomi Bitton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96ef32a - Browse repository at this point
Copy the full SHA 96ef32aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1930b3a - Browse repository at this point
Copy the full SHA 1930b3aView commit details -
Tests for bgpcfgd templates (#4841)
* Tests for bgpcfgd templates
Configuration menu - View commit details
-
Copy full SHA for 6958441 - Browse repository at this point
Copy the full SHA 6958441View commit details
Commits on Jul 7, 2020
-
[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.
Configuration menu - View commit details
-
Copy full SHA for 35e9d5b - Browse repository at this point
Copy the full SHA 35e9d5bView commit details -
[sonic-mgmt]: Install python-subnettree to sonic-mgmt container. (#3978)
* Install python-subnettree to sonic-mgmt container.
Configuration menu - View commit details
-
Copy full SHA for 3eac616 - Browse repository at this point
Copy the full SHA 3eac616View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e012d - Browse repository at this point
Copy the full SHA c9e012dView commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 5310b09 - Browse repository at this point
Copy the full SHA 5310b09View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for db15b88 - Browse repository at this point
Copy the full SHA db15b88View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for d289459 - Browse repository at this point
Copy the full SHA d289459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 276310d - Browse repository at this point
Copy the full SHA 276310dView commit details -
[docker-sonic-mgmt] Merge spytest dependencies into mgmt docker (#4411)
Signed-off-by: Danny Allen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1652206 - Browse repository at this point
Copy the full SHA 1652206View commit details -
[docker-sonic-mgmt] Add IxNetwork python client (#4533)
* Add IxNetwork python client to sonic mgmt docker
Configuration menu - View commit details
-
Copy full SHA for 9b32171 - Browse repository at this point
Copy the full SHA 9b32171View commit details -
[docker-sonic-mgmt]: fix pip version to 20.1.1
Signed-off-by: Guohan Lu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86955e2 - Browse repository at this point
Copy the full SHA 86955e2View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for 3129451 - Browse repository at this point
Copy the full SHA 3129451View commit details -
[sonic-mgmt] upgrade ansible to 2.7.12 (#4751)
Signed-off-by: Ying Xie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a26951 - Browse repository at this point
Copy the full SHA 8a26951View commit details -
[docker-sonic-mgmt]: import patch to support 'become' and 'become_use…
…r' arguments in pytest-ansible (#4681)
Configuration menu - View commit details
-
Copy full SHA for abe2d40 - Browse repository at this point
Copy the full SHA abe2d40View commit details -
[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]>
Configuration menu - View commit details
-
Copy full SHA for fbdd775 - Browse repository at this point
Copy the full SHA fbdd775View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for b7b602b - Browse repository at this point
Copy the full SHA b7b602bView commit details -
[sonic-ztp]: Update submodule pointer (#4902)
Cherry pick sonic-net/sonic-ztp#17 to 201911 branch to fix sonic-net/sonic-ztp#15
Configuration menu - View commit details
-
Copy full SHA for a47add5 - Browse repository at this point
Copy the full SHA a47add5View commit details