TODO: commit log

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
sw test tool: Add support for OpenFlow 1.4

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
sw test tool: Change OF versions variably which are used to parse

The switch tool uses OF versions of switches that are connecting, instead of of13 fixed, to parse test files.
For using OF versions of switches, the tool gets to parse test files after switches are connected.

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
sw test tool: Change OF versions variably which are used to compare

The switch tool uses OF versions of switches that are connecting, instead of of13 fixed, to compare messages.

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
sw test tool: Change match conditions of ofp_packet_in_reason

ofp_packet_in_reason of OF 1.3.3 spec is as follows:

    OFPR_NO_MATCH    = 0,  /* No matching flow (table-miss flow entry). */
    OFPR_ACTION      = 1,  /* Action explicitly output to controller. */
    OFPR_INVALID_TTL = 2,  /* Packet has invalid TTL */

ofp_packet_in_reason of OF 1.4.0 spec is as follows:

    OFPR_TABLE_MISS   = 0,  /* No matching flow (table-miss flow entry). */
    OFPR_APPLY_ACTION = 1,  /* Output to controller in apply-actions. */
    OFPR_INVALID_TTL  = 2,  /* Packet has invalid TTL */
    OFPR_ACTION_SET   = 3,  /* Output to controller in action set. */
    OFPR_GROUP        = 4,  /* Output to controller in group bucket. */
    OFPR_PACKET_OUT   = 5,  /* Output to controller in packet-out. */

OFPR_TABLE_MISS is defined as OFPR_NO_MATCH in ryu/ofproto/ofproto_v1_4.py.

The switch test tool reports reasons except user-expected reasons, i.e. OFPR_NO_MATCH and OFPR_INVALID_TTL.

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
sw test tool: Add mask length of ipv6_flabel

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>