initial commit

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
doc: clarify our goal for OpenStack

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
doc: fix typo

Pointed out by Dan Wendlandt

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
doc: use Network Operating System instead of Network OS for consistency

s/Network OS/Network Operating System/g

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
doc: fix typos

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
doc: how-l2-segregation-works: update images a bit

Use arrows consistently.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fix to send OFPT_HELLO with the highest OpenFlow protocol version

Preparation for 1.2 support.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Use from gevent.queue import Queue

For consistency.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ryu.conf: eliminate obsolete config

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
pep8: ryu/ofproto/ofproto_v1_0.py

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
pep8: utils.py

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
pylint: add a script to run pylint and pylintrc

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
remove OF version dependence from MsgBase class

This removes OF 1.0 version dependence from MsgBase class to enable OF
1.2 version parser to use MsgBase class.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
move MsgBase class to ofproto_parser.py from ofproto_parser_v1_0.py

This moves MsgBase class to ofproto_parser.py from
ofproto_parser_v1_0.py in order to enable OF 1.2 version parser to use
MsgBase class.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto/ofproto_v1_0: typo, missing consts

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
lib/mac: add helper function/values

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto_v1_0_parser: allows 0 as dl_{src, dst} for OFPMatch

When 0 is passed for dl_{src, dst}, it is converted to '\x00' * 6
So when creating OFPMatch with wildcarded dl_{src, dst},
the argument can be simplified to 0 instead of '\x00' * 6.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto/ofproto_v1_0_parser: more parsers/serializers

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto_v1_0: add a constant, MAX_XID

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
xid: improve xid handling

Generate xid for ofp message instead of always 0.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>