[PINS] Add APPL_STATE_DB and response path log (#9082)
- Add APPL_STATE_DB to database_config.json - Clear APPL_STATE_DB during SwSS container restarts - Add response path log file to logrotate config: responsepublisher.rec Co-authored-by: PINS Working Group <sonic-pins-subgroup@googlegroups.com>
This commit is contained in:
parent
950ec3e68b
commit
002827f08e
@ -88,6 +88,11 @@
|
||||
"id" : 13,
|
||||
"separator": "|",
|
||||
"instance" : "redis_chassis"
|
||||
},
|
||||
"APPL_STATE_DB" : {
|
||||
"id" : 14,
|
||||
"separator": ":",
|
||||
"instance" : "redis"
|
||||
}
|
||||
},
|
||||
"VERSION" : "1.0"
|
||||
|
@ -33,6 +33,7 @@
|
||||
/var/log/frr/zebra.log
|
||||
/var/log/swss/sairedis*.rec
|
||||
/var/log/swss/swss*.rec
|
||||
/var/log/swss/responsepublisher.rec
|
||||
{
|
||||
size 1M
|
||||
rotate 5000
|
||||
|
@ -173,6 +173,7 @@ start() {
|
||||
$SONIC_DB_CLI GB_COUNTERS_DB FLUSHDB
|
||||
$SONIC_DB_CLI RESTAPI_DB FLUSHDB
|
||||
clean_up_tables STATE_DB "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'LAG_TABLE*', 'LAG_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'VRF_TABLE*', 'FDB_TABLE*', 'FG_ROUTE_TABLE*', 'BUFFER_POOL*', 'BUFFER_PROFILE*', 'MUX_CABLE_TABLE*'"
|
||||
$SONIC_DB_CLI APPL_STATE_DB FLUSHDB
|
||||
fi
|
||||
|
||||
# On supervisor card, skip starting asic related services here. In wait(),
|
||||
|
@ -77,6 +77,11 @@
|
||||
"id" : 12,
|
||||
"separator": "|",
|
||||
"instance" : "redis_chassis"
|
||||
},
|
||||
"APPL_STATE_DB" : {
|
||||
"id" : 14,
|
||||
"separator": ":",
|
||||
"instance" : "redis"
|
||||
}
|
||||
},
|
||||
"VERSION" : "1.0"
|
||||
|
Reference in New Issue
Block a user