ofproto_v1_0_parser: import ofproto_v1_0 as 'ofproto'

as proposed while ago, import ofproto_v1_0 with a version agnostic name
to reduce differences between parser modules.

the name 'ofproto' was chosen to match with ofproto_v1_4_parser.

update tests accordingly.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto_v1_2_parser: import ofproto_v1_2 as 'ofproto'

as proposed while ago, import ofproto_v1_2 with a version agnostic name
to reduce differences between parser modules.

the name 'ofproto' was chosen to match with ofproto_v1_4_parser.

update tests accordingly.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto_v1_3_parser: import ofproto_v1_3 as 'ofproto'

as proposed while ago, import ofproto_v1_3 with a version agnostic name
to reduce differences between parser modules.

the name 'ofproto' was chosen to match with ofproto_v1_4_parser.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto_protocol: provide a class to describe an openflow version

currently OFP classes takes the Datapath object, which is too complex
for this purpose.  this class, ProtocolDesc, is intended to be
a simpler replacement for that.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Reviewed-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
controller: use ProtocolDesc

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
test_parser: replace a hack with ProtocolDesc

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
OFPGroupMod: Fix OFPGC_* typo in examples

OFPFC_* enumerations are declared for flow mod commands, not for groups.

Signed-off-by: Wei-Li Tang <alextwl@xinguard.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>