Contents

Match

@open_flow13

Scenario: new

  • When I create an OpenFlow message with:
    Pio::Match.new
  • Then the message has the following fields and values:
    fieldvalue
    match_fields[]

Scenario: new(in_port: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(in_port: 1)
  • Then the message has the following fields and values:
    fieldvalue
    in_port1

Scenario: new(metadata: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(metadata: 1)
  • Then the message has the following fields and values:
    fieldvalue
    metadata1

Scenario: new(metadata: 1, metadata_mask: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(metadata: 1, metadata_mask: 1)
  • Then the message has the following fields and values:
    fieldvalue
    metadata1
    metadata_mask1

Scenario: new(source_mac_address: '01:02:03:04:05:06')

  • When I create an OpenFlow message with:
    Pio::Match.new(source_mac_address: '01:02:03:04:05:06')
  • Then the message has the following fields and values:
    fieldvalue
    source_mac_address01:02:03:04:05:06

Scenario: new(destination_mac_address: '01:02:03:04:05:06')

  • When I create an OpenFlow message with:
    Pio::Match.new(destination_mac_address: '01:02:03:04:05:06')
  • Then the message has the following fields and values:
    fieldvalue
    destination_mac_address01:02:03:04:05:06

Scenario: new(source_mac_address: '01:02:03:04:05:06', source_mac_address_mask: 'ff:ff:ff:00:00:00')

  • When I create an OpenFlow message with:
    Pio::Match.new(source_mac_address: '01:02:03:04:05:06', source_mac_address_mask: 'ff:ff:ff:00:00:00')
  • Then the message has the following fields and values:
    fieldvalue
    source_mac_address01:02:03:04:05:06
    source_mac_address_maskff:ff:ff:00:00:00

Scenario: new(destination_mac_address: '01:02:03:04:05:06', destination_mac_address_mask: 'ff:ff:ff:00:00:00')

  • When I create an OpenFlow message with:
    Pio::Match.new(destination_mac_address: '01:02:03:04:05:06', destination_mac_address_mask: 'ff:ff:ff:00:00:00')
  • Then the message has the following fields and values:
    fieldvalue
    destination_mac_address01:02:03:04:05:06
    destination_mac_address_maskff:ff:ff:00:00:00

Scenario: new(ether_type: 0x0800)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048

Scenario: new(vlan_vid: 10)

  • When I create an OpenFlow message with:
    Pio::Match.new(vlan_vid: 10)
  • Then the message has the following fields and values:
    fieldvalue
    vlan_vid10

Scenario: new(vlan_vid: 10, vlan_pcp: 5)

  • When I create an OpenFlow message with:
    Pio::Match.new(vlan_vid: 10, vlan_pcp: 5)
  • Then the message has the following fields and values:
    fieldvalue
    vlan_vid10
    vlan_pcp5

Scenario: new(eth_type: 2048, ip_dscp: 46)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2048, ip_dscp: 46)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_dscp46

Scenario: new(eth_type: 2048, ip_ecn: 3)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2048, ip_ecn: 46)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_ecn3

Scenario: new(ether_type: 0x0800, ipv4_source_address: '192.168.0.1')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ipv4_source_address: '192.168.0.1')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_source_address192.168.0.1

Scenario: new(ether_type: 0x0800, ipv4_destination_address: '192.168.0.1')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ipv4_destination_address: '192.168.0.1')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_destination_address192.168.0.1

Scenario: new(ether_type: 0x0800, ipv4_source_address: '192.168.0.1', ivp4_source_address_mask: '255.255.0.0')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ipv4_source_address: '192.168.0.1', ipv4_source_address_mask: '255.255.0.0')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_source_address192.168.0.1
    ipv4_source_address_mask255.255.0.0

Scenario: new(ether_type: 0x0800, ipv4_destination_address: '192.168.0.1', ivp4_destination_address_mask: '255.255.0.0')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ipv4_destination_address: '192.168.0.1', ipv4_destination_address_mask: '255.255.0.0')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_destination_address192.168.0.1
    ipv4_destination_address_mask255.255.0.0

Scenario: new(ether_type: 0x0800, ip_protocol: 6, tcp_source_port: 1111)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 6, tcp_source_port: 1111)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol6
    tcp_source_port1111

Scenario: new(ether_type: 0x0800, ip_protocol: 6, tcp_destination_port: 80)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 6, tcp_destination_port: 80)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol6
    tcp_destination_port80

Scenario: new(ether_type: 0x0800, ip_protocol: 17, udp_source_port: 2222)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 17, udp_source_port: 2222)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol17
    udp_source_port2222

Scenario: new(ether_type: 0x0800, ip_protocol: 17, udp_destination_port: 3333)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 17, udp_destination_port: 3333)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol17
    udp_destination_port3333

Scenario: new(ether_type: 0x0800, ip_protocol: 132, sctp_source_port: 22)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 132, sctp_source_port: 22)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol132
    sctp_source_port22

Scenario: new(ether_type: 0x0800, ip_protocol: 132, sctp_destination_port: 22)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 132, sctp_destination_port: 22)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol132
    sctp_destination_port22

Scenario: new(ether_type: 0x0800, ip_protocol: 1, icmpv4_type: 8)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 1, icmpv4_type: 8)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol1
    icmpv4_type8

Scenario: new(ether_type: 0x0800, ip_protocol: 1, icmpv4_code: 0)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x0800, ip_protocol: 1, icmpv4_code: 0)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol1
    icmpv4_code0

Scenario: new(eth_type: 2054, arp_operation: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_operation: 1)
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_operation1

Scenario: new(eth_type: 2054, arp_sender_protocol_address: '1.2.3.4')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_sender_protocol_address: '1.2.3.4')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_protocol_address1.2.3.4

Scenario: new(eth_type: 2054, arp_sender_protocol_address: '1.2.3.4', arp_sender_protocol_address_mask: '255.255.0.0')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_sender_protocol_address: '1.2.3.4', arp_sender_protocol_address_mask: '255.255.0.0')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_protocol_address1.2.3.4
    arp_sender_protocol_address_mask255.255.0.0

Scenario: new(eth_type: 2054, arp_target_protocol_address: '1.2.3.4')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_target_protocol_address: '1.2.3.4')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_protocol_address1.2.3.4

Scenario: new(eth_type: 2054, arp_target_protocol_address: '1.2.3.4', arp_target_protocol_address_mask: '255.255.0.0')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_target_protocol_address: '1.2.3.4', arp_target_protocol_address_mask: '255.255.0.0')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_protocol_address1.2.3.4
    arp_target_protocol_address_mask255.255.0.0

Scenario: new(eth_type: 2054, arp_sender_hardware_address: '11:22:33:44:55:66')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_sender_hardware_address: '11:22:33:44:55:66')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_hardware_address11:22:33:44:55:66

Scenario: new(eth_type: 2054, arp_sender_hardware_address: '11:22:33:44:55:66', arp_sender_hardware_address_mask: 'ff:ff:ff:00:00:00')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_sender_hardware_address: '11:22:33:44:55:66', arp_sender_hardware_address_mask: 'ff:ff:ff:00:00:00')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_hardware_address11:22:33:44:55:66
    arp_sender_hardware_address_maskff:ff:ff:00:00:00

Scenario: new(eth_type: 2054, arp_target_hardware_address: '11:22:33:44:55:66')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_target_hardware_address: '11:22:33:44:55:66')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_hardware_address11:22:33:44:55:66

Scenario: new(eth_type: 2054, arp_target_hardware_address: '11:22:33:44:55:66', arp_target_hardware_address_mask: 'ff:ff:ff:00:00:00')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 2054, arp_target_hardware_address: '11:22:33:44:55:66', arp_target_hardware_address_mask: 'ff:ff:ff:00:00:00')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_hardware_address11:22:33:44:55:66
    arp_target_hardware_address_maskff:ff:ff:00:00:00

Scenario: new(ether_type: 0x86dd, ipv6_source_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x86dd, ipv6_source_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_source_address2001:db8:bd05:1d2:288a:1fc0:1:10ee

Scenario: new(ether_type: 0x86dd, ipv6_source_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee', ipv6_source_address_mask: 'ffff:ffff:ffff:ffff::')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x86dd, ipv6_source_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee', ipv6_source_address_mask: 'ffff:ffff:ffff:ffff::')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_source_address2001:db8:bd05:1d2:288a:1fc0:1:10ee
    ipv6_source_address_maskffff:ffff:ffff:ffff::

Scenario: new(ether_type: 0x86dd, ipv6_destination_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x86dd, ipv6_destination_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_destination_address2001:db8:bd05:1d2:288a:1fc0:1:10ee

Scenario: new(ether_type: 0x86dd, ipv6_destination_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee', ipv6_destination_address_mask: 'ffff:ffff:ffff:ffff::')

  • When I create an OpenFlow message with:
    Pio::Match.new(ether_type: 0x86dd, ipv6_destination_address: '2001:db8:bd05:1d2:288a:1fc0:1:10ee', ipv6_destination_address_mask: 'ffff:ffff:ffff:ffff::')
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_destination_address2001:db8:bd05:1d2:288a:1fc0:1:10ee
    ipv6_destination_address_maskffff:ffff:ffff:ffff::

Scenario: new(tunnel_id: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(tunnel_id: 1)
  • Then the message has the following fields and values:
    fieldvalue
    tunnel_id1

Scenario: new(tunnel_id: 1, tunnel_id_mask: 9223372036854775808)

  • When I create an OpenFlow message with:
    Pio::Match.new(tunnel_id: 1, tunnel_id_mask: 9223372036854775808)
  • Then the message has the following fields and values:
    fieldvalue
    tunnel_id1
    tunnel_id_mask9223372036854775808

Scenario: new(packet_reg0: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg0: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg01

Scenario: new(packet_reg0: 1, packet_reg0_mask: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg0: 1, packet_reg0_mask: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg01
    packet_reg0_mask1

Scenario: new(packet_reg1: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg1: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg11

Scenario: new(packet_reg1: 1, packet_reg1_mask: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg1: 1, packet_reg1_mask: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg11
    packet_reg1_mask1

Scenario: new(packet_reg2: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg2: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg21

Scenario: new(packet_reg2: 1, packet_reg2_mask: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg2: 1, packet_reg2_mask: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg21
    packet_reg2_mask1

Scenario: new(packet_reg3: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg3: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg31

Scenario: new(packet_reg3: 1, packet_reg3_mask: 1)

  • When I create an OpenFlow message with:
    Pio::Match.new(packet_reg3: 1, packet_reg3_mask: 1)
  • Then the message has the following fields and values:
    fieldvalue
    packet_reg31
    packet_reg3_mask1

Scenario: read (file: open_flow13/oxm_no_fields.raw)

  • When I parse a file named "open_flow13/oxm_no_fields.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    match_fields[]

Scenario: read (file: open_flow13/oxm_in_port_field.raw)

  • When I parse a file named "open_flow13/oxm_in_port_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    in_port1

Scenario: read (file: open_flow13/oxm_metadata_field.raw)

  • When I parse a file named "open_flow13/oxm_metadata_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    metadata1

Scenario: read (file: open_flow13/oxm_metadata_masked_field.raw)

  • When I parse a file named "open_flow13/oxm_metadata_masked_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    metadata1
    metadata_mask18446744069414584320

Scenario: read (file: open_flow13/oxm_ether_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_ether_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    destination_mac_addressff:ff:ff:ff:ff:ff

Scenario: read (file: open_flow13/oxm_ether_source_field.raw)

  • When I parse a file named "open_flow13/oxm_ether_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    source_mac_address01:02:03:04:05:06

Scenario: read (file: open_flow13/oxm_masked_ether_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ether_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    destination_mac_addressff:ff:ff:ff:ff:ff
    destination_mac_address_maskff:ff:ff:00:00:00

Scenario: read (file: open_flow13/oxm_masked_ether_source_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ether_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    source_mac_address01:02:03:04:05:06
    source_mac_address_maskff:ff:ff:00:00:00

Scenario: read (file: open_flow13/oxm_ether_type_field.raw)

  • When I parse a file named "open_flow13/oxm_ether_type_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type0

Scenario: read (file: open_flow13/oxm_vlan_vid_field.raw)

  • When I parse a file named "open_flow13/oxm_vlan_vid_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    vlan_vid10

Scenario: read (file: open_flow13/oxm_vlan_pcp_field.raw)

  • When I parse a file named "open_flow13/oxm_vlan_pcp_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    vlan_vid10
    vlan_pcp5

Scenario: read (file: open_flow13/oxm_ip_dscp_field.raw)

  • When I parse a file named "open_flow13/oxm_ip_dscp_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_dscp46

Scenario: read (file: open_flow13/oxm_ip_ecn_field.raw)

  • When I parse a file named "open_flow13/oxm_ip_ecn_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_ecn3

Scenario: read (file: open_flow13/oxm_ipv4_source_field.raw)

  • When I parse a file named "open_flow13/oxm_ipv4_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_source_address1.2.3.4

Scenario: read (file: open_flow13/oxm_ipv4_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_ipv4_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_destination_address11.22.33.44

Scenario: read (file: open_flow13/oxm_masked_ipv4_source_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ipv4_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_source_address1.2.3.4
    ipv4_source_address_mask255.255.0.0

Scenario: read (file: open_flow13/oxm_masked_ipv4_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ipv4_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ipv4_destination_address11.22.33.44
    ipv4_destination_address_mask255.255.255.0

Scenario: read (file: open_flow13/oxm_tcp_source_field.raw)

  • When I parse a file named "open_flow13/oxm_tcp_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol6
    tcp_source_port1111

Scenario: read (file: open_flow13/oxm_tcp_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_tcp_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol6
    tcp_destination_port80

Scenario: read (file: open_flow13/oxm_udp_source_field.raw)

  • When I parse a file named "open_flow13/oxm_udp_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol17
    udp_source_port2222

Scenario: read (file: open_flow13/oxm_udp_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_udp_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol17
    udp_destination_port3333

Scenario: read (file: open_flow13/oxm_sctp_source_field.raw)

  • When I parse a file named "open_flow13/oxm_sctp_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol132
    sctp_source_port22

Scenario: read (file: open_flow13/oxm_sctp_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_sctp_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol132
    sctp_destination_port22

Scenario: read (file: open_flow13/oxm_icmpv4_type_field.raw)

  • When I parse a file named "open_flow13/oxm_icmpv4_type_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol1
    icmpv4_type8

Scenario: read (file: open_flow13/oxm_icmpv4_code_field.raw)

  • When I parse a file named "open_flow13/oxm_icmpv4_code_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2048
    ip_protocol1
    icmpv4_code0

Scenario: read (file: open_flow13/oxm_arp_op_field.raw)

  • When I parse a file named "open_flow13/oxm_arp_op_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_operation1

Scenario: read (file: open_flow13/oxm_arp_spa_field.raw)

  • When I parse a file named "open_flow13/oxm_arp_spa_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_protocol_address1.2.3.4

Scenario: read (file: open_flow13/oxm_masked_arp_spa_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_arp_spa_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_protocol_address1.2.3.4
    arp_sender_protocol_address_mask255.255.0.0

Scenario: read (file: open_flow13/oxm_arp_tpa_field.raw)

  • When I parse a file named "open_flow13/oxm_arp_tpa_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_protocol_address1.2.3.4

Scenario: read (file: open_flow13/oxm_masked_arp_tpa_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_arp_tpa_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_protocol_address1.2.3.4
    arp_target_protocol_address_mask255.255.0.0

Scenario: read (file: open_flow13/oxm_arp_sha_field.raw)

  • When I parse a file named "open_flow13/oxm_arp_sha_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_hardware_address11:22:33:44:55:66

Scenario: read (file: open_flow13/oxm_masked_arp_sha_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_arp_sha_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_sender_hardware_address11:22:33:44:55:66
    arp_sender_hardware_address_maskff:ff:ff:ff:ff:ff

Scenario: read (file: open_flow13/oxm_arp_tha_field.raw)

  • When I parse a file named "open_flow13/oxm_arp_tha_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_hardware_address11:22:33:44:55:66

Scenario: read (file: open_flow13/oxm_masked_arp_tha_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_arp_tha_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type2054
    arp_target_hardware_address11:22:33:44:55:66
    arp_target_hardware_address_maskff:ff:ff:ff:ff:ff

Scenario: read (file: open_flow13/oxm_ipv6_source_field.raw)

  • When I parse a file named "open_flow13/oxm_ipv6_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_source_address2001:db8:bd05:1d2:288a:1fc0:1:10ee

Scenario: read (file: open_flow13/oxm_masked_ipv6_source_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ipv6_source_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_source_address2001:db8:bd05:1d2:288a:1fc0:1:10ee
    ipv6_source_address_maskffff:ffff:ffff:ffff::

Scenario: read (file: open_flow13/oxm_ipv6_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_ipv6_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_destination_address2001:db8:bd05:1d2:288a:1fc0:1:10ee

Scenario: read (file: open_flow13/oxm_masked_ipv6_destination_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_ipv6_destination_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    ether_type34525
    ipv6_destination_address2001:db8:bd05:1d2:288a:1fc0:1:10ee
    ipv6_destination_address_maskffff:ffff:ffff:ffff::

Scenario: read (file: open_flow13/oxm_tunnel_id_field.raw)

  • When I parse a file named "open_flow13/oxm_tunnel_id_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    tunnel_id1

Scenario: read (file: open_flow13/oxm_masked_tunnel_id_field.raw)

  • When I parse a file named "open_flow13/oxm_masked_tunnel_id_field.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    tunnel_id1
    tunnel_id_mask9223372036854775808

Scenario: read (file: open_flow13/oxm_experimenter_stratos_basic_dot11.raw)

  • When I parse a file named "open_flow13/oxm_experimenter_stratos_basic_dot11.raw" with "Pio::Match" class
  • Then the message has the following fields and values:
    fieldvalue
    match_fields.at(0).oxm_field0
    match_fields.at(0).experimenter4278247501
    match_fields.at(0).data.unpack('C*')[0, 1, 1]

Source: features/open_flow13/match.feature at commit 40dd0fb6, Pio (GPL license).