[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 lguohan
parent 58adf06cc0
commit 39e12a1d82
3 changed files with 5 additions and 5 deletions

View File

@ -27,6 +27,8 @@ supervisorctl start neighsyncd
supervisorctl start swssconfig supervisorctl start swssconfig
supervisorctl start vrfmgrd
supervisorctl start vlanmgrd supervisorctl start vlanmgrd
supervisorctl start intfmgrd supervisorctl start intfmgrd
@ -37,8 +39,6 @@ supervisorctl start buffermgrd
supervisorctl start enable_counters supervisorctl start enable_counters
supervisorctl start vrfmgrd
supervisorctl start nbrmgrd supervisorctl start nbrmgrd
# Start arp_update when VLAN exists # 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 0 FLUSHDB
/usr/bin/docker exec database redis-cli -n 2 FLUSHDB /usr/bin/docker exec database redis-cli -n 2 FLUSHDB
/usr/bin/docker exec database redis-cli -n 5 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 fi
# start service docker # start service docker

View File

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