opennebula 6.10.1 → 6.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/DriverExecHelper.rb +2 -6
- data/lib/cloud/CloudClient.rb +1 -1
- data/lib/opennebula.rb +1 -1
- data/lib/rest_client.rb +1 -7
- data/lib/vi_client.rb +3 -3
- data/lib/vm_template.rb +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05521e61ef3a50f232f6c0374ad78c1fa45cb8a4b643491590129a79296ae7a1
|
4
|
+
data.tar.gz: a9bc63b7e4b714de8c4de4c0f1928911dc47b9425b8d701fc33fa80c782e1ec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f193bf2093a1b44197f0a0230d27cf9c05dffd46d5d945db93d3028ff58bae9a36fda41e2bd8cd3503ea5d468aee665d1c54ed10fe336b2c32cd4cb801dff8a9
|
7
|
+
data.tar.gz: 1e125fca63ab7aa69fe51e29008c3b44495ff80caf330d5763c81ab904fea70ee27ab9f51204b57a441f8793265961076fa0e3ea8232b5acf31feece55fff5cf
|
data/lib/DriverExecHelper.rb
CHANGED
@@ -67,9 +67,7 @@ module DriverExecHelper
|
|
67
67
|
# @param [String, nil] default_name alternative name for the script
|
68
68
|
# @param [String, ''] directory to append to the scripts path for actions
|
69
69
|
# @return [String] command line needed to execute the action
|
70
|
-
def action_command_line(action, parameters,
|
71
|
-
default_name = nil, directory = '')
|
72
|
-
|
70
|
+
def action_command_line(action, parameters, default_name = nil, directory = '')
|
73
71
|
if action.is_a?(String) && action[0] == '/'
|
74
72
|
return action + ' ' + parameters if parameters
|
75
73
|
|
@@ -110,9 +108,7 @@ module DriverExecHelper
|
|
110
108
|
#
|
111
109
|
# Sends a message to the OpenNebula core through stdout
|
112
110
|
# rubocop:disable Metrics/ParameterLists
|
113
|
-
def send_message(action = '-', result = RESULT[:failure],
|
114
|
-
id = '-', info = '-')
|
115
|
-
|
111
|
+
def send_message(action = '-', result = RESULT[:failure], id = '-', info = '-')
|
116
112
|
@send_mutex.synchronize do
|
117
113
|
STDOUT.puts "#{action} #{result} #{id} #{info}"
|
118
114
|
STDOUT.flush
|
data/lib/cloud/CloudClient.rb
CHANGED
data/lib/opennebula.rb
CHANGED
data/lib/rest_client.rb
CHANGED
@@ -86,13 +86,7 @@ module VCenterDriver
|
|
86
86
|
new(connection)
|
87
87
|
end
|
88
88
|
|
89
|
-
def get_or_create_tag(
|
90
|
-
api_client,
|
91
|
-
category_id,
|
92
|
-
tag_name,
|
93
|
-
tag_description
|
94
|
-
)
|
95
|
-
|
89
|
+
def get_or_create_tag(api_client, category_id, tag_name, tag_description)
|
96
90
|
tag_api = VSphereAutomation::CIS::TaggingTagApi.new(api_client)
|
97
91
|
tag = tag_api.list.value.find do |id|
|
98
92
|
c = tag_api.get(id).value
|
data/lib/vi_client.rb
CHANGED
@@ -239,8 +239,8 @@ module VCenterDriver
|
|
239
239
|
begin
|
240
240
|
orig_stderr = $stderr.clone
|
241
241
|
orig_stdout = $stdout.clone
|
242
|
-
$stderr.reopen File.new(
|
243
|
-
$stdout.reopen File.new(
|
242
|
+
$stderr.reopen File.new(File::NULL, 'w')
|
243
|
+
$stdout.reopen File.new(File::NULL, 'w')
|
244
244
|
retval = yield
|
245
245
|
rescue StandardError => e
|
246
246
|
$stdout.reopen orig_stdout
|
@@ -256,7 +256,7 @@ module VCenterDriver
|
|
256
256
|
def self.in_stderr_silence
|
257
257
|
begin
|
258
258
|
orig_stderr = $stderr.clone
|
259
|
-
$stderr.reopen File.new(
|
259
|
+
$stderr.reopen File.new(File::NULL, 'w')
|
260
260
|
retval = yield
|
261
261
|
rescue StandardError => e
|
262
262
|
$stderr.reopen orig_stderr
|
data/lib/vm_template.rb
CHANGED
@@ -1117,12 +1117,7 @@ module VCenterDriver
|
|
1117
1117
|
one_vn
|
1118
1118
|
end
|
1119
1119
|
|
1120
|
-
def import_vcenter_nics(
|
1121
|
-
opts,
|
1122
|
-
vm_id = nil,
|
1123
|
-
dc_name = nil
|
1124
|
-
)
|
1125
|
-
|
1120
|
+
def import_vcenter_nics(opts, vm_id = nil, dc_name = nil)
|
1126
1121
|
vi_client = opts[:vi_client]
|
1127
1122
|
vc_uuid = opts[:vc_uuid]
|
1128
1123
|
npool = opts[:npool]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opennebula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.10.
|
4
|
+
version: 6.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenNebula
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|