-
Notifications
You must be signed in to change notification settings - Fork 11
/
queue_stats_request.feature
33 lines (30 loc) · 1.07 KB
/
queue_stats_request.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@open_flow10
Feature: QueueStats::Request
Information about queues is requested with a Queue Stats Request
message.
Scenario: new(port: 1, queue_id: 1)
When I create an OpenFlow message with:
"""
Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1)
"""
Then the message has the following fields and values:
| field | value |
| version | 1 |
| transaction_id | 0 |
| xid | 0 |
| stats_type | :queue |
| port | 1 |
| queue_id | 1 |
Scenario: new(port: 1, queue_id: 1, transaction_id: 123)
When I create an OpenFlow message with:
"""
Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1, transaction_id: 123)
"""
Then the message has the following fields and values:
| field | value |
| version | 1 |
| transaction_id | 123 |
| xid | 123 |
| stats_type | :queue |
| port | 1 |
| queue_id | 1 |