opennebula-cli 3.9.90.rc → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/bin/oneimage CHANGED
@@ -184,28 +184,6 @@ cmd=CommandParser::CmdParser.new(ARGV) do
184
184
  end
185
185
  end
186
186
 
187
- publish_desc = <<-EOT.unindent
188
- DEPRECATED, use chmod instead. Publishes the given Image. A public Image
189
- can be seen and used by other users in the Image's group.
190
- EOT
191
-
192
- command :publish, publish_desc, [:range,:imageid_list] do
193
- helper.perform_actions(args[0],options,"published") do |image|
194
- image.publish
195
- end
196
- end
197
-
198
- unpublish_desc = <<-EOT.unindent
199
- DEPRECATED, use chmod instead. Unpublishes the given Image. A private
200
- Image can't be used by any other user.
201
- EOT
202
-
203
- command :unpublish, unpublish_desc, [:range,:imageid_list] do
204
- helper.perform_actions(args[0],options,"unpublished") do |image|
205
- image.unpublish
206
- end
207
- end
208
-
209
187
  persistent_desc = <<-EOT.unindent
210
188
  Makes the given Image persistent. A persistent Image saves the changes
211
189
  made to the contents after the VM instance is shutdown (or in real time
data/bin/onetemplate CHANGED
@@ -222,29 +222,6 @@ cmd=CommandParser::CmdParser.new(ARGV) do
222
222
  exit_code
223
223
  end
224
224
 
225
- publish_desc = <<-EOT.unindent
226
- DEPRECATED, use chmod instead. Publishes the given Template. A public
227
- Template can be seen and instantiated by other users in the Template's
228
- group.
229
- EOT
230
-
231
- command :publish, publish_desc, [:range,:templateid_list] do
232
- helper.perform_actions(args[0],options,"published") do |t|
233
- t.publish
234
- end
235
- end
236
-
237
- unpublish_desc = <<-EOT.unindent
238
- DEPRECATED, use chmod instead. Unpublishes the given Template. A private
239
- Template can't be instantiated by any other user.
240
- EOT
241
-
242
- command :unpublish, unpublish_desc, [:range,:templateid_list] do
243
- helper.perform_actions(args[0],options,"unpublished") do |t|
244
- t.unpublish
245
- end
246
- end
247
-
248
225
  chgrp_desc = <<-EOT.unindent
249
226
  Changes the Template group
250
227
  EOT
data/bin/onevnet CHANGED
@@ -83,7 +83,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
83
83
  cid = options[:cluster] || ClusterPool::NONE_CLUSTER_ID
84
84
 
85
85
  helper.create_resource(options) do |vn|
86
- begin
86
+ begin
87
87
  template=File.read(args[0])
88
88
  vn.allocate(template, cid)
89
89
  rescue => e
@@ -143,29 +143,6 @@ cmd=CommandParser::CmdParser.new(ARGV) do
143
143
  end
144
144
  end
145
145
 
146
- publish_desc = <<-EOT.unindent
147
- DEPRECATED, use chmod instead. Publishes the given Virtual Network.
148
- A public Virtual Network can be seen and used by other users in the
149
- Virtual Network's group.
150
- EOT
151
-
152
- command :publish, publish_desc, [:range,:vnetid_list] do
153
- helper.perform_actions(args[0],options,"published") do |vn|
154
- vn.publish
155
- end
156
- end
157
-
158
- unpublish_desc = <<-EOT.unindent
159
- DEPRECATED, use chmod instead. Unpublishes the given Virtual Network. A
160
- private Virtual Network can't be used by any other user.
161
- EOT
162
-
163
- command :unpublish, unpublish_desc, [:range,:vnetid_list] do
164
- helper.perform_actions(args[0],options,"unpublished") do |vn|
165
- vn.unpublish
166
- end
167
- end
168
-
169
146
  chgrp_desc = <<-EOT.unindent
170
147
  Changes the Virtual Network group
171
148
  EOT
@@ -140,7 +140,7 @@ class OneUserHelper < OpenNebulaHelper::OneHelper
140
140
 
141
141
  options[:time] ||= 3600
142
142
 
143
- auth.login(username, Time.now+options[:time])
143
+ auth.login(username, options[:time])
144
144
 
145
145
  return 0, 'export ONE_AUTH=' << auth.class::LOGIN_PATH
146
146
  end
metadata CHANGED
@@ -1,35 +1,41 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: opennebula-cli
3
- version: !ruby/object:Gem::Version
4
- version: 3.9.90.rc
5
- prerelease: 7
3
+ version: !ruby/object:Gem::Version
4
+ hash: 63
5
+ prerelease:
6
+ segments:
7
+ - 4
8
+ - 0
9
+ - 0
10
+ version: 4.0.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - OpenNebula
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-04-19 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-05-07 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: opennebula
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - '='
20
- - !ruby/object:Gem::Version
21
- version: 3.9.90.rc
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
27
- - - '='
28
- - !ruby/object:Gem::Version
29
- version: 3.9.90.rc
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ hash: 63
29
+ segments:
30
+ - 4
31
+ - 0
32
+ - 0
33
+ version: 4.0.0
34
+ type: :runtime
35
+ version_requirements: *id001
30
36
  description: Commands used to talk to OpenNebula
31
37
  email: contact@opennebula.org
32
- executables:
38
+ executables:
33
39
  - oneacct
34
40
  - oneacl
35
41
  - onecluster
@@ -42,8 +48,10 @@ executables:
42
48
  - onevm
43
49
  - onevnet
44
50
  extensions: []
51
+
45
52
  extra_rdoc_files: []
46
- files:
53
+
54
+ files:
47
55
  - bin/oneacct
48
56
  - bin/oneacl
49
57
  - bin/onecluster
@@ -74,27 +82,36 @@ files:
74
82
  - LICENSE
75
83
  homepage: http://opennebula.org
76
84
  licenses: []
85
+
77
86
  post_install_message:
78
87
  rdoc_options: []
79
- require_paths:
88
+
89
+ require_paths:
80
90
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
91
+ required_ruby_version: !ruby/object:Gem::Requirement
82
92
  none: false
83
- requirements:
84
- - - ! '>='
85
- - !ruby/object:Gem::Version
86
- version: '0'
87
- required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ hash: 3
97
+ segments:
98
+ - 0
99
+ version: "0"
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
101
  none: false
89
- requirements:
90
- - - ! '>'
91
- - !ruby/object:Gem::Version
92
- version: 1.3.1
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ hash: 3
106
+ segments:
107
+ - 0
108
+ version: "0"
93
109
  requirements: []
110
+
94
111
  rubyforge_project:
95
112
  rubygems_version: 1.8.25
96
113
  signing_key:
97
114
  specification_version: 3
98
115
  summary: OpenNebula Command Line Interface
99
116
  test_files: []
100
- has_rdoc:
117
+