trema 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/ruby/trema/port-status.c +1 -0
- data/ruby/trema/version.rb +1 -1
- data/spec/trema/packet-in_spec.rb +5 -7
- metadata +3 -3
data/Gemfile
CHANGED
data/ruby/trema/port-status.c
CHANGED
@@ -134,6 +134,7 @@ Init_port_status() {
|
|
134
134
|
rb_alias( cPortStatus, rb_intern( "xid" ), rb_intern( "transaction_id" ) );
|
135
135
|
rb_define_method( cPortStatus, "reason", port_status_reason, 0 );
|
136
136
|
rb_define_method( cPortStatus, "phy_port", port_status_phy_port, 0 );
|
137
|
+
rb_alias( cPortStatus, rb_intern( "port" ), rb_intern( "phy_port" ) );
|
137
138
|
|
138
139
|
rb_require( "trema/port-status-add" );
|
139
140
|
rb_require( "trema/port-status-delete" );
|
data/ruby/trema/version.rb
CHANGED
@@ -544,11 +544,11 @@ describe Trema::PacketIn do
|
|
544
544
|
0x04, 0x02, 0x07, 0x31, # Port ID
|
545
545
|
0x06, 0x02, 0x00, 0xb4, # TTL
|
546
546
|
0x00, 0x00, # EOF
|
547
|
-
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
548
|
-
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
549
|
-
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
550
|
-
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
551
|
-
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
547
|
+
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
548
|
+
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
549
|
+
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
550
|
+
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
551
|
+
0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
|
552
552
|
0xa5, 0xa5, 0xa5, 0xa5, 0xa5
|
553
553
|
].pack( "C*" )
|
554
554
|
controller( "PacketInSendController" ).should_receive( :packet_in ) do | datapath_id, message |
|
@@ -571,9 +571,7 @@ describe Trema::PacketIn do
|
|
571
571
|
sleep 2
|
572
572
|
}
|
573
573
|
end
|
574
|
-
|
575
574
|
end
|
576
|
-
|
577
575
|
end
|
578
576
|
|
579
577
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 14
|
10
|
+
version: 0.3.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Yasuhito Takamiya
|