Sha256: 2e398cc34b71acf0fc688ba5812f251e60d56be9107109da2979e45ce98bc528

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 KB

Contents

@open_flow10
Feature: FlowRemoved

  If the controller has requested to be notified when flows time out, the datapath
  does this with the FlowRemoved message.

  Scenario: read
    When I parse a file named "open_flow10/flow_removed.raw" with "FlowRemoved" class
    Then the message has the following fields and values:
      | field                                              | value   |
      | transaction_id                                     | 0       |
      | xid                                                | 0       |
      | match.wildcards.keys.size                          | 11      |
      | match.wildcards.fetch(:destination_mac_address)    | true    |
      | match.wildcards.fetch(:source_mac_address)         | true    |
      | match.wildcards.fetch(:ether_type)                 | true    |
      | match.wildcards.fetch(:destination_ip_address_all) | true    |
      | match.wildcards.fetch(:ip_protocol)                | true    |
      | match.wildcards.fetch(:source_ip_address_all)      | true    |
      | match.wildcards.fetch(:tos)                        | true    |
      | match.wildcards.fetch(:transport_destination_port) | true    |
      | match.wildcards.fetch(:transport_source_port)      | true    |
      | match.wildcards.fetch(:vlan_priority)              | true    |
      | match.wildcards.fetch(:vlan_vid)                   | true    |
      | cookie                                             | 1       |
      | priority                                           | 65535   |
      | reason                                             | :delete |
      | duration_sec                                       | 0       |
      | duration_nsec                                      | 0       |
      | idle_timeout                                       | 0       |
      | packet_count                                       | 0       |
      | byte_count                                         | 0       |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pio-0.30.2 features/open_flow10/flow_removed.feature
pio-0.30.1 features/open_flow10/flow_removed.feature