Ensure dnsmasq accept rules are preset at startup.
Ensure dnsmasq accept rules are preset at startup.

Fix bug 1000853.

This bug reported that after restarting nova-network, the dnsmasq ACCEPT
iptables rules were no longer present, causing instances to lose their
IP addresses.  This patch updates the restart_dhcp() function in the
linux_net driver to ensure these rules are present even if dnsmasq was
already running.  Before this was only done when first starting dnsmasq.

Change-Id: Icfbe6177d4c913c3d7755ca40a71752bcdaa4448

orbitfp7/nova,berrange/nova,phenoxim/nova,JioCloud/nova_test_latest,bigswitch/nova,tanglei528/nova,tudorvio/nova,tanglei528/nova,angdraug/nova,thomasem/nova,devoid/nova,cloudbau/nova,angdraug/nova,cloudbase/nova,qwefi/nova,cernops/nova,zzicewind/nova,rahulunair/nova,isyippee/nova,MountainWei/nova,maheshp/novatest,CloudServer/nova,ewindisch/nova,cyx1231st/nova,sebrandon1/nova,vmturbo/nova,virtualopensystems/nova,savi-dev/nova,silenceli/nova,zaina/nova,luogangyi/bcec-nova,usc-isi/nova,edulramirez/nova,Yuriy-Leonov/nova,iuliat/nova,mandeepdhami/nova,ruslanloman/nova,barnsnake351/nova,belmiromoreira/nova,jeffrey4l/nova,TwinkleChawla/nova,imsplitbit/nova,rahulunair/nova,NeCTAR-RC/nova,tealover/nova,citrix-openstack-build/nova,mmnelemane/nova,Juniper/nova,paulmathews/nova,sridevikoushik31/openstack,savi-dev/nova,varunarya10/nova_test_latest,NoBodyCam/TftpPxeBootBareMetal,adelina-t/nova,gooddata/openstack-nova,mahak/nova,plumgrid/plumgrid-nova,DirectXMan12/nova-hacking,badock/nova,shahar-stratoscale/nova,Tehsmash/nova,usc-isi/nova,nikesh-mahalka/nova,rajalokan/nova,JioCloud/nova,dstroppa/openstack-smartos-nova-grizzly,silenceli/nova,adelina-t/nova,rajalokan/nova,SUSE-Cloud/nova,j-carpentier/nova,sebrandon1/nova,fajoy/nova,barnsnake351/nova,leilihh/novaha,imsplitbit/nova,fnordahl/nova,petrutlucian94/nova,jianghuaw/nova,sridevikoushik31/nova,bclau/nova,leilihh/nova,iuliat/nova,vladikr/nova_drafts,Francis-Liu/animated-broccoli,whitepages/nova,shahar-stratoscale/nova,devendermishrajio/nova_test_latest,sridevikoushik31/openstack,jeffrey4l/nova,eonpatapon/nova,viggates/nova,Juniper/nova,cyx1231st/nova,felixma/nova,houshengbo/nova_vmware_compute_driver,noironetworks/nova,maelnor/nova,ntt-sic/nova,yosshy/nova,devendermishrajio/nova,mahak/nova,shootstar/novatest,belmiromoreira/nova,hanlind/nova,dstroppa/openstack-smartos-nova-grizzly,scripnichenko/nova,Yusuke1987/openstack_template,akash1808/nova_test_latest,kimjaejoong/nova,NoBodyCam/TftpPxeBootBareMetal,Metaswitch/calico-nova,shail2810/nova,rrader/nova-docker-plugin,LoHChina/nova,zhimin711/nova,petrutlucian94/nova_dev,sridevikoushik31/nova,mikalstill/nova,CCI-MOC/nova,jianghuaw/nova,bgxavier/nova,mikalstill/nova,LoHChina/nova,akash1808/nova_test_latest,qwefi/nova,mmnelemane/nova,dims/nova,projectcalico/calico-nova,yatinkumbhare/openstack-nova,cloudbase/nova,mandeepdhami/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,nikesh-mahalka/nova,sridevikoushik31/nova,paulmathews/nova,ted-gould/nova,akash1808/nova,mahak/nova,dawnpower/nova,openstack/nova,klmitch/nova,vmturbo/nova,takeshineshiro/nova,blueboxgroup/nova,devendermishrajio/nova,watonyweng/nova,noironetworks/nova,Triv90/Nova,JioCloud/nova_test_latest,virtualopensystems/nova,NeCTAR-RC/nova,klmitch/nova,sacharya/nova,rickerc/nova_audit,bigswitch/nova,maheshp/novatest,maelnor/nova,CEG-FYP-OpenStack/scheduler,DirectXMan12/nova-hacking,bclau/nova,OpenAcademy-OpenStack/nova-scheduler,eharney/nova,gspilio/nova,Juniper/nova,tianweizhang/nova,Yuriy-Leonov/nova,gspilio/nova,savi-dev/nova,houshengbo/nova_vmware_compute_driver,spring-week-topos/nova-week,j-carpentier/nova,cernops/nova,cloudbase/nova-virtualbox,eharney/nova,rickerc/nova_audit,TieWei/nova,tianweizhang/nova,devendermishrajio/nova_test_latest,NewpTone/stacklab-nova,CCI-MOC/nova,cloudbau/nova,viggates/nova,cernops/nova,zzicewind/nova,thomasem/nova,edulramirez/nova,mgagne/nova,dims/nova,gooddata/openstack-nova,petrutlucian94/nova_dev,sridevikoushik31/nova,Triv90/Nova,citrix-openstack-build/nova,zaina/nova,rahulunair/nova,berrange/nova,dawnpower/nova,joker946/nova,OpenAcademy-OpenStack/nova-scheduler,isyippee/nova,raildo/nova,NewpTone/stacklab-nova,redhat-openstack/nova,cloudbase/nova-virtualbox,vladikr/nova_drafts,Francis-Liu/animated-broccoli,Brocade-OpenSource/OpenStack-DNRM-Nova,blueboxgroup/nova,JianyuWang/nova,bgxavier/nova,kimjaejoong/nova,openstack/nova,maoy/zknova,projectcalico/calico-nova,ewindisch/nova,leilihh/novaha,shootstar/novatest,dstroppa/openstack-smartos-nova-grizzly,Tehsmash/nova,redhat-openstack/nova,Juniper/nova,gspilio/nova,plumgrid/plumgrid-nova,BeyondTheClouds/nova,fajoy/nova,Stavitsky/nova,double12gzh/nova,zhimin711/nova,apporc/nova,mikalstill/nova,JianyuWang/nova,gooddata/openstack-nova,maoy/zknova,jianghuaw/nova,phenoxim/nova,vmturbo/nova,Metaswitch/calico-nova,alvarolopez/nova,TwinkleChawla/nova,alaski/nova,raildo/nova,aristanetworks/arista-ovs-nova,klmitch/nova,eayunstack/nova,MountainWei/nova,luogangyi/bcec-nova,joker946/nova,scripnichenko/nova,sridevikoushik31/openstack,affo/nova,ntt-sic/nova,double12gzh/nova,CloudServer/nova,usc-isi/nova,sebrandon1/nova,rajalokan/nova,alexandrucoman/vbox-nova-driver,tudorvio/nova,cloudbase/nova,vmturbo/nova,DirectXMan12/nova-hacking,JioCloud/nova,yatinkumbhare/openstack-nova,apporc/nova,NewpTone/stacklab-nova,ruslanloman/nova,rajalokan/nova,SUSE-Cloud/nova,aristanetworks/arista-ovs-nova,varunarya10/nova_test_latest,eonpatapon/nova,NoBodyCam/TftpPxeBootBareMetal,saleemjaveds/https-github.com-openstack-nova,Stavitsky/nova,sacharya/nova,watonyweng/nova,klmitch/nova,eayunstack/nova,shail2810/nova,jianghuaw/nova,tangfeixiong/nova,maoy/zknova,ted-gould/nova,leilihh/nova,hanlind/nova,openstack/nova,fajoy/nova,maheshp/novatest,takeshineshiro/nova,paulmathews/nova,yrobla/nova,CEG-FYP-OpenStack/scheduler,fnordahl/nova,yrobla/nova,petrutlucian94/nova,Triv90/Nova,devoid/nova,saleemjaveds/https-github.com-openstack-nova,BeyondTheClouds/nova,whitepages/nova,alvarolopez/nova,spring-week-topos/nova-week,alexandrucoman/vbox-nova-driver,CiscoSystems/nova,Yusuke1987/openstack_template,felixma/nova,orbitfp7/nova,mgagne/nova,affo/nova,badock/nova,yosshy/nova,gooddata/openstack-nova,CiscoSystems/nova,tealover/nova,aristanetworks/arista-ovs-nova,akash1808/nova,houshengbo/nova_vmware_compute_driver,yrobla/nova,TieWei/nova,BeyondTheClouds/nova,rrader/nova-docker-plugin,alaski/nova,hanlind/nova,tangfeixiong/nova