ofctl_rest: fix mod_meter_entry in OpenFlow1.0/1.2
ofctl_rest: fix mod_meter_entry in OpenFlow1.0/1.2

mod_meter_entry causes the following error when the protocol version is 1.0 or 1.2.

  AttributeError: 'module' object has no attribute 'OFPMC_ADD'

this patch fixes this problem.

Signed-off-by: Yuichi Ito <7a83edf5b53f0b21d4182a3da7518164ce03dc3a@gmail.com>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

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