of1.2: cleanup and update

- adds missing definitions
- reorder definitions in the spec order

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
nxm: add NXM_NX_IP_TTL support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_OF_IP_PROTO support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tested-by: Simon Horman <horms@verge.net.au>
nxm: support arbitrary dl_dst masks

OVS 1.8 and later supports arbitrary dl_dst masks.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_OF_ETH_SRC_W support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_OF_TCP_* and NXM_OF_UDP_* support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_NX_ARP_* support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_OF_IP_SRC and NXM_OF_IP_DST support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
nxm: add NXM_OF_ICMP_TYPE and NXM_OF_ICMP_ICMP_CODE support

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
update setup.py for PyPI

Add classifiers.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
of1.2: add MAX_XID constant

MAX_XID is the value that Ryu chooses. It not in the spec. So I tried
to move it out of ofproto_v1.2.py in the commit
500c744f9610e8a5ff05b6bb8a997b27e5c7f5ee. However, I forgot to add it
to somewhere. I'm not sure where is the best place for it so let's add
it to ofproto_v1.2.py for now.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto/nx_match: simplify set_dl_{src, dst}_mask()

Introduce helper function for mac address,
and simplify set_dl_{src, dst}_mask()

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
ofproto/nx_match: various minor clean up

- initialize Flow.tun_id
- avoid name clash with _set_nxm_headers
- eliminated duplicated MFTPSRC
- s/len/len_/ to avoid name clash with builtin len()

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

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
of1.2: fix some typos

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

Signed-off-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
of1.2: Add OXM_OF_ constants

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Simon Horman <horms@verge.net.au>
Update REAME.rst

- simplify a bit since we have the web site now. We don't use
  README.rst for index.html anymore.
- rewrite 'What's Ryu' section so that it can be used for RPM package
  description.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Update setup.py

Use 'What's Ryu' section for RPM package description. Otherwise, we
use README.rst for long_description so that we have a nice PyPI
website.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Move version string to ryu/__init__.py

Export version string to other components in the sane way.

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