omf_rc 6.0.8.pre.4 → 6.0.8.pre.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,7 +106,6 @@ class OmfRc::ResourceProxy::AbstractResource
106
106
  @uid = (@opts.delete(:uid) || SecureRandom.uuid).to_s
107
107
  @hrn = @opts.delete(:hrn)
108
108
  @hrn = @hrn.to_s if @hrn
109
- @node_index = nil
110
109
 
111
110
  @children = []
112
111
  @membership = []
@@ -399,15 +398,6 @@ class OmfRc::ResourceProxy::AbstractResource
399
398
  @membership
400
399
  end
401
400
 
402
- # Set the node index, overwriting any previous index
403
- # The index is a unique integer for each node in an experiment
404
- # It's used e.g. to give each node an IP address such as x.x.x.node_index
405
- #
406
- # @param [String|Array] args name of group topic/topics
407
- def configure_node_index(index)
408
- @node_index = index
409
- end
410
-
411
401
  # @!endgroup
412
402
 
413
403
  # Parse omf message and execute as instructed by the message
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # @example Bring up an Ethernet interface eth0 by setting an ip address
13
13
  # eth0 = node.create(:wlan, if_name: 'eth0')
14
- # eth0.conifgure_ip_addr("192.168.1.100/24")
14
+ # eth0.configure_ip_addr("192.168.1.100/24")
15
15
  #
16
16
  # @see OmfRc::Util::Ip
17
17
  module OmfRc::ResourceProxy::Net
@@ -78,4 +78,13 @@ module OmfRc::ResourceProxy::Node
78
78
  end
79
79
  end
80
80
  # @!endgroup
81
+
82
+ # @!macro group_prop
83
+ #
84
+ # @!attribute [rw] node_index
85
+ # Node Index
86
+ # @!macro prop
87
+ property :node_index
88
+ # @!endgroup
89
+
81
90
  end
data/lib/omf_rc/runner.rb CHANGED
@@ -21,7 +21,7 @@ module OmfRc
21
21
  class Runner
22
22
  include Hashie
23
23
 
24
- attr_accessor :gopts, :copts, :def_opts, :node_index
24
+ attr_accessor :gopts, :copts, :def_opts
25
25
  attr_accessor :opts
26
26
 
27
27
  def initialize()
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_rc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.8.pre.4
4
+ version: 6.0.8.pre.5
5
+ prerelease: 6
5
6
  platform: ruby
6
7
  authors:
7
8
  - NICTA
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-01-06 00:00:00.000000000 Z
12
+ date: 2014-02-05 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: minitest
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: em-minitest-spec
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,48 +46,55 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: pry
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: simplecov
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: omf_common
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - '='
74
84
  - !ruby/object:Gem::Version
75
- version: 6.0.8.pre.4
85
+ version: 6.0.8.pre.5
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - '='
81
92
  - !ruby/object:Gem::Version
82
- version: 6.0.8.pre.4
93
+ version: 6.0.8.pre.5
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: cocaine
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -97,15 +110,17 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: mocha
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  description: Resource controller of OMF, a generic framework for controlling and managing
@@ -192,25 +207,26 @@ files:
192
207
  homepage: http://omf.mytestbed.net
193
208
  licenses:
194
209
  - MIT
195
- metadata: {}
196
210
  post_install_message:
197
211
  rdoc_options: []
198
212
  require_paths:
199
213
  - lib
200
214
  required_ruby_version: !ruby/object:Gem::Requirement
215
+ none: false
201
216
  requirements:
202
- - - '>='
217
+ - - ! '>='
203
218
  - !ruby/object:Gem::Version
204
219
  version: 1.9.3
205
220
  required_rubygems_version: !ruby/object:Gem::Requirement
221
+ none: false
206
222
  requirements:
207
- - - '>'
223
+ - - ! '>'
208
224
  - !ruby/object:Gem::Version
209
225
  version: 1.3.1
210
226
  requirements: []
211
227
  rubyforge_project: omf_rc
212
- rubygems_version: 2.0.7
228
+ rubygems_version: 1.8.24
213
229
  signing_key:
214
- specification_version: 4
230
+ specification_version: 3
215
231
  summary: OMF resource controller
216
232
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: e0c952d2f82964fc5c366403b10d67636cb574a3
4
- data.tar.gz: 0fdaccce9e540d5c42d93eadfd77610db0b123e4
5
- SHA512:
6
- metadata.gz: 838e92311d85754c4399f2677ad01ba9222636fe888718a366f34327c65457e0be50cad415ca8c508323b62bb37afac802c1a9a2105153310bfea1fd0e9e929c
7
- data.tar.gz: 464ef4091206fb669dac387b9bbf5af09fa4001f13195ebbd86e9d0b6ea9a445fbdeb3b920979f79e0ba13d874c7dbd3f175ed38e7e82c62e9c0e5a026963edc