trema 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/.nav +9 -10
- data/features/{examples/switch-event → switch_event}/C-add_forward_entry.feature +0 -0
- data/features/{examples/switch-event → switch_event}/C-delete_forward_entry.feature +0 -0
- data/features/{examples/switch-event → switch_event}/C-dump_forward_entries.feature +0 -0
- data/features/{examples/switch-event → switch_event}/C-set_forward_entries.feature +0 -0
- data/features/{examples/switch-event → switch_event}/README.md +0 -0
- data/features/{examples/switch-event → switch_event}/add_forward_entry.feature +6 -6
- data/features/{examples/switch-event → switch_event}/delete_forward_entry.feature +6 -6
- data/features/{examples/switch-event → switch_event}/dump_forward_entries.feature +4 -4
- data/features/{examples/switch-event → switch_event}/set_forward_entries.feature +4 -4
- data/ruby/trema/version.rb +1 -1
- data/vendor/openflow-1.0.0.tar.gz +0 -0
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
|
4
|
-
|
3
|
+
data.tar.gz: ef4c570127042644202d811328fd28ba95b65c2e
|
4
|
+
metadata.gz: 15407d9c4231e8d79511d0e561ea37bfd9fd5f77
|
5
5
|
SHA512:
|
6
|
-
|
7
|
-
|
6
|
+
data.tar.gz: ed442ede234c7c877ce354826453e12115f6fcb5ee9e224d1f9f7a532691b2513ff3f0aa96b86e77c8e178bcd598683d7cb611a57338a23ab85c9adfe1969c32
|
7
|
+
metadata.gz: 9c9b32674cad8e91467fb14becb1850a21c1ae2eb267e3dd155b59c627182d77228d741b1e23bca4160f930fedfb189b460d3a0b72fa107883768eae2961873a
|
data/features/.nav
CHANGED
@@ -16,16 +16,6 @@
|
|
16
16
|
- dsl:
|
17
17
|
- switch_port_specifier.feature
|
18
18
|
- examples:
|
19
|
-
- switch-event:
|
20
|
-
- README.md
|
21
|
-
- add_forward_entry.feature
|
22
|
-
- delete_forward_entry.feature
|
23
|
-
- dump_forward_entries.feature
|
24
|
-
- set_forward_entries.feature
|
25
|
-
- C-add_forward_entry.feature
|
26
|
-
- C-delete_forward_entry.feature
|
27
|
-
- C-dump_forward_entries.feature
|
28
|
-
- C-set_forward_entries.feature
|
29
19
|
- hello_trema.feature
|
30
20
|
- list_switches.feature
|
31
21
|
- switch_monitor.feature
|
@@ -42,6 +32,15 @@
|
|
42
32
|
- message.set_config.feature
|
43
33
|
- message.vendor-action.feature
|
44
34
|
- packetin_filter_config.feature
|
35
|
+
- switch_event:
|
36
|
+
- add_forward_entry.feature
|
37
|
+
- delete_forward_entry.feature
|
38
|
+
- dump_forward_entries.feature
|
39
|
+
- set_forward_entries.feature
|
40
|
+
- C-add_forward_entry.feature
|
41
|
+
- C-delete_forward_entry.feature
|
42
|
+
- C-dump_forward_entries.feature
|
43
|
+
- C-set_forward_entries.feature
|
45
44
|
- handlers:
|
46
45
|
- switch_ready.feature
|
47
46
|
- core:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -9,18 +9,18 @@ Feature: Ruby methods for adding switch event forwarding entry
|
|
9
9
|
These methods can be used by including the Trema::SwitchEvent module
|
10
10
|
in user controller code.
|
11
11
|
|
12
|
-
* **
|
12
|
+
* **add_forward_entry_to_all_switches event_type, trema_name**
|
13
13
|
|
14
14
|
This method will add `trema_name` to all existing switches and switch manager's
|
15
15
|
event forwarding entry list of the specified `event_type`.
|
16
16
|
|
17
|
-
* **
|
17
|
+
* **add_forward_entry_to_switch dpid, event_type, trema_name**
|
18
18
|
|
19
19
|
This method will add an entry to a switch specified by `dpid`.
|
20
20
|
It will add `trema_name` to the switch's
|
21
21
|
event forwarding entry list of the specified `event_type`.
|
22
22
|
|
23
|
-
* **
|
23
|
+
* **add_forward_entry_to_switch_manager event_type, trema_name**
|
24
24
|
|
25
25
|
This method will add `trema_name` to the switch manager's
|
26
26
|
event forwarding entry list of the specified `event_type`.
|
@@ -35,7 +35,7 @@ Feature: Ruby methods for adding switch event forwarding entry
|
|
35
35
|
vswitch { datapath_id 0x1 }
|
36
36
|
"""
|
37
37
|
And a file named "AddEntryToAllTest.rb" with:
|
38
|
-
"""
|
38
|
+
"""ruby
|
39
39
|
class AddEntryToAllTest < Controller
|
40
40
|
include SwitchEvent
|
41
41
|
|
@@ -84,7 +84,7 @@ Feature: Ruby methods for adding switch event forwarding entry
|
|
84
84
|
vswitch { datapath_id 0x1 }
|
85
85
|
"""
|
86
86
|
And a file named "AddEntryToSwitchDaemonTest.rb" with:
|
87
|
-
"""
|
87
|
+
"""ruby
|
88
88
|
class AddEntryToSwitchDaemonTest < Controller
|
89
89
|
include SwitchEvent
|
90
90
|
|
@@ -113,7 +113,7 @@ Feature: Ruby methods for adding switch event forwarding entry
|
|
113
113
|
|
114
114
|
Scenario Outline: add_forward_entry_to_switch_manager event_type, trema_name
|
115
115
|
Given a file named "AddEntryToSwitchManagerTest.rb" with:
|
116
|
-
"""
|
116
|
+
"""ruby
|
117
117
|
class AddEntryToSwitchManagerTest < Controller
|
118
118
|
include SwitchEvent
|
119
119
|
|
@@ -9,18 +9,18 @@ Feature: Ruby methods for deleting switch event forwarding entry
|
|
9
9
|
These methods can be used by including the Trema::SwitchEvent module
|
10
10
|
in user controller code.
|
11
11
|
|
12
|
-
* **
|
12
|
+
* **delete_forward_entry_from_all_switches event_type, trema_name**
|
13
13
|
|
14
14
|
This method will delete `trema_name` from all existing switches and switch manager's
|
15
15
|
event forwarding entry list of the specified `event_type`.
|
16
16
|
|
17
|
-
* **
|
17
|
+
* **delete_forward_entry_from_switch dpid, event_type, trema_name**
|
18
18
|
|
19
19
|
This method will delete an entry from switch specified by `dpid`.
|
20
20
|
It will delete `trema_name` from the switch's
|
21
21
|
event forwarding entry list of the specified `event_type`.
|
22
22
|
|
23
|
-
* **
|
23
|
+
* **delete_forward_entry_from_switch_manager event_type, trema_name**
|
24
24
|
|
25
25
|
This method will delete `trema_name` from the switch manager's
|
26
26
|
event forwarding entry list of the specified `event_type`.
|
@@ -35,7 +35,7 @@ Feature: Ruby methods for deleting switch event forwarding entry
|
|
35
35
|
vswitch { datapath_id 0x1 }
|
36
36
|
"""
|
37
37
|
And a file named "DeleteEntryFromAllTest.rb" with:
|
38
|
-
"""
|
38
|
+
"""ruby
|
39
39
|
class DeleteEntryFromAllTest < Controller
|
40
40
|
include SwitchEvent
|
41
41
|
|
@@ -84,7 +84,7 @@ Feature: Ruby methods for deleting switch event forwarding entry
|
|
84
84
|
vswitch { datapath_id 0x1 }
|
85
85
|
"""
|
86
86
|
And a file named "DeleteFromSwitchDaemonTest.rb" with:
|
87
|
-
"""
|
87
|
+
"""ruby
|
88
88
|
class DeleteFromSwitchDaemonTest < Controller
|
89
89
|
include SwitchEvent
|
90
90
|
|
@@ -113,7 +113,7 @@ Feature: Ruby methods for deleting switch event forwarding entry
|
|
113
113
|
|
114
114
|
Scenario Outline: delete_forward_entry_from_switch_manager event_type, trema_name
|
115
115
|
Given a file named "DeleteFromSwitchManagerTest.rb" with:
|
116
|
-
"""
|
116
|
+
"""ruby
|
117
117
|
class DeleteFromSwitchManagerTest < Controller
|
118
118
|
include SwitchEvent
|
119
119
|
|
@@ -8,13 +8,13 @@ Feature: Ruby methods for dumping switch event forwarding entry
|
|
8
8
|
These methods can be used by including the Trema::SwitchEvent module
|
9
9
|
in user controller code.
|
10
10
|
|
11
|
-
* **
|
11
|
+
* **dump_forward_entries_from_switch dpid, event_type**
|
12
12
|
|
13
13
|
This method will dump the forwarding entries of the switch specified by `dpid`.
|
14
14
|
It will dump the content of the the switch's
|
15
15
|
event forwarding entry list of the specified `event_type`.
|
16
16
|
|
17
|
-
* **
|
17
|
+
* **dump_forward_entries_from_switch_manager event_type**
|
18
18
|
|
19
19
|
This method will dump the content of the the switch manager's
|
20
20
|
event forwarding entry list of the specified `event_type`.
|
@@ -29,7 +29,7 @@ Feature: Ruby methods for dumping switch event forwarding entry
|
|
29
29
|
event :vendor => "vendor", :packet_in => "packet_in", :port_status => "port_status"
|
30
30
|
"""
|
31
31
|
And a file named "DumpSwitchDaemonTest.rb" with:
|
32
|
-
"""
|
32
|
+
"""ruby
|
33
33
|
class DumpSwitchDaemonTest < Controller
|
34
34
|
include SwitchEvent
|
35
35
|
|
@@ -62,7 +62,7 @@ Feature: Ruby methods for dumping switch event forwarding entry
|
|
62
62
|
event :vendor => "vendor", :packet_in => "packet_in", :port_status => "port_status", :state_notify => "state_notify"
|
63
63
|
"""
|
64
64
|
And a file named "DumpSwitchManagerTest.rb" with:
|
65
|
-
"""
|
65
|
+
"""ruby
|
66
66
|
class DumpSwitchManagerTest < Controller
|
67
67
|
include SwitchEvent
|
68
68
|
|
@@ -8,7 +8,7 @@ Feature: Ruby methods for setting switch event forwarding entry
|
|
8
8
|
These methods can be used by including the Trema::SwitchEvent module
|
9
9
|
in user controller code.
|
10
10
|
|
11
|
-
* **
|
11
|
+
* **set_forward_entries_to_switch dpid, event_type, trema_names**
|
12
12
|
|
13
13
|
This method will set the forwarding entries of the switch specified by `dpid`.
|
14
14
|
It will replace the switch's
|
@@ -16,7 +16,7 @@ Feature: Ruby methods for setting switch event forwarding entry
|
|
16
16
|
to Array of trema-names specified by `trema_names`.
|
17
17
|
|
18
18
|
|
19
|
-
* **
|
19
|
+
* **set_forward_entries_to_switch_manager event_type, trema_names**
|
20
20
|
|
21
21
|
This method will replace the switch manager's
|
22
22
|
event forwarding entry list of the specified `event_type`
|
@@ -32,7 +32,7 @@ Feature: Ruby methods for setting switch event forwarding entry
|
|
32
32
|
vswitch { datapath_id 0x1 }
|
33
33
|
"""
|
34
34
|
And a file named "SetEntriesToSwitchDaemonTest.rb" with:
|
35
|
-
"""
|
35
|
+
"""ruby
|
36
36
|
class SetEntriesToSwitchDaemonTest < Controller
|
37
37
|
include SwitchEvent
|
38
38
|
|
@@ -61,7 +61,7 @@ Feature: Ruby methods for setting switch event forwarding entry
|
|
61
61
|
|
62
62
|
Scenario Outline: set_forward_entries_to_switch_manager event_type, trema_names
|
63
63
|
Given a file named "SetEntriesToSwitchManagerTest.rb" with:
|
64
|
-
"""
|
64
|
+
"""ruby
|
65
65
|
class SetEntriesToSwitchManagerTest < Controller
|
66
66
|
include SwitchEvent
|
67
67
|
|
data/ruby/trema/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuhito Takamiya
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: .
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-22 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -109,15 +109,6 @@ files:
|
|
109
109
|
- features/examples/packetin_filter_config.feature
|
110
110
|
- features/examples/patch_panel.feature
|
111
111
|
- features/examples/repeater_hub.feature
|
112
|
-
- features/examples/switch-event/C-add_forward_entry.feature
|
113
|
-
- features/examples/switch-event/C-delete_forward_entry.feature
|
114
|
-
- features/examples/switch-event/C-dump_forward_entries.feature
|
115
|
-
- features/examples/switch-event/C-set_forward_entries.feature
|
116
|
-
- features/examples/switch-event/README.md
|
117
|
-
- features/examples/switch-event/add_forward_entry.feature
|
118
|
-
- features/examples/switch-event/delete_forward_entry.feature
|
119
|
-
- features/examples/switch-event/dump_forward_entries.feature
|
120
|
-
- features/examples/switch-event/set_forward_entries.feature
|
121
112
|
- features/examples/switch_info.feature
|
122
113
|
- features/examples/switch_monitor.feature
|
123
114
|
- features/handlers/switch_ready.feature
|
@@ -126,6 +117,15 @@ files:
|
|
126
117
|
- features/step_definitions/stats_steps.rb
|
127
118
|
- features/support/env.rb
|
128
119
|
- features/support/hooks.rb
|
120
|
+
- features/switch_event/C-add_forward_entry.feature
|
121
|
+
- features/switch_event/C-delete_forward_entry.feature
|
122
|
+
- features/switch_event/C-dump_forward_entries.feature
|
123
|
+
- features/switch_event/C-set_forward_entries.feature
|
124
|
+
- features/switch_event/README.md
|
125
|
+
- features/switch_event/add_forward_entry.feature
|
126
|
+
- features/switch_event/delete_forward_entry.feature
|
127
|
+
- features/switch_event/dump_forward_entries.feature
|
128
|
+
- features/switch_event/set_forward_entries.feature
|
129
129
|
- features/trema_commands/README.md
|
130
130
|
- features/trema_commands/dump_flows.feature
|
131
131
|
- features/trema_commands/help.feature
|