ryu/app/rest_firewall.py: handling of no switch connection
ryu/app/rest_firewall.py: handling of no switch connection

This patch improves operation when there is no switch connection.

Cc: Shivaram Mysore <378da60335efa6b71b5c7dce6a8133fe73915c1e@gmail.com>
Signed-off-by: WATANABE Fumitaka <6c314859a5392f5f0c2f5e010c7240be8063009a@nttcom.co.jp>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

alanquillin/ryu,shinpeimuraoka/ryu,pichuang/ryu,fujita/ryu,muzixing/ryu,Tesi-Luca-Davide/ryu,evanscottgray/ryu,citrix-openstack/build-ryu,o3project/ryu-oe,gareging/SDN_Framework,lzppp/mylearning,fkakuma/ryu,fkakuma/ryu,habibiefaried/ryu,diogommartins/ryu,osrg/ryu,torufuru/oolhackathon,TakeshiTseng/ryu,sivaramakrishnansr/ryu,diogommartins/ryu,lagopus/ryu-lagopus-ext,shinpeimuraoka/ryu,diogommartins/ryu,osrg/ryu,alanquillin/ryu,sivaramakrishnansr/ryu,lagopus/ryu-lagopus-ext,gopchandani/ryu,shinpeimuraoka/ryu,darjus-amzn/ryu,hisaharu/ryu,StephenKing/summerschool-2015-ryu,ynkjm/ryu,yamt/ryu,muzixing/ryu,diogommartins/ryu,Tesi-Luca-Davide/ryu,haniehrajabi/ryu,ynkjm/ryu,gareging/SDN_Framework,iwaseyusuke/ryu,Zouyiran/ryu,takahashiminoru/ryu,jkoelker/ryu,gareging/SDN_Framework,darjus-amzn/ryu,citrix-openstack-build/ryu,openvapour/ryu,John-Lin/ryu,fujita/ryu,unifycore/ryu,iwaseyusuke/ryu,lsqtongxin/ryu,habibiefaried/ryu,Tejas-Subramanya/RYU_MEC,ntts-clo/mld-ryu,hisaharu/ryu,openvapour/ryu,fujita/ryu,openvapour/ryu,torufuru/OFPatchPanel,TakeshiTseng/ryu,jazzmes/ryu,lsqtongxin/ryu,Tejas-Subramanya/RYU_MEC,muzixing/ryu,StephenKing/summerschool-2015-ryu,jkoelker/ryu,yamt/ryu,mikhaelharswanto/ryu,pichuang/ryu,StephenKing/ryu,lsqtongxin/ryu,gopchandani/ryu,gopchandani/ryu,John-Lin/ryu,alyosha1879/ryu,OpenState-SDN/ryu,evanscottgray/ryu,lzppp/mylearning,hisaharu/ryu,shinpeimuraoka/ryu,lzppp/mylearning,OpenState-SDN/ryu,citrix-openstack/build-ryu,jazzmes/ryu,elahejalalpour/ELRyu,lagopus/ryu-lagopus-ext,gareging/SDN_Framework,osrg/ryu,Zouyiran/ryu,umkcdcrg01/ryu_openflow,habibiefaried/ryu,takahashiminoru/ryu,zyq001/ryu,takahashiminoru/ryu,iwaseyusuke/ryu,muzixing/ryu,iwaseyusuke/ryu,Tejas-Subramanya/RYU_MEC,Zouyiran/ryu,castroflavio/ryu,osrg/ryu,ysywh/ryu,elahejalalpour/ELRyu,John-Lin/ryu,unifycore/ryu,hisaharu/ryu,torufuru/OFPatchPanel,takahashiminoru/ryu,elahejalalpour/ELRyu,lagopus/ryu-lagopus-ext,yamt/ryu,Zouyiran/ryu,ntts-clo/ryu,lsqtongxin/ryu,fujita/ryu,gopchandani/ryu,habibiefaried/ryu,elahejalalpour/ELRyu,ttsubo/ryu,umkcdcrg01/ryu_openflow,habibiefaried/ryu,Tejas-Subramanya/RYU_MEC,sivaramakrishnansr/ryu,ynkjm/ryu,osrg/ryu,ysywh/ryu,John-Lin/ryu,jkoelker/ryu,zangree/ryu,sivaramakrishnansr/ryu,zangree/ryu,yamt/ryu,TakeshiTseng/ryu,openvapour/ryu,lsqtongxin/ryu,StephenKing/summerschool-2015-ryu,castroflavio/ryu,alanquillin/ryu,StephenKing/ryu,sivaramakrishnansr/ryu,samrussell/ryu,darjus-amzn/ryu,zangree/ryu,jalilm/ryu,torufuru/oolhackathon,ynkjm/ryu,alanquillin/ryu,ttsubo/ryu,haniehrajabi/ryu,ynkjm/ryu,lagopus/ryu-lagopus-ext,StephenKing/ryu,torufuru/oolhackathon,evanscottgray/ryu,lzppp/mylearning,jazzmes/ryu,ntts-clo/mld-ryu,alyosha1879/ryu,zyq001/ryu,yamt/ryu,fkakuma/ryu,StephenKing/summerschool-2015-ryu,diogommartins/ryu,mikhaelharswanto/ryu,samrussell/ryu,StephenKing/ryu,jalilm/ryu,zyq001/ryu,Zouyiran/ryu,haniehrajabi/ryu,ysywh/ryu,ntts-clo/ryu,shinpeimuraoka/ryu,fujita/ryu,darjus-amzn/ryu,StephenKing/summerschool-2015-ryu,pichuang/ryu,StephenKing/ryu,pichuang/ryu,castroflavio/ryu,zyq001/ryu,jalilm/ryu,lzppp/mylearning,jalilm/ryu,Tesi-Luca-Davide/ryu,zyq001/ryu,o3project/ryu-oe,OpenState-SDN/ryu,citrix-openstack-build/ryu,fkakuma/ryu,Tesi-Luca-Davide/ryu,muzixing/ryu,zangree/ryu,Tejas-Subramanya/RYU_MEC,umkcdcrg01/ryu_openflow,ttsubo/ryu,haniehrajabi/ryu,hisaharu/ryu,haniehrajabi/ryu,gareging/SDN_Framework,ttsubo/ryu,pichuang/ryu,iwaseyusuke/ryu,fkakuma/ryu,ysywh/ryu,John-Lin/ryu,takahashiminoru/ryu,TakeshiTseng/ryu,ttsubo/ryu,alyosha1879/ryu,darjus-amzn/ryu,gopchandani/ryu,Tesi-Luca-Davide/ryu,zangree/ryu,alanquillin/ryu,alyosha1879/ryu,yamada-h/ryu,OpenState-SDN/ryu,elahejalalpour/ELRyu,TakeshiTseng/ryu,ysywh/ryu,umkcdcrg01/ryu_openflow,openvapour/ryu,umkcdcrg01/ryu_openflow,jalilm/ryu,OpenState-SDN/ryu,yamada-h/ryu