Cleanup service db for the network
Cleanup service db for the network

Cleanup the service db for the network when the last
container on the network leaves on the host. This is
because we stop watching the network after the last
container leaves and so if we keep the service db
around it might be kept uptodate with containers
joining and leaving in other hosts. The service
db will populated properly when a container joins
this network at a later point in time.

Signed-off-by: Jana Radhakrishnan <045898bda7d4800fe4909a9831e702ab79e266be@docker.com>

allencloud/libnetwork,tmakita/libnetwork,curtiszimmerman/libnetwork,docker/libnetwork,ityangchen/libnetwork,aboch/libnetwork_new,mahak/libnetwork,mYmNeo/libnetwork,kolyshkin/libnetwork,mahak/libnetwork,anortef/libnetwork,tmakita/libnetwork,mYmNeo/libnetwork,fcrisciani/libnetwork,kolyshkin/libnetwork,vdemeester/libnetwork,runcom/libnetwork,msabansal/libnetwork,amitkris/libnetwork,sainath14/libnetwork,docker/libnetwork,abhi/libnetwork,coolljt0725/libnetwork,YujiOshima/libnetwork,coolljt0725/libnetwork,medallia/libnetwork,mavenugo/libnetwork,jmzwcn/libnetwork,cpuguy83/libnetwork,medallia/libnetwork,medallia/libnetwork,cpuguy83/libnetwork,vdemeester/libnetwork,msabansal/libnetwork,abhi/libnetwork,junxu/libnetwork,mbanikazemi/libnetwork,anortef/libnetwork,kunalkushwaha/libnetwork,YujiOshima/libnetwork,pyakpyak/libnetwork,vdemeester/libnetwork,kunalkushwaha/libnetwork,runcom/libnetwork,mbanikazemi/libnetwork,junxu/libnetwork,WeiZhang555/libnetwork,curtiszimmerman/libnetwork,hackersdotmu/libnetwork,pyakpyak/libnetwork,tgraf/libnetwork,tgraf/libnetwork,mahak/libnetwork,AdoHe/libnetwork,WeiZhang555/libnetwork,fcrisciani/libnetwork,ityangchen/libnetwork,hackersdotmu/libnetwork,mavenugo/libnetwork,sainath14/libnetwork,jmzwcn/libnetwork,jimmycmh/libnetwork,aboch/libnetwork_new,docker/libnetwork,jimmycmh/libnetwork,abhi/libnetwork,allencloud/libnetwork,amitkris/libnetwork,kolyshkin/libnetwork,AdoHe/libnetwork