Skip to content

Commit 541ef03

Browse files
committed
Set Redis entries to be created in vs ASIC
Signed-off-by: Connor Roos <[email protected]>
1 parent 38a46f7 commit 541ef03

File tree

10 files changed

+66
-55
lines changed

10 files changed

+66
-55
lines changed

syncd/CommandLineOptions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ std::string CommandLineOptions::getCommandLineString() const
7171
ss << " WatchdogWarnTimeSpan=" << m_watchdogWarnTimeSpan;
7272
ss << " SupportingBulkCounters=" << m_supportingBulkCounterGroups;
7373
ss << " EnableAttrVersionCheck=" << (m_enableAttrVersionCheck ? "YES" : "NO");
74+
ss << " IsVirtualSwitch=" << (m_isVirtualSwitch ? "YES" : "NO");
7475

7576
#ifdef SAITHRIFT
7677

syncd/CommandLineOptions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ namespace syncd
9393

9494
int64_t m_watchdogWarnTimeSpan;
9595

96+
bool m_isVirtualSwitch;
97+
9698
#ifdef SAITHRIFT
9799
bool m_runRPCServer;
98100
std::string m_portMapFile;

syncd/CommandLineOptionsParser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ void CommandLineOptionsParser::printUsage()
203203
std::cout << " Counter groups those support bulk polling" << std::endl;
204204
std::cout << " -a --enableAttrVersionCheck" << std::endl;
205205
std::cout << " Enable attribute SAI version check when performing SAI discovery" << std::endl;
206-
206+
std::cout << " -v --isVirtualSwitch" << std::endl;
207+
std::cout << " Is virtual switch" << std::endl;
207208
#ifdef SAITHRIFT
208209

209210
std::cout << " -r --rpcserver" << std::endl;

0 commit comments

Comments
 (0)