[swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (#2510)

This commit is contained in:
Prince Sunny 2019-01-31 23:28:31 -08:00 committed by Ying Xie
parent f167e670fd
commit e9125b944a
3 changed files with 5 additions and 5 deletions

View File

@ -29,6 +29,8 @@ supervisorctl start neighsyncd
supervisorctl start swssconfig
supervisorctl start vrfmgrd
supervisorctl start vlanmgrd
supervisorctl start intfmgrd
@ -39,8 +41,6 @@ supervisorctl start buffermgrd
supervisorctl start enable_counters
supervisorctl start vrfmgrd
supervisorctl start nbrmgrd
# Start arp_update when VLAN exists

View File

@ -93,7 +93,7 @@ start() {
/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
/usr/bin/docker exec database redis-cli -n 5 FLUSHDB
clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*'"
clean_up_tables 6 "'PORT_TABLE*', 'MGMT_PORT_TABLE*', 'VLAN_TABLE*', 'VLAN_MEMBER_TABLE*', 'INTERFACE_TABLE*', 'MIRROR_SESSION*', 'VRF_TABLE*'"
fi
# start service docker

View File

@ -50,6 +50,8 @@ supervisorctl start fpmsyncd
supervisorctl start teammgrd
supervisorctl start vrfmgrd
supervisorctl start portmgrd
supervisorctl start intfmgrd
@ -60,8 +62,6 @@ supervisorctl start zebra
supervisorctl start buffermgrd
supervisorctl start vrfmgrd
supervisorctl start nbrmgrd
# Start arp_update when VLAN exists