-
Notifications
You must be signed in to change notification settings - Fork 520
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
Merge remote-tracking branch 'upstream/master' into dash #2663
Commits on Jan 1, 2023
-
Modify coppmgr mergeConfig to support preserving copp tables through …
…reboot. (sonic-net#2548) This PR should be merged together with sonic-net/sonic-utilities#2524 and is required to 202205 and 202211. This PR implements [fastboot] Preserve CoPP table HLD to improve fastboot flow (sonic-net/SONiC#1107). - What I did Modified coppmgr mergeConfig logic to support preserving copp tables contents through reboot. Handle duplicates, overwrites, unsupported keys preserved and new keys. According to sonic-net/SONiC#1107 - Why I did it To shorten dataplane downtime on fast-reboot. - How I verified it Manual tests (community fast-reboot test)
Configuration menu - View commit details
-
Copy full SHA for bdedf69 - Browse repository at this point
Copy the full SHA bdedf69View commit details
Commits on Jan 3, 2023
-
Fix neighbor doesn't update all attribute (sonic-net#2577)
* Fix neighbor doesn't update all attribute
Configuration menu - View commit details
-
Copy full SHA for 4395cea - Browse repository at this point
Copy the full SHA 4395ceaView commit details
Commits on Jan 4, 2023
-
Avoid aborting orchagent when setting TUNNEL attributes (sonic-net#2591)
- What I did Avoid aborting orchagent when setting TUNNEL attributes - Why I did it Do not abort orchagent if vendor SAI returns SAI_STATUS_ATTR_NOT_SUPPORTED_0 Currently, the logic is hit while setting TUNNEL|MuxTunnel0 table for DSCP remapping. For some vendors SAI returns “SAI_STATUS_ATTR_NOT_SUPPORTED_0” in such case. The fix is to avoid aborting orchagent if vendor SAI returns that return value and just to log error message. Skip setting create-only attributes, including “ecn_mode” and “encap_ecn_mode” This is because both SAI attributes are “create-only” according to the community SAI header definition, which means setting on either attribute is illegal. It’s a common limitation for all vendors. The fix is to skip such attributes when they are updated. Also, the logic in setTunnelAttribute to handle both attributes is removed since it’s dead code. - How I verified it Added new unit test to cover the new errors returned and avoiding the abort flow Signed-off-by: Stephen Sun <stephens@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 1dab495 - Browse repository at this point
Copy the full SHA 1dab495View commit details -
[vstest] Only collect stdout of orchagent_restart_check in vstest (so…
…nic-net#2597) * Only collect stdout of orchagent_restart_check in vstest
Configuration menu - View commit details
-
Copy full SHA for f496ab3 - Browse repository at this point
Copy the full SHA f496ab3View commit details
Commits on Jan 5, 2023
-
Handle Mac address 'none' (sonic-net#2593)
In some rare cases, kernel neighbor add notifications are received with Mac string as 'none'. Fixing this to prevent crash.
Configuration menu - View commit details
-
Copy full SHA for 8a0bb36 - Browse repository at this point
Copy the full SHA 8a0bb36View commit details -
Increase diff coverage to 80% (sonic-net#2599)
*Increase diff cov from 50 to 80%
Configuration menu - View commit details
-
Copy full SHA for 4ac9ad9 - Browse repository at this point
Copy the full SHA 4ac9ad9View commit details
Commits on Jan 11, 2023
-
Add missing parameter to on_switch_shutdown_request method. (sonic-ne…
…t#2567) #### Why I did it The switch_id parameter missing in on_switch_shutdown_request() method. #### How I did it Add missing parameter to on_switch_shutdown_request method. #### How to verify it Pass all UT and E2E test cases. #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 #### Description for the changelog Add ZMQ based ProducerStateTable and CustomerStateTable. #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration. --> #### A picture of a cute animal (not mandatory but encouraged)
Configuration menu - View commit details
-
Copy full SHA for 52406e2 - Browse repository at this point
Copy the full SHA 52406e2View commit details -
Revert "[voq][chassis]Add show fabric counters port/queue commands (s…
…onic-net#2522)" (sonic-net#2611) This reverts commit beaac71. Reverts sonic-net#2522 Fixes sonic-net/sonic-buildimage#13324
Configuration menu - View commit details
-
Copy full SHA for b6bbc3e - Browse repository at this point
Copy the full SHA b6bbc3eView commit details -
Added new attributes for Vnet and Vxlan ecmp configurations. (sonic-n…
…et#2584) * added support for monitoring, primary and adv_prefix and overlay_dmac. Signed-off-by: siqbal1486 <shahzad.iqbal@microsoft.com> Signed-off-by: siqbal1486 <shahzad.iqbal@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8857f92 - Browse repository at this point
Copy the full SHA 8857f92View commit details
Commits on Jan 12, 2023
-
[routesync] Fix for stale dynamic neighbor (sonic-net#2553)
* [routesync] Fix for stale dynamic neighbor The changes are for fixing stale neighbor in the ASIC_DB and data path when eBGP neighbors are shutdown and neighbors are flushed. The problem is described in issue: sonic-net/sonic-buildimage#12442 The root cause of this issue is due to not deleing the route from the ASIC_DB when the route's next hop is on eth0 or docker0 interface. The solution is to delete the route entry from ASIC_DB instead of just returning when the route's next hop is on the interface eth0 or docker0 This commit fixes the warm restart unit test failure. When the route with only nh on eth0 or docker0 is removed and if the route is the default route, orchagent sends "add" black hole route to the syncd. So the ASIC DB gets n hset message. When this happens during warm restart, the unit test identifies this as unwanted setting and the unit test fails. To fix this issues, the route delete is sent only if the warm restart is not in progress. This is done following the same warm restart handling approach used for route delete in other palces. Signed-off-by: vedganes <veda.ganesan@nokia.com>
Configuration menu - View commit details
-
Copy full SHA for 4ebdad1 - Browse repository at this point
Copy the full SHA 4ebdad1View commit details
Commits on Jan 13, 2023
-
[MuxOrch] Enabling neighbor when adding in active state (sonic-net#2601)
* [MuxOrch] Enabling neighbor when adding in active state What I did: called enable when adding a neighbor in active state Why I did it: NH routes weren't being updated if they existed in standby state before neighbor is added
Configuration menu - View commit details
-
Copy full SHA for d78b528 - Browse repository at this point
Copy the full SHA d78b528View commit details -
Changed the BFD default detect multiplier to 10x (sonic-net#2614)
* Changed hte BFD default detect multiplier to 10x
Configuration menu - View commit details
-
Copy full SHA for d058390 - Browse repository at this point
Copy the full SHA d058390View commit details
Commits on Jan 18, 2023
-
Remove TODO comments that are no longer relevant (sonic-net#2622)
I removed TODO comments that are no longer relevant. To clean source code, non relevant comments should be cleared from source.
Configuration menu - View commit details
-
Copy full SHA for a01470f - Browse repository at this point
Copy the full SHA a01470fView commit details
Commits on Jan 19, 2023
-
Fix issue #13341 ARP entry can be out of sync between kernel and APPL…
…_DB if multiple updates are received from RTNL (sonic-net#2619) - What I did Fix issue sonic-net/sonic-buildimage#13341 the issue that ARP entry is out of sync between kernel and APPL_DB In AppRestartAssist::insertToMap, in case an entry has been updated more than once with the same value but different from the stored one, keep the state as NEW. Eg. Assume the entry's value that is restored from the warm reboot is V0, the following events received. The first update with value V1 is received and handled by the if (found != appTableCacheMap[tableName].end()) branch, * the state is set to NEW * value is updated to V1 The second update with the same value V1 is received and handled by this branch Originally, the state was set to SAME, which is wrong because V1 is different from the stored value V0 The correct logic should be: set the state to SAME only if the state is not NEW This is a very rare case because most of times, the entry won't be updated multiple times - Why I did it To fix the issue. - How I verified it Mock test is added to cover the case. Signed-off-by: Stephen Sun <stephens@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for cd95972 - Browse repository at this point
Copy the full SHA cd95972View commit details -
[refactor]Refactoring sai handle status (sonic-net#2621)
* [refactor]Refactoring sai handle status
Configuration menu - View commit details
-
Copy full SHA for 383ee68 - Browse repository at this point
Copy the full SHA 383ee68View commit details
Commits on Jan 23, 2023
-
Fix potential risks (sonic-net#2516)
- What I did Fix the following potential risks: Uncaught exceptions in /src/nvos-swss/orchagent/main.cpp and /src/nvos-swss/portsyncd/portsyncd.cpp Uninitialized scalar fields in /src/nvos-swss/orchagent/port.h Unchecked return value in /src/nvos-swss/orchagent/portsorch.cpp Pointer to local outside scope in /src/nvos-swss/orchagent/portsorch.cpp - How I did it Add "catch" to the uncaught exceptions Add initialization value to the uninitialized fields Add a check to the unchecked return value Delete an unnecessary comma - How I verified it Inspection and sanity tests Signed-off-by: Liran Artzi <lartzi@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 7f03db2 - Browse repository at this point
Copy the full SHA 7f03db2View commit details
Commits on Jan 25, 2023
-
Vxlan tunnel endpoint custom monitoring APPL DB table. (sonic-net#2589)
* added support for monitoring, primary and adv_prefix. changed filter_mac to overlay_dmac * Data Structures and code to write APP_DB VNET_MONITOR table entries for custom monitoring of Vxlan tunnel endpoints.
Configuration menu - View commit details
-
Copy full SHA for c54b3d1 - Browse repository at this point
Copy the full SHA c54b3d1View commit details -
[bfdorch] add local discriminator to state DB (sonic-net#2629)
add local discriminator to state DB for "show bfd summary/peer" to show it.
Configuration menu - View commit details
-
Copy full SHA for 9d1f66b - Browse repository at this point
Copy the full SHA 9d1f66bView commit details
Commits on Jan 29, 2023
-
[acl] Add new ACL key BTH_OPCODE and AETH_SYNDROME (sonic-net#2617)
- What I did Add new ACL key BTH_OPCODE and AETH_SYNDROME - Why I did it Add new ACL key BTH_OPCODE and AETH_SYNDROME - How I verified it Manual test
Configuration menu - View commit details
-
Copy full SHA for a2a483d - Browse repository at this point
Copy the full SHA a2a483dView commit details
Commits on Jan 30, 2023
-
[voq][chassis] Remove created ports from the default vlan. (sonic-net…
…#2607) Signed-off-by: Nathan Wolfe nwolfe@arista.com What I did -Remove newly created ports from the default vlan on VOQ systems. -Add a test to confirm we're executing removeDefaultVlanMembers when a new port is added on a VOQ system. Why I did it -When a port is created via create_port SAI call the port may be added to the default vlan, this is undesired. How I verified it -On a 7800R3AK-36DM2 linecard with multiple 400G ports I verified that the TX_TAG_ENABLE field in ETPPC_EDITING_PER_PORT_TABLE was not set for and ports. This confirms that no port is a member of any vlan
Configuration menu - View commit details
-
Copy full SHA for e99e2e4 - Browse repository at this point
Copy the full SHA e99e2e4View commit details
Commits on Feb 2, 2023
-
[EVPN]Handling race condition when remote VNI arrives before tunnel m…
…ap entry (sonic-net#2642) *Added check in remote VNI add to ensure vxlan tunnel map is created before adding the remote end point.
Configuration menu - View commit details
-
Copy full SHA for 8de52bf - Browse repository at this point
Copy the full SHA 8de52bfView commit details
Commits on Feb 6, 2023
-
[test_mux] add sleep in test_NH (sonic-net#2648)
* [test_mux] add sleep in test_NH What I did: added sleep after adding/removing neighbors in test_NH Why I did it: resolve PR failures due to timing issues between adding/deleting neighbors and them being present in the asic_db Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 02c2267 - Browse repository at this point
Copy the full SHA 02c2267View commit details
Commits on Feb 7, 2023
-
Remove "TODO" comment which is no longer relevant (sonic-net#2645)
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Configuration menu - View commit details
-
Copy full SHA for 7d223d3 - Browse repository at this point
Copy the full SHA 7d223d3View commit details
Commits on Feb 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9597eb7 - Browse repository at this point
Copy the full SHA 9597eb7View commit details -
[hash]: Add UT infra. (sonic-net#2660)
*Added UT infra for Generic Hash feature *Aligned PBH tests with Generic Hash UT infra
Configuration menu - View commit details
-
Copy full SHA for 065a471 - Browse repository at this point
Copy the full SHA 065a471View commit details -
[sai_failure_dump]Invoking dump during SAI failure (sonic-net#2644)
* [sai_failure_dump]Invoking dump during SAI failure
Configuration menu - View commit details
-
Copy full SHA for 44ea6a0 - Browse repository at this point
Copy the full SHA 44ea6a0View commit details
Commits on Feb 9, 2023
-
[ResponsePublisher] add pipeline support (sonic-net#2511)
* [ResponsePublisher] add pipeline support Why I did it I did it to improve performance when sending many responses. Responses are buffered in redis client before beeing sent out to redis server, while orchagent has no more pending tasks to do, responses are flushed to redis.
Configuration menu - View commit details
-
Copy full SHA for 4df5cab - Browse repository at this point
Copy the full SHA 4df5cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 486deb5 - Browse repository at this point
Copy the full SHA 486deb5View commit details
Commits on Feb 10, 2023
-
[dash] Fix compilation issue caused by missing include.
After the merge from the master branch dashorch compilation started to fail with "handleSaiRemoveStatus was not declared in this scope". The error is caused by the missing include of "saihelper.h" header file.
Configuration menu - View commit details
-
Copy full SHA for baaea92 - Browse repository at this point
Copy the full SHA baaea92View commit details