Nicira plugin: do not die if NVP gateway IP is missing
Nicira plugin: do not die if NVP gateway IP is missing

Devstack should not die if the IP and prefix len for establishing
a connection to the public network are not provided.
In this case, the public gateway IP address used to configure
Neutron's public network should be used, together with the prefix
length of the public network's CIDR.

This patch also ensures $PUBLIC_BRIDGE is created, even if
Q_USE_DEBUG_COMMAND is disabled. Finally this patch also adds
the teardown operation for restoring the original IP addresses
on the interface used for connectivity to the public network
implemented on the NVP gateway.

Bug #1227750

Change-Id: Ib58738a578c46f2183d503cabfdc6039bfbeb702

openstack-dev/devstack,bigswitch/devstack,mc2014/devstack,upadhyay-prashant/devstack,richliu/devstack,andrewrothstein/devstack,pacinete/devstack,BSJAIN92/OpenStack,bswartz/devstack,HPCHub/devstack,Millnert/contrail-devstack,promptworks/devstack,parul24/devstack,liuquansheng47/devstack,JioCloud/devstack,thomasem/devstack,pombredanne/devstack,herrsechs/devstack,tianweizhang/devstack,varunarya10/devstack,bljgaurav/openstack-test,sc68cal/devstack,upadhyay-prashant/devstack,TwinkleChawla/devstack,jamielennox/devstack,atulpatil301/devstack,dtroyer/devstack,dirkmueller/devstack,costingalan/devstack,kplus/devstack-moonshot,wenhuizhang/devstack,NaokiMiyata/devstack,ozamiatin/devstack,kplus/devstack-moonshot,yamt/devstack,vishnugonela/devstack,eshnil2000/devstack,virtualopensystems/devstack,eharney/devstack,pacinete/devstack,parul24/devstack,liuquansheng47/devstack,samgoon/devstack,noironetworks/devstack,ozamiatin/devstack,group-policy/devstack,mmasaki/devstack,mssumanth/devstack,nawawi/openstack,openstack-dev/devstack,Mahito/devstack,NaokiMiyata/devstack,Juniper/devstack,avvocatodemarchis/devstack,noironetworks/devstack,mmasaki/devstack,andrewrothstein/devstack,olivierlemasle/devstack,thomasem/devstack,CloudServer/devstack,HPCHub/devstack,nawawi/openstack,sequenceiq/devstack,bswartz/devstack,bq-xiao/devstack,vsham20/devstack,atulpatil301/devstack,CloudServer/devstack,mc2014/devstack,herrsechs/devstack,bljgaurav/openstack-test,costingalan/devstack,prithivm/branch01,j4/devstack,sequenceiq/devstack,group-policy/devstack,mssumanth/devstack,nuxeh/devstack,tianweizhang/devstack,neerja28/Devstack_GlusterFS,nuxeh/devstack,avvocatodemarchis/devstack,prithivm/branch01,bigswitch/devstack,promptworks/devstack,rushiagr/devstack,flavio-fernandes/devstack,olivierlemasle/devstack,eharney/devstack,samgoon/devstack,affo/devstack,j4/devstack,BSJAIN92/OpenStack,bq-xiao/devstack,flavio-fernandes/devstack,LoHChina/devstack,rushiagr/devstack,pczerkas/devstack,vishnugonela/devstack,wenhuizhang/devstack,Mahito/devstack,srics/devstack,varunarya10/devstack,richliu/devstack,neerja28/Devstack_GlusterFS,TwinkleChawla/devstack,pombredanne/devstack,dtroyer/devstack,vsham20/devstack,sc68cal/devstack,innodee/openstackk,affo/devstack,pczerkas/devstack,williamthegrey/devstack,dirkmueller/devstack,LoHChina/devstack