Make it clear subnet_bits is unused in ipam case
Make it clear subnet_bits is unused in ipam case

In NetworkManager.create_networks(), the subnet_bits variable is unused
where 'ipam' is passed as a parameter - i.e. when the method is called
from QuantumNovaIPAMLib. This is because in the ipam case we never
carve up the IP range into multiple networks.

Move the variable around so that its usage scope is more obvious.

Change-Id: I2a1a2cb63f9864c15b33b30f1bf995a50a6ec067

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