Skip to content
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

add support for debug generate dump tables #922

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion common/consumer_table_pops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ for i = n, 1, -3 do
op == 'object_type_get_availability_query' or
op == 'object_type_get_availability_response' or
op == 'stats_capability_query' or
op == 'stats_capability_response' then
op == 'stats_capability_response' or
op == 'dbg_gen_dump' or
op == 'dbg_gen_dumpresponse' then

-- do not modify db entries when spotted those commands, they are used to
-- trigger actions or get data synchronously from database
Expand Down
3 changes: 3 additions & 0 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,9 @@ namespace swss {

#define STATE_TWAMP_SESSION_TABLE_NAME "TWAMP_SESSION_TABLE"

#define STATE_DBG_GEN_DUMP_TABLE_NAME "DBG_GEN_DUMP_TABLE"
#define STATE_DBG_GEN_DUMP_STATS_TABLE_NAME "DBG_GEN_DUMP_STATS_TABLE"

#define STATE_MACSEC_PORT_TABLE_NAME "MACSEC_PORT_TABLE"
#define STATE_MACSEC_INGRESS_SC_TABLE_NAME "MACSEC_INGRESS_SC_TABLE"
#define STATE_MACSEC_INGRESS_SA_TABLE_NAME "MACSEC_INGRESS_SA_TABLE"
Expand Down
Loading