openflow-protocol 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/messages/flow_mod.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99425d740613eb8af80345a7d2f94cb7fd32bbb9
4
- data.tar.gz: a00f136ec1d72970ac241fa4456b210065453490
3
+ metadata.gz: 76e227849a8eae5169563c4eb8277c48f36db0fe
4
+ data.tar.gz: 22e803bb2af8788d5bbd965199e9e435bfc14e92
5
5
  SHA512:
6
- metadata.gz: 42200b061493cf62a99a92124334b904d131f984fae8a14dc289223565cd6dc47cd0752c89625ffd27c08c88111547cccf58c60a0b711d8b927f492e049353de
7
- data.tar.gz: f9fdd09692e4e8790331c92a6f1e00b04b3f630e6ed0a7d75367d5a7c41f4b0929c7cc9f56909bb17f4e9922328d5860e9dd4d3590d63fe746f58d554effac54
6
+ metadata.gz: 552d6895c2659e16d0fe8d4602e354a4fc260d394ef2fb75069af604a5bc1677addeb276657e5922e89b079d62ff76d65fcc23c4ef4164b49becddfb11113e27
7
+ data.tar.gz: d91c5997c0cbe098ef9646d1f3cf01a059657bf2f0bf1781b3dc7e0dca43dfb27bff72b48b0bc1e3108674ec1fe7d0d8d35d1a475a6639d77b312e8a357021e4
@@ -7,7 +7,7 @@ class OFFlowMod < OFMessage
7
7
  uint16 :idle_timeout, initial_value: 0
8
8
  uint16 :hard_timeout, initial_value: 0
9
9
  uint16 :priority, initial_value: 0
10
- uint32 :buffer_id, initial_value: 0xffffffff
10
+ enum32 :buffer_id, list: {none: 0xffffffff}, initial_value: -> { :none }
11
11
  of_port_number :out_port, initial_value: (lambda do
12
12
  /^delete/ =~ command.to_s ? :none : 0
13
13
  end)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openflow-protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jérémy Pagé
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: packet-protocols