-
Notifications
You must be signed in to change notification settings - Fork 0
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
The bug is fixed #6
Commits on Dec 29, 2020
-
[ipinip.json.j2] align mellanox configuration dst_ip with other platf…
…orms (sonic-net#6304) Mellanox already supports multiple destination IPs in IPinIP tunnel configuration, thus removing mellanox exception for IPinIP configuration. - How I did it Removed "dst_ip" field generation in mellanox platform condition. Sorted the "dst_ip" list, so that it is easier to test against sample configuration in unit tests. Aligned unit test sample. Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 23f1d51 - Browse repository at this point
Copy the full SHA 23f1d51View commit details -
[build]: install node.js for non-amd64 sonic-slave docker
instruct azure pipeline to use node.js in the docker. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops#bring-your-own-nodejs Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b0da87 - Browse repository at this point
Copy the full SHA 0b0da87View commit details -
Build libyang1 which is required for frr 7.5
Configuration menu - View commit details
-
Copy full SHA for 273846a - Browse repository at this point
Copy the full SHA 273846aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7b8f89 - Browse repository at this point
Copy the full SHA a7b8f89View commit details -
No longer install some unnecessary Python 2 packages in host (sonic-n…
…et#6301) - No longer install Python 2 packages in host: - libpython2.7-dev - docker - ipaddress - netifaces - azure-storage - watchdog - futures - Install Python 3 versions of the following packages in host: - docker - azure-storage - watchdog - redis - swsssdk (install unconditionally)
Configuration menu - View commit details
-
Copy full SHA for 62662ac - Browse repository at this point
Copy the full SHA 62662acView commit details -
[system-health] Convert to Python 3 (sonic-net#5886)
- Convert system-health scripts to Python 3 - Build and install system-health as a Python 3 wheel - Also convert newlines from DOS to UNIX
Configuration menu - View commit details
-
Copy full SHA for 566ea4f - Browse repository at this point
Copy the full SHA 566ea4fView commit details
Commits on Dec 30, 2020
-
[build]: setup -t option in docker run correctly (sonic-net#6320)
use bash -t test flag to check if input device is tty or not Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 727a451 - Browse repository at this point
Copy the full SHA 727a451View commit details -
[build]: change user name to lower case when used in sonic-slave tag (s…
…onic-net#6319) sonic-slave tag only allows all lower case. In case the user name is mixed case, we need to change user name to all lower case. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for de4a3c8 - Browse repository at this point
Copy the full SHA de4a3c8View commit details -
[buildsystem] Fix syntax error: unexpected end of file in Makefile.wo…
…rk (sonic-net#6315) Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 119fd7f - Browse repository at this point
Copy the full SHA 119fd7fView commit details -
[sysctl] Increase hung_task_timeout_secs to 300 (sonic-net#6312)
Depending on the performance characteristics of a given hardware platform, it's possible to exceed the default 120 second kernel timeout during I/O intensive operations like image installation. This can cause a kernel panic like so: kernel:[ 852.441781] Kernel panic - not syncing: hung_task: blocked tasks If this happens during image installation, it's possible for the install to become corrupted and leave the device in an unreachable state that requires a power cycle to resolve. This risk increases as image size continues to increase. So, we need to increase the timeout so that we don't encounter kernel panics on devices with lower disk throughput. Signed-off-by: Danny Allen <daall@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for a64994e - Browse repository at this point
Copy the full SHA a64994eView commit details -
[Nokia]: EEPROM platform API Python3 compliance changes (sonic-net#6318)
- Why I did it Make EEPROM platform APIs Python3 compliant in Nokia platform. - How I did it Handle bytearray type returned by read_eeprom and read_eeprom_bytes methods. - How to verify it Boot Nokia ixs7215 and verify PMON docker running and show platform syseeprom Co-authored-by: Carl Keene <keene@nokia.com>
Configuration menu - View commit details
-
Copy full SHA for a1fe203 - Browse repository at this point
Copy the full SHA a1fe203View commit details -
Minigraph ECMP parsing support (cleaner format) (sonic-net#4985)
Why I did it To support FG_ECMP scenarios - How I did it Modified minigraph parser to parse ECMP fields in the case they are present in minigraph - How to verify it Loaded ensuing config_db file on a DUT to verify the fields are parsed and configure device correctly
Configuration menu - View commit details
-
Copy full SHA for ba92a08 - Browse repository at this point
Copy the full SHA ba92a08View commit details
Commits on Dec 31, 2020
-
[determine-reboot-cause] Skip invoking platform code for unit tests f…
…or hardware_reboot_cause (sonic-net#6325) What: Modify unit test to not call any platform dependent api in test_find_hardware_reboot_cause. - Why I did it MELLANOX build is failing for the recent PRs. The errors are due to platform library being invoked in a unit test for determine-reboot-cause script. Verified by running unit tests and a successful Mellanox build. Co-authored-by: Vaibhav Hemant Dixit <vadixit@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 40f69f0 - Browse repository at this point
Copy the full SHA 40f69f0View commit details -
[build]: fix syntax error when DOCKER_BASE_PULL is enabled
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a165e63 - Browse repository at this point
Copy the full SHA a165e63View commit details
Commits on Jan 1, 2021
-
Enable the notify mode of rsyslogd imfile module used for supervisord (…
…sonic-net#6298) Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container
Configuration menu - View commit details
-
Copy full SHA for ef0088c - Browse repository at this point
Copy the full SHA ef0088cView commit details -
[sonic-swss-common] Update submodule (sonic-net#6317)
Including commits in sonic-swss-common repo: b423b9c Add support for hexists call (sonic-net#432) [Tony Titus] 0982996 Remove extension of tableNameSeparatorMap (sonic-net#430) [Qi Luo] d16cc76 [build]: add azure pipeline build badge (sonic-net#429) [lguohan] f2aaf55 Set up CI with Azure Pipelines (sonic-net#428) [lguohan]
Tony Titus authoredJan 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 70ba591 - Browse repository at this point
Copy the full SHA 70ba591View commit details -
[mellanox]: Update Mellanox SDK to 4.4.2208 FW to *.2008.2208 (sonic-…
…net#6333) Features: Spectrum-3 | Systems | Added GA-level support for SN4700 A0 system All | Shared headroom | Added GA-level support for Shared headroom between PGs Bugs fixes: All | Counters | Sent traffic in certain size is wrongly increase to a smaller size counter, because port extended counter has a counter for sent traffic per packet-size range All | Shared buffer | Configuring shared buffer on the fly may, on occasion, cause the chip to get stuck Spectrum-2 | Modules | On occasion, link down is experienced with INPHI COLORZ PAM4 100G optic cables on SN3700 systems
Configuration menu - View commit details
-
Copy full SHA for 3acf700 - Browse repository at this point
Copy the full SHA 3acf700View commit details
Commits on Jan 2, 2021
-
[device/accton] Fix accton driver not been installed (sonic-net#6327)
Accton util applies lsmod to check if drivers are installed. But lsmod may return error on startup and skip module installation. Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.com>
Configuration menu - View commit details
-
Copy full SHA for c4156b8 - Browse repository at this point
Copy the full SHA c4156b8View commit details -
[doc]: add 202012 branch in the PR request template
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 66fffed - Browse repository at this point
Copy the full SHA 66fffedView commit details -
[build]: fix dpkg uninstall bug
fix a bug when there are multiple debian packages to be uninstalled Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 30a51c1 - Browse repository at this point
Copy the full SHA 30a51c1View commit details -
[build]: check if package with given version is installed or not
in case conflicting packages have same name but different version, the install step needs to wait till package with the conflicting version is uninstalled Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d365d0d - Browse repository at this point
Copy the full SHA d365d0dView commit details -
[frr]: remove dependency betwee frr and frr-snmp
no instalation of frr during the build process Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f2c418e - Browse repository at this point
Copy the full SHA f2c418eView commit details -
[build]: add artifical dependency between libyang and frr
frr build requires libyang 1.0.184 which conflicts with libyang 1.0.73. Solution here is to compile frr and libyang 1.0.184 first, and then uninstall libyang 1.0.184 after frr build. Then, compile libyang 1.0.73 and all packages depend on it later. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ae2cb47 - Browse repository at this point
Copy the full SHA ae2cb47View commit details
Commits on Jan 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 36fbc01 - Browse repository at this point
Copy the full SHA 36fbc01View commit details -
[sonic-py-common] Added an API to get file path containing SONiC vers…
…ion (sonic-net#6309) * [sonic-py-common] add an API to get file path containing SONiC version so that the API can be mocked for unit tests.
Configuration menu - View commit details
-
Copy full SHA for c6253f6 - Browse repository at this point
Copy the full SHA c6253f6View commit details -
[broadcom]: match the brcm sai filename version to control file versi…
…on (sonic-net#6339) the control file version is 4.2.1.5-7 sonic$ sudo dpkg -i target/debs/buster/libsaibcm-dev_4.2.1.5-8_amd64.deb (Reading database ... 175880 files and directories currently installed.) Preparing to unpack .../libsaibcm-dev_4.2.1.5-8_amd64.deb ... Unpacking libsaibcm-dev (4.2.1.5-7) over (4.2.1.5-7) ... Setting up libsaibcm-dev (4.2.1.5-7) ... lgh@491d842369cf:/sonic$ sudo dpkg -i target/debs/buster/libsaibcm_4.2.1.5-8_amd64.deb (Reading database ... 175880 files and directories currently installed.) Preparing to unpack .../libsaibcm_4.2.1.5-8_amd64.deb ... Unpacking libsaibcm (4.2.1.5-7) over (4.2.1.5-7) ... Setting up libsaibcm (4.2.1.5-7) ... Processing triggers for libc-bin (2.28-10) ... Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 618b4bf - Browse repository at this point
Copy the full SHA 618b4bfView commit details
Commits on Jan 4, 2021
-
[frr]: change frr debug package to extra to avoid build break for dbg…
… image (sonic-net#6340) build frr dbg image force to install frr in the build process which breaks the current build and is uneccessary. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ae5caee - Browse repository at this point
Copy the full SHA ae5caeeView commit details -
[BFN] Upgrade docker-syncd-bfn to buster (sonic-net#6345)
* Add changes to allow migration of bfn syncd to buster * Update BFN packages for Debian 10 Signed-off-by: Denys Petryshyn <denysx.petryshyn@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 9e57f51 - Browse repository at this point
Copy the full SHA 9e57f51View commit details -
[libyang1] Adding LFS support for arm32 (sonic-net#6346)
In the emulated armhf environment, the function readdir()returns NULL on a ext4 file system directory. When running the libyang1 test cases, it will require to load the plugins from the files (such as metadata.so), because the readdir() is failing, the plugins can’t be loaded in the emulated armhf environment, so it causes libyang1 test error. This error is a combination of the following reasons. • Emulation of a 32-bit target from a 64-bit host –> qemu from x86_64 to armhf • Glibc version > 2.27 – Debian buster is using glibc 2.28 - How I did it Enabled large file support by setting _FILE_OFFSET_BITS=64 for libyang1. Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
Configuration menu - View commit details
-
Copy full SHA for d6b92da - Browse repository at this point
Copy the full SHA d6b92daView commit details -
[BFN] Convert platform modules to python 3 (sonic-net#6347)
Fix syntax errors during xcvrd start with Python 3 daemons
Configuration menu - View commit details
-
Copy full SHA for 9006b96 - Browse repository at this point
Copy the full SHA 9006b96View commit details
Commits on Jan 5, 2021
-
Update udev rules to support 96 ttyUSB ports (sonic-net#6334)
Signed-off-by: Jing Kan jika@microsoft.com
Configuration menu - View commit details
-
Copy full SHA for c38eee8 - Browse repository at this point
Copy the full SHA c38eee8View commit details -
[DellEMC] Add platform-modules as prerequisite for determine-reboot-c…
…ause (sonic-net#6322) Add a systemd dependency to make platform-modules service as a prerequisite for determine-reboot-cause service to ensure platform initialization is complete before determine-reboot-cause.service executes.
Configuration menu - View commit details
-
Copy full SHA for 19b2b44 - Browse repository at this point
Copy the full SHA 19b2b44View commit details -
[docker-sonic-vs]: reduce the build steps for docker-sonic-vs (sonic-…
…net#6350) combine multiple same operation into one operation to reduce the build steps. this is to avoid max depth exceeded issue in the build. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6fbd52b - Browse repository at this point
Copy the full SHA 6fbd52bView commit details -
[lldp] lldp upstream patches (sonic-net#6118)
The details are as follows: 1. 0010-Ported-fix-for-length-exceeded-from-lldp-community.patch Patch taken from lldpd/lldpd@7824347 lib: remove limit on system description length The limit was introduced in 9c49ced while fixing a memory leak. The state data is used to ensure we don't interleave operations. We need to handle the case where the value is truncated because it is larger than the allocated size. Fix issue lldpd/lldpd#408 2. 0011-fix-med-location-len.patch Patch taken from lldpd/lldpd@5c34794 lib: fix LLDP-MED location parsing in liblldpctl Some bounds were not checked correctly when parsing LLDP-MED civic location fields. This triggers out-of-bound reads (no write) in lldpcli, ultimately leading to a crash. Fix lldpd/lldpd#420 Signed-off-by: sudhanshukumar22 <sudhanshu.kumar@broadcom.com>
Configuration menu - View commit details
-
Copy full SHA for 7fc2d38 - Browse repository at this point
Copy the full SHA 7fc2d38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9593680 - Browse repository at this point
Copy the full SHA 9593680View commit details -
After first bootup, the FEATURE table is not present in CONFIG_DB (so…
…nic-net#5911) Fix the After first bootup(onie-install), the FEATURE table is not present in CONFIG_DB. Fix is done by calling config reload.
Configuration menu - View commit details
-
Copy full SHA for 62e7c45 - Browse repository at this point
Copy the full SHA 62e7c45View commit details -
[xcvrd] Remove dependency on SONIC_PLATFORM_API_PY2 and SONIC_PLATFOR…
…M_API_PY3 (sonic-net#6344) Remove the build time dependency on SONIC_PLATFORM_API_PY2 and SONIC_PLATFORM_API_PY3 from xcvrd make rule
Configuration menu - View commit details
-
Copy full SHA for 4460076 - Browse repository at this point
Copy the full SHA 4460076View commit details -
[determine-reboot-cause] Ignore non-hardware reboot cause (sonic-net#…
…6349) - Why I did it - Reboot cause prints "Non-Hardware (N/A)" instead of showing the software reboot cause. The issue is mishandling of hardware reboot cause in determine-reboot-cause script. - How I did it Fixed the handling for Non Hardware reboot cause. Ignore if Non-Hardware is present in the hardware_reboot_cause output. Added some code refactoring for simplicity. - How to verify it - With fix, the hardware reboot cause is ignored (if it is non hw):
Configuration menu - View commit details
-
Copy full SHA for 6fd78b6 - Browse repository at this point
Copy the full SHA 6fd78b6View commit details -
[snmp]: updated to support snmp config from redis configdb (sonic-net…
…#6134) **- Why I did it** I'm updating the jinja2 template to support getting SNMP information from the redis configdb. I'm using the format approved here: sonic-net/SONiC#718 This will pave the way for us to decrement using the snmp.yml in the future. Right now we will still be using both the snmp.yml and configdb to get variable information in order to create the snmpd.conf via the sonic-cfggen tool. **- How I did it** I first updated the SNMP Schema in PR sonic-net#718 to get that approved as a standardized format. Then I verified I could add snmp configs to the configdb using this standard schema. Once the configs were added to the configdb then I updated the snmpd.conf.j2 file to support the updates via the configdb while still using the variables in the snmp.yml file in parallel. This way we will have backward compatibility until we can fully migrate to the configdb only. By updating the snmpd.conf.j2 template and running the sonic-cfggen tool the snmpd.conf gets generated with using the values in both the configdb and snmp.yml file. Co-authored-by: trvanduy <trvanduy@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for d769ef2 - Browse repository at this point
Copy the full SHA d769ef2View commit details
Commits on Jan 6, 2021
-
[rsyslog]: Explicitly set the notify mode for rsyslog imfile module (s…
…onic-net#6351) Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container. Setup the mode="inotify" when loading imfile, made sure we are are getting supervisord logs in host immediately. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for afd60bd - Browse repository at this point
Copy the full SHA afd60bdView commit details -
[sairedis] advance sairedis submodule head (sonic-net#6365)
To incldue following changes: - [ci]: add build for arm64 and armhf (sonic-net#757) - Use template hgetall, because we will tune the return types of library functions (sonic-net#759) - [syncd] Fix bulk multi attrs for same key db update (sonic-net#761) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 78dae94 - Browse repository at this point
Copy the full SHA 78dae94View commit details -
DellEMC: Z9332f change SFP detection logic (sonic-net#6261)
- Dynamically change EEPROM driver based on media type. - Otherwise, EEPROM INFO and DOM INFO might not be fetched properly and will result in erroneous output.
Configuration menu - View commit details
-
Copy full SHA for 4632e0b - Browse repository at this point
Copy the full SHA 4632e0bView commit details -
[docker-lldp]: sonic advertise meaningful SysDescription instead of d…
…ebian (sonic-net#6114) Sonic devices advertise meaningful system description along with Debian package information. before the fix: ------------- admin@sonic:~$ show lldp neighbors ------------------------------------------------------------------------------- LLDP neighbors: ------------------------------------------------------------------------------- Interface: Ethernet0, via: LLDP, RID: 3, Time: 0 day, 16:36:30 SysName: sonic SysDescr: Debian GNU/Linux 9 (stretch) Linux 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 ------------------------------------------------------------------------------- After the fix: root@sonic:~# show lldp neighbors Ethernet16 ------------------------------------------------------------------------------- LLDP neighbors: ------------------------------------------------------------------------------- Interface: Ethernet16, via: LLDP, RID: 10, Time: 0 day, 00:01:00 SysName: sonic SysDescr: SONiC Software Version: SONiC.sonic_upstream_1.0_daily_201130_1501_62-dirty-20201130.203529 - HwSku: Accton-AS7816-64X - Distribution: Debian 10.6 - Kernel: 4.19.0-9-2-amd64 ------------------------------------------------------------------------------- Signed-off-by: sudhanshukumar22 <sudhanshu.kumar@broadcom.com>
Configuration menu - View commit details
-
Copy full SHA for 8a3ac8f - Browse repository at this point
Copy the full SHA 8a3ac8fView commit details -
[sonic-platform-common][sonic-platform-daemons] Update submodules (so…
…nic-net#6352) src/sonic-platform-common 9935fca...8664efc (2): Make sonic_sfp Python2 and Python3 compatible (sonic-net#157) [sffbase.py] Fix to make Python 3-compatible (sonic-net#156) src/sonic-platform-daemons e6c786b...81318f7 (1): [psud] Fix issue where PSU Fan info is not updated in State DB (sonic-net#137) Fixes sonic-net#6341
Configuration menu - View commit details
-
Copy full SHA for a013b8c - Browse repository at this point
Copy the full SHA a013b8cView commit details -
[Nokia]: Enable Telemetry for armhf and provide required qos files (s…
…onic-net#6364) * [platform][Nokia]: Add buffers and qos files for config qos reload - providing required files * [platform][armhf]: remove hardcoded disable for Telemetry on armhf Co-authored-by: Carl Keene <keene@nokia.com>
Configuration menu - View commit details
-
Copy full SHA for f99dbff - Browse repository at this point
Copy the full SHA f99dbffView commit details
Commits on Jan 7, 2021
-
Updated imfile configuration for supervisord logs (sonic-net#6368)
Updated imfile configuration for supervisord logs for stretch and buster.
Configuration menu - View commit details
-
Copy full SHA for afc87b8 - Browse repository at this point
Copy the full SHA afc87b8View commit details -
[brcm]: BRCM SAI 4.2.1.5-9 Fix _brcm_sai_indexed_data_get () with une…
…xpected queue causing _brcm_sai_switch_assert () after warm reboot (sonic-net#6374) Starting from build (master) 176 the warm reboot on BRCM Platform started to experience syncd crash. Upon further debug by Ying it was determined that the crash was related to the following new change: [Dynamic buffer calc] Support dynamic buffer calculation (sonic-net#1338) Ying also debugged further and found The crash was caused by buffer pool profile setting operation SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH A case has filed with BRCM while a potential fix was tried by Ying that seems to have addressed this issue and we are making this change available in master branch so that it will allow further feature validation/testing especially in the warm reboot area. Once an official fix is provided by BRCM, we will then remove this in house fix and apply the official fix. - How to verify it Just perform warm reboot with any master code 175 or above you should see this issue or issue the following cmd will also cause the crash: "mmuconfig -p egress_lossy_profile -a 0"
Configuration menu - View commit details
-
Copy full SHA for a6907a7 - Browse repository at this point
Copy the full SHA a6907a7View commit details -
[system-health] Make
run_command()
Python 3-compliant (sonic-net#6371)Pass universal_newlines=True parameter to subprocess.Popen(); no longer use .encode('utf-8') on resulting stdout. This was missed in sonic-net#5886 Note: I would prefer to use text=True instead of universal_newlines=True, as the former is an alias only available in Python 3 and is more understandable than the latter. However, Even though the setup.py file for this package only specifies Python 3, the LGTM tool finds other Python 2 code in the repo and validates the code as Python 2 code and alerts that text=True is an invalid parameter. Will stick with universal_newlines=True for now. Once all Python code in the repo has been converted to Python 3, I will change all universal_newlines=True to text=True.
Configuration menu - View commit details
-
Copy full SHA for 2d77a36 - Browse repository at this point
Copy the full SHA 2d77a36View commit details -
[README] Update build badges to include 202012 build status (sonic-ne…
…t#6373) Signed-off-by: Danny Allen <daall@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 0ad2098 - Browse repository at this point
Copy the full SHA 0ad2098View commit details -
[PDDF] Build and install Python 3 package (sonic-net#6286)
- Make PDDF code compliant with both Python 2 and Python 3 - Align code with PEP8 standards using autopep8 - Build and install both Python 2 and Python 3 PDDF packages
Configuration menu - View commit details
-
Copy full SHA for e52581e - Browse repository at this point
Copy the full SHA e52581eView commit details
Commits on Jan 8, 2021
-
Take a copy of existing TACACS credentials and restore it during upgr…
…ade (sonic-net#6285) In scenario where upgrade gets config from minigraph, it could miss tacacs credentials as they are not in minigraph. Hence restore explicitly upon load-minigraph, if present. - Why I did it Upon boot, when config migration is required, the switch could load config from minigraph. The config-load from minigraph would wipe off TACACS key and disable login via TACACS, which would disable all remote user access. This change, would re-configure the TACACS if there is a saved copy available. - How I did it When config is loaded from minigraph, look for a TACACS credentials back up (tacacs.json) under /etc/sonic/old_config. If present, load the credentials into running config, before config-save is called. - How to verify it Remove /etc/sonic/config_db.json and do an image update. Upon reboot, w/o this change, you would not be able ssh in as remote user. You may login as admin and check out, "show tacacs" & "show aaa" to verify that tacacs-key is missing and login is not enabled for tacacs. With this change applied, remove /etc/sonic/config_db.json, but save tacacs & aaa credentials as tacacs.json in /etc/sonic/. Upon reboot, you should see remote user access possible.
Configuration menu - View commit details
-
Copy full SHA for dbc6718 - Browse repository at this point
Copy the full SHA dbc6718View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc3cb76 - Browse repository at this point
Copy the full SHA fc3cb76View commit details -
[Monit] Monitoring the running status of containers. (sonic-net#6251)
**- Why I did it** This PR aims to monitor the running status of each container. Currently the auto-restart feature was enabled. If a critical process exited unexpected, the container will be restarted. If the container was restarted 3 times during 20 minutes, then it will not run anymore unless we cleared the flag using the command `sudo systemctl reset-failed <container_name>` manually. **- How I did it** We will employ Monit to monitor a script. This script will generate the expected running container list and compare it with the current running containers. If there are containers which were expected to run but were not running, then an alerting message will be written into syslog. **- How to verify it** I tested this feature on a lab device `str-a7050-acs-3` which has single ASIC and `str2-n3164-acs-3` which has a Multi-ASIC. First I manually stopped a container by running the command `sudo systemctl stop <container_name>`, then I checked whether there was an alerting message in the syslog. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 04cd1d6 - Browse repository at this point
Copy the full SHA 04cd1d6View commit details -
[bgpcfgd]: Support default action for "Allow prefix" feature (sonic-n…
…et#6370) * Use 20 and 30 route-map entries instead of 2 and 3 for TSA * Added support for dynamic "Allow list" default action. Co-authored-by: Pavel Shirshov <pavel.contrib@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 83715cf - Browse repository at this point
Copy the full SHA 83715cfView commit details -
[sonic-swss-common] Update submodule (sonic-net#6382)
Includes sonic-swss-common commits: ``` 71dc350 2021-01-07 | Lower the log level for outdated key for SubscriberStateTable notification (sonic-net#441) [Qi Luo] 7e40582 2021-01-08 | Add boost dependencies (sonic-net#442) [Ze Gan] 30a8ddf 2021-01-05 | Change DBConnector::hgetall return type from map to unordered_map (sonic-net#440) [Qi Luo] 021108d 2021-01-02 | MCLAG Enhancements per HLD sonic-net/SONiC#596 (sonic-net#405) [Praveen-Brcm] 54996fc 2021-01-02 | Implement ConfigDBConnector and ConfigDBPipeConnector in C++ (sonic-net#437) [Qi Luo] 8286525 2020-12-27 | Simply refactor DBConnector hgetall() [Qi Luo] 6d1d33b 2020-12-27 | Fix RedisTransactioner: handle empty deque [Qi Luo] 624e0b8 2020-12-26 | Move complex class constructor as explicit, and fix several mistaken copy constructor usage [Qi Luo] 3b983f9 2020-12-30 | [ci]: add timeout to 180 minutes for arm build (sonic-net#439) [lguohan] f2e4210 2020-12-29 | Add utility for string and redis (sonic-net#434) [Ze Gan] 7a885fd 2020-12-29 | [build]: add build check for arm64 and armhf (sonic-net#436) [lguohan] 47bccc4 2020-12-24 | Add missed vector header to rediscommand.h (sonic-net#435) [Ze Gan] ```
Configuration menu - View commit details
-
Copy full SHA for 5b7f88a - Browse repository at this point
Copy the full SHA 5b7f88aView commit details -
Bump lxml from 4.6.1 to 4.6.2 in /src/sonic-config-engine (sonic-net#…
…6385) Bumps [lxml](https://github.com/lxml/lxml) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](lxml/lxml@lxml-4.6.1...lxml-4.6.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 72b6350 - Browse repository at this point
Copy the full SHA 72b6350View commit details
Commits on Jan 9, 2021
-
[Centec ARM64]Upgrade Centec syncd docker to buster and Enable Teleme…
…try on ARM64 (sonic-net#6386) * Enable telemetry for ARM64 by default * [Centec]Upgrade Centec syncd docker to buster; libjemalloc2 have been installed in docker-base-buster, remove libjemalloc1 from docker-syncd-centec's Dockerfile.j2 Co-authored-by: Gu Xianghong <xgu@centecnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c64052b - Browse repository at this point
Copy the full SHA c64052bView commit details
Commits on Jan 10, 2021
-
[Arista] Update driver submodules (sonic-net#6396)
- Cleanup and Refactor of library internals, logic mostly unchanged. - Enhance debugability with `arista dump` and `arista diag` commands. - Fix power supply detection issue.
Configuration menu - View commit details
-
Copy full SHA for 1498408 - Browse repository at this point
Copy the full SHA 1498408View commit details -
[docker-macsec]: MACsec container and wpa_supplicant component (sonic…
…-net#5700) The HLD about MACsec feature is at : https://github.com/Azure/SONiC/blob/master/doc/macsec/MACsec_hld.md - How to verify it This PR doesn't set MACsec container automatically start, You should manually start the container by docker run docker-macsec wpa_supplicant binary can be found at MACsec container. This PR depends on the PR, WPA_SUPPLICANT, and The MACsec container will be set as automatically start by later PR. Signed-off-by: zegan <zegan@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for c225752 - Browse repository at this point
Copy the full SHA c225752View commit details
Commits on Jan 11, 2021
-
[utilities] advance utilities submodule head (sonic-net#6402)
- (HEAD, github/master) [storyteller] adding a grep wrapper with predefined scenarios (sonic-net#1349) - Adding global-timeout, individual command timeout, log files collection (sonic-net#1249) - Add FW dump with new SAI implementation (sonic-net#1338) - [unit test][pfcwd] Fix tests that require sudo access (sonic-net#1340) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 2816515 - Browse repository at this point
Copy the full SHA 2816515View commit details -
[minigraph.py]: Add peer switch hostname to device metadata (sonic-ne…
…t#6405) To make the peer switch hostname easily accessible from config DB. Add peer_switch field to DEVICE_METADATA table Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 3dd993e - Browse repository at this point
Copy the full SHA 3dd993eView commit details -
[arista]: Fix web package md5 hash not correct issue (sonic-net#6411)
Need to add the follow redirection option -L when downloading the package with redirection.
Configuration menu - View commit details
-
Copy full SHA for 4ef3f13 - Browse repository at this point
Copy the full SHA 4ef3f13View commit details
Commits on Jan 12, 2021
-
[ci]: add mellanox build to azure-pipeline (sonic-net#6409)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6ff8d2c - Browse repository at this point
Copy the full SHA 6ff8d2cView commit details -
[build]: fix dpkg admindir corruption issue in parallel build (sonic-…
…net#6408) Fix sonic-net#119 when parallel build is enable, multiple dpkg-buildpackage instances are running at the same time. /var/lib/dpkg is shared by all instances and the /var/lib/dpkg/updates could be corrupted and cause the build failure. the fix is to use overlay fs to mount separate /var/lib/dpkg for each dpkg-buildpackage instance so that they are not affecting each other. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab2ae41 - Browse repository at this point
Copy the full SHA ab2ae41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b82408 - Browse repository at this point
Copy the full SHA 8b82408View commit details -
[minigraph.py]: Force /32 prefix for mux cable server IPv4 loopbacks (s…
…onic-net#6418) Server IPv4 loopbacks do not always arrive with /32 prefix, which is a requirement for the MUX_CABLE table in config DB Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 6e63ecf - Browse repository at this point
Copy the full SHA 6e63ecfView commit details -
Anchor the libprotobuf-dev version based on a fixed version by using …
…debian control dependency (sonic-net#6420)
Configuration menu - View commit details
-
Copy full SHA for 26fd527 - Browse repository at this point
Copy the full SHA 26fd527View commit details -
[as7326-54x] Remove not need executable flag (sonic-net#6326)
Remove executable bit from the service files
Configuration menu - View commit details
-
Copy full SHA for bbd6967 - Browse repository at this point
Copy the full SHA bbd6967View commit details -
[Mellanox] [platform API] Fix “local variable 'label_port' referenced…
… before assignment” error (sonic-net#6419) In rare case can see that xcvrd failed due to "UnboundLocalError: local variable 'label_port' referenced before assignment" Init "label_port" as None at the beginning of the function, to avoid the case that "label_port" not assigned.
Configuration menu - View commit details
-
Copy full SHA for 015b421 - Browse repository at this point
Copy the full SHA 015b421View commit details -
[Centec] upgrade to buster docker for DOCKER_SYNCD_CENTEC_RPC, docker…
…-saiserver-centec and platform-modules (sonic-net#6423) Centec syncd have beend upgraded to buster, docker-syncd-centec-rpc do not need generate stretch based docker. Co-authored-by: Xianghong Gu <xgu@centecnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for d4f9fa5 - Browse repository at this point
Copy the full SHA d4f9fa5View commit details -
[Platform][nokia]: python3-smbus package add with python3 and jinja f…
…ixes (sonic-net#6416) fix platform driver breakage due to python3 upgrade and fix load minigraph errors with config load_minigraph -y **- How I did it** added python3-smbus to the pmon docker template since the previous was python2 specific fixed additional "ord" python2 specific code fixed the jinja templates used by qos reload - the template logic required data to be parsed **- How to verify it** run "show platform XXX" commands and verify output run "sudo config load_minigraph -y" and verify configuration run "show interfaces XXX" and verify output Co-authored-by: Carl Keene <keene@nokia.com>
Configuration menu - View commit details
-
Copy full SHA for 380edf0 - Browse repository at this point
Copy the full SHA 380edf0View commit details
Commits on Jan 13, 2021
-
[Nokia ixs7215] Add SW assist for platform entropy & fix inband mgmt …
…support (sonic-net#6417) - Improve random number generation during early Sonic initialization by providing SW updates to Linux entropy value. - Improve handling of platform In-Band management port This commit provides the following updates to the Nokia ixs7215 platform 1. The Marvell Armada-38x SOC requires SW assistance to improve the system entropy value available early on in the Sonic boot sequence. 2. The Nokia ixs7215 platform does not have a dedicated Out-Of-Band (OOB) mgmt port and thus requires additional logic to optionally support configuring front panel port 48 as an In-Band mgmt port. This commit provides additional logic to manage and maintain the operation of this In-Band mgmt port.
Configuration menu - View commit details
-
Copy full SHA for 674fac2 - Browse repository at this point
Copy the full SHA 674fac2View commit details -
Fix py3 version changed even version control enabled issue (sonic-net…
…#6422) * Fix py3 version changed even version control enabled issue * Add some comments and simplify the script * Add the comment to explain how to get the not hooked command
Configuration menu - View commit details
-
Copy full SHA for 1dcab4d - Browse repository at this point
Copy the full SHA 1dcab4dView commit details -
[SN4410] fixed 'port_config.ini' (sonic-net#6316)
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for b56320c - Browse repository at this point
Copy the full SHA b56320cView commit details -
Update swi-tools in buster Dockerfile (sonic-net#6414)
Fixed swi-tools code to work with `python3` Updated the version of swi-tools downloaded by the `sonic-slave-buster/Dockerfile.j2` Other Dockerfiles still use the `python2` version, though swi-tools is not used within the stretch builder.
Configuration menu - View commit details
-
Copy full SHA for 68e9b83 - Browse repository at this point
Copy the full SHA 68e9b83View commit details -
[Mellanox] Fix issue: need import initialize_sdk_handle in get_sdk_ha…
…ndle (sonic-net#6435) Found test_sfp.py failed due to use a method without importing it.
Configuration menu - View commit details
-
Copy full SHA for 0a49edb - Browse repository at this point
Copy the full SHA 0a49edbView commit details -
[sonic-swss-common] Advance swss-common head to include General Prote…
…ction error fix (sonic-net#6436) To include Kernel GP fault seen in *syncd processes: sonic-net/sonic-swss-common#444
Configuration menu - View commit details
-
Copy full SHA for 8b4b146 - Browse repository at this point
Copy the full SHA 8b4b146View commit details -
[ci]: cleanup fsroot reliably (sonic-net#6431)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1c00145 - Browse repository at this point
Copy the full SHA 1c00145View commit details -
[build]: Fix for missing dependencies in the DPKG framework (sonic-ne…
…t#6393) 1. Fixes the missing DPKG file for gbsyncd-vs package 2. Fixes the softlink issue on the Platform-common and ztp package 3. Fixes the PYTHNON_DEBS list is missing for DBG dockers.
Configuration menu - View commit details
-
Copy full SHA for 18350a5 - Browse repository at this point
Copy the full SHA 18350a5View commit details -
[sonic-linux-kernel]: Update sonic-linux-kernel submodule (sonic-net#…
…6433) Update sonic-linux-kernel pointer to pick up new commits: - Backport patches to increase critical threshold for ASIC and validate transceiver temperature a7c1af7 sonic-net/sonic-linux-kernel@548e8e0 - [ci]: Set up CI with Azure Pipelines 548e8e0 sonic-net/sonic-linux-kernel@a7c1af7 Signed-off-by: Kebo Liu <kebol@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 8655334 - Browse repository at this point
Copy the full SHA 8655334View commit details
Commits on Jan 14, 2021
-
[swss] Depend on Python 3 version of swsscommon rather than Python 2 (s…
…onic-net#6432) The only Python code in the SwSS package, restore_neighbors.py, was recently converted to Python 3 and most dependencies were updated as part of sonic-net#6207. However, the SwSS makefile still listed the Python 2 version of the swsscommon package as a dependency. This caused Python 2-related packages to be installed in containers unnecessarily.
Configuration menu - View commit details
-
Copy full SHA for 4612f68 - Browse repository at this point
Copy the full SHA 4612f68View commit details -
[snmpagent] update submodule (sonic-net#6169)
Includes below sonic-snmpagent commits ``` dfde06e 2021-01-13 | Revert "[rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (sonic-net#169)" (sonic-net#191) [Stepan Blyshchak] 45edd7e 2021-01-04 | [snmpagent] Fix hardcoded qsfp lane count by reading sensor status from DB (sonic-net#184) [Junchao-Mellanox] 3b72a6f 2021-01-02 | Fix: handle empty LOC_CHASSIS_TABLE (sonic-net#190) [Qi Luo] 4aad821 2020-12-29 | [sysName]: Implement sysName OID (sonic-net#185) [SuvarnaMeenakshi] 8efb4bb 2020-12-29 | [rfc1213] fix counter value type (sonic-net#189) [Stepan Blyshchak] 025483a 2020-12-23 | [RouteUpdater]: Fix multi_asic mock function implementation and multi_asic variable name (sonic-net#186) [SuvarnaMeenakshi] 381ae47 2020-12-10 | [mibs] b'VLAN_TABLE:' -> 'VLAN_TABLE' (sonic-net#181) [Stepan Blyshchak] e54036c 2020-12-09 | [rfc1213] Interface MIB add l3 vlan interfaces & aggregate rif counters (sonic-net#169) [Stepan Blyshchak] fd1eae7 2020-11-24 | Set swsscommon logging level (sonic-net#178) [Qi Luo] 706d504 2020-11-23 | Improve MockRedis _encode(): so it will work on all types of value (sonic-net#179) [Qi Luo] 64c93a1 2020-11-16 | [RFC4292][Namespace]: Fix implementation of RouteUpdater for multi-asic platform (sonic-net#176) [SuvarnaMeenakshi] b8f19ee 2020-11-12 | [sonic-snmpagent] SONiC physical entity mib extension (sonic-net#168) [Junchao-Mellanox] 6b94ec3 2020-11-05 | Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (sonic-net#162) [Qi Luo] ``` Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com> Co-authored-by: Qi Luo <qiluo-msft@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9a1b42f - Browse repository at this point
Copy the full SHA 9a1b42fView commit details -
Remove things needed for building Python 3 from source (sonic-net#6441)
**- Why I did it** Prior to SONiC using Debian Buster, we needed to build Python 3.5 or newer from source for installation in the SNMP container, becuase it wasn't available from the Debian repository for Jessie or Stretch. Now that all containers are based on Buster, we simply install Python 3.7 from the Debian repository in the host as well as all containers. We are no longer building Python 3 from source, so the Makefile is unused and we no longer need to install build dependencies in the slave containers. **- How I did it** - Remove Python 3 makefile - No longer install Python 3 build dependencies in the slave containers.
Configuration menu - View commit details
-
Copy full SHA for c141bb9 - Browse repository at this point
Copy the full SHA c141bb9View commit details -
[sonic-platform-common] Enable pytest during build for Python 3 packa…
…ge (sonic-net#6442) **- Why I did it** To enable running Pytest unit tests before building the Python 3 sonic-platform-common package **- How I did it** - Add Python 3 sonic-config-engine package as a dependency of Python 3 sonic-platform-common package (needed for both runtime and unit tests) - No longer disable unit tests when building Python 3 sonic-platform-common package
Configuration menu - View commit details
-
Copy full SHA for 419c10b - Browse repository at this point
Copy the full SHA 419c10bView commit details -
[docker-frr]: Use egrep with regexp to match correct TSA rules (sonic…
…-net#6403) **- Why I did it** Earlier today we found a bug in the SONiC TSA implementation. TSC shows incorrect output (see below) in case we have a route-map which contains TSA route-map as a prefix. ``` admin@str-s6100-acs-1:~$ TSC Traffic Shift Check: System Mode: Not consistent ``` The reason is that TSC implementation has too loose regexps in TSA utilities, which match wrong route-map entries: For example, current TSC matches following ``` route-map TO_BGP_PEER_V4 permit 200 route-map TO_BGP_PEER_V6 permit 200 ``` But it should match only ``` route-map TO_BGP_PEER_V4 permit 20 route-map TO_BGP_PEER_V4 deny 30 route-map TO_BGP_PEER_V6 permit 20 route-map TO_BGP_PEER_V6 deny 30 ``` **- How I did it** I fixed it by using egrep with `^` and `$` regexp markers which match begin and end of the line. **- How to verify it** 1. Add follwing entry to FRR config: ``` str-s6100-acs-1# str-s6100-acs-1# conf t str-s6100-acs-1(config)# route-map TO_BGP_PEER_V4 permit 200 str-s6100-acs-1(config-route-map)# end ``` 2. Use the TSC command and check output. It should show normal. ``` admin@str-s6100-acs-1:~$ TSC Traffic Shift Check: System Mode: Normal```
Configuration menu - View commit details
-
Copy full SHA for 16e5434 - Browse repository at this point
Copy the full SHA 16e5434View commit details
Commits on Jan 15, 2021
-
Export libyang API "lyd_check_mandatory_tree" for Management framewor…
…k (CVL) (sonic-net#5714) - Why I did it Management framework (CVL) needs to call lyd_check_mandatory_tree() for validation and hence exported lyd_check_mandatory_tree() as an API. - How I did it Added "API" keyword before lyd_check_mandatory_tree() definition. - How to verify it There is no functionality code change here and no specific steps to verify it. Management framework (CVL) should be able to call this function and no patching and compilation error should be seen. - Description for the changelog Added "API" keyword before export lyd_check_mandatory_tree() function definition.
Configuration menu - View commit details
-
Copy full SHA for 58a13b4 - Browse repository at this point
Copy the full SHA 58a13b4View commit details -
[warm boot finalizer] only wait for enabled components to reconcile (s…
…onic-net#6454) * [warm boot finalizer] only wait for enabled components to reconcile Define the component with its associated service. Only wait for components that have associated service enabled to reconcile during warm reboot. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 054f5b7 - Browse repository at this point
Copy the full SHA 054f5b7View commit details -
[Mellanox] PSU and module thermals are no longer child of chassis (so…
…nic-net#6460) In order to build up device hierachy, PSU and module thermals are no longer child of chassis. PSU thermal belongs to PSU objects and SFP thermals belong to SFP object now. Need align this change in platform.json. Move thermal objects to correct parent device
Configuration menu - View commit details
-
Copy full SHA for 6db88e8 - Browse repository at this point
Copy the full SHA 6db88e8View commit details -
[mellanox][platform api] fix a missing import time module (sonic-net#…
…6458) “time" module was missed to be imported and will cause an error when the branch hit. Signed-off-by: Kebo Liu <kebol@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 1b29805 - Browse repository at this point
Copy the full SHA 1b29805View commit details -
[minigraph.py]: Check for empty cluster tag before parsing (sonic-net…
…#6440) Some non-production minigraphs will have an empty ClusterName tag Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for ffcef27 - Browse repository at this point
Copy the full SHA ffcef27View commit details -
[device/accton]: As7816-64x, fix memory leakage on accton fan monitor. (
sonic-net#6168) It's been reported that accton fan monitor process keeps consuming memory after few days. The amount of memory occupied increases in linear and never leased. Signed-off-by: roy_lee <roy_lee@edge-core.com>
Configuration menu - View commit details
-
Copy full SHA for c9d3e25 - Browse repository at this point
Copy the full SHA c9d3e25View commit details -
[device/celestica]: Add thermalctld support on DX010 platform APIs (s…
…onic-net#6089) **- Why I did it** - The thermalctld daemon on the Pmon docker requires support from the thermal manager API. **- How I did it** - Removed the old function for detecting a faulty fan. - Removed the old function for detecting excess temperature. - Implement thermal_manager APIs based on ThermalManagerBase - Implement thermal_conditions APIs based on ThermalPolicyConditionBase - Implement thermal_actions APIs based on ThermalPolicyActionBase - Implement thermal_info APIs based on ThermalPolicyInfoBase - Add thermal_policy.json
Wirut Getbamrung authoredJan 15, 2021 Configuration menu - View commit details
-
Copy full SHA for 0ca3434 - Browse repository at this point
Copy the full SHA 0ca3434View commit details -
[Mellanox] Make determine-reboot-cause service start after hw-managem…
…ent service (sonic-net#6465) **- Why I did it** On the Mellanox platform, reboot cause is fetched from some certain sysfs which is created by the hw-management service. So determine-reboot-cause service shall start after hw-management, otherwise it could fail due to the related sysfs is not available yet. **- How I did it** Add a patch to the hw-management service to make sure determine-reboot-cause service should start after it. Signed-off-by: Kebo Liu <kebol@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 4cf9316 - Browse repository at this point
Copy the full SHA 4cf9316View commit details
Commits on Jan 17, 2021
-
[build arm] fix sonic-slave-buster build break (sonic-net#6469)
When building the sonic-slave-buster docker container, the node.js package is installed to meet the requirements of the Azure DevOPs pipleline build. Recently this install of node.js has been failing. This commit fixes that build break by upgrading the sonic-slave-buster build to install version 14.x of node.js which is the current LTS version for buster.
Configuration menu - View commit details
-
Copy full SHA for 2830a2b - Browse repository at this point
Copy the full SHA 2830a2bView commit details -
[minigraph.py]: Don't create mux table entries for servers w/o loopba…
…cks (sonic-net#6457) Avoid sonic-cfggen crashing when a server does not have a configured loopback address in the minigraph Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 063e11c - Browse repository at this point
Copy the full SHA 063e11cView commit details -
[DPB][YANG-models] extended regex pattern according to Mellanox syste…
…ms speeds requirements (sonic-net#6279) [DPB][MLNX][YANG] fixed range of max speed - Why I did it All Mellanox platforms require DPB modes with a specific set of speeds example - How I did it Extended regex pattern inside YANG model. Supported platforms: SN2010, SN2100, SN2410, SN2700, SN3420, SN3700, SN3700C, SN3800, SN4600C, SN4410, SN4700 - How to verify it Manually tested DPB CLI on all platform with all modes Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 1ea5fd7 - Browse repository at this point
Copy the full SHA 1ea5fd7View commit details -
[DPB] [Mellanox] added capability files for SN2700 platform (sonic-ne…
…t#6003) [DPB] added capability files for SN2700 platform - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN2700 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for c984cf9 - Browse repository at this point
Copy the full SHA c984cf9View commit details -
[DPB] [Mellanox] added capability files for SN3800 platform (sonic-ne…
…t#6013) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN3800 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for d1db716 - Browse repository at this point
Copy the full SHA d1db716View commit details -
[DPB] [Mellanox] added capability files for SN2010 platform (sonic-ne…
…t#6015) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN2010 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for ce819e7 - Browse repository at this point
Copy the full SHA ce819e7View commit details -
[DPB] [Mellanox] added capability files for SN2100 platform (sonic-ne…
…t#6016) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN2100 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for ffc957c - Browse repository at this point
Copy the full SHA ffc957cView commit details -
[DPB] [Mellanox] added capability files for SN2410 platform (sonic-ne…
…t#6017) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN2410 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 553ece0 - Browse repository at this point
Copy the full SHA 553ece0View commit details -
[DPB] [Mellanox] added capability files for SN3700 platform (sonic-ne…
…t#6021) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN3700 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for dd13e41 - Browse repository at this point
Copy the full SHA dd13e41View commit details -
[DPB] [Mellanox] added capability files for SN4410 platform (sonic-ne…
…t#6059) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN4410 - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for db5a88e - Browse repository at this point
Copy the full SHA db5a88eView commit details -
[DPB] [Mellanox] added capability files for SN4600C platform (sonic-n…
…et#6061) - Why I did it platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout - How I did it Created capability files according to platform specification SN4600C - How to verify it Full qualification requires bugs fixes reported under sonic-buildimage NOTE: breakout to 4 is currently not available as of missing functionality in DPB implementation. Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for ece8297 - Browse repository at this point
Copy the full SHA ece8297View commit details -
[kvm]: add debug cmd for build_kvm_image.sh (sonic-net#6472)
dump netstat info on error Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9b2bc88 - Browse repository at this point
Copy the full SHA 9b2bc88View commit details
Commits on Jan 18, 2021
-
[mellanox]: fix mellanox hw-management build (sonic-net#6471)
use dpkg-buildpackage build with fakeroot Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 755c737 - Browse repository at this point
Copy the full SHA 755c737View commit details
Commits on Jan 19, 2021
-
[ci]: exit kvmtest on the first error (sonic-net#6489)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 52afc80 - Browse repository at this point
Copy the full SHA 52afc80View commit details -
[bgpd]: Check zebra is ready to connect when starting bgpd (sonic-net…
…#6478) Fix sonic-net#5026 There is a race condition between zebra server accepts connections and bgpd tries to connect. Bgpd has a chance to try to connect before zebra is ready. In this scenario, bgpd will try again after 10 seconds and operate as normal within these 10 seconds. As a consequence, whatever bgpd tries to sent to zebra will be missing in the 10 seconds. To avoid such a scenario, bgpd should start after zebra is ready to accept connections.
Configuration menu - View commit details
-
Copy full SHA for afee1a8 - Browse repository at this point
Copy the full SHA afee1a8View commit details -
[ci]: build docker-sonic-vs.gz in kvm build pipeline (sonic-net#6494)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 53c2a0a - Browse repository at this point
Copy the full SHA 53c2a0aView commit details -
[DPB] [Mellanox] added capability files for SN3420 platform (sonic-ne…
…t#6020) platform.json and hwsku.json files are required for a feature called Dynamic Port Breakout Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 4e1c102 - Browse repository at this point
Copy the full SHA 4e1c102View commit details -
[submodule]: update sonic-wpa-supplicant (sonic-net#6492)
* 3b330db4a 2021-01-18 | [build]: Fix build error when compiling for armhf (32-bit) (#30) (HEAD, origin/master, origin/HEAD, master) [dflynn-Nokia] * 56aaa225b 2021-01-16 | [ci]: add pipeline for armhf and arm64 (#29) [lguohan] * 90da6141c 2021-01-12 | [ci]: propagate the correct error code the next step (#27) [lguohan] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6d13d0f - Browse repository at this point
Copy the full SHA 6d13d0fView commit details -
[submodule] Update sonic-sairedis submodule pointer (sonic-net#6496)
[ci]: download artifacts from master branch (sonic-net#768) Do not create fabric port if mapping is not available (sonic-net#769) [syncd] Comparison logic log also current attr value on set operation (sonic-net#763) Add fabric port test to vslib (sonic-net#737) [ci]: use sonicbld pool (sonic-net#766) [tests] Remove exit command blocking all tests to run (sonic-net#765) [vslib]: adapt macsec sai 1.7.1 (sonic-net#755) Add support for SAI_SWITCH_ATTR_AVAILABLE_IPMC_ENTRY needed by CRM (sonic-net#756) Signed-off-by: Danny Allen <daall@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 3a942fb - Browse repository at this point
Copy the full SHA 3a942fbView commit details
Commits on Jan 20, 2021
-
[submodule]: update sonic-utilities (sonic-net#6485)
- [route_check.py] - update includes checks on subscriptions (sonic-net/sonic-utilities#1344) - Validations checks while adding a member to PortChannel and removing a member from a Portchannel (sonic-net/sonic-utilities#1328) - [show] Add subcommand to show midplane status for modular chassis (sonic-net/sonic-utilities#1267) - [pytest][qos][config] Added pytests for "config qos reload" commands" (sonic-net/sonic-utilities#1346) - Drop explict 3 seconds pause between two object updates/deletes. (sonic-net/sonic-utilities#1359) - [show]fix for show muxcable status by replacing "hostname" to "peer_switch" for deriving tor ipv4_address (sonic-net/sonic-utilities#1360) - [PFCWD] Fix 'start' pfcwd command (sonic-net/sonic-utilities#1345) Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for abb0139 - Browse repository at this point
Copy the full SHA abb0139View commit details -
sonic-config-engine uses libswsscommon instead of swsssdk (sonic-net#…
…6406) **- Why I did it** swsssdk will be deprecated. Migrate sonic-config-engine to use libswsscommon library instead **- How to verify it** Unit test
Configuration menu - View commit details
-
Copy full SHA for 3c16f80 - Browse repository at this point
Copy the full SHA 3c16f80View commit details -
[frr]: ADD L3 VNI EVPN Support for SONiC, Send RMAC and VLAN along wi…
…th prefix to fpmsyncd. (sonic-net#4806) Currently FRR is send Prefix with VNI information to FPMSYNCD. This PR allows FRR to send RMAC with EVPN Type5 prefix to fpmsyncd. This is a temp fix. This patch will be removed once neighorch is ready to handle the Prefix and ARP (containing RMAC) separately.
Configuration menu - View commit details
-
Copy full SHA for cad2025 - Browse repository at this point
Copy the full SHA cad2025View commit details
Commits on Jan 21, 2021
-
[files/build/versions]: support reproduceable build for git (sonic-ne…
…t#5774) * support reproduceable build for git clone Signed-off-by: shilongliu <shilongliu@microsoft.com> * fix Co-authored-by: shilongliu <shilongliu@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for d75c290 - Browse repository at this point
Copy the full SHA d75c290View commit details -
[submodule]: Update SONiC Utilities Submodule (sonic-net#6507)
Changes in this update: 37695c8 [show]: Use TCP Connection For Muxcable Commands (sonic-net#1371) 8119ba2 Validations checks while creating and deleting a Portchannel (sonic-net#1326) 3df267e [config] Fix Breakout mode option and BREAKOUT_CFG table check method (sonic-net#1270) 9bd709b [show] Fix show arp in case with FDB entries, linked to default VLAN (sonic-net#1357) bc2d27e [generate_dump]: fix syntax error signed-of-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for df29773 - Browse repository at this point
Copy the full SHA df29773View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25e4d77 - Browse repository at this point
Copy the full SHA 25e4d77View commit details -
[sonic-swss] Update submodule (sonic-net#6336)
Including below commits: 36f7332 2021-01-14 | modified ERR log to NOTICE log for FDB notification failure after VLAN delete (sonic-net#1595) [madhanmellanox] c21c883 2021-01-12 | [ci]: download artifacts from master branch build (sonic-net#1597) [lguohan] a1d03a4 2021-01-12 | [fgnhgorch] Match mode changes for Fine Grained ECMP (sonic-net#1565) [anish-n] 1b65f3d 2021-01-12 | [ci]: use sonicbld pool (sonic-net#1594) [lguohan] 48ae866 2021-01-12 | [pfcwd] Update PFC storm detection logic for Mellanox platforms (sonic-net#1586) [Volodymyr Samotiy] 850001f 2021-01-12 | [FPMSYNCD] Evpn/Vxlan related changes to support FRR7.5(sonic-net#1585) [KISHORE KUNAL] 64ca9bb 2021-01-12 | [ci]: only copy artifacts when build is successful (sonic-net#1590) [lguohan] 17d0dae 2021-01-11 | [Fdborch] Fix for arm compilation (sonic-net#1592) [Prince Sunny] 693a02c 2021-01-08 | [gearbox] Add support for "hwinfo" field (sonic-net#1547) [Baptiste Covolato] 7e3b2c6 2021-01-09 | [Evpn Warmreboot] Added Dependancy check logic in VrfMgr (sonic-net#1466) [nkelapur] a960e2e 2021-01-09 | [Orchagent]: FdbOrch changes for EVPN VXLAN (sonic-net#1275) [Pankaj Jain] 097cfda 2021-01-08 | [swss test] update setup guide for swss tests (sonic-net#1582) [Ying Xie] b42253a 2021-01-05 | Fix for armhf build (sonic-net#1580) [Qi Luo] d8c1465 2021-01-05 | [dvs] Update/disable DVS tests with new FRR 7.5 behavior (sonic-net#1579) [Danny Allen] f6c7422 2021-01-05 | ASIC internal temperature sensors support (sonic-net#1517) [Santhosh Kumar T] 0aa9ef2 2021-01-01 | Simply by auto iterator type, because we will tune the return types of library functions (sonic-net#1577) [Qi Luo] 773238b 2020-12-31 | [build]: Fix format string for size_t (sonic-net#1576) [Qi Luo] 7ba4e43 2020-12-30 | [fgnhgorch] add warm reboot support for fgnhg (sonic-net#1538) [weixchen1215] 4cf6617 2020-12-30 | [ci]: add build for arm64 and armhf (sonic-net#1572) [lguohan] 6ebc0ed 2020-12-29 | [ci]: add azure-pipeline for amd64 (sonic-net#1571) [lguohan] e32b9d0 2020-12-29 | [FDBSYNCD] Added pytest for fdbsyncd (sonic-net#1560) [KISHORE KUNAL] a43f6be 2020-12-30 | [crm] Add support for snat, dnat and ipmc crm resources (sonic-net#1511) [Prabhu Sreenivasan] 7fc3888 2020-12-29 | PY Test script for EVPN L3 VxLAN (sonic-net#1330) [Tapash Das] 6eb36d9 2020-12-27 | vlanmgr changes related to EVPN VxLan warmboot (sonic-net#1460) [anilkpan] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 21c3573 - Browse repository at this point
Copy the full SHA 21c3573View commit details -
[sonic-swss-common]: Update Submodule (sonic-net#6508)
Update in this change: 640a218 [packaging]: Add Support For Libboost v1.71.0 (sonic-net#449) signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 5c31f6d - Browse repository at this point
Copy the full SHA 5c31f6dView commit details -
[supervisord] Monitoring the critical processes with supervisord. (so…
…nic-net#6242) - Why I did it Initially, we used Monit to monitor critical processes in each container. If one of critical processes was not running or crashed due to some reasons, then Monit will write an alerting message into syslog periodically. If we add a new process in a container, the corresponding Monti configuration file will also need to update. It is a little hard for maintenance. Currently we employed event listener of Supervisod to do this monitoring. Since processes in each container are managed by Supervisord, we can only focus on the logic of monitoring. - How I did it We borrowed the event listener of Supervisord to monitor critical processes in containers. The event listener will take following steps if it was notified one of critical processes exited unexpectedly: The event listener will first check whether the auto-restart mechanism was enabled for this container or not. If auto-restart mechanism was enabled, event listener will kill the Supervisord process, which should cause the container to exit and subsequently get restarted. If auto-restart mechanism was not enabled for this contianer, the event listener will enter a loop which will first sleep 1 minute and then check whether the process is running. If yes, the event listener exits. If no, an alerting message will be written into syslog. - How to verify it First, we need checked whether the auto-restart mechanism of a container was enabled or not by running the command show feature status. If enabled, one critical process should be selected and killed manually, then we need check whether the container will be restarted or not. Second, we can disable the auto-restart mechanism if it was enabled at step 1 by running the commnad sudo config feature autorestart <container_name> disabled. Then one critical process should be selected and killed. After that, we will see the alerting message which will appear in the syslog every 1 minute. - Which release branch to backport (provide reason below if selected) 201811 201911 [x ] 202006
Configuration menu - View commit details
-
Copy full SHA for be3c036 - Browse repository at this point
Copy the full SHA be3c036View commit details -
[minigraph.py]: Force /128 prefix for server IPv6 loopbacks (sonic-ne…
…t#6524) Meet the requirement for the MUX_CABLE table that IPv6 loopbacks have a /128 prefix Note that this change only affects the MUX_CABLE table, all other tables continue to use the loopback address provided in minigraph. Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8729fdc - Browse repository at this point
Copy the full SHA 8729fdcView commit details
Commits on Jan 22, 2021
-
[pmon]: Run ledd using python3 unless excluded (sonic-net#6528)
**- Why I did it** Ledd is the last daemon that is not enabled to run in python3. Even though there is a plan to deprecate this daemon and to replace it by something else it's one simple step toward python2 deprecation. **- How I did it** Changed the `command=` line for `ledd` in the `supervisord` configuration of `pmon`. Copied what was done for other daemons. **- How to verify it** Booting a product that has a `led_control.py` should now show the ledd running in python3. I ran `python3 -m pylint` on all `led_control.py` plugin which means that most of them should be python3 compliant. There is however still a risk that some might not work.
Configuration menu - View commit details
-
Copy full SHA for 0464d15 - Browse repository at this point
Copy the full SHA 0464d15View commit details -
Updated BBR to use peer group name as prefix. (sonic-net#6515)
To make BBR configured for peer-group if it's name starts with (prefixed) with the string define in constants.yml instead of exact string match.
Configuration menu - View commit details
-
Copy full SHA for 5f39926 - Browse repository at this point
Copy the full SHA 5f39926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07200ee - Browse repository at this point
Copy the full SHA 07200eeView commit details -
[Multi Asic] support of swss.rec and sairedis.rec for multi asic (son…
…ic-net#6310) Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com - Why I did it This PR has the changes to support having different swss.rec and sairedis.rec for each asic. The logrotate script is updated as well - How I did it Update the orchagent.sh script to use the logfile name options in these PRs(sonic-net/sonic-swss#1546 and sonic-net/sonic-sairedis#747) In multi asic platforms the record files will be different for each asic, with the format swss.asic{x}.rec and sairedis.asic{x}.rec Update the logrotate script for multiasic platform .
Configuration menu - View commit details
-
Copy full SHA for 0e12ca8 - Browse repository at this point
Copy the full SHA 0e12ca8View commit details -
Revert "[files/build/versions]: support reproduceable build for git (s…
…onic-net#5774)" This reverts commit d75c290.
Configuration menu - View commit details
-
Copy full SHA for 1043678 - Browse repository at this point
Copy the full SHA 1043678View commit details
Commits on Jan 23, 2021
-
[docker-config-engine-stretch]: Add missing dependency PYTHON2_SWSSCO…
…MMON (sonic-net#6538) Otherwise all the docker image derived from docker-config-engine-stretch will have broken SONIC_CONFIG_ENGINE_PY2 The bug is introduced in sonic-net#6406
Configuration menu - View commit details
-
Copy full SHA for 1c13340 - Browse repository at this point
Copy the full SHA 1c13340View commit details -
[DellEMC Z9332f] Remove duplicate ipmihelper.py script (sonic-net#6536)
Fixes sonic-net#6445 Because the ipmihelper.py script in the 9332 folder is slightly different than the common one (due to LGTM fixes), when the common one gets copied during build time it causes the workspace/build to become dirty. Signed-off-by: Danny Allen <daall@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for ef6a05f - Browse repository at this point
Copy the full SHA ef6a05fView commit details -
[sonic-platform-daemons] Update submodule (sonic-net#6535)
Submodule changes to be committed: * src/sonic-platform-daemons 81318f7...e72f6cd (3): > [ledd] Minor refactor; add unit tests (sonic-net#143) > [thermalctld] Report unit test coverage (sonic-net#141) > [psud] Increase unit test coverage (sonic-net#140)
Configuration menu - View commit details
-
Copy full SHA for 4a8e513 - Browse repository at this point
Copy the full SHA 4a8e513View commit details -
[process-reboot-cause] Make process-reboot-cause executable (sonic-ne…
…t#6534) process-reboot-cause script should be executable.
Configuration menu - View commit details
-
Copy full SHA for d4cde6d - Browse repository at this point
Copy the full SHA d4cde6dView commit details -
[build-docker-buster]: Install libboost 1.171 In Build Docker (sonic-…
…net#6532) Installing newst buster version of libboost (v1.71) in build docker. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8ce1e3e - Browse repository at this point
Copy the full SHA 8ce1e3eView commit details -
[sonic-host-services] Report unit test coverage (sonic-net#6533)
To view unit test coverage of sonic-host-services package upon build
Configuration menu - View commit details
-
Copy full SHA for 238803d - Browse repository at this point
Copy the full SHA 238803dView commit details
Commits on Jan 24, 2021
-
[teamd]: Increase wait timeout for teamd docker stop to clean Port ch…
…annels. (sonic-net#6537) The Portchannels were not getting cleaned up as the cleanup activity was taking more than 10 secs which is default docker timeout after which a SIGKILL will be send. Fixes sonic-net#6199 To check if it works out for this issue in 201911 ? sonic-net#6503 This issue is significantly seen in master branch compared to 201911 because the Portchannel cleanup takes more time in master. Test on a DUT with 8 Port Channels. master admin@str-s6000-acs-8:~$ time sudo systemctl stop teamd real 0m15.599s user 0m0.061s sys 0m0.038s Sonic 201911.v58 admin@str-s6000-acs-8:~$ time sudo systemctl stop teamd real 0m5.541s user 0m0.020s sys 0m0.028s
Configuration menu - View commit details
-
Copy full SHA for 46b3bd5 - Browse repository at this point
Copy the full SHA 46b3bd5View commit details
Commits on Jan 25, 2021
-
[barefoot] Fixes for platform API (sonic-net#6487)
There was a mismatch with Eeprom class methods names and methods called from Eeprom class. Signed-off-by: Antonina Melnyk antoninax.melnyk@intel.com
Configuration menu - View commit details
-
Copy full SHA for da7f80d - Browse repository at this point
Copy the full SHA da7f80dView commit details -
[DPB][SN4700] extended set of speeds for split modes (sonic-net#6278)
platform.json and hwsku.json files has not a full set of speeds for split modes Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 709c1ec - Browse repository at this point
Copy the full SHA 709c1ecView commit details -
[DPB][SN3700C] extended set of speeds for split modes (sonic-net#6277)
platform.json and hwsku.json files has not a full set of speeds for split modes Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 48e7116 - Browse repository at this point
Copy the full SHA 48e7116View commit details -
[ci]: build syncd-rpc for broadcom and mellanox (sonic-net#6522)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0daad0b - Browse repository at this point
Copy the full SHA 0daad0bView commit details -
[yang_model_test]: Tests for default value of docker_routing_config_m…
…ode and Empty ACL ports. (sonic-net#6470) Tests for default value of docker_routing_config_mode and Empty ACL ports. Signed-off-by: Praveen Chaudhary <pchaudhary@linkedin.com>
Praveen Chaudhary authoredJan 25, 2021 Configuration menu - View commit details
-
Copy full SHA for 24df482 - Browse repository at this point
Copy the full SHA 24df482View commit details -
[sonic-cfggen] parse optional fec and autoneg fields from hwsku.json (s…
…onic-net#6155) **- Why I did it** For now `hwsku.json` and `platform.json` dont support optional fields. For example no way to add `fec` or `autoneg` field using `platform.json` and `hwsku.json`. **- How I did it** Added parsing of optional fields from hwsku.json. **- How to verify it** Add optional field to `hwsku.json`. After first boot will be generated new `config_db.json` or you can generate it using `sonic-cfggen` command. In this file must be optional field from `hwsku.json` or check using command `redis-cli hgetall PORT_TABLE:Ethernet0` Example of `hwsku.json`, that must be parsed: ``` { "interfaces": { "Ethernet0": { "default_brkout_mode": "1x100G[40G]", "fec": "rs", "autoneg": "0" }, ... } ``` Example of generated `config_db.json`: ``` "PORT": { "Ethernet0": { "alias": "Ethernet0", "lanes": "0,1,2,3", "speed": "100000", "index": "1", "admin_status": "up", "fec": "rs", "autoneg": "0", "mtu": "9100" }, ``` So, we can see this entries in redis db: ``` admin@sonic:~$ redis-cli hgetall PORT_TABLE:Ethernet0 1) "alias" 2) "Ethernet0" 3) "lanes" 4) "0,1,2,3" 5) "speed" 6) "100000" 7) "index" 8) "1" 9) "admin_status" 10) "up" 11) "fec" 12) "rs" 13) "autoneg" 14) "0" 15) "mtu" 16) "9100" 17) "description" 18) "" 19) "oper_status" 20) "up" ``` Also its way to fix `show interface status`, `FEC` field but also need add `FEC` field to `hwsku.json`. Before: ``` admin@sonic:~$ show interfaces status Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- ----- ----------- ------ ------ ------- --------------- ---------- Ethernet0 0,1,2,3 100G 9100 N/A Ethernet0 routed up up QSFP28 or later N/A ``` After: ``` admin@sonic:~$ show interfaces status Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC ----------- --------------- ------- ----- ----- ----------- ------ ------ ------- --------------- ---------- Ethernet0 0,1,2,3 100G 9100 rs Ethernet0 routed up up QSFP28 or later N/A ```
Configuration menu - View commit details
-
Copy full SHA for dd0e110 - Browse repository at this point
Copy the full SHA dd0e110View commit details -
[frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framew…
…ork_config is true (sonic-net#5142) - Support for non-template based FRR configurations (BGP, route-map, OSPF, static route..etc) using config DB schema. - Support for save & restore - Jinja template based config-DB data read and apply to FRR during startup **- How I did it** - add frrcfgd service - when frr_mgmg_framework_config is set, frrcfgd starts in bgp container - when user changed the BGP or other related table entries in config DB, frrcfgd will run corresponding VTYSH commands to program on FRR. - add jinja template to generate FRR config file to be used by FRR daemons while bgp container restarted **- How to verify it** 1. Add/delete data on config DB and then run VTYSH "show running-config" command to check if FRR configuration changed. 1. Restart bgp container and check if generated FRR config file is correct and run VTYSH "show running-config" command to check if FRR configuration is consistent with attributes in config DB Co-authored-by: Zhenhong Zhao <zhenhong.zhao@dell.com>
Configuration menu - View commit details
-
Copy full SHA for a171e6c - Browse repository at this point
Copy the full SHA a171e6cView commit details -
[ci]: add vs tests (sonic-net#6506)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3bc82e5 - Browse repository at this point
Copy the full SHA 3bc82e5View commit details -
[submodule]: update sonic-sairedis (sonic-net#6544)
* 20b9573 2021-01-24 | [SAI]: update SAI submodule (sonic-net#775) (HEAD, origin/master, origin/HEAD) [lguohan] * 667c33d 2021-01-22 | [syncd] Comparison logic add support to LABEL attribute with higher priority (sonic-net#764) [Kamil Cudnik] * aaf5b98 2021-01-22 | [vslib]: Fix missing MACsec Create Port action (sonic-net#770) [Ze Gan] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cd3ed54 - Browse repository at this point
Copy the full SHA cd3ed54View commit details -
Check sonic-net#6483 add test to make sure default route change in eth0 does not affect the default route in the default vrf Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4b5212b - Browse repository at this point
Copy the full SHA 4b5212bView commit details -
[submodule]: update sonic-swss
* f4e8245 2021-01-24 | [fpmsyncd] Skip routes to eth0 or docker0 (sonic-net#1606) (HEAD, origin/master, origin/HEAD) [Shi Su] * f4c3579 2021-01-23 | Enhance dynamic buffer calculation and bug fixes (sonic-net#1601) [Stephen Sun] * e800c9f 2021-01-22 | [logfile]: Add option to specify swss rec file name (sonic-net#1546) [arlakshm] * 1acf60e 2021-01-17 | Implementation of System ports initialization, Interface & Neighbor Synchronization... (sonic-net#1431) [minionatwork] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a38377e - Browse repository at this point
Copy the full SHA a38377eView commit details -
[dhcp-relay]: Launch DHCP Relay On L3 Vlan (sonic-net#6527)
Recent changes brought l2 vlan concept which do not have DHCP clients behind them and so DHCP relay is not required. Also, dhcpmon fails to launch on those vlans as their interfaces lack IP addresses. This PR limit launch of both DHCP relay and dhcpmon to L3 vlans only. singed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8d857fa - Browse repository at this point
Copy the full SHA 8d857faView commit details -
[mellanox]: Update SDK to 4.4.2308, FW to *.2008.2308 (sonic-net#6552)
Bugs fixes: All | Kernel | During system reload when CPU is loaded with heavy traffic, a Kernel Panic may occur. All | Modules, Port split | FW stuck when device rebooted with locked Optical Transceivers in split mode Spectrum-3 | PFC | On Spectrum-3 systems, slow reaction time to Rx pause packets on 40GbE ports may lead to buffer overflow on servers. Spectrum-3 | SN4700, Port Split | On rare occasion SN4700, conducting 100G split (4x25G) in NRZ when splitter port 1 or 2 are down, ports 3 and 4 will also go down. Enahncments: All | Kernel | new notification on ISSU start, so other kernel drivers can disable any interface to ASIC Signed-off-by: Kebo Liu <kebol@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 84985e1 - Browse repository at this point
Copy the full SHA 84985e1View commit details
Commits on Jan 26, 2021
-
[ci]: reset the owner for all files under working directory (sonic-ne…
…t#6557) reset the owner for all files under working directory. some files were owned by root after build, which cause next build to fail since directory cannot be cleanned. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6957e37 - Browse repository at this point
Copy the full SHA 6957e37View commit details -
[ci]: add -k ceos option to setup t0 testbed (sonic-net#6565)
this is due to command line change in sonic-net/sonic-mgmt@1e12790 this is due to command line change in sonic-net/sonic-mgmt@1e12790 Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 30ae46e - Browse repository at this point
Copy the full SHA 30ae46eView commit details -
[ci]: archive kvmtest artifacts (sonic-net#6567)
- archive logs - archive kvm memdump when failed - publish kvm test results Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a9a0e30 - Browse repository at this point
Copy the full SHA a9a0e30View commit details -
[submodule]: update sonic-swss (sonic-net#6561)
f4aefba - 2021-01-25 : [Mux] Fix repeating logs in case of tunnel creation fail (sonic-net#1610) [Prince Sunny]
Configuration menu - View commit details
-
Copy full SHA for 7337483 - Browse repository at this point
Copy the full SHA 7337483View commit details -
Configuration menu - View commit details
-
Copy full SHA for e616a32 - Browse repository at this point
Copy the full SHA e616a32View commit details
Commits on Jan 27, 2021
-
[bgpmon]: Fix exception in bgpmon caused by duplicate bgp neighbor ID (…
…sonic-net#6546) * Fix exception in bgpmon caused by duplicate keys It is possible that BGP neighbors in IPv4 and IPv6 address families share the same name (such as bgp monitor). However, such case is not handled in bgpmon, and an Exception will be raised. This commit will address the issue by Using set instead of list to avoid duplicate keys.
Configuration menu - View commit details
-
Copy full SHA for 6fa807d - Browse repository at this point
Copy the full SHA 6fa807dView commit details -
Add hw-mgmt patch to support SDK OFFLINE event for handling flow with…
…in service firmware upgrade (sonic-net#6550) During ISSU, "mlxsw_minimal" driver still trying to access firmware, in some cases FW could return some wrong critical threshold value which will cause switch shutdown. **- How I did it** In order to prevent "mlxsw_minimal" driver from accessing ASIC during ISSU, SDK will raise "OFFLINE" 'udev' event at the early beginning of such flow. When this event is received, hw-management will remove "mlxsw_minimal" driver. There is no need to implement the opposite "ONLINE" event since this flow is ended up with "kexec". **- How to verify it** repeatedly perform warm reboot, make sure there is no switch shutdown occurred.
Configuration menu - View commit details
-
Copy full SHA for 9ff5644 - Browse repository at this point
Copy the full SHA 9ff5644View commit details -
[docker-ptf]: build docker ptf
- combine docker-ptf-saithrift into docker-ptf docker - build docker-ptf under platform vs - remove docker-ptf for other platforms Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ca0e8cb - Browse repository at this point
Copy the full SHA ca0e8cbView commit details -
[build]: add _BUILD_ENV to specify env for dpkg-buildpackage
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 044efe7 - Browse repository at this point
Copy the full SHA 044efe7View commit details -
[ci]: build docker-ptf on vs platform
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f3a901c - Browse repository at this point
Copy the full SHA f3a901cView commit details -
[baseimage]: Updates for Ebtables and support for multi-asic (sonic-n…
…et#6542) Following changes were done for ebtables: - Support for Multi-asic platforms. Ebtable filters are installed in namespace for multi-asic and not host. On Single asic installed on host. - For Multi-asic platforms we don't want to install on host otherwise Namespace-to-Namespace communication does not happens since ARP Request are not forwarded. - Updated to use text file to restore ebtables rules then the binary format. Rules are restore as part of Database docker init instead of rc.local - Removed the ebtable service files for buster as not needed as filters are restored/installed as part of database docker init. All the binaries are pre-installed with ebtables* binary are same as ebatbles-legacy-* Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for cfa8fbb - Browse repository at this point
Copy the full SHA cfa8fbbView commit details -
[docker-config-engine-stretch]: Fix dependency typo PYTHON2_SWSSCOMMON (
sonic-net#6568) This commit fixes a typo in the fix delivered in PR sonic-net#6538 syncd fails on the armhf platform within sonic-config-engine/portconfig.py when importing the following 'from swsscommon.swsscommon import ConfigDBConnector'
Configuration menu - View commit details
-
Copy full SHA for 1f2797a - Browse repository at this point
Copy the full SHA 1f2797aView commit details -
[mellanox]: Update SAI to sonic2012 1.18.1.0 (sonic-net#6566)
Changes in the new release: 1. Policy based hashing optimization 2. New attribute support for Max port headroom 3. Tunnel ECN map fixes 4. Tunnel EVPN skeleton extensions (peer attrib, maps) 5. Bridge port admin not affecting port admin (optimize port down time) 6. CRM new API for neighbors and tunnel termination entries 7. Improve FDB event for flush by bridge port (before, null bridge was reported to SONiC, now the bridge will be extracted from bridge port) 8. DHCP L2 v4+v6 traps (for ZTP use case) 9. Generic counter implementation Signed-off-by: Kebo Liu <kebol@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 7f222e7 - Browse repository at this point
Copy the full SHA 7f222e7View commit details -
[FRR] Create a separate script to wait zebra to be ready to receive c…
…onnections (sonic-net#6519) The requirement for zebra to be ready to accept connections is a generic problem that is not specific to bgpd. Making the script to wait for zebra socket a separate script and let bgpd and staticd to wait for zebra socket.
Configuration menu - View commit details
-
Copy full SHA for aab37b7 - Browse repository at this point
Copy the full SHA aab37b7View commit details
Commits on Jan 28, 2021
-
[proc-exit-listener]: ignore blank lines
make proc-exit-listener more rebust Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 34cca20 - Browse repository at this point
Copy the full SHA 34cca20View commit details -
[docker-fmp-frr]: remove blank lines in generated critical_process
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f7346cc - Browse repository at this point
Copy the full SHA f7346ccView commit details -
[ci]: Download artifact instead of using nfs storage (sonic-net#6570)
I notice that I rerun a failed job (not the stages), the nfs store is already cleaned by previous failed jobs.
Configuration menu - View commit details
-
Copy full SHA for 69c5832 - Browse repository at this point
Copy the full SHA 69c5832View commit details -
[ci]: correct ownership of artifacts (sonic-net#6582)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7d01613 - Browse repository at this point
Copy the full SHA 7d01613View commit details -
[sonic-sairedis] advance submodule to include fix for syncd crash dur…
…ing shutdown (sonic-net#6581) Remove unregisterMessageHandler from NetMsgRegistrar thread (sonic-net#779)
Configuration menu - View commit details
-
Copy full SHA for 98298f7 - Browse repository at this point
Copy the full SHA 98298f7View commit details -
[ci]: append job.attempt in memdump/log artifacts
azure pipepline does not allow upload same artifacts again. thus, use job.attempt to uniquely name the test artifacts Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fb0b999 - Browse repository at this point
Copy the full SHA fb0b999View commit details -
[build]: stop prompt during build (sonic-net#6585)
Some commands used during build will prompt user interactively, but this is not expected during build. Since most output is collected into log file, user could not see the prompt and feel the build process hangs. - How I did it Use mv command in non interactive mode Redirect stdin to null if command output is collected into log file.
Configuration menu - View commit details
-
Copy full SHA for 0e72878 - Browse repository at this point
Copy the full SHA 0e72878View commit details -
[BCMSAI] Update BCMSAI debian to 4.3.0.10 with 6.5.21 SDK, and openns…
…l module to 6.5.21 (sonic-net#6526) BCMSAI 4.3.0.10, 6.5.21 SDK release with enhancements and fixes for vxlan, TD3 MMU, TD4-X9 EA support, etc.
Configuration menu - View commit details
-
Copy full SHA for f6b842e - Browse repository at this point
Copy the full SHA f6b842eView commit details -
[docker-sonic-vs] Install sonic-platform-common package (sonic-net#6587)
**- Why I did it** sonic-utilities will become dependent upon sonic-platform-common as of sonic-net/sonic-utilities#1386. **- How I did it** - Add sonic-platform-common as a dependency in docker-sonic-vs.mk - Additionally, no longer install Python 2 packages of swsssdk and sonic-py-common, as they should no longer be needed.
Configuration menu - View commit details
-
Copy full SHA for 5985d94 - Browse repository at this point
Copy the full SHA 5985d94View commit details -
Bump pyyaml from 5.3.1 to 5.4.1 (sonic-net#6511)
RCE resolved in new version yaml/pyyaml#420
Configuration menu - View commit details
-
Copy full SHA for 1c8d5ec - Browse repository at this point
Copy the full SHA 1c8d5ecView commit details
Commits on Jan 29, 2021
-
[multi asic] add ip netns identify command to sudoer (sonic-net#6591)
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com> - Why I did it The command sudo ip netns identify <pid> is used in function get_current_namespace to check in the cli command is running in host context or within a namespace. This function is used for every CLI command and command sudo ip netns identify <pid> needs to be added in sudoer files to allow users with RO access to run show cli commands This problem is not there on single asic platforms. - How I did it Add ip netns identify [0-9]* to sudoers file.
Configuration menu - View commit details
-
Copy full SHA for ff8cc49 - Browse repository at this point
Copy the full SHA ff8cc49View commit details -
Revert "[build]: disable unit tests for sonic-utilities" (sonic-net#6598
) This reverts commit 470ed18.
Configuration menu - View commit details
-
Copy full SHA for e623c90 - Browse repository at this point
Copy the full SHA e623c90View commit details -
[baseimage]: add docker ps to the sudoer file (sonic-net#6604)
fixes sonic-net/sonic-utilities#1389 With the recent changes in sudoer files. The show commands fails for the read-only users. The problem here is the 'docker ps' is failing in the function [get_routing_stack()](https://github.com/Azure/sonic-utilities/blob/8a1109ed30576f0287fcd98a4349617f7fb55700/show/main.py#L54) therefore all the CLI commands are failing. Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for b522540 - Browse repository at this point
Copy the full SHA b522540View commit details -
[submodule]: update sonic-swss (sonic-net#6601)
* 832815e 2021-01-28 | [orchagent]: Add MACsec Orchagent (sonic-net#1474) (HEAD, origin/master, origin/HEAD) [Ze Gan] * dd4e409 2021-01-28 | [MACsecMgr]: Add MACsec Manager (sonic-net#1475) [Ze Gan] * 91e231c 2021-01-28 | [portsorch] Configure hostif tagging for subports (sonic-net#1573) [Vitaliy Senchyshyn] * 008325c 2021-01-29 | [PortsOrch] Add reference counting to ports for ACL bindings (sonic-net#1614) [chaoskao] * bbd2ca6 2021-01-28 | [crm]: Ignore unsupported/non-implemented switch attributes (sonic-net#1613) [Prabhu Sreenivasan] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 759936c - Browse repository at this point
Copy the full SHA 759936cView commit details -
[build_debian.sh] Freeze pip2 < version 21 (sonic-net#6597)
**- Why I did it** As per https://pypi.org/project/pip/ pip 21.0 does not not support Python 2 from Jan 2021. Most places in the codebase have already been pinned, but this one was missed. **- How I did it** Pin pip2 < version 21 in build_debian.sh
Configuration menu - View commit details
-
Copy full SHA for f9d75a0 - Browse repository at this point
Copy the full SHA f9d75a0View commit details -
[submodule] update sonic-sairedis (sonic-net#6609)
This update includes the following changes > [syncd armhf] Fix syncd crash when running community test suites (sonic-net#777) > Revert "[tests]:Add unittest for MACsec on p2p establishment (sonic-net#771)" > [tests]:Add unittest for MACsec on p2p establishment (sonic-net#771) > [tests] Enable azure pipeline make check to respect unittests (sonic-net#760)
Configuration menu - View commit details
-
Copy full SHA for 2a2c6b7 - Browse repository at this point
Copy the full SHA 2a2c6b7View commit details -
[sonic-device-data]: Update BRCM Tunnel/ECMP Parameter For 7050cx3 SK…
…Us (sonic-net#6415) Update Tunnel and ECMP parameters for brcm 7050cx3 48x50G+8x100G and 32x100G SKUs. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 284c273 - Browse repository at this point
Copy the full SHA 284c273View commit details
Commits on Jan 30, 2021
-
[barefoot][platform] platform API 2.0 fixes (sonic-net#6607)
To improve python3 support of berefoot's sonic_platform Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 4818706 - Browse repository at this point
Copy the full SHA 4818706View commit details -
[broadcom]: Fix BRCM Syncd Error:syncd#/supervisord: syncd sh: 1: eth…
…tool: not found (sonic-net#6615) Starting with BRCM SAI 4.3.1.5 we see the following :ethtool not fount" error in syslog during boot up: ``` Jan 27 07:36:14.712472 str-s6100-acs-1 INFO syncd#/supervisord: syncd sh: 1: Jan 27 07:36:14.712844 str-s6100-acs-1 INFO syncd#/supervisord: syncd ethtool: not found Jan 27 07:36:14.713228 str-s6100-acs-1 INFO syncd#/supervisord: syncd #15 Jan 27 07:36:14.713840 str-s6100-acs-1 INFO syncd#syncd: [0] SAI_API_HOSTIF:_brcm_sai_hostif_speed_set:11894 cmd ethtool -s Ethernet39 speed 40000 rc:32512 Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet39 Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- initPort: Initialized port Ethernet39 Jan 27 07:36:14.717204 str-s6100-acs-1 NOTICE swss#orchagent: :- initializePort: Initializing port alias:Ethernet36 pid:1000000000040 Jan 27 07:36:14.726793 str-s6100-acs-1 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet36 admin:0 oper:0 addr:4c:76:25:f5:48:80 ifindex:75 master:0 Jan 27 07:36:14.727967 str-s6100-acs-1 NOTICE swss#portsyncd: :- onMsg: Publish Ethernet36(ok) to state db Jan 27 07:36:14.729331 str-s6100-acs-1 NOTICE swss#orchagent: :- addHostIntfs: Create host interface for port Ethernet36 Jan 27 07:36:14.752398 str-s6100-acs-1 INFO syncd#/supervisord: syncd sh: 1: ethtool: not found#015 Jan 27 07:36:14.752689 str-s6100-acs-1 INFO syncd#syncd: [0] SAI_API_HOSTIF:_brcm_sai_hostif_speed_set:11894 cmd ethtool -s Ethernet36 speed 40000 rc:32512 Jan 27 07:36:14.756050 str-s6100-acs-1 NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet36 Jan 27 07:36:14.757585 str-s6100-acs-1 NOTICE swss#orchagent: :- initPort: Initialized port Ethernet36 ``` It seems that starting with BRCM SAI 4.2.1.5 syncd is using ethtool to set the host interface speed and since this ethtool was not part of the syncd Docker, we observe these "ethtool not found" issue.
Configuration menu - View commit details
-
Copy full SHA for c5d4779 - Browse repository at this point
Copy the full SHA c5d4779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ffa352 - Browse repository at this point
Copy the full SHA 3ffa352View commit details -
[broadcom]: Add BCM config variable that contains premier cancun firm…
…ware path (sonic-net#6611) BRCM SDK 6.5.21 includes firmware updates (premier cancun) for TD3 platforms. The firmware update is required on TD3 platforms, which is packaged with BCMSAI 4.3.0.10. **- How I did it** Updated BCM config with a new variable that specifies the firmware package path. SDK uses this path to locate firmware packages and load during cold boot. **- How to verify it** bsv BRCM SAI ver: [4.3.0.10], OCP SAI ver: [1.7.1], SDK ver: [sdk-6.5.21] CANCUN ver: [5.3.3] drivshell> admin@str2-7050cx3-acs-02:~$ bcmsh Press Enter to show prompt. Press Ctrl+C to exit. NOTICE: Only one bcmsh or bcmcmd can connect to the shell at same time. drivshell>cancun stat cancun stat UNIT0 CANCUN: CIH: LOADED Ver: 06.06.01 CMH: LOADED Ver: 06.06.01 SDK Ver: 06.05.21 CCH: LOADED Ver: 06.06.01 SDK Ver: 06.05.21 CEH: LOADED Ver: 06.06.01 SDK Ver: 06.05.21 drivshell>
Configuration menu - View commit details
-
Copy full SHA for 908884b - Browse repository at this point
Copy the full SHA 908884bView commit details
Commits on Jan 31, 2021
-
[kvm]: install net-tools package for debug
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 83c51e4 - Browse repository at this point
Copy the full SHA 83c51e4View commit details -
[ci]: cleanup source directory upon checkout
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c041d25 - Browse repository at this point
Copy the full SHA c041d25View commit details -
Check fan speed before check fan status (sonic-net#6586)
**- Why I did it** In thermalctd, when speed of fan exceeds threshold, the fan status will be saved as "bad". So in system health, it is better to check fan speed before fan status. In this case, if fan speed exceeds threshold, we get more detailed information. **- How I did it** Move fan speed check logic before fan status check **- How to verify it** Manual test
Configuration menu - View commit details
-
Copy full SHA for 2a0351c - Browse repository at this point
Copy the full SHA 2a0351cView commit details -
[syncd-rpc docker] Fix issue: ptf_nn_agent isn't able to start in syn…
…cd-rpc docker on buster (sonic-net#6448) - Why I did it Fix issue: ptf_nn_agent isn't able to start in syncd-rpc docker on buster. - How I did it The issue is fixed by installing python-dev, cffi and nnpy for python 2 explicitly. - How to verify it Run copp test on RPC image.
Configuration menu - View commit details
-
Copy full SHA for 4f50658 - Browse repository at this point
Copy the full SHA 4f50658View commit details
Commits on Feb 1, 2021
-
[broadcom]: broadcom sai update to 4.3.0.10-3 (sonic-net#6620)
1. BRCM SAI Debian build need not have any Kernel version dependency - Starting with 4.3 BRCM made changes in SAI so that this dependency has been cleaned up. We can now remove the Kernel Version dependency from Azure Pipeline build script. 2. Bypass PEER_MODE p2mp setting causing SYNCd crash on non-TD3 SKUs - Temporarily patch BRCM SAI code to not cause SYNCd crash when Orchagent program SAI_TUNNEL_ATTR_PEER_MODE: SAI_TUNNEL_PEER_MODE_P2MP on Non-TD3 SKUs. Will remove this when BRCM provide proper fix to address this issue.
Configuration menu - View commit details
-
Copy full SHA for 7928fbf - Browse repository at this point
Copy the full SHA 7928fbfView commit details -
[arm64] disable snmp's parallel make (sonic-net#6592)
snmpd's compile is always failed with file truncated on ARM64 arch, the error log is like "/usr/bin/ld: mibgroup/ip-forward-mib/inetCidrRouteTable/.libs/inetCidrRouteTable_interface.o: file not recognized: file truncated" Co-authored-by: Xianghong Gu <xgu@centecnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 4421a68 - Browse repository at this point
Copy the full SHA 4421a68View commit details -
[ci]: add t1-lag testbed (sonic-net#6619)
introduce run-test template Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dbfdab7 - Browse repository at this point
Copy the full SHA dbfdab7View commit details -
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8a024f0 - Browse repository at this point
Copy the full SHA 8a024f0View commit details -
[frr]: upgrade frr to frr-7.5-s2 tag (sonic-net#6628)
pick-up upstream fixes. important ones - bgpd: Removing "neighbor <peer-group> allowas-in" complete lists * 6b2b5cce3 2021-01-29 | Merge pull request sonic-net#7977 from ton31337/fix/allowas_in_reset_value_7.5 (HEAD -> frr/7.5, tag: frr-7.5-s2, upstream/stable/7.5, origin/frr/7.5, stable/7.5) [Donald Sharp] |\ | * f403534df 2021-01-28 | bgpd: Removing "neighbor <peer-group> allowas-in" [Kishore Kunal] * | 86e2f106c 2021-01-28 | Merge pull request sonic-net#7962 from ton31337/fix/bgpd_validate_community_7.5 [Donald Sharp] |\ \ | |/ |/| | * e182af45c 2021-01-05 | bgpd: separate lcommunity validation from tokenizer [Wesley Coakley] | * 2cf37d594 2020-12-30 | bgpd: Validate community list if they are not malformed [Donatas Abraitis] |/ * a4af08a19 2021-01-22 | Merge pull request sonic-net#7912 from idryzhov/7.5-backports-2021-01 [Donald Sharp] |\ | * 160021013 2021-01-12 | bgpd : multiple memory leak fixes in show commands [Sarita Patra] | * 46a2b560f 2021-01-19 | tools: fix frr-reload BFD profile support [Rafael Zalamena] | * 7f6c81fca 2020-12-02 | ospfd: fix area removal at interface level [ckishimo] | * f7db4dfb1 2021-01-08 | bfdd: update vrf of received packet [Philippe Guibert] | * 4d470f3ef 2021-01-08 | bfdd: enable bfd session if vrf interface available [Philippe Guibert] | * c656985fb 2021-01-08 | bfdd: socket should be bound to vrf interface by default [Philippe Guibert] | * f30c002b8 2021-01-15 | bgpd: Allow peer-groups to have `ttl-security hops` configured [Donald Sharp] | * 85ff76513 2021-01-15 | configure.ac: Correct library name for sysrepo [Bo Zhang] | * d00c543f1 2020-12-04 | bgpd: Handle IPv6 prefixes with IPv4 nexthops for zebra [Donatas Abraitis] | * 87b9b2973 2021-01-06 | zebra: zebra route-map delay-timer is global not per vrf [Donald Sharp] | * 91e1adec9 2021-01-05 | bgpd: Fix default-originate clearing from peer-groups. [zyxwvu Shi] | * 0f2f32fa1 2021-01-05 | isisd: When last area address is removed, resign if we were DR [Karen Schoener] | * 842e99d49 2021-01-02 | vrrpd.yang bug fix: modify augment path to comply with rfc 7950 [Bo Zhang] | * 9616ef937 2020-12-24 | ospfd: fix no show database output when selecting vrf [Louis Scalbert] | * 4c4764e36 2020-11-30 | ospf6d: ospfv3 disable on the interface, but interface prefix still shown in the output [Yash Ranjan] | * 1870dbd86 2020-12-14 | ospf6d: Link LSA is not updated when router priority is modified [Mobashshera Rasool] | * 4883a06c3 2020-12-10 | bgpd: fix evpn route-map vni filter at origin [Chirag Shah] |/ * 9c087052a 2021-01-15 | Merge pull request sonic-net#7877 from vishaldhingra/static_7_5 [Mark Stapp] |\ | * a687b6b27 2021-01-15 | staticd: Backend cofiguration code to fix table-id problem [vdhingra] | * 52370b494 2021-01-15 | staticd: autogenerated code modifications due to yang changes [vdhingra] | * f9d6511f2 2021-01-15 | staticd: make table-id as the key for path-list [vdhingra] |/ Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5c8b70e - Browse repository at this point
Copy the full SHA 5c8b70eView commit details
Commits on Feb 2, 2021
-
[Bgpcfgd] Add unit tests (sonic-net#6634)
Add unit tests for bgpcfgd and fix a minor bug in manager_intf.py found in testing
Configuration menu - View commit details
-
Copy full SHA for ee18483 - Browse repository at this point
Copy the full SHA ee18483View commit details -
[kdump] Fix OOM events in crashkernel (sonic-net#6447)
A few issues where discovered with crashkernel on Arista platforms. 1) platforms using `docker_inram=on` would end up OOM in kdump environment. This happens because the same initramfs is used by SONiC and the crashkernel. With `docker_inram=on` the `dockerfs.tar.gz` is extracted in a `tmpfs` created for the occasion. Since `dockerfs.tar.gz` weights more than 1.5G, it doesn't fit into the kdump environment and ends up OOM. This OOM event can in turn trigger a panic. 2) Arista platforms with `secureboot` enabled would fail to load the crashkernel because the kernel parameter would be discarded on boot. This happens because the `boot0` in secureboot mode is strict about kernel parameter injection. 3) The secureboot path allowlist would remove kernel crash reports. 4) The kdump service would fail on Arista products since `/boot/` is empty in `secureboot` **- How I did it** 1) To prevent an OOM event in the crashkernel the fix is to avoid the codepaths in `union-mount` that create tmpfs and populate them. Some more codepath specific to Arista devices are also skipped to make the kdump process faster. This relies on detecting that the initramfs is starting in a kdump environment and skipping some initialization. The `/usr/sbin/kdump-config` tool appends a few kernel cmdline arguments when loading the crashkernel. The most unique one is `systemd.unit=kdump-tools.service` which is used in a few initramfs hooks to set `in_kdump`. 2) To allow `kdump` to work in `secureboot` environment the cmdline generation in boot0 was slightly modified. The codepath to load kernel parameters changed by SONiC is now running for booting in secure mode. It was altered to prevent an append only behavior which would grow the `kernel-cmdline` at every reboot. This ever growing behavior would lead `kexec` to fail to load the kernel due to a too long cmdline. 3) To get the kernel crash under /var/crash this path has to be added to `allowlist_paths` 4) The `/host/image-XXX/boot` folder is now populated in `secureboot` mode but not used. **- How to verify it** Regular boot: - enable kdump - enable docker_inram=on via kernel-params - reboot - generate a crash `echo c > /proc/sysrq-trigger` - before: witness OOM events on the console - after: crash kernel works and crash available under /var/crash Secure boot: - enable kdump - reboot - generate a crash `echo c > /proc/sysrq-trigger` - before: witness no kdump - after: crash kernel works and crash available under /var/crash Co-authored-by: Boyang Yu <byu@arista.com>
Configuration menu - View commit details
-
Copy full SHA for 0c4d4ac - Browse repository at this point
Copy the full SHA 0c4d4acView commit details -
[proc-exit-listener]: fix syntax error
the bug is introduced in commit 34cca20 Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3f2a39d - Browse repository at this point
Copy the full SHA 3f2a39dView commit details -
Update minigraph.py to parse kubernetes config from minigraph.xml (so…
…nic-net#6633) Update minigraph parser to retrieve kubernetes server info from minigraph.xml and update "KUBERNETES_MASTER|SERVER" in running config. Update minigraph parser to include clusterName from minigraph.xml into "DEVICE_METADATA|localhost"
Configuration menu - View commit details
-
Copy full SHA for 890545f - Browse repository at this point
Copy the full SHA 890545fView commit details -
[arista]: 7050CX3-32S-C32: Remove unused 10G ports and update speed (s…
…onic-net#6638) port_config.ini for HWSKU Arista-7050CX3-32S-C32 has missing speed column and duplicated lanes. The incorrect speed causes issues in Orchagent RESTARTCHECK as the below task remains as the remaining item during swss shutdown.
Configuration menu - View commit details
-
Copy full SHA for 580666a - Browse repository at this point
Copy the full SHA 580666aView commit details
Commits on Feb 3, 2021
-
[platform][barefoot] Install sonic_platform to host (sonic-net#6644)
- Why I did it SONiC design requires sonic_platform package to be installed in SONiC host environment, not only in docker containers. - How I did it For now, sonic_platform python wheel package, that is used by pmon, is provided via device-specific platform modules deb packages that unpacks the wheel package file into specific device's directory on lazy-install. The PR makes deb packages' postinst script also install these unpacked wheel packages to host. Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f8ddc39 - Browse repository at this point
Copy the full SHA f8ddc39View commit details -
[codeowners]: update the global fallback
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eeb9554 - Browse repository at this point
Copy the full SHA eeb9554View commit details -
[BCM Config] Update TD3 bcm.config files to use ISSU capable premium …
…CANCUN 6.4.1 (sonic-net#6651)
Configuration menu - View commit details
-
Copy full SHA for c98e8d6 - Browse repository at this point
Copy the full SHA c98e8d6View commit details -
[ci] Archive compiled Debian packages and Python wheels (sonic-net#6650)
Archive compiled Debian packages and Python wheels so that the artifacts can be downloaded and used by other pipelines. Also archive related log files.
Configuration menu - View commit details
-
Copy full SHA for c488c2d - Browse repository at this point
Copy the full SHA c488c2dView commit details -
[codeowners]: Add as owners of some folders (sonic-net#6654)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3bceccb - Browse repository at this point
Copy the full SHA 3bceccbView commit details -
[sairedis] Submodule Update (sonic-net#6649)
Change in this updat: b39e746 Spell check fixes (sonic-net#783) 373be80 [build-vm] Don't Install Lib Boost 1.67 (sonic-net#784) signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 80cd8c4 - Browse repository at this point
Copy the full SHA 80cd8c4View commit details -
[ci]: Cleanup fsroot before checking out code (sonic-net#6639)
Signed-off-by: Guohan Lu <lguohan@gmail.com> Co-authored-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aae9664 - Browse repository at this point
Copy the full SHA aae9664View commit details -
[ci]: exclude .github from trigger build (sonic-net#6661)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 70a6d76 - Browse repository at this point
Copy the full SHA 70a6d76View commit details -
[ci]: further clean up the source directory before checkout
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c591efc - Browse repository at this point
Copy the full SHA c591efcView commit details -
[barefoot] add platform.json, hwsku.json for mavericks (sonic-net#6629)
platform.json and hwsku.json replacement for deprecated port_config.ini. Also this files need for Dynamic Port Breakout.
Configuration menu - View commit details
-
Copy full SHA for f72e77c - Browse repository at this point
Copy the full SHA f72e77cView commit details -
[bgpcfgd]: Fix unit test for bgp manager (sonic-net#6668)
The check for check_neig_meta was not following the value in constants. Fix it to match the value in constants.
Configuration menu - View commit details
-
Copy full SHA for a09ff52 - Browse repository at this point
Copy the full SHA a09ff52View commit details -
BRCM SAI 4.3.0.10-4 Fix _brcm_sai_indexed_data_get () with unexpected…
… queue causing _brcm_sai_switch_assert () after warm reboot (sonic-net#6664)
Configuration menu - View commit details
-
Copy full SHA for f005888 - Browse repository at this point
Copy the full SHA f005888View commit details
Commits on Feb 4, 2021
-
[sonic-platform-common] submodule update (sonic-net#6669)
This PR updates the following commits in sonic-platform-common 6ad0004 [component] add auto_update_firmware() to support the auto update. (sonic-net#106) 49076a9 [sonic_y_cable] Add support for measuring BER and EYE scan and running Loopback, PRBS modes on the Y cable (sonic-net#158) 6b12b4c [sfp] Add parsing the dom_capability to sff8472 (sonic-net#102) 7fc76b9 [sonic_pcie] Add get_pcie_aer_stats and its common implementation (sonic-net#144) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for efce680 - Browse repository at this point
Copy the full SHA efce680View commit details -
[submodule]: update sonic-snmpagent (sonic-net#6663)
* 3885f19 2021-02-02 | let sysDescr_pass use python3 (sonic-net#195) (HEAD, origin/master, origin/HEAD) [lguohan] * ad302d4 2021-01-28 | Fix: 'key not found' exception in bgp4.py (sonic-net#192) [bingwang-ms] * 59e2a1c 2021-01-27 | Fix fdb_vlanmac() on corner cases (sonic-net#193) [Qi Luo] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9e5fcec - Browse repository at this point
Copy the full SHA 9e5fcecView commit details -
[build]: Fix dependency: asyncsnmp should not depend on PYTHON_SWSSCO…
…MMON (sonic-net#6672) Add dependency: dbsyncd will depend on PYTHON3_SWSSCOMMON
Configuration menu - View commit details
-
Copy full SHA for 9bf01cb - Browse repository at this point
Copy the full SHA 9bf01cbView commit details -
[sFlow] - Fix memory leak (sonic-net#6662)
* Bump version number to 2.0.32-1 to include a fix for a memory-leak found during testing. A wrong API is used to free the cJSON data-structure, which only frees the first pointed-to structure. The proper API should recursively free all structures. Signed-off-by: Garrick He <garrick_he@dell.com>
Configuration menu - View commit details
-
Copy full SHA for bb5b77b - Browse repository at this point
Copy the full SHA bb5b77bView commit details -
[MLNX] update SAI submodule to include fix for debug dump (sonic-net#…
…6667) **Why I did it** Disable SDK extended dump due to issue found **How I did it** Update SAI submodule **How to verify it** Verify the SDK extended dump is not called. Signed-off-by: Eran Dahan <erand@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 984c1cd - Browse repository at this point
Copy the full SHA 984c1cdView commit details -
Version control git (sonic-net#6562)
* support reproduceable build for git clone Signed-off-by: shilongliu <shilongliu@microsoft.com> * fix * bug-fix Signed-off-by: shilongliu <shilongliu@microsoft.com> * bug-fix Signed-off-by: shilongliu <shilongliu@microsoft.com> Co-authored-by: shilongliu <shilongliu@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for e387531 - Browse repository at this point
Copy the full SHA e387531View commit details -
Fix Allow prefix Delete case (sonic-net#6671)
When we add allow-list key with action above route-map gets updated . For eg if we add deny action above template will become to no-export community. Now if we delete the key Issue is we still keep the no-export and do not move back to drop community. This PR fixes this issue by rolling back default route-map community value back to constants.yml default action.
Configuration menu - View commit details
-
Copy full SHA for 92e3517 - Browse repository at this point
Copy the full SHA 92e3517View commit details -
[build]: Fix syncd dpkg cache dependency issue (sonic-net#6680)
* Fix syncd dpkg cache dependency issue
Configuration menu - View commit details
-
Copy full SHA for 19ccba4 - Browse repository at this point
Copy the full SHA 19ccba4View commit details -
[vs]: Update swiotlb buffer size to support multi-asic VS platform. (s…
…onic-net#6674) Current mutli-asic vs hwsku consists of 6 asics with each asic having 32 interfaces. When bringing this up, below issue was seen: When all 32 interfaces in each namespace (sonic interfaces and linux interface) is set to 9100 mtu, DMA error is seen "DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:06:03.0" which can be fixed by updating swiotlb=65536 in /host/grub/grub.cfg . Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 2a92701 - Browse repository at this point
Copy the full SHA 2a92701View commit details -
[submodule]: update sonic-utilities (sonic-net#6681)
* 28d358f 2021-02-01 | [show] Run fwutil with sudo (sonic-net#1364) (HEAD) [Volodymyr Boiko] * a50b7a2 2021-01-29 | [ecnconfig] Allow ecn unit test to run without sudo (sonic-net#1390) [Neetha John] * 8a1109e 2021-01-29 | [sonic-installer] Add information to syslog (sonic-net#1369) [Dmytro] * c7c01e4 2021-01-27 | [show] fix "show interfaces breakout" command (sonic-net#1198) [Dmytro Shevchuk] * 7a8024a 2021-01-27 | Prevent user from adding more then a single untagged VLAN to an interface (sonic-net#1382) [Eran Dahan] * 41e62c6 2021-01-26 | [pcieutil] Add 'pcie-aer' sub-command to display AER stats (sonic-net#1169) [Arun Saravanan Balachandran] * 47f412b 2021-01-25 | Improve robustness of consutil plugin loading (sonic-net#1353) [Samuel Angebault] * 64aa1b8 2021-01-26 | [show] Fix warnings, related to gearbox, while show commands execution (sonic-net#1343) [maksymbelei95] * ff226d0 2021-01-25 | Prevent configuring IP interface on a port which is a member of VLAN (sonic-net#1374) [Eran Dahan] * f1522b9 2021-01-21 | [config_mgmt.py]: Set leaf-list to empty list while port breakout. (sonic-net#1268) [Praveen Chaudhary] * 99c05d5 2021-01-21 | add vlan_intf_object only if there are ipv4 or ipv6 mappings (sonic-net#1377) [Sumukha Tumkur Vani] * b082684 2021-01-21 | [ecn] Add tests for ecnconfig command (sonic-net#1372) [Neetha John] * 23e0920 2021-01-21 | [sfpshow] Enhance QSFP-DD DOM information (sonic-net#1207) [shlomibitton] * f4edba1 2021-01-20 | [ecnconfig] handle backend port names when extracting port I/F ID from the port name (sonic-net#1361) [Mahesh Maddikayala] Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ed4f8d0 - Browse repository at this point
Copy the full SHA ed4f8d0View commit details -
[Mellanox] Update FW upgrade script to use 'mlxfwmanager -d' option f…
…or specifying MST device in FW burn operation (sonic-net#6541) **- Why I did it** Reduce the time it takes for the ASIC FW burn as part of the automatic FW upgrade procedure. **- How I did it** Add -d option to mlxfwmanager tool to use the faster MST device and not the default one which is not the fastest one. **- How to verify it** I manually changed ASIC FW followed by reboot command in order for FW upgrade to take place on deinit. I manually changed ASIC FW followed by hard reset in order for FW upgrade to take place on init. Signed-off-by: liora <liora@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for f76926a - Browse repository at this point
Copy the full SHA f76926aView commit details -
[device] Add as4630_54pe SDK configuration parameters (sonic-net#5167)
**- Why I did it** - Add as4630_54pe SDK configuration parameters. **- How I did it** - Add l3_alpm_enable=2 and ipv6_lpm_128b_enable=1 in hx5-as4630-48x1G+4x25G+2x100G.bcm. Co-authored-by: derek_sun <derek_sun@edge-core> Co-authored-by: derek_sun <ecsonic@edge-core.com>
Configuration menu - View commit details
-
Copy full SHA for ca35503 - Browse repository at this point
Copy the full SHA ca35503View commit details -
[pcie-check] Update underlying pcieutil command and add to sudoers fi…
…le (sonic-net#6682) - Why I did it As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax. Resolves sonic-net#6676 - How I did it Remove pcie- prefix from pcieutil subcommands in calling applications Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions
Configuration menu - View commit details
-
Copy full SHA for 820d350 - Browse repository at this point
Copy the full SHA 820d350View commit details -
[multi_asic][vs]: Add dependency in teamd service to start after topo…
…logy service(sonic-net#6594) [multi_asic][vs]: Add dependency in teamd service to start after topology service. - Why I did it In multi-asic VS, topology service is run after database service to set up the internal asic topology. swss and syncd have a dependency to start after topology service is run so that the interfaces are moved to right namespace and created in the right namespace. In case of multi-asic vs, during the initial boot up, when there is no configuration added, teamd service starts and swss/syncd do not start as topology service does not start. Upon loading configuration using config_db or minigraph, swss and sycnd start up , but teamd is not restarted as swss is not stopped and started. This causes teamd to be in a bad state and requires a reload of config. - How I did it Add dependency in teamd service to start after topology service is completed. - How to verify it No change in single asic vs or platform. No change in multi-asic regular image. Change only in multi-asic VS. Bring up a multi-asic VS image without any configration, teamd service will fail to start due to dependency failure. Load minigraph, start topology service, load configuration, ensure all services come up. Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 62a599a - Browse repository at this point
Copy the full SHA 62a599aView commit details -
[installer] Fix variable inside machine.conf caused install.sh error (s…
…onic-net#6600) Encounter error when install SONiC image if there are some onie_discovery variables assigned with multiple values inside machine.conf - How I did it Replace original ". /machine.conf" method and add another function to do the same thing. - How to verify it Add a item inside /host/machine.conf like onie_disco_ntpsrv=10.254.141.10 10.254.141.131 Do sonic_installer install to check if any error occurs
Configuration menu - View commit details
-
Copy full SHA for cb70c66 - Browse repository at this point
Copy the full SHA cb70c66View commit details -
[submodule]: Updating sonic-swss (sonic-net#6685)
Changed Error log to Notice log during FDB flush notification after VLAN delete (sonic-net#1618) 288fb40 - How to verify it Create a VLAN and add member port to it. Then inject traffic on the member port for that VLAN. Ensure that FDB entry is learnt for that VLAN member port. Then remove the member port and remove VLAN. Check if you get a NOTICE log that "failed to locate VLAN" appears in syslogs. Co-authored-by: Madhan Babu <madhan@l-csi-0241l.mtl.labs.mlnx>
Configuration menu - View commit details
-
Copy full SHA for 4a93bb2 - Browse repository at this point
Copy the full SHA 4a93bb2View commit details
Commits on Feb 5, 2021
-
Dell S6000: Fix reboot failure issue (sonic-net#6656)
Reboot command in Dell S6000 failed to reboot the switch. Added retry mechanism and CPU reset.
Configuration menu - View commit details
-
Copy full SHA for 85a6314 - Browse repository at this point
Copy the full SHA 85a6314View commit details -
DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementati…
…on and fixes (sonic-net#6438) **- Why I did it** To incorporate the below changes in DellEMC S6100, S6000 platforms. - S6100, S6000: - Enable 'thermalctld' - Implement DeviceBase methods (presence, status, model, serial) for Fantray and Component - Implement ‘get_position_in_parent’, ‘is_replaceable’ methods for all device types - Implement ‘get_status’ method for Fantray - Implement ‘get_temperature’, ‘get_temperature_high_threshold’, ‘get_voltage_high_threshold’, ‘get_voltage_low_threshold’ methods for PSU - Implement ‘get_status_led’, ‘set_status_led’ methods for Chassis - SFP: - Make EEPROM read both Python2 and Python3 compatible - Fix ‘get_tx_disable_channel’ method’s return type - Implement ‘tx_disable’, ‘tx_disable_channel’ and ‘set_power_override’ methods - S6000: - Move PSU thermal sensors from Chassis to respective PSU - Make available the data of both Fans present in each Fantray **- How I did it** - Remove 'skip_thermalctld:true' in pmon_daemon_control.json - Implement the platform API methods in the respective device files - Use `bytearray` for data read from transceiver EEPROM - Change return type of 'get_tx_disable_channel' to match specification in sonic_platform_common/sfp_base.py
Configuration menu - View commit details
-
Copy full SHA for fa89c6d - Browse repository at this point
Copy the full SHA fa89c6dView commit details -
[sonic-swss-common] Update submodule (sonic-net#6686)
Includes below commits ``` 9e91e0d 2021-02-04 | Fix: RedisClient.set() should return bool (sonic-net#454) [Qi Luo] 244a0bf 2021-02-04 | [swig] Add missing functions for ConfigDBConnector (sonic-net#453) [Qi Luo] e659698 2021-01-22 | [dbconnector] Make sure json is declared as non null object (sonic-net#452) [Kamil Cudnik] ```
Configuration menu - View commit details
-
Copy full SHA for d4b852a - Browse repository at this point
Copy the full SHA d4b852aView commit details -
[platform] Update QSFP method name 'parse_qsfp_dom_capability' -> 'pa…
…rse_dom_capability' (sonic-net#6695) **- Why I did it** PR sonic-net/sonic-platform-common#102 modified the name of the SFF-8436 (QSFP) method to align the method name between all drivers, renaming it from `parse_qsfp_dom_capability` to `parse_dom_capability`. Once the submodule was updated, the callers using the old nomenclature broke. This PR updates all callers to use the new naming convention. **- How I did it** Update the name of the function globally for all calls into the SFF-8436 driver. Note that the QSFP-DD driver still uses the old nomenclature and should be modified similarly. I will open a PR to handle this separately.
Configuration menu - View commit details
-
Copy full SHA for 18f2c5c - Browse repository at this point
Copy the full SHA 18f2c5cView commit details -
[ci]: Add yaml for azure pipeline official build (sonic-net#6588)
**- Why I did it** To support nightly build for master branch **- How to verify it** confirm from azure pipeline page.
Configuration menu - View commit details
-
Copy full SHA for 23381e6 - Browse repository at this point
Copy the full SHA 23381e6View commit details
Commits on Feb 6, 2021
-
Add the 10G ports with updated speed (sonic-net#6699)
Port_config update for hwsku 7050CX3-32S-C3 - add two 10G ports. This change is added to fix issue of "PortsOrch initialization failure" seen by previous removal of these 10G ports. Tested on the device with new minigraph, and the PortsOrch initialization failure is not seen.
Configuration menu - View commit details
-
Copy full SHA for a7ba1b8 - Browse repository at this point
Copy the full SHA a7ba1b8View commit details -
[ci]: rename official-broadcom to official-build.yml
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f5b24d8 - Browse repository at this point
Copy the full SHA f5b24d8View commit details -
Remove makefile and dependency for python2 of dbsyncd. (sonic-net#6702)
* Remove makefile and As part of sonic-net#6046 we have moved to python3 of dbsyncd. Cleanup the python2 makefile and dependency. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com> * Revert "Remove makefile and dependency for python2 of dbsyncd." This reverts commit ceaa4f8. * Fix Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for d2b8b94 - Browse repository at this point
Copy the full SHA d2b8b94View commit details -
[barefoot][platform] Fix sonic-platform host installation (sonic-net#…
…6696) prerm is needed for platform modules package to be properly removed. Added prerm to remove installed in postinst wheel packages. Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3f2a493 - Browse repository at this point
Copy the full SHA 3f2a493View commit details -
[skip ci]: disable trigger for official build
official build only use scheduled build Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b4fc842 - Browse repository at this point
Copy the full SHA b4fc842View commit details -
[tacacs]: use stg to apply patch
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 87ecaeb - Browse repository at this point
Copy the full SHA 87ecaebView commit details -
[tacacs]: do not modify local user if there is no priviledge
check the uid before modify local user account. when run sudo, the process the invoke nss_tacplus library does not have priviledge to modify the user profile, and will generate below error messages: user_rw@sonic:~$ sudo bash usermod: Permission denied. usermod: cannot lock /etc/passwd; try again later. usermod: Permission denied. usermod: cannot lock /etc/passwd; try again later. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 47e5f05 - Browse repository at this point
Copy the full SHA 47e5f05View commit details -
[sonic-utilities] Depend on sonic-platform-common (sonic-net#6703)
sonic-utilities will become dependent upon sonic-platform-common as of sonic-net/sonic-utilities#1386.
Configuration menu - View commit details
-
Copy full SHA for 10324d0 - Browse repository at this point
Copy the full SHA 10324d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6085c6 - Browse repository at this point
Copy the full SHA c6085c6View commit details -
[device/accton/as4630-54pe] Fix accton driver not been installed (son…
…ic-net#6321) Accton util applies lsmod to check if drivers are installed. But lsmod may return error on startup and skip module installation. Signed-off-by: roy_lee <roy_lee@edge-core.com>
Configuration menu - View commit details
-
Copy full SHA for b6a6c0c - Browse repository at this point
Copy the full SHA b6a6c0cView commit details -
[kvm]: print running process when build kvm fails
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3001bbc - Browse repository at this point
Copy the full SHA 3001bbcView commit details
Commits on Feb 7, 2021
-
[ci]: add marvel armhf official build (sonic-net#6707)
- [ci]: add default values to build template - [ci]: add marvel armhf official build Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2a66e80 - Browse repository at this point
Copy the full SHA 2a66e80View commit details -
[barefoot] Add hwsku.json, platform.json for montara (sonic-net#6554)
* [device] add platform.json hwsku.json for Montara * [device] add autonge, fec fields to hwsku
Configuration menu - View commit details
-
Copy full SHA for 3cc5515 - Browse repository at this point
Copy the full SHA 3cc5515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 834347b - Browse repository at this point
Copy the full SHA 834347bView commit details -
Fix dynamic minimum fan table issue caused by python3 (sonic-net#6690)
**- Why I did it** After migrating to python3, the operator '/' always get a float result, but it gets integer result in python2. Need fix this in thermal_conditions. **- How I did it** 1. cast float value to int 2. change the unit test case to cover this situation **- How to verify it** Manually test and regression test
Configuration menu - View commit details
-
Copy full SHA for 6d4c20e - Browse repository at this point
Copy the full SHA 6d4c20eView commit details -
[ci]: fix the build template error
proper bool comparision Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 54abfd5 - Browse repository at this point
Copy the full SHA 54abfd5View commit details -
[ci]: use build-template for pr build
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 092f537 - Browse repository at this point
Copy the full SHA 092f537View commit details
Commits on Feb 8, 2021
-
[syncd-vs]: remove hardcode version for iproute2 and libcap2-bin (son…
…ic-net#6713) Fix sonic-net#6711 the requirement was introduced in commit 75104bb to support sflow in stretch build. in buster build, the requirement is met, no need to pin down the version. Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for de51ee3 - Browse repository at this point
Copy the full SHA de51ee3View commit details -
[ci]: restructure repo clean up to make it robust (sonic-net#6716)
restructure repo clean up to make it robust Signed-off-by: Guohan Lu <lguohan@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d843d6e - Browse repository at this point
Copy the full SHA d843d6eView commit details -
[broadcom]: BRCM SAI 4.3.0.10-5 : Fix for ACL entry set attribute for…
… IN_PORTS for TD3 (sonic-net#6718) ACL entry set attribute updates all the entries in the table. The correct behavior is to set the attribute on single entry. - How I did it Current SDK code, while setting the new attribute, is going through all the entries and updating it. Added a logic to check for requested entry and only allow for that ACL entry. A case has filed with BRCM. Once an official fix is provided by BRCM, we will then remove this in house fix and apply the official fix.
Configuration menu - View commit details
-
Copy full SHA for 1d99d14 - Browse repository at this point
Copy the full SHA 1d99d14View commit details
Commits on Feb 9, 2021
-
[sonic-host-service] Move to sonic-host-services package (sonic-net#6273
) - Why I did it To move ‘sonic-host-service’ which is currently built as a separate package to ‘sonic-host-services' package. - How I did it - Moved 'sonic-host-server' to 'src/sonic-host-services' and included it as part of the python3 wheel. - Other files were moved to 'src/sonic-host-services-data' and included as part of the deb package. - Changed build option ‘INCLUDE_HOST_SERVICE’ to ‘ENABLE_HOST_SERVICE_ON_START’ for enabling sonic-hostservice at boot-up by default.
Configuration menu - View commit details
-
Copy full SHA for 3015de1 - Browse repository at this point
Copy the full SHA 3015de1View commit details