Allow fixed to float ping with external gateway.
Allow fixed to float ping with external gateway.

If you ping an a floating ip from an instance with only a fixed ip, the
traffic will be sent to the default gateway. If the default gateway has
a route to the floating ip, it will then be sent to the host of the
instance with the floating ip. The source address will be on the fixed
network, so if the floating addresses are on a different network, the
receiving host to drop the packet due to the default rp_filter.
Essentially, the route for the fixed range is on a different interface
so it the kernel assumes the packet is spoofed and drops it.

In order to fix this issue this patch adds a new config option called
force_snat_range. Traffic that originates in fixed_range and has a
destination in force_snat_range will always be routed. This forces
the packet to hit the fallback floating roule and be snatted to
routing_source_ip. This means the traffic will originate from the
proper network and the packet will make it through.

DocImpact

Fixes bug 1122335

Change-Id: I7e31c25d37a5c4fd02c8238aec58a28af3fd7f6a

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