opennebula-cli 5.4.3 → 5.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/onegroup +7 -10
- data/bin/oneshowback +1 -0
- data/lib/one_helper.rb +2 -2
- data/lib/one_helper/onezone_helper.rb +2 -1
- 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: 4351d3ab9ce994759b3363bc8c7dc7d965da16cf
|
4
|
+
data.tar.gz: dc532936124a362255f63af9604195bc4cd9d421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889a05976c543fc27f5c43a63411d11fc2a5f29881e1a608b2cb8a672155edeaf6ba5ce5c59041d6372e516e6c5c2a89325fe0aed4ed4e45f1971eb93b77c86b
|
7
|
+
data.tar.gz: 5cb1ece87f1893f97de439145295a987f48a9b2195eabbe0b423df6de9e1cc3b018179d8c827b7c8422bb7ed596dae6860545122ad8ce562a25d408940182090
|
data/bin/onegroup
CHANGED
@@ -87,13 +87,6 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
|
87
87
|
command :create, create_desc, [:group_name, nil], :options =>
|
88
88
|
OpenNebulaHelper::GROUP_OPTIONS do
|
89
89
|
|
90
|
-
|
91
|
-
if !args[0] && options.empty?
|
92
|
-
STDERR.puts "Please use either a group name or command arguments."<<
|
93
|
-
" Run onegroup create -h for more information"
|
94
|
-
next -1
|
95
|
-
end
|
96
|
-
|
97
90
|
if options && options[:admin_user]
|
98
91
|
if !options[:admin_password]
|
99
92
|
STDERR.puts "Admin user needs password"
|
@@ -108,11 +101,15 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
|
108
101
|
options[:group_admin] = admin_user
|
109
102
|
end
|
110
103
|
|
111
|
-
if
|
112
|
-
helper.create_complete_resource(options)
|
113
|
-
elsif args[0]
|
104
|
+
if args[0]
|
114
105
|
options[:name] = args[0]
|
115
106
|
helper.create_complete_resource(options)
|
107
|
+
elsif options[:name]
|
108
|
+
helper.create_complete_resource(options)
|
109
|
+
else
|
110
|
+
STDERR.puts "Please use either a group name or command arguments."<<
|
111
|
+
" Run onegroup create -h for more information"
|
112
|
+
next -1
|
116
113
|
end
|
117
114
|
end
|
118
115
|
|
data/bin/oneshowback
CHANGED
data/lib/one_helper.rb
CHANGED
@@ -124,7 +124,8 @@ class OneZoneHelper < OpenNebulaHelper::OneHelper
|
|
124
124
|
|
125
125
|
next if endpoint.nil?
|
126
126
|
|
127
|
-
|
127
|
+
options[:timeout] = 5 #5 sec
|
128
|
+
client = OpenNebula::Client.new(nil, endpoint, options)
|
128
129
|
|
129
130
|
xml_doc = client.call("zone.raftstatus")
|
130
131
|
|
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.4.
|
4
|
+
version: 5.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenNebula
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-03 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.4.
|
19
|
+
version: 5.4.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.4.
|
26
|
+
version: 5.4.4
|
27
27
|
description: Commands used to talk to OpenNebula
|
28
28
|
email: contact@opennebula.org
|
29
29
|
executables:
|