-
Notifications
You must be signed in to change notification settings - Fork 11
/
send_out_port.feature
98 lines (90 loc) · 2.76 KB
/
send_out_port.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@open_flow10
Feature: SendOutPort
Scenario: new(1)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(1)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | 1 |
| max_length | 65535 |
Scenario: new(:all)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:all)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :all |
| max_length | 65535 |
Scenario: new(:controller)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:controller)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :controller |
| max_length | 65535 |
Scenario: new(:local)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:local)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :local |
| max_length | 65535 |
Scenario: new(:table)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:table)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :table |
| max_length | 65535 |
Scenario: new(:in_port)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:in_port)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :in_port |
| max_length | 65535 |
Scenario: new(:normal)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:normal)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :normal |
| max_length | 65535 |
Scenario: new(:flood)
When I create an OpenFlow action with:
"""
Pio::SendOutPort.new(:flood)
"""
Then the action has the following fields and values:
| field | value |
| action_type | 0 |
| action_length | 8 |
| port | :flood |
| max_length | 65535 |