Sha256: 1c4ee1f82c8dff40184b4cc1630523d9618c913d90b4a68ad8da06f45eb0d7d8

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 KB

Contents

@open_flow13
Feature: Features::Reply
  Scenario: new
    When I create an OpenFlow message with:
      """
      Pio::Features::Reply.new(
        datapath_id: 0x123,
        n_buffers: 0x100,
        n_tables: 0xfe,
        capabilities: [:flow_stats, :table_stats, :port_stats, :group_stats, :ip_reasm, :queue_stats, :port_blocked]
      )
      """
    Then the message has the following fields and values:
      | field          |                                                                                          value |
      | version        |                                                                                              4 |
      | transaction_id |                                                                                              0 |
      | xid            |                                                                                              0 |
      | datapath_id    |                                                                                            291 |
      | dpid           |                                                                                            291 |
      | n_buffers      |                                                                                            256 |
      | n_tables       |                                                                                            254 |
      | auxiliary_id   |                                                                                              0 |
      | capabilities   | [:flow_stats, :table_stats, :port_stats, :group_stats, :ip_reasm, :queue_stats, :port_blocked] |
      | reserved       |                                                                                              0 |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pio-0.30.2 features/open_flow13/features_reply.feature
pio-0.30.1 features/open_flow13/features_reply.feature