opennebula-cli 5.8.3 → 5.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/onevcenter +6 -0
- data/lib/one_helper/oneprovision_helper.rb +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da1f96f5523b5563fd189d3281e1162084815f6
|
4
|
+
data.tar.gz: d6bf1f07c1a907b54297eccdf9ee8f38c4bbb407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e9a3561a6ae34cb79b3ba2b57b0bac6b9e39519143a741d16206b678ca065eb50be84dc9378c2f76760f3deee4aef61c683cc05b3385d6f2010d81281b36606
|
7
|
+
data.tar.gz: 76ca8036103b4f5c6f316b361a8bc6eb1c83423ee98d29001a46737aaec3dd8a03341cfa7816f33b6bf00509a9e367eb3a9eae4e8b04c2e55f98b8916868e457
|
data/bin/onevcenter
CHANGED
@@ -181,6 +181,12 @@ CommandParser::CmdParser.new(ARGV) do
|
|
181
181
|
importer.retrieve_resources(helper.parse_opts(options))
|
182
182
|
indexes = importer.get_indexes(args.first)
|
183
183
|
|
184
|
+
if indexes.nil?
|
185
|
+
raise "Could not get any unimported #{options[:object]}"\
|
186
|
+
" resources info in host: #{options[:host]} with"\
|
187
|
+
" this input: #{args.first}"
|
188
|
+
end
|
189
|
+
|
184
190
|
importer.process_import(indexes) do |object_info|
|
185
191
|
helper.cli_dialogue(object_info)
|
186
192
|
end
|
@@ -176,12 +176,12 @@ class OneProvisionHelper < OpenNebulaHelper::OneHelper
|
|
176
176
|
options,
|
177
177
|
operation[:message]) do |obj|
|
178
178
|
case type
|
179
|
-
when 'HOST'
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
when '
|
184
|
-
|
179
|
+
when 'HOST'
|
180
|
+
host_operation(obj, operation, options, args[1])
|
181
|
+
when 'DATASTORE'
|
182
|
+
datastore_operation(obj, operation)
|
183
|
+
when 'VNET'
|
184
|
+
vnet_operation(obj, operation)
|
185
185
|
end
|
186
186
|
end
|
187
187
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opennebula-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.8.
|
4
|
+
version: 5.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenNebula
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opennebula
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.8.
|
19
|
+
version: 5.8.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.8.
|
26
|
+
version: 5.8.4
|
27
27
|
description: Commands used to talk to OpenNebula
|
28
28
|
email: contact@opennebula.org
|
29
29
|
executables:
|