Skip to content

Commit 8e0cfdf

Browse files
oleksandrivantsivtheasianpianist
authored andcommitted
Merge remote-tracking branch 'upstream/master' into dash (sonic-net#2663)
*Merge remote-tracking branch 'upstream/master' into dash (sonic-net#2663) * Modify coppmgr mergeConfig to support preserving copp tables through reboot. (sonic-net#2548) * Avoid aborting orchagent when setting TUNNEL attributes (sonic-net#2591) * Handle Mac address 'none' (sonic-net#2593) * Increase diff coverage to 80% (sonic-net#2599) * Add missing parameter to on_switch_shutdown_request method. (sonic-net#2567) * Add ZMQ based ProducerStateTable and CustomerStateTable. * Revert "[voq][chassis]Add show fabric counters port/queue commands (sonic-net#2522)" (sonic-net#2611) * Added new attributes for Vnet and Vxlan ecmp configurations. (sonic-net#2584) * added support for monitoring, primary and adv_prefix and overlay_dmac. * [routesync] Fix for stale dynamic neighbor (sonic-net#2553) * [MuxOrch] Enabling neighbor when adding in active state (sonic-net#2601) * Changed the BFD default detect multiplier to 10x (sonic-net#2614) * Remove TODO comments that are no longer relevant (sonic-net#2622) * 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) * [refactor]Refactoring sai handle status (sonic-net#2621) * 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. * [bfdorch] add local discriminator to state DB (sonic-net#2629) * [acl] Add new ACL key BTH_OPCODE and AETH_SYNDROME (sonic-net#2617) * [voq][chassis] Remove created ports from the default vlan. (sonic-net#2607) * [EVPN]Handling race condition when remote VNI arrives before tunnel map entry (sonic-net#2642) *Added check in remote VNI add to ensure vxlan tunnel map is created before adding the remote end point. * [test_mux] add sleep in test_NH (sonic-net#2648) * [autoneg]Fixing adv interface types to be set when AN is disabled (sonic-net#2638) * [hash]: Add UT infra. (sonic-net#2660) *Added UT infra for Generic Hash feature *Aligned PBH tests with Generic Hash UT infra * [sai_failure_dump]Invoking dump during SAI failure (sonic-net#2644) * [ResponsePublisher] add pipeline support (sonic-net#2511) * [dash] Fix compilation issue caused by missing include.
1 parent b06357a commit 8e0cfdf

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

orchagent/dash/dashorch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "macaddress.h"
1515
#include "timer.h"
1616
#include "dashorch.h"
17+
#include "saihelper.h"
1718

1819
struct ApplianceEntry
1920
{

orchagent/dash/dashvnetorch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "saiextensions.h"
1818
#include "swssnet.h"
1919
#include "tokenize.h"
20+
#include "dashorch.h"
2021

2122
using namespace std;
2223
using namespace swss;

orchagent/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,9 @@ int main(int argc, char **argv)
716716
if (gMySwitchType == "voq")
717717
{
718718
orchDaemon->setFabricEnabled(true);
719-
orchDaemon->setFabricPortStatEnabled(true);
720-
orchDaemon->setFabricQueueStatEnabled(true);
719+
// SAI doesn't fully support counters for non fabric asics
720+
orchDaemon->setFabricPortStatEnabled(false);
721+
orchDaemon->setFabricQueueStatEnabled(false);
721722
}
722723
}
723724
else

orchagent/vnetorch.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ typedef enum
3232
MONITOR_SESSION_STATE_DOWN,
3333
} monitor_session_state_t;
3434

35+
enum class MONITOR_SESSION_STATE
36+
{
37+
MONITOR_SESSION_STATE_UP,
38+
MONITOR_SESSION_STATE_DOWN,
39+
MONITOR_SESSION_STATE_UNKNOWN,
40+
};
3541
const request_description_t vnet_request_description = {
3642
{ REQ_T_STRING },
3743
{

tests/test_vnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,7 @@ def test_vnet_orch_24(self, dvs, testlog):
34273427

34283428
# delete vxlan tunnel
34293429
delete_vxlan_tunnel(dvs, tunnel_name)
3430-
3430+
34313431
# Add Dummy always-pass test at end as workaroud
34323432
# for issue when Flaky fail on final test it invokes module tear-down before retrying
34333433
def test_nonflaky_dummy():

0 commit comments

Comments
 (0)