Add match_tuple() and flow_format() methods to ClsRule
Add match_tuple() and flow_format() methods to ClsRule

This will be used to allow send_flow_mod() to
send either OFPFlowMod or NXTFlowMod messages.

Signed-off-by: Simon Horman <a105fd58f578dea0be108941d4c59d15396e1855@verge.net.au>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

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