opendaylight 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e2d624170dbdd964a78f9546ca6692a906d5607
4
- data.tar.gz: 396c07c1a48f4069d73b78cb8164b862ff129730
3
+ metadata.gz: f9d7cd9f01d8b0986563112dd9c21bac6f8eaa88
4
+ data.tar.gz: d920045d15e72c2f584042ec5799f9d5e028658c
5
5
  SHA512:
6
- metadata.gz: c606f387afb2887ce8c028a9807f6e41d921da2ef00a9f0b5f69120b266e21363fb3edc7df83e23eed2ad55cd0f4f4afe1040c12fce8a0e1a450e9cc22a4439b
7
- data.tar.gz: de7ec0e996a6875814a75437c230d338f624330d703f1186406f395128021aa0b1b3b89d95bcea390a775a4c1d1310862190530a3fb33d789002e0410f030564
6
+ metadata.gz: 08c209a213ec853c00c36aff5ad3981c614924819f139c28f4f4d52414d8efb0a7825b60e817880064dbd896b3e284fd9cf2c935538bf0cfbc420fce792d8f09
7
+ data.tar.gz: 2ef50a3e021024e40fd7f9f70e1bc269b4e8755f8a776d50799b8682a3296f5fbd534f68bc7226251f7e87948095a92755442a0ec3940056a960e09246dd3c6e
data/README.md CHANGED
@@ -47,6 +47,7 @@ Here are the possible arguments for makeflow. All the arguments default to nil u
47
47
  id #Node ID (usually MAC address) *REQUIRED*
48
48
  name #Flow Name *REQUIRED*
49
49
  actions #OpenDaylight OpenFlow Action *REQUIRED*
50
+ priority #Flow Priority (default "500")
50
51
  ingressPort #Layer 1 (physical) Source Port
51
52
  dlSrc #Layer 2 (MAC address) source
52
53
  dlDst #Layer 2 (MAC address) Destination
@@ -56,12 +57,11 @@ Here are the possible arguments for makeflow. All the arguments default to nil u
56
57
  tpDst #Layer 4 (Network Socket Port) destination
57
58
  installInHW #Make the flow installed and active (default "true")
58
59
  type #Node Type (default "OF")
59
- protocol #IP Protocol Number (default "6")
60
+ protocol #IP Protocol Number
60
61
  etherType #Ethertype field (default "0x800")
61
62
  vlanId #Virtual LAN ID
62
63
  vlanPriority #Virtual LAN QoS Priotity
63
64
  idleTimeout #Flow Idle Timeout
64
- priority #Flow Priority
65
65
  tosBits #Type of Service Bits
66
66
  hardTimeout #Flow Hard Timeout
67
67
  cookie #Cookie enhancements
data/lib/opendaylight.rb CHANGED
@@ -52,7 +52,7 @@ module Opendaylight
52
52
  HTTParty.get("#{url}controller/nb/v2/statistics/#{containerName}/#{stats}", basic_auth: auth)
53
53
  end
54
54
 
55
- def self.build_options(tpSrc: nil, protocol: "6", vlanId: nil, id: nil, type: "OF", vlanPriority: nil, idleTimeout: nil, priority: nil, ingressPort: nil, tosBits: nil, name: nil, hardTimeout: nil, dlDst: nil, installInHW: "true", etherType: "0x800", actions: nil, cookie: nil, dlSrc: nil, nwSrc: nil, nwDst: nil, tpDst: nil, username: Opendaylight.configuration.username, password: Opendaylight.configuration.password, url: Opendaylight.configuration.url, containerName: "default")
55
+ def self.build_options(tpSrc: nil, protocol: nil, vlanId: nil, id: nil, type: "OF", vlanPriority: nil, idleTimeout: nil, priority: "500", ingressPort: nil, tosBits: nil, name: nil, hardTimeout: nil, dlDst: nil, installInHW: "true", etherType: "0x800", actions: nil, cookie: nil, dlSrc: nil, nwSrc: nil, nwDst: nil, tpDst: nil, username: Opendaylight.configuration.username, password: Opendaylight.configuration.password, url: Opendaylight.configuration.url, containerName: "default")
56
56
  auth = {username: username, password: password}
57
57
  options = { url: url,
58
58
  containerName: containerName,
@@ -1,3 +1,3 @@
1
1
  module Opendaylight
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opendaylight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rickpr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2014-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.4.4
90
+ rubygems_version: 2.4.5
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Ruby Wrapper for OpenDaylight