trema 0.3.21 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -1
- data/Gemfile +4 -4
- data/README.md +6 -9
- data/Rakefile +508 -24
- data/build.rb +4 -9
- data/cruise.rb +3 -3
- data/features/switch_event/add_forward_entry.feature +1 -0
- data/features/switch_event/delete_forward_entry.feature +1 -0
- data/features/switch_event/dump_forward_entries.feature +1 -0
- data/features/switch_event/set_forward_entries.feature +1 -0
- data/ruby/trema/compat.h +36 -0
- data/ruby/trema/controller.c +23 -7
- data/ruby/trema/default-logger.c +1 -1
- data/ruby/trema/features-reply.c +1 -1
- data/ruby/trema/switch-event.c +11 -10
- data/ruby/trema/switch.c +11 -11
- data/ruby/trema/version.rb +1 -1
- data/spec/support/matchers/constant.rb +25 -0
- data/spec/trema/barrier-request_spec.rb +1 -0
- data/spec/trema/controller_spec.rb +11 -28
- data/spec/trema/error_spec.rb +0 -46
- data/spec/trema/packet-out_spec.rb +1 -1
- data/spec/trema/port-status_spec.rb +8 -5
- data/spec/trema_spec.rb +64 -24
- data/src/lib/checks.h +2 -2
- data/src/lib/messenger.c +3 -3
- data/src/lib/openflow_message.c +8 -1
- data/src/lib/openflow_message.h +1 -0
- data/src/lib/openflow_switch_interface.c +1 -1
- data/src/switch_manager/secure_channel_listener.c +1 -1
- data/src/switch_manager/secure_channel_receiver.c +1 -1
- data/trema.gemspec +3 -3
- data/unittests/lib/daemon_test.c +1 -1
- data/unittests/lib/hash_table_test.c +1 -1
- metadata +87 -113
- data/.mono.rant +0 -4107
- data/Rantfile +0 -739
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ef20c00d0e61a93ddf449432c366f78b620ac54c
|
4
|
+
data.tar.gz: c516614e8c862044a82765a2faee850cbdccb30a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1169678d2c9832448bbdab636a8323784873ca7f89ba3354ea8552f905c5e78bc2a77e8fd9a09e5ed3fddfc720166a530df3b47ae1282e54fe2b551196d63c47
|
7
|
+
data.tar.gz: a357cf352ea0004e22575e50e8060925bd9892923e9a8338aed04c5c42b25da402e4cb5cfff65409dc9a9b370b8373422dbd3743ba65d56fe6842a3c7be86a45
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0
|
data/Gemfile
CHANGED
@@ -14,16 +14,16 @@ gemspec
|
|
14
14
|
# Include everything needed to run rake, tests, features, etc.
|
15
15
|
group :development do
|
16
16
|
gem "aruba", "~> 0.5.3"
|
17
|
-
gem "cucumber", "~> 1.3.
|
17
|
+
gem "cucumber", "~> 1.3.8"
|
18
18
|
gem "flay", "~> 2.4.0"
|
19
|
-
gem "flog", "~> 4.1.
|
20
|
-
gem "rcov", "~> 1.0.0"
|
19
|
+
gem "flog", "~> 4.1.2"
|
20
|
+
gem "rcov", "~> 1.0.0" if RUBY_VERSION < "1.9.0"
|
21
21
|
gem "redcarpet", "~> 2.3.0" if RUBY_VERSION < "1.9.0"
|
22
22
|
gem "redcarpet", "~> 3.0.0" if RUBY_VERSION >= "1.9.0"
|
23
23
|
gem "reek", "~> 1.3.3"
|
24
24
|
gem "relish", "~> 0.7"
|
25
25
|
gem "rspec", "~> 2.14.1"
|
26
|
-
gem "yard", "~> 0.8.7"
|
26
|
+
gem "yard", "~> 0.8.7.1"
|
27
27
|
end
|
28
28
|
|
29
29
|
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ Supported Platforms
|
|
27
27
|
|
28
28
|
Trema supports GNU/Linux only. And it has been tested on the following environments:
|
29
29
|
|
30
|
-
* Ruby 1.8.7
|
30
|
+
* Ruby 1.8.7 or higher
|
31
31
|
* RubyGems 1.3.6 or higher
|
32
32
|
* Ubuntu 13.04, 12.10, 12.04, 11.10, and 10.04 (i386/amd64, Desktop Edition)
|
33
33
|
* Debian GNU/Linux 7.0 and 6.0 (i386/amd64)
|
@@ -48,19 +48,16 @@ Getting Started
|
|
48
48
|
|
49
49
|
1.Install the prerequisites at the command prompt:
|
50
50
|
|
51
|
-
(In Ubuntu
|
52
|
-
$ sudo apt-get install gcc make
|
53
|
-
|
54
|
-
(In Ubuntu 12.04, 11.10 or Debian GNU/Linux 6.0)
|
55
|
-
$ sudo apt-get install gcc make ruby rubygems ruby-dev libpcap-dev libsqlite3-dev
|
51
|
+
(In Ubuntu or Debian GNU/Linux)
|
52
|
+
$ sudo apt-get install gcc make ruby rubygems ruby-dev libpcap-dev libsqlite3-dev libglib2.0-dev
|
56
53
|
|
57
54
|
(In Ubuntu 10.04)
|
58
|
-
$ sudo apt-get install gcc make ruby rubygems ruby-dev libopenssl-ruby libpcap-dev libsqlite3-dev
|
59
|
-
$ sudo gem install rubygems-update
|
55
|
+
$ sudo apt-get install gcc make ruby rubygems ruby-dev libopenssl-ruby libpcap-dev libsqlite3-dev libglib2.0-dev
|
56
|
+
$ sudo gem install rubygems-update --version 2.0.8
|
60
57
|
$ sudo /var/lib/gems/1.8/bin/update_rubygems
|
61
58
|
|
62
59
|
(In Fedora 16)
|
63
|
-
$ sudo yum install gcc make ruby rubygems ruby-devel libpcap-devel libsqlite3x-devel
|
60
|
+
$ sudo yum install gcc make ruby rubygems ruby-devel libpcap-devel libsqlite3x-devel glib2-devel
|
64
61
|
|
65
62
|
2.Install Trema at the command prompt:
|
66
63
|
|