Flush RESTAPI DB upon config reload (#9093)
This commit is contained in:
parent
933f45e912
commit
65626c8925
@ -146,6 +146,7 @@ start() {
|
||||
$SONIC_DB_CLI ASIC_DB FLUSHDB
|
||||
$SONIC_DB_CLI COUNTERS_DB FLUSHDB
|
||||
$SONIC_DB_CLI FLEX_COUNTER_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*'"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user