trema 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +53 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +8 -7
- data/Rakefile +82 -76
- data/ruby/trema/phost.rb +1 -1
- data/ruby/trema/version.rb +1 -1
- data/trema +1 -1
- data/trema.gemspec +19 -667
- metadata +13 -206
- data/VERSION +0 -1
data/.gitignore
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
*.gem
|
2
|
+
.bundle
|
3
|
+
Gemfile.lock
|
4
|
+
pkg/*
|
5
|
+
|
6
|
+
# rcov generated
|
7
|
+
coverage
|
8
|
+
coverage.data
|
9
|
+
|
10
|
+
# rdoc generated
|
11
|
+
rdoc
|
12
|
+
|
13
|
+
# yard generated
|
14
|
+
doc
|
15
|
+
.yardoc
|
16
|
+
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
|
+
#
|
19
|
+
# * Create a file at ~/.gitignore
|
20
|
+
# * Include files you want ignored
|
21
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
22
|
+
#
|
23
|
+
# After doing this, these files will be ignored in all your git projects,
|
24
|
+
# saving you from having to 'pollute' every project you touch with them
|
25
|
+
#
|
26
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
27
|
+
#
|
28
|
+
# For MacOS:
|
29
|
+
#
|
30
|
+
#.DS_Store
|
31
|
+
|
32
|
+
# For TextMate
|
33
|
+
#*.tmproj
|
34
|
+
#tmtags
|
35
|
+
|
36
|
+
# For emacs:
|
37
|
+
*~
|
38
|
+
#\#*
|
39
|
+
#.\#*
|
40
|
+
|
41
|
+
# For vim:
|
42
|
+
*.swp
|
43
|
+
|
44
|
+
*.dependency
|
45
|
+
/tmp
|
46
|
+
GPATH
|
47
|
+
GRTAGS
|
48
|
+
GSYMS
|
49
|
+
GTAGS
|
50
|
+
TAGS
|
51
|
+
callgrind.out.*
|
52
|
+
html
|
53
|
+
objects
|
data/Gemfile
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gemspec
|
4
|
+
|
2
5
|
# Add dependencies required to use your gem here.
|
3
6
|
# Example:
|
4
7
|
# gem "activesupport", ">= 2.3.5"
|
@@ -10,7 +13,6 @@ group :development do
|
|
10
13
|
gem "cucumber", "~> 1.1.9"
|
11
14
|
gem "flay", "~> 1.4.3"
|
12
15
|
gem "flog", "~> 2.5.3"
|
13
|
-
gem "jeweler", "~> 1.8.3"
|
14
16
|
gem "rake", "~> 0.9.2.2"
|
15
17
|
gem "rcov", "~> 1.0.0"
|
16
18
|
gem "rdoc", "~> 3.12"
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
trema (0.2.2)
|
5
|
+
bundler
|
6
|
+
rake
|
7
|
+
|
1
8
|
GEM
|
2
9
|
remote: http://rubygems.org/
|
3
10
|
specs:
|
@@ -17,12 +24,6 @@ GEM
|
|
17
24
|
sexp_processor (~> 3.0)
|
18
25
|
gherkin (2.9.0)
|
19
26
|
json (>= 1.4.6)
|
20
|
-
git (1.2.5)
|
21
|
-
jeweler (1.8.3)
|
22
|
-
bundler (~> 1.0)
|
23
|
-
git (>= 1.2.5)
|
24
|
-
rake
|
25
|
-
rdoc
|
26
27
|
json (1.6.5)
|
27
28
|
rake (0.9.2.2)
|
28
29
|
rcov (1.0.0)
|
@@ -60,7 +61,6 @@ DEPENDENCIES
|
|
60
61
|
cucumber (~> 1.1.9)
|
61
62
|
flay (~> 1.4.3)
|
62
63
|
flog (~> 2.5.3)
|
63
|
-
jeweler (~> 1.8.3)
|
64
64
|
rake (~> 0.9.2.2)
|
65
65
|
rcov (~> 1.0.0)
|
66
66
|
rdoc (~> 3.12)
|
@@ -68,4 +68,5 @@ DEPENDENCIES
|
|
68
68
|
reek (~> 1.2.8)
|
69
69
|
roodi (~> 2.1.0)
|
70
70
|
rspec (~> 2.8.0)
|
71
|
+
trema!
|
71
72
|
yard (~> 0.7)
|
data/Rakefile
CHANGED
@@ -19,16 +19,6 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
require "rubygems"
|
22
|
-
require "bundler"
|
23
|
-
|
24
|
-
|
25
|
-
begin
|
26
|
-
Bundler.setup :default, :development
|
27
|
-
rescue Bundler::BundlerError => e
|
28
|
-
$stderr.puts e.message
|
29
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
30
|
-
exit e.status_code
|
31
|
-
end
|
32
22
|
|
33
23
|
|
34
24
|
require "rake"
|
@@ -38,95 +28,107 @@ task :default do
|
|
38
28
|
end
|
39
29
|
|
40
30
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
gem.name = "trema"
|
46
|
-
gem.homepage = "http://github.com/trema/trema"
|
47
|
-
gem.license = "GPL2"
|
48
|
-
gem.summary = %Q{Full-Stack OpenFlow Framework for Ruby/C}
|
49
|
-
gem.description = %Q{Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby/C}
|
50
|
-
gem.email = "yasuhito@gmail.com"
|
51
|
-
gem.authors = ["Yasuhito Takamiya"]
|
52
|
-
gem.bindir = ["."]
|
53
|
-
gem.executables = ["trema","trema-config"]
|
54
|
-
gem.extensions = ["Rakefile"]
|
55
|
-
# dependencies defined in Gemfile
|
31
|
+
begin
|
32
|
+
require "bundler/gem_tasks"
|
33
|
+
rescue LoadError
|
34
|
+
$stderr.puts $!.to_s
|
56
35
|
end
|
57
|
-
Jeweler::RubygemsDotOrgTasks.new
|
58
36
|
|
59
37
|
|
60
|
-
|
61
|
-
require "rspec/core
|
38
|
+
begin
|
39
|
+
require "rspec/core"
|
40
|
+
require "rspec/core/rake_task"
|
62
41
|
|
63
|
-
RSpec::Core::RakeTask.new( :spec ) do | spec |
|
64
|
-
|
65
|
-
end
|
42
|
+
RSpec::Core::RakeTask.new( :spec ) do | spec |
|
43
|
+
spec.pattern = FileList[ "spec/**/*_spec.rb" ]
|
44
|
+
end
|
66
45
|
|
67
|
-
RSpec::Core::RakeTask.new( :rcov ) do | spec |
|
68
|
-
|
69
|
-
|
46
|
+
RSpec::Core::RakeTask.new( :rcov ) do | spec |
|
47
|
+
spec.pattern = "spec/**/*_spec.rb"
|
48
|
+
spec.rcov = true
|
49
|
+
end
|
50
|
+
rescue LoadError
|
51
|
+
$stderr.puts $!.to_s
|
70
52
|
end
|
71
53
|
|
72
54
|
|
73
|
-
|
74
|
-
|
55
|
+
begin
|
56
|
+
require "cucumber/rake/task"
|
57
|
+
Cucumber::Rake::Task.new( :features )
|
58
|
+
rescue LoadError
|
59
|
+
$stderr.puts $!.to_s
|
60
|
+
end
|
75
61
|
|
76
62
|
|
77
63
|
desc "Enforce Ruby code quality with static analysis of code"
|
78
64
|
task :quality => [ :reek, :roodi, :flog, :flay ]
|
79
65
|
|
80
66
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
67
|
+
begin
|
68
|
+
require "reek/rake/task"
|
69
|
+
|
70
|
+
Reek::Rake::Task.new do | t |
|
71
|
+
t.fail_on_error = true
|
72
|
+
t.verbose = false
|
73
|
+
t.ruby_opts = [ "-rubygems" ]
|
74
|
+
t.reek_opts = "--quiet"
|
75
|
+
t.source_files = "ruby/**/*.rb"
|
76
|
+
end
|
77
|
+
rescue LoadError
|
78
|
+
$stderr.puts $!.to_s
|
89
79
|
end
|
90
80
|
|
91
81
|
|
92
|
-
|
93
|
-
require "
|
82
|
+
begin
|
83
|
+
require "roodi"
|
84
|
+
require "roodi_task"
|
94
85
|
|
95
|
-
RoodiTask.new do | t |
|
96
|
-
|
97
|
-
|
86
|
+
RoodiTask.new do | t |
|
87
|
+
t.verbose = false
|
88
|
+
t.patterns = %w(ruby/**/*.rb spec/**/*.rb features/**/*.rb)
|
89
|
+
end
|
90
|
+
rescue LoadError
|
91
|
+
$stderr.puts $!.to_s
|
98
92
|
end
|
99
93
|
|
100
94
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
95
|
+
begin
|
96
|
+
require "flog"
|
97
|
+
|
98
|
+
desc "Analyze for code complexity"
|
99
|
+
task :flog do
|
100
|
+
flog = Flog.new( :continue => true )
|
101
|
+
flog.flog [ "ruby" ]
|
102
|
+
threshold = 10
|
103
|
+
|
104
|
+
bad_methods = flog.totals.select do | name, score |
|
105
|
+
name != "main#none" && score > threshold
|
106
|
+
end
|
107
|
+
bad_methods.sort do | a, b |
|
108
|
+
a[ 1 ] <=> b[ 1 ]
|
109
|
+
end.each do | name, score |
|
110
|
+
puts "%8.1f: %s" % [ score, name ]
|
111
|
+
end
|
112
|
+
unless bad_methods.empty?
|
113
|
+
raise "#{ bad_methods.size } methods have a flog complexity > #{ threshold }"
|
114
|
+
end
|
119
115
|
end
|
116
|
+
rescue LoadError
|
117
|
+
$stderr.puts $!.to_s
|
120
118
|
end
|
121
119
|
|
122
120
|
|
123
|
-
|
124
|
-
require "
|
121
|
+
begin
|
122
|
+
require "flay"
|
123
|
+
require "flay_task"
|
125
124
|
|
126
|
-
FlayTask.new do | t |
|
127
|
-
|
128
|
-
|
129
|
-
|
125
|
+
FlayTask.new do | t |
|
126
|
+
# add directories such as app, bin, spec and test if need be.
|
127
|
+
t.dirs = %w( ruby )
|
128
|
+
t.threshold = 0
|
129
|
+
end
|
130
|
+
rescue LoadError
|
131
|
+
$stderr.puts $!.to_s
|
130
132
|
end
|
131
133
|
|
132
134
|
|
@@ -136,8 +138,12 @@ task "build.rb" do
|
|
136
138
|
end
|
137
139
|
|
138
140
|
|
139
|
-
|
141
|
+
begin
|
142
|
+
require "yard"
|
140
143
|
|
141
|
-
YARD::Rake::YardocTask.new do | t |
|
142
|
-
|
144
|
+
YARD::Rake::YardocTask.new do | t |
|
145
|
+
t.options << "--debug" << "--verbose" if $trace
|
146
|
+
end
|
147
|
+
rescue LoadError
|
148
|
+
$stderr.puts $!.to_s
|
143
149
|
end
|
data/ruby/trema/phost.rb
CHANGED
@@ -29,7 +29,7 @@ module Trema
|
|
29
29
|
include Trema::Daemon
|
30
30
|
|
31
31
|
|
32
|
-
command { | phost | "sudo #{ Executables.phost } -i #{ phost.interface } -D" }
|
32
|
+
command { | phost | "sudo #{ Executables.phost } -i #{ phost.interface } -p #{ Trema.pid } -l #{ Trema.log } -D" }
|
33
33
|
wait_until_up
|
34
34
|
daemon_id :interface
|
35
35
|
|
data/ruby/trema/version.rb
CHANGED
data/trema
CHANGED
@@ -31,7 +31,7 @@ require "trema/path"
|
|
31
31
|
|
32
32
|
|
33
33
|
def setup_tmp
|
34
|
-
if not FileTest.writable?( Trema.tmp )
|
34
|
+
if FileTest.exist?( Trema.tmp ) and not FileTest.writable?( Trema.tmp )
|
35
35
|
# Trema is system widely installed with gem command
|
36
36
|
sh "sudo chmod o+w -R #{ Trema.tmp }"
|
37
37
|
end
|
data/trema.gemspec
CHANGED
@@ -1,673 +1,25 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../ruby", __FILE__)
|
3
|
+
require "trema/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
6
|
+
s.name = "trema"
|
7
|
+
s.version = Trema::VERSION
|
8
|
+
s.authors = ["Yasuhito Takamiya"]
|
9
|
+
s.email = ["yasuhito@gmail.com"]
|
10
|
+
s.homepage = "http://github.com/trema/trema"
|
11
|
+
s.summary = %q{Full-Stack OpenFlow Framework for Ruby/C}
|
12
|
+
s.description = %q{Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby/C}
|
13
|
+
s.license = "GPL2"
|
9
14
|
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.bindir
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
s.executables = ["trema", "trema-config"]
|
17
|
-
s.extensions = ["Rakefile"]
|
18
|
-
s.extra_rdoc_files = [
|
19
|
-
"README.md"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".mono.rant",
|
23
|
-
".rspec",
|
24
|
-
".yardopts",
|
25
|
-
"Doxyfile",
|
26
|
-
"GPL2",
|
27
|
-
"Gemfile",
|
28
|
-
"Gemfile.lock",
|
29
|
-
"README.md",
|
30
|
-
"Rakefile",
|
31
|
-
"Rantfile",
|
32
|
-
"VERSION",
|
33
|
-
"build.rb",
|
34
|
-
"cruise.rb",
|
35
|
-
"features/example.dumper.feature",
|
36
|
-
"features/example.learning_switch.feature",
|
37
|
-
"features/example.list_switches.feature",
|
38
|
-
"features/example.message.echo_reply.feature",
|
39
|
-
"features/example.message.echo_request.feature",
|
40
|
-
"features/example.message.features_request.feature",
|
41
|
-
"features/example.message.hello.feature",
|
42
|
-
"features/example.message.set_config.feature",
|
43
|
-
"features/example.multi_learning_switch.feature",
|
44
|
-
"features/example.packetin_filter_config.feature",
|
45
|
-
"features/example.repeater_hub.feature",
|
46
|
-
"features/example.switch_monitor.feature",
|
47
|
-
"features/packetin_filter.feature",
|
48
|
-
"features/step_definitions/kill_steps.rb",
|
49
|
-
"features/step_definitions/log_steps.rb",
|
50
|
-
"features/step_definitions/misc_steps.rb",
|
51
|
-
"features/step_definitions/off_steps.rb",
|
52
|
-
"features/step_definitions/run_steps.rb",
|
53
|
-
"features/step_definitions/send_packets_steps.rb",
|
54
|
-
"features/step_definitions/show_stats_steps.rb",
|
55
|
-
"features/step_definitions/stats_steps.rb",
|
56
|
-
"features/support/env.rb",
|
57
|
-
"features/support/hooks.rb",
|
58
|
-
"features/switch_manager.feature",
|
59
|
-
"features/trema-config.feature",
|
60
|
-
"features/trema.dump_flows.feature",
|
61
|
-
"features/trema.feature",
|
62
|
-
"features/trema.kill.feature",
|
63
|
-
"features/trema.killall.feature",
|
64
|
-
"features/trema.reset_stats.feature",
|
65
|
-
"features/trema.run.feature",
|
66
|
-
"features/trema.send_packets.feature",
|
67
|
-
"features/trema.show_stats.feature",
|
68
|
-
"features/tutorial.hello_trema.feature",
|
69
|
-
"features/tutorial.packet_in.feature",
|
70
|
-
"features/tutorial.switch_info.feature",
|
71
|
-
"ruby/.gitignore",
|
72
|
-
"ruby/blocker.rb",
|
73
|
-
"ruby/extconf.rb",
|
74
|
-
"ruby/sub-process.rb",
|
75
|
-
"ruby/trema/action-common.c",
|
76
|
-
"ruby/trema/action-common.h",
|
77
|
-
"ruby/trema/action-enqueue.c",
|
78
|
-
"ruby/trema/action-enqueue.h",
|
79
|
-
"ruby/trema/action-output.c",
|
80
|
-
"ruby/trema/action-output.h",
|
81
|
-
"ruby/trema/action-set-dl-dst.c",
|
82
|
-
"ruby/trema/action-set-dl-dst.h",
|
83
|
-
"ruby/trema/action-set-dl-src.c",
|
84
|
-
"ruby/trema/action-set-dl-src.h",
|
85
|
-
"ruby/trema/action-set-nw-dst.c",
|
86
|
-
"ruby/trema/action-set-nw-dst.h",
|
87
|
-
"ruby/trema/action-set-nw-src.c",
|
88
|
-
"ruby/trema/action-set-nw-src.h",
|
89
|
-
"ruby/trema/action-set-nw-tos.c",
|
90
|
-
"ruby/trema/action-set-nw-tos.h",
|
91
|
-
"ruby/trema/action-set-tp-dst.c",
|
92
|
-
"ruby/trema/action-set-tp-dst.h",
|
93
|
-
"ruby/trema/action-set-tp-src.c",
|
94
|
-
"ruby/trema/action-set-tp-src.h",
|
95
|
-
"ruby/trema/action-set-vlan-pcp.c",
|
96
|
-
"ruby/trema/action-set-vlan-pcp.h",
|
97
|
-
"ruby/trema/action-set-vlan-vid.c",
|
98
|
-
"ruby/trema/action-set-vlan-vid.h",
|
99
|
-
"ruby/trema/action-strip-vlan.c",
|
100
|
-
"ruby/trema/action-strip-vlan.h",
|
101
|
-
"ruby/trema/action-vendor.c",
|
102
|
-
"ruby/trema/action-vendor.h",
|
103
|
-
"ruby/trema/aggregate-stats-reply.rb",
|
104
|
-
"ruby/trema/app.rb",
|
105
|
-
"ruby/trema/barrier-reply.c",
|
106
|
-
"ruby/trema/barrier-reply.h",
|
107
|
-
"ruby/trema/barrier-request.c",
|
108
|
-
"ruby/trema/barrier-request.h",
|
109
|
-
"ruby/trema/cli.rb",
|
110
|
-
"ruby/trema/command.rb",
|
111
|
-
"ruby/trema/command/dump_flows.rb",
|
112
|
-
"ruby/trema/command/kill.rb",
|
113
|
-
"ruby/trema/command/killall.rb",
|
114
|
-
"ruby/trema/command/reset_stats.rb",
|
115
|
-
"ruby/trema/command/ruby.rb",
|
116
|
-
"ruby/trema/command/run.rb",
|
117
|
-
"ruby/trema/command/send_packets.rb",
|
118
|
-
"ruby/trema/command/shell.rb",
|
119
|
-
"ruby/trema/command/show_stats.rb",
|
120
|
-
"ruby/trema/command/up.rb",
|
121
|
-
"ruby/trema/command/usage.rb",
|
122
|
-
"ruby/trema/command/version.rb",
|
123
|
-
"ruby/trema/controller.c",
|
124
|
-
"ruby/trema/controller.h",
|
125
|
-
"ruby/trema/controller.rb",
|
126
|
-
"ruby/trema/daemon.rb",
|
127
|
-
"ruby/trema/dsl.rb",
|
128
|
-
"ruby/trema/dsl/configuration.rb",
|
129
|
-
"ruby/trema/dsl/context.rb",
|
130
|
-
"ruby/trema/dsl/link.rb",
|
131
|
-
"ruby/trema/dsl/parser.rb",
|
132
|
-
"ruby/trema/dsl/run.rb",
|
133
|
-
"ruby/trema/dsl/runner.rb",
|
134
|
-
"ruby/trema/dsl/stanza.rb",
|
135
|
-
"ruby/trema/dsl/switch.rb",
|
136
|
-
"ruby/trema/dsl/syntax-error.rb",
|
137
|
-
"ruby/trema/dsl/syntax.rb",
|
138
|
-
"ruby/trema/dsl/vhost.rb",
|
139
|
-
"ruby/trema/dsl/vswitch.rb",
|
140
|
-
"ruby/trema/echo-reply.c",
|
141
|
-
"ruby/trema/echo-reply.h",
|
142
|
-
"ruby/trema/echo-request.c",
|
143
|
-
"ruby/trema/echo-request.h",
|
144
|
-
"ruby/trema/error.c",
|
145
|
-
"ruby/trema/error.h",
|
146
|
-
"ruby/trema/exact-match.rb",
|
147
|
-
"ruby/trema/executables.rb",
|
148
|
-
"ruby/trema/features-reply.c",
|
149
|
-
"ruby/trema/features-reply.h",
|
150
|
-
"ruby/trema/features-request.c",
|
151
|
-
"ruby/trema/features-request.h",
|
152
|
-
"ruby/trema/flow-removed.c",
|
153
|
-
"ruby/trema/flow-removed.h",
|
154
|
-
"ruby/trema/flow-stats-reply.rb",
|
155
|
-
"ruby/trema/flow.rb",
|
156
|
-
"ruby/trema/get-config-reply.c",
|
157
|
-
"ruby/trema/get-config-reply.h",
|
158
|
-
"ruby/trema/get-config-request.c",
|
159
|
-
"ruby/trema/get-config-request.h",
|
160
|
-
"ruby/trema/hello.c",
|
161
|
-
"ruby/trema/hello.h",
|
162
|
-
"ruby/trema/host.rb",
|
163
|
-
"ruby/trema/ip.rb",
|
164
|
-
"ruby/trema/link.rb",
|
165
|
-
"ruby/trema/list-switches-reply.c",
|
166
|
-
"ruby/trema/list-switches-reply.h",
|
167
|
-
"ruby/trema/logger.c",
|
168
|
-
"ruby/trema/logger.h",
|
169
|
-
"ruby/trema/mac.rb",
|
170
|
-
"ruby/trema/match.c",
|
171
|
-
"ruby/trema/match.h",
|
172
|
-
"ruby/trema/monkey-patch/integer.rb",
|
173
|
-
"ruby/trema/monkey-patch/integer/base-conversions.rb",
|
174
|
-
"ruby/trema/monkey-patch/integer/ranges.rb",
|
175
|
-
"ruby/trema/monkey-patch/module.rb",
|
176
|
-
"ruby/trema/monkey-patch/module/class-method.rb",
|
177
|
-
"ruby/trema/monkey-patch/module/deprecation.rb",
|
178
|
-
"ruby/trema/monkey-patch/string.rb",
|
179
|
-
"ruby/trema/monkey-patch/string/inflectors.rb",
|
180
|
-
"ruby/trema/network-component.rb",
|
181
|
-
"ruby/trema/ofctl.rb",
|
182
|
-
"ruby/trema/open-vswitch.rb",
|
183
|
-
"ruby/trema/openflow-error.c",
|
184
|
-
"ruby/trema/openflow-error.h",
|
185
|
-
"ruby/trema/openflow-switch.rb",
|
186
|
-
"ruby/trema/ordered-hash.rb",
|
187
|
-
"ruby/trema/packet-queue.rb",
|
188
|
-
"ruby/trema/packet_in.c",
|
189
|
-
"ruby/trema/packet_in.h",
|
190
|
-
"ruby/trema/packetin-filter.rb",
|
191
|
-
"ruby/trema/path.rb",
|
192
|
-
"ruby/trema/phost.rb",
|
193
|
-
"ruby/trema/port-mod.c",
|
194
|
-
"ruby/trema/port-mod.h",
|
195
|
-
"ruby/trema/port-stats-reply.rb",
|
196
|
-
"ruby/trema/port-status.c",
|
197
|
-
"ruby/trema/port-status.h",
|
198
|
-
"ruby/trema/port.c",
|
199
|
-
"ruby/trema/port.h",
|
200
|
-
"ruby/trema/process.rb",
|
201
|
-
"ruby/trema/queue-get-config-reply.c",
|
202
|
-
"ruby/trema/queue-get-config-reply.h",
|
203
|
-
"ruby/trema/queue-get-config-request.c",
|
204
|
-
"ruby/trema/queue-get-config-request.h",
|
205
|
-
"ruby/trema/queue-stats-reply.rb",
|
206
|
-
"ruby/trema/set-config.c",
|
207
|
-
"ruby/trema/set-config.h",
|
208
|
-
"ruby/trema/shell.rb",
|
209
|
-
"ruby/trema/shell/down.rb",
|
210
|
-
"ruby/trema/shell/killall.rb",
|
211
|
-
"ruby/trema/shell/link.rb",
|
212
|
-
"ruby/trema/shell/reset_stats.rb",
|
213
|
-
"ruby/trema/shell/run.rb",
|
214
|
-
"ruby/trema/shell/send_packets.rb",
|
215
|
-
"ruby/trema/shell/show_stats.rb",
|
216
|
-
"ruby/trema/shell/up.rb",
|
217
|
-
"ruby/trema/shell/vhost.rb",
|
218
|
-
"ruby/trema/shell/vswitch.rb",
|
219
|
-
"ruby/trema/stats-helper.rb",
|
220
|
-
"ruby/trema/stats-reply.c",
|
221
|
-
"ruby/trema/stats-reply.h",
|
222
|
-
"ruby/trema/stats-request.c",
|
223
|
-
"ruby/trema/stats-request.h",
|
224
|
-
"ruby/trema/switch-daemon.rb",
|
225
|
-
"ruby/trema/switch-disconnected.c",
|
226
|
-
"ruby/trema/switch-disconnected.h",
|
227
|
-
"ruby/trema/switch-manager.rb",
|
228
|
-
"ruby/trema/switch.rb",
|
229
|
-
"ruby/trema/table-stats-reply.rb",
|
230
|
-
"ruby/trema/timers.rb",
|
231
|
-
"ruby/trema/trema.c",
|
232
|
-
"ruby/trema/tremashark.rb",
|
233
|
-
"ruby/trema/util.rb",
|
234
|
-
"ruby/trema/vendor-request.c",
|
235
|
-
"ruby/trema/vendor-request.h",
|
236
|
-
"ruby/trema/vendor-stats-reply.rb",
|
237
|
-
"ruby/trema/vendor.c",
|
238
|
-
"ruby/trema/vendor.h",
|
239
|
-
"ruby/trema/version.rb",
|
240
|
-
"spec/spec_helper.rb",
|
241
|
-
"spec/support/openflow-message.rb",
|
242
|
-
"spec/trema/action-enqueue_spec.rb",
|
243
|
-
"spec/trema/action-output_spec.rb",
|
244
|
-
"spec/trema/action-set-dl-dst_spec.rb",
|
245
|
-
"spec/trema/action-set-dl-src_spec.rb",
|
246
|
-
"spec/trema/action-set-nw-dst_spec.rb",
|
247
|
-
"spec/trema/action-set-nw-src_spec.rb",
|
248
|
-
"spec/trema/action-set-nw-tos_spec.rb",
|
249
|
-
"spec/trema/action-set-tp-dst_spec.rb",
|
250
|
-
"spec/trema/action-set-tp-src_spec.rb",
|
251
|
-
"spec/trema/action-set-vlan-pcp_spec.rb",
|
252
|
-
"spec/trema/action-set-vlan-vid_spec.rb",
|
253
|
-
"spec/trema/action-strip-vlan_spec.rb",
|
254
|
-
"spec/trema/action-vendor_spec.rb",
|
255
|
-
"spec/trema/app_spec.rb",
|
256
|
-
"spec/trema/barrier-reply_spec.rb",
|
257
|
-
"spec/trema/barrier-request_spec.rb",
|
258
|
-
"spec/trema/cli_spec.rb",
|
259
|
-
"spec/trema/controller_spec.rb",
|
260
|
-
"spec/trema/dsl/configuration_spec.rb",
|
261
|
-
"spec/trema/dsl/link_spec.rb",
|
262
|
-
"spec/trema/dsl/run_spec.rb",
|
263
|
-
"spec/trema/dsl/runner_spec.rb",
|
264
|
-
"spec/trema/dsl/switch_spec.rb",
|
265
|
-
"spec/trema/dsl/syntax_spec.rb",
|
266
|
-
"spec/trema/dsl/vhost_spec.rb",
|
267
|
-
"spec/trema/dsl/vswitch_spec.rb",
|
268
|
-
"spec/trema/echo-reply_spec.rb",
|
269
|
-
"spec/trema/echo-request_spec.rb",
|
270
|
-
"spec/trema/error_spec.rb",
|
271
|
-
"spec/trema/executables_spec.rb",
|
272
|
-
"spec/trema/features-reply_spec.rb",
|
273
|
-
"spec/trema/features-request_spec.rb",
|
274
|
-
"spec/trema/flow-removed_spec.rb",
|
275
|
-
"spec/trema/get-config-reply_spec.rb",
|
276
|
-
"spec/trema/get-config-request_spec.rb",
|
277
|
-
"spec/trema/hello_spec.rb",
|
278
|
-
"spec/trema/host_spec.rb",
|
279
|
-
"spec/trema/link_spec.rb",
|
280
|
-
"spec/trema/list-switches-reply_spec.rb",
|
281
|
-
"spec/trema/logger_spec.rb",
|
282
|
-
"spec/trema/mac_spec.rb",
|
283
|
-
"spec/trema/match_spec.rb",
|
284
|
-
"spec/trema/open-vswitch_spec.rb",
|
285
|
-
"spec/trema/openflow-error_spec.rb",
|
286
|
-
"spec/trema/openflow-switch_spec.rb",
|
287
|
-
"spec/trema/packet-in_spec.rb",
|
288
|
-
"spec/trema/packet-out_spec.rb",
|
289
|
-
"spec/trema/packetin-filter_spec.rb",
|
290
|
-
"spec/trema/port-mod_spec.rb",
|
291
|
-
"spec/trema/port-status_spec.rb",
|
292
|
-
"spec/trema/port_spec.rb",
|
293
|
-
"spec/trema/process_spec.rb",
|
294
|
-
"spec/trema/queue-get-config-reply_spec.rb",
|
295
|
-
"spec/trema/queue-get-config-request_spec.rb",
|
296
|
-
"spec/trema/set-config_spec.rb",
|
297
|
-
"spec/trema/shell/vhost_spec.rb",
|
298
|
-
"spec/trema/shell/vswitch_spec.rb",
|
299
|
-
"spec/trema/stats-reply_spec.rb",
|
300
|
-
"spec/trema/stats-request_spec.rb",
|
301
|
-
"spec/trema/switch-disconnected_spec.rb",
|
302
|
-
"spec/trema/switch-manager_spec.rb",
|
303
|
-
"spec/trema/tremashark_spec.rb",
|
304
|
-
"spec/trema/util_spec.rb",
|
305
|
-
"spec/trema/vendor-request_spec.rb",
|
306
|
-
"src/examples/cbench_switch/README",
|
307
|
-
"src/examples/cbench_switch/cbench-switch.rb",
|
308
|
-
"src/examples/cbench_switch/cbench_switch.c",
|
309
|
-
"src/examples/dumper/dumper.c",
|
310
|
-
"src/examples/dumper/dumper.conf",
|
311
|
-
"src/examples/dumper/dumper.rb",
|
312
|
-
"src/examples/hello_trema/README",
|
313
|
-
"src/examples/hello_trema/hello_trema.c",
|
314
|
-
"src/examples/hello_trema/hello_trema.conf",
|
315
|
-
"src/examples/hello_trema/hello_trema.rb",
|
316
|
-
"src/examples/learning_switch/README",
|
317
|
-
"src/examples/learning_switch/fdb.rb",
|
318
|
-
"src/examples/learning_switch/learning-switch.rb",
|
319
|
-
"src/examples/learning_switch/learning_switch.c",
|
320
|
-
"src/examples/learning_switch/learning_switch.conf",
|
321
|
-
"src/examples/list_switches/README",
|
322
|
-
"src/examples/list_switches/list-switches.rb",
|
323
|
-
"src/examples/list_switches/list_switches.c",
|
324
|
-
"src/examples/list_switches/list_switches.conf",
|
325
|
-
"src/examples/match_compare/match-compare.conf",
|
326
|
-
"src/examples/match_compare/match-compare.rb",
|
327
|
-
"src/examples/multi_learning_switch/README",
|
328
|
-
"src/examples/multi_learning_switch/multi-learning-switch.rb",
|
329
|
-
"src/examples/multi_learning_switch/multi_learning_switch.c",
|
330
|
-
"src/examples/multi_learning_switch/multi_learning_switch.conf",
|
331
|
-
"src/examples/openflow_message/README",
|
332
|
-
"src/examples/openflow_message/echo-reply.rb",
|
333
|
-
"src/examples/openflow_message/echo-request.rb",
|
334
|
-
"src/examples/openflow_message/echo_reply.c",
|
335
|
-
"src/examples/openflow_message/echo_request.c",
|
336
|
-
"src/examples/openflow_message/example.rb",
|
337
|
-
"src/examples/openflow_message/features-request.rb",
|
338
|
-
"src/examples/openflow_message/features_request.c",
|
339
|
-
"src/examples/openflow_message/hello.c",
|
340
|
-
"src/examples/openflow_message/hello.rb",
|
341
|
-
"src/examples/openflow_message/set-config.rb",
|
342
|
-
"src/examples/openflow_message/set_config.c",
|
343
|
-
"src/examples/packet_in/README",
|
344
|
-
"src/examples/packet_in/packet-in.rb",
|
345
|
-
"src/examples/packet_in/packet_in.c",
|
346
|
-
"src/examples/packet_in/packet_in.conf",
|
347
|
-
"src/examples/packetin_filter_config/README",
|
348
|
-
"src/examples/packetin_filter_config/add_filter.c",
|
349
|
-
"src/examples/packetin_filter_config/delete_filter.c",
|
350
|
-
"src/examples/packetin_filter_config/delete_filter_strict.c",
|
351
|
-
"src/examples/packetin_filter_config/dump_filter.c",
|
352
|
-
"src/examples/packetin_filter_config/dump_filter_strict.c",
|
353
|
-
"src/examples/packetin_filter_config/packetin_filter_config.c",
|
354
|
-
"src/examples/packetin_filter_config/packetin_filter_config.conf",
|
355
|
-
"src/examples/packetin_filter_config/utils.c",
|
356
|
-
"src/examples/packetin_filter_config/utils.h",
|
357
|
-
"src/examples/repeater_hub/README",
|
358
|
-
"src/examples/repeater_hub/repeater-hub.rb",
|
359
|
-
"src/examples/repeater_hub/repeater-hub_spec.rb",
|
360
|
-
"src/examples/repeater_hub/repeater_hub.c",
|
361
|
-
"src/examples/repeater_hub/repeater_hub.conf",
|
362
|
-
"src/examples/switch_info/README",
|
363
|
-
"src/examples/switch_info/switch_info.c",
|
364
|
-
"src/examples/switch_info/switch_info.conf",
|
365
|
-
"src/examples/switch_info/switch_info.rb",
|
366
|
-
"src/examples/switch_monitor/switch-monitor.conf",
|
367
|
-
"src/examples/switch_monitor/switch-monitor.rb",
|
368
|
-
"src/examples/switch_monitor/switch_monitor.c",
|
369
|
-
"src/examples/traffic_monitor/counter.c",
|
370
|
-
"src/examples/traffic_monitor/counter.h",
|
371
|
-
"src/examples/traffic_monitor/counter.rb",
|
372
|
-
"src/examples/traffic_monitor/fdb.c",
|
373
|
-
"src/examples/traffic_monitor/fdb.h",
|
374
|
-
"src/examples/traffic_monitor/fdb.rb",
|
375
|
-
"src/examples/traffic_monitor/traffic-monitor.rb",
|
376
|
-
"src/examples/traffic_monitor/traffic_monitor.c",
|
377
|
-
"src/examples/traffic_monitor/traffic_monitor.conf",
|
378
|
-
"src/lib/arp.h",
|
379
|
-
"src/lib/bool.h",
|
380
|
-
"src/lib/buffer.c",
|
381
|
-
"src/lib/buffer.h",
|
382
|
-
"src/lib/byteorder.c",
|
383
|
-
"src/lib/byteorder.h",
|
384
|
-
"src/lib/checks.h",
|
385
|
-
"src/lib/daemon.c",
|
386
|
-
"src/lib/daemon.h",
|
387
|
-
"src/lib/doubly_linked_list.c",
|
388
|
-
"src/lib/doubly_linked_list.h",
|
389
|
-
"src/lib/ether.c",
|
390
|
-
"src/lib/ether.h",
|
391
|
-
"src/lib/etherip.h",
|
392
|
-
"src/lib/event_handler.c",
|
393
|
-
"src/lib/event_handler.h",
|
394
|
-
"src/lib/hash_table.c",
|
395
|
-
"src/lib/hash_table.h",
|
396
|
-
"src/lib/icmp.h",
|
397
|
-
"src/lib/igmp.h",
|
398
|
-
"src/lib/ipv4.h",
|
399
|
-
"src/lib/linked_list.c",
|
400
|
-
"src/lib/linked_list.h",
|
401
|
-
"src/lib/log.c",
|
402
|
-
"src/lib/log.h",
|
403
|
-
"src/lib/match.h",
|
404
|
-
"src/lib/match_table.c",
|
405
|
-
"src/lib/match_table.h",
|
406
|
-
"src/lib/message_queue.c",
|
407
|
-
"src/lib/message_queue.h",
|
408
|
-
"src/lib/messenger.c",
|
409
|
-
"src/lib/messenger.h",
|
410
|
-
"src/lib/openflow_application_interface.c",
|
411
|
-
"src/lib/openflow_application_interface.h",
|
412
|
-
"src/lib/openflow_message.c",
|
413
|
-
"src/lib/openflow_message.h",
|
414
|
-
"src/lib/openflow_service_interface.h",
|
415
|
-
"src/lib/packet_info.c",
|
416
|
-
"src/lib/packet_info.h",
|
417
|
-
"src/lib/packet_parser.c",
|
418
|
-
"src/lib/packetin_filter_interface.c",
|
419
|
-
"src/lib/packetin_filter_interface.h",
|
420
|
-
"src/lib/persistent_storage.c",
|
421
|
-
"src/lib/persistent_storage.h",
|
422
|
-
"src/lib/stat.c",
|
423
|
-
"src/lib/stat.h",
|
424
|
-
"src/lib/tcp.h",
|
425
|
-
"src/lib/timer.c",
|
426
|
-
"src/lib/timer.h",
|
427
|
-
"src/lib/trema.c",
|
428
|
-
"src/lib/trema.h",
|
429
|
-
"src/lib/trema_private.c",
|
430
|
-
"src/lib/trema_private.h",
|
431
|
-
"src/lib/trema_wrapper.c",
|
432
|
-
"src/lib/trema_wrapper.h",
|
433
|
-
"src/lib/udp.h",
|
434
|
-
"src/lib/utility.c",
|
435
|
-
"src/lib/utility.h",
|
436
|
-
"src/lib/wrapper.c",
|
437
|
-
"src/lib/wrapper.h",
|
438
|
-
"src/packetin_filter/README",
|
439
|
-
"src/packetin_filter/packetin_filter.c",
|
440
|
-
"src/switch_manager/README",
|
441
|
-
"src/switch_manager/cookie_table.c",
|
442
|
-
"src/switch_manager/cookie_table.h",
|
443
|
-
"src/switch_manager/dpid_table.c",
|
444
|
-
"src/switch_manager/dpid_table.h",
|
445
|
-
"src/switch_manager/management_interface.h",
|
446
|
-
"src/switch_manager/ofpmsg_recv.c",
|
447
|
-
"src/switch_manager/ofpmsg_recv.h",
|
448
|
-
"src/switch_manager/ofpmsg_send.c",
|
449
|
-
"src/switch_manager/ofpmsg_send.h",
|
450
|
-
"src/switch_manager/secure_channel_listener.c",
|
451
|
-
"src/switch_manager/secure_channel_listener.h",
|
452
|
-
"src/switch_manager/secure_channel_receiver.c",
|
453
|
-
"src/switch_manager/secure_channel_receiver.h",
|
454
|
-
"src/switch_manager/secure_channel_sender.c",
|
455
|
-
"src/switch_manager/secure_channel_sender.h",
|
456
|
-
"src/switch_manager/service_interface.c",
|
457
|
-
"src/switch_manager/service_interface.h",
|
458
|
-
"src/switch_manager/switch.c",
|
459
|
-
"src/switch_manager/switch.h",
|
460
|
-
"src/switch_manager/switch_manager.c",
|
461
|
-
"src/switch_manager/switch_manager.h",
|
462
|
-
"src/switch_manager/switchinfo.h",
|
463
|
-
"src/switch_manager/xid_table.c",
|
464
|
-
"src/switch_manager/xid_table.h",
|
465
|
-
"src/tremashark/README",
|
466
|
-
"src/tremashark/packet_capture.c",
|
467
|
-
"src/tremashark/pcap_private.h",
|
468
|
-
"src/tremashark/pcap_queue.c",
|
469
|
-
"src/tremashark/pcap_queue.h",
|
470
|
-
"src/tremashark/plugin/.gitignore",
|
471
|
-
"src/tremashark/plugin/packet-trema/.gitignore",
|
472
|
-
"src/tremashark/plugin/packet-trema/Makefile",
|
473
|
-
"src/tremashark/plugin/packet-trema/Makefile.am",
|
474
|
-
"src/tremashark/plugin/packet-trema/Makefile.common",
|
475
|
-
"src/tremashark/plugin/packet-trema/moduleinfo.h",
|
476
|
-
"src/tremashark/plugin/packet-trema/packet-trema.c",
|
477
|
-
"src/tremashark/plugin/packet-trema/plugin.c",
|
478
|
-
"src/tremashark/plugin/user_dlts",
|
479
|
-
"src/tremashark/queue.c",
|
480
|
-
"src/tremashark/queue.h",
|
481
|
-
"src/tremashark/stdin_relay.c",
|
482
|
-
"src/tremashark/syslog_relay.c",
|
483
|
-
"src/tremashark/tremashark.c",
|
484
|
-
"trema",
|
485
|
-
"trema-config",
|
486
|
-
"trema.gemspec",
|
487
|
-
"unittests/buffer_stubs.c",
|
488
|
-
"unittests/cmockery_trema.c",
|
489
|
-
"unittests/cmockery_trema.h",
|
490
|
-
"unittests/lib/buffer_test.c",
|
491
|
-
"unittests/lib/byteorder_test.c",
|
492
|
-
"unittests/lib/daemon_test.c",
|
493
|
-
"unittests/lib/doubly_linked_list_test.c",
|
494
|
-
"unittests/lib/ether_test.c",
|
495
|
-
"unittests/lib/hash_table_test.c",
|
496
|
-
"unittests/lib/linked_list_test.c",
|
497
|
-
"unittests/lib/log_test.c",
|
498
|
-
"unittests/lib/match_table_test.c",
|
499
|
-
"unittests/lib/message_queue_test.c",
|
500
|
-
"unittests/lib/messenger_test.c",
|
501
|
-
"unittests/lib/openflow_application_interface_test.c",
|
502
|
-
"unittests/lib/openflow_message_test.c",
|
503
|
-
"unittests/lib/packet_info_test.c",
|
504
|
-
"unittests/lib/packet_parser_test.c",
|
505
|
-
"unittests/lib/packetin_filter_interface_test.c",
|
506
|
-
"unittests/lib/persistent_storage_test.c",
|
507
|
-
"unittests/lib/stat_test.c",
|
508
|
-
"unittests/lib/test_packets/arp_rep.cap",
|
509
|
-
"unittests/lib/test_packets/arp_req.cap",
|
510
|
-
"unittests/lib/test_packets/icmp_echo_rep.cap",
|
511
|
-
"unittests/lib/test_packets/icmp_echo_req.cap",
|
512
|
-
"unittests/lib/test_packets/igmp_query_v2.cap",
|
513
|
-
"unittests/lib/test_packets/ipx.cap",
|
514
|
-
"unittests/lib/test_packets/lldp.cap",
|
515
|
-
"unittests/lib/test_packets/lldp_over_ip.cap",
|
516
|
-
"unittests/lib/test_packets/tcp.cap",
|
517
|
-
"unittests/lib/test_packets/tcp_syn.cap",
|
518
|
-
"unittests/lib/test_packets/udp.cap",
|
519
|
-
"unittests/lib/test_packets/udp_frag_head.cap",
|
520
|
-
"unittests/lib/test_packets/udp_frag_next.cap",
|
521
|
-
"unittests/lib/test_packets/vtag_icmp_echo_rep.cap",
|
522
|
-
"unittests/lib/test_packets/vtag_icmp_echo_req.cap",
|
523
|
-
"unittests/lib/timer_test.c",
|
524
|
-
"unittests/lib/trema_private_test.c",
|
525
|
-
"unittests/lib/trema_test.c",
|
526
|
-
"unittests/lib/utility_test.c",
|
527
|
-
"unittests/lib/wrapper_test.c",
|
528
|
-
"unittests/packetin_filter/packetin_filter_test.c",
|
529
|
-
"unittests/switch_manager/switch_manager_test.c",
|
530
|
-
"unittests/wrapper_stubs.c",
|
531
|
-
"vendor/.gitignore",
|
532
|
-
"vendor/README",
|
533
|
-
"vendor/cmockery-20110428.tar.gz",
|
534
|
-
"vendor/oflops-0.03.tar.gz",
|
535
|
-
"vendor/oflops_no_snmp+1.0.0.patch",
|
536
|
-
"vendor/openflow-1.0.0.tar.gz",
|
537
|
-
"vendor/openflow.git.tar.gz",
|
538
|
-
"vendor/openvswitch-1.2.2.tar.gz",
|
539
|
-
"vendor/phost/doc/COPYING",
|
540
|
-
"vendor/phost/doc/README",
|
541
|
-
"vendor/phost/src/.gitignore",
|
542
|
-
"vendor/phost/src/Makefile",
|
543
|
-
"vendor/phost/src/arp.c",
|
544
|
-
"vendor/phost/src/arp.h",
|
545
|
-
"vendor/phost/src/cli.c",
|
546
|
-
"vendor/phost/src/cli.h",
|
547
|
-
"vendor/phost/src/cmdif.c",
|
548
|
-
"vendor/phost/src/cmdif.h",
|
549
|
-
"vendor/phost/src/common.c",
|
550
|
-
"vendor/phost/src/common.h",
|
551
|
-
"vendor/phost/src/eth.c",
|
552
|
-
"vendor/phost/src/eth.h",
|
553
|
-
"vendor/phost/src/ethdev.c",
|
554
|
-
"vendor/phost/src/ethdev.h",
|
555
|
-
"vendor/phost/src/icmp.c",
|
556
|
-
"vendor/phost/src/icmp.h",
|
557
|
-
"vendor/phost/src/ipv4.c",
|
558
|
-
"vendor/phost/src/ipv4.h",
|
559
|
-
"vendor/phost/src/log.c",
|
560
|
-
"vendor/phost/src/log.h",
|
561
|
-
"vendor/phost/src/phost.c",
|
562
|
-
"vendor/phost/src/phost.h",
|
563
|
-
"vendor/phost/src/stats.c",
|
564
|
-
"vendor/phost/src/stats.h",
|
565
|
-
"vendor/phost/src/tap.c",
|
566
|
-
"vendor/phost/src/tap.h",
|
567
|
-
"vendor/phost/src/trx.c",
|
568
|
-
"vendor/phost/src/trx.h",
|
569
|
-
"vendor/phost/src/udp.c",
|
570
|
-
"vendor/phost/src/udp.h",
|
571
|
-
"vendor/phost/src/utils.c",
|
572
|
-
"vendor/phost/src/utils.h",
|
573
|
-
"vendor/ruby-ifconfig-1.2/COPYING",
|
574
|
-
"vendor/ruby-ifconfig-1.2/Changelog",
|
575
|
-
"vendor/ruby-ifconfig-1.2/INSTALL",
|
576
|
-
"vendor/ruby-ifconfig-1.2/README",
|
577
|
-
"vendor/ruby-ifconfig-1.2/Rakefile",
|
578
|
-
"vendor/ruby-ifconfig-1.2/TODO",
|
579
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/darwin.txt",
|
580
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/dragonflybsd.txt",
|
581
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/dragonflybsd_netstat.txt",
|
582
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/freebsd.txt",
|
583
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/freebsd_netstat.txt",
|
584
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/linux.txt",
|
585
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/linux_ethernet.txt",
|
586
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/netbsd.txt",
|
587
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/openbsd.txt",
|
588
|
-
"vendor/ruby-ifconfig-1.2/ifconfig_examples/sunos.txt",
|
589
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig.rb",
|
590
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/bsd/ifconfig.rb",
|
591
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/bsd/interface_types.rb",
|
592
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/bsd/network_types.rb",
|
593
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/common/ifconfig.rb",
|
594
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/common/interface_types.rb",
|
595
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/common/network_types.rb",
|
596
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/linux/ifconfig.rb",
|
597
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/linux/interface_types.rb",
|
598
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/linux/network_types.rb",
|
599
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/sunos/ifconfig.rb",
|
600
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/sunos/interface_types.rb",
|
601
|
-
"vendor/ruby-ifconfig-1.2/lib/ifconfig/sunos/network_types.rb",
|
602
|
-
"vendor/ruby-ifconfig-1.2/setup.rb",
|
603
|
-
"vendor/ruby-ifconfig-1.2/test/test_bsd.rb",
|
604
|
-
"vendor/ruby-ifconfig-1.2/test/test_darwin.rb",
|
605
|
-
"vendor/ruby-ifconfig-1.2/test/test_dragonflybsd.rb",
|
606
|
-
"vendor/ruby-ifconfig-1.2/test/test_helper.rb",
|
607
|
-
"vendor/ruby-ifconfig-1.2/test/test_linux.rb",
|
608
|
-
"vendor/ruby-ifconfig-1.2/test/test_netbsd.rb",
|
609
|
-
"vendor/ruby-ifconfig-1.2/test/test_openbsd.rb",
|
610
|
-
"vendor/ruby-ifconfig-1.2/test/test_sunos.rb",
|
611
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_darwin.rb",
|
612
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_dragonflybsd.rb",
|
613
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_freebsd.rb",
|
614
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_linux.rb",
|
615
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_netbsd.rb",
|
616
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_openbsd.rb",
|
617
|
-
"vendor/ruby-ifconfig-1.2/test/unit/tc_sunos.rb"
|
618
|
-
]
|
619
|
-
s.homepage = "http://github.com/trema/trema"
|
620
|
-
s.licenses = ["GPL2"]
|
621
|
-
s.require_paths = ["lib"]
|
622
|
-
s.rubygems_version = "1.8.11"
|
623
|
-
s.summary = "Full-Stack OpenFlow Framework for Ruby/C"
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
17
|
+
s.bindir = "."
|
18
|
+
s.executables = ["trema", "trema-config"]
|
19
|
+
s.extensions = ["Rakefile"]
|
20
|
+
s.extra_rdoc_files = [ "README.md" ]
|
624
21
|
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
629
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
630
|
-
s.add_development_dependency(%q<cucumber>, ["~> 1.1.9"])
|
631
|
-
s.add_development_dependency(%q<flay>, ["~> 1.4.3"])
|
632
|
-
s.add_development_dependency(%q<flog>, ["~> 2.5.3"])
|
633
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
634
|
-
s.add_development_dependency(%q<rake>, ["~> 0.9.2.2"])
|
635
|
-
s.add_development_dependency(%q<rcov>, ["~> 1.0.0"])
|
636
|
-
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
637
|
-
s.add_development_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
638
|
-
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
639
|
-
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
|
640
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
641
|
-
s.add_development_dependency(%q<yard>, ["~> 0.7"])
|
642
|
-
else
|
643
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
644
|
-
s.add_dependency(%q<cucumber>, ["~> 1.1.9"])
|
645
|
-
s.add_dependency(%q<flay>, ["~> 1.4.3"])
|
646
|
-
s.add_dependency(%q<flog>, ["~> 2.5.3"])
|
647
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
648
|
-
s.add_dependency(%q<rake>, ["~> 0.9.2.2"])
|
649
|
-
s.add_dependency(%q<rcov>, ["~> 1.0.0"])
|
650
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
651
|
-
s.add_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
652
|
-
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
653
|
-
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
654
|
-
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
655
|
-
s.add_dependency(%q<yard>, ["~> 0.7"])
|
656
|
-
end
|
657
|
-
else
|
658
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
659
|
-
s.add_dependency(%q<cucumber>, ["~> 1.1.9"])
|
660
|
-
s.add_dependency(%q<flay>, ["~> 1.4.3"])
|
661
|
-
s.add_dependency(%q<flog>, ["~> 2.5.3"])
|
662
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
663
|
-
s.add_dependency(%q<rake>, ["~> 0.9.2.2"])
|
664
|
-
s.add_dependency(%q<rcov>, ["~> 1.0.0"])
|
665
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
666
|
-
s.add_dependency(%q<redcarpet>, ["~> 2.1.0"])
|
667
|
-
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
668
|
-
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
669
|
-
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
670
|
-
s.add_dependency(%q<yard>, ["~> 0.7"])
|
671
|
-
end
|
22
|
+
# specify any dependencies here; for example:
|
23
|
+
# s.add_development_dependency "rspec"
|
24
|
+
s.add_runtime_dependency "rake"
|
672
25
|
end
|
673
|
-
|
metadata
CHANGED
@@ -1,232 +1,39 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Yasuhito Takamiya
|
14
14
|
autorequire:
|
15
|
-
bindir:
|
16
|
-
- .
|
15
|
+
bindir: .
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-06 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
21
|
+
name: rake
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
27
|
-
- -
|
26
|
+
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
28
|
+
hash: 3
|
30
29
|
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
30
|
- 0
|
34
|
-
version:
|
35
|
-
type: :
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
36
33
|
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: cucumber
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 1
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 1
|
49
|
-
- 9
|
50
|
-
version: 1.1.9
|
51
|
-
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: flay
|
55
|
-
prerelease: false
|
56
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
hash: 1
|
62
|
-
segments:
|
63
|
-
- 1
|
64
|
-
- 4
|
65
|
-
- 3
|
66
|
-
version: 1.4.3
|
67
|
-
type: :development
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: flog
|
71
|
-
prerelease: false
|
72
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 29
|
78
|
-
segments:
|
79
|
-
- 2
|
80
|
-
- 5
|
81
|
-
- 3
|
82
|
-
version: 2.5.3
|
83
|
-
type: :development
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: jeweler
|
87
|
-
prerelease: false
|
88
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
hash: 49
|
94
|
-
segments:
|
95
|
-
- 1
|
96
|
-
- 8
|
97
|
-
- 3
|
98
|
-
version: 1.8.3
|
99
|
-
type: :development
|
100
|
-
version_requirements: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: rake
|
103
|
-
prerelease: false
|
104
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
hash: 11
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
- 9
|
113
|
-
- 2
|
114
|
-
- 2
|
115
|
-
version: 0.9.2.2
|
116
|
-
type: :development
|
117
|
-
version_requirements: *id006
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: rcov
|
120
|
-
prerelease: false
|
121
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
|
-
requirements:
|
124
|
-
- - ~>
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
hash: 23
|
127
|
-
segments:
|
128
|
-
- 1
|
129
|
-
- 0
|
130
|
-
- 0
|
131
|
-
version: 1.0.0
|
132
|
-
type: :development
|
133
|
-
version_requirements: *id007
|
134
|
-
- !ruby/object:Gem::Dependency
|
135
|
-
name: rdoc
|
136
|
-
prerelease: false
|
137
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
|
-
requirements:
|
140
|
-
- - ~>
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
hash: 31
|
143
|
-
segments:
|
144
|
-
- 3
|
145
|
-
- 12
|
146
|
-
version: "3.12"
|
147
|
-
type: :development
|
148
|
-
version_requirements: *id008
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
name: redcarpet
|
151
|
-
prerelease: false
|
152
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ~>
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
hash: 11
|
158
|
-
segments:
|
159
|
-
- 2
|
160
|
-
- 1
|
161
|
-
- 0
|
162
|
-
version: 2.1.0
|
163
|
-
type: :development
|
164
|
-
version_requirements: *id009
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: reek
|
167
|
-
prerelease: false
|
168
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
|
-
requirements:
|
171
|
-
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
hash: 15
|
174
|
-
segments:
|
175
|
-
- 1
|
176
|
-
- 2
|
177
|
-
- 8
|
178
|
-
version: 1.2.8
|
179
|
-
type: :development
|
180
|
-
version_requirements: *id010
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: roodi
|
183
|
-
prerelease: false
|
184
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ~>
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
hash: 11
|
190
|
-
segments:
|
191
|
-
- 2
|
192
|
-
- 1
|
193
|
-
- 0
|
194
|
-
version: 2.1.0
|
195
|
-
type: :development
|
196
|
-
version_requirements: *id011
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: rspec
|
199
|
-
prerelease: false
|
200
|
-
requirement: &id012 !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
|
-
requirements:
|
203
|
-
- - ~>
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
hash: 47
|
206
|
-
segments:
|
207
|
-
- 2
|
208
|
-
- 8
|
209
|
-
- 0
|
210
|
-
version: 2.8.0
|
211
|
-
type: :development
|
212
|
-
version_requirements: *id012
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: yard
|
215
|
-
prerelease: false
|
216
|
-
requirement: &id013 !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
hash: 5
|
222
|
-
segments:
|
223
|
-
- 0
|
224
|
-
- 7
|
225
|
-
version: "0.7"
|
226
|
-
type: :development
|
227
|
-
version_requirements: *id013
|
228
34
|
description: Trema is a full-stack, easy-to-use framework for developing OpenFlow controllers in Ruby/C
|
229
|
-
email:
|
35
|
+
email:
|
36
|
+
- yasuhito@gmail.com
|
230
37
|
executables:
|
231
38
|
- trema
|
232
39
|
- trema-config
|
@@ -235,6 +42,7 @@ extensions:
|
|
235
42
|
extra_rdoc_files:
|
236
43
|
- README.md
|
237
44
|
files:
|
45
|
+
- .gitignore
|
238
46
|
- .mono.rant
|
239
47
|
- .rspec
|
240
48
|
- .yardopts
|
@@ -245,7 +53,6 @@ files:
|
|
245
53
|
- README.md
|
246
54
|
- Rakefile
|
247
55
|
- Rantfile
|
248
|
-
- VERSION
|
249
56
|
- build.rb
|
250
57
|
- cruise.rb
|
251
58
|
- features/example.dumper.feature
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.2.1
|