Skip to content

Commit

Permalink
[swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (
Browse files Browse the repository at this point in the history
  • Loading branch information
prsunny authored and lguohan committed Feb 1, 2019
1 parent 58adf06 commit 39e12a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dockers/docker-orchagent/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ supervisorctl start neighsyncd

supervisorctl start swssconfig

supervisorctl start vrfmgrd

supervisorctl start vlanmgrd

supervisorctl start intfmgrd
Expand All @@ -37,8 +39,6 @@ supervisorctl start buffermgrd

supervisorctl start enable_counters

supervisorctl start vrfmgrd

supervisorctl start nbrmgrd

# Start arp_update when VLAN exists
Expand Down
2 changes: 1 addition & 1 deletion files/scripts/swss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions platform/vs/docker-sonic-vs/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ supervisorctl start fpmsyncd

supervisorctl start teammgrd

supervisorctl start vrfmgrd

supervisorctl start portmgrd

supervisorctl start intfmgrd
Expand All @@ -58,8 +60,6 @@ supervisorctl start zebra

supervisorctl start buffermgrd

supervisorctl start vrfmgrd

supervisorctl start nbrmgrd

# Start arp_update when VLAN exists
Expand Down

0 comments on commit 39e12a1

Please sign in to comment.