opennebula 5.12.0.4 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cloud/CloudClient.rb +1 -1
- data/lib/opennebula.rb +1 -1
- data/lib/opennebula/virtual_machine_pool.rb +16 -23
- data/lib/vcenter_driver.rb +1 -2
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c05d144109ae5a8e3995f035226e3cd5cf6adf
|
4
|
+
data.tar.gz: fa20b6ab2793fbce18a6e4f70cda6353edc61b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 425276a4cc8b3cc09132b444778dd4a1a58713d15aba34d30fd367819105b712bf50ebe5ba62c07156ef122173423c61481e647b164e08daef434fcc632b42b3
|
7
|
+
data.tar.gz: 9e1e231bf00191417afbcf6140ab6dc64f8180fe262076acfe632743df1fa13a1f9e8fa9a3fe80c1325ce135ecb2580be831bf1520a0c61cc1a9af60a106cdcf
|
data/lib/cloud/CloudClient.rb
CHANGED
data/lib/opennebula.rb
CHANGED
@@ -23,14 +23,14 @@ module OpenNebula
|
|
23
23
|
# Constants and Class attribute accessors
|
24
24
|
#######################################################################
|
25
25
|
|
26
|
+
|
26
27
|
VM_POOL_METHODS = {
|
27
|
-
:info =>
|
28
|
-
:info_extended =>
|
29
|
-
:
|
30
|
-
:
|
31
|
-
:
|
32
|
-
:
|
33
|
-
:calculate_showback => 'vmpool.calculateshowback'
|
28
|
+
:info => "vmpool.info",
|
29
|
+
:info_extended => "vmpool.infoextended",
|
30
|
+
:monitoring => "vmpool.monitoring",
|
31
|
+
:accounting => "vmpool.accounting",
|
32
|
+
:showback => "vmpool.showback",
|
33
|
+
:calculate_showback => "vmpool.calculateshowback"
|
34
34
|
}
|
35
35
|
|
36
36
|
# Constants for info queries (include/RequestManagerPoolInfoFilter.h)
|
@@ -41,6 +41,7 @@ module OpenNebula
|
|
41
41
|
# Class constructor & Pool Methods
|
42
42
|
#######################################################################
|
43
43
|
|
44
|
+
|
44
45
|
# +client+ a Client object that represents a XML-RPC connection
|
45
46
|
# +user_id+ is to refer to a Pool with VirtualMachines from that user
|
46
47
|
def initialize(client, user_id=0)
|
@@ -101,21 +102,21 @@ module OpenNebula
|
|
101
102
|
end
|
102
103
|
|
103
104
|
# Define info methods shortcuts for different filters
|
104
|
-
# info_all()
|
105
|
+
# info_all()
|
105
106
|
# info_all!()
|
106
|
-
# info_all_extended
|
107
|
+
# info_all_extended
|
107
108
|
# info_all_extended!()
|
108
|
-
# info_mine()
|
109
|
+
# info_mine()
|
109
110
|
# info_mine!()
|
110
|
-
# info_mine_extended
|
111
|
+
# info_mine_extended
|
111
112
|
# info_mine_extended!()
|
112
|
-
# info_group()
|
113
|
+
# info_group()
|
113
114
|
# info_group!()
|
114
|
-
# info_group_extended
|
115
|
+
# info_group_extended
|
115
116
|
# info_group_extended!()
|
116
|
-
# info_primary_group()
|
117
|
+
# info_primary_group()
|
117
118
|
# info_primary_group!()
|
118
|
-
# info_primary_group_extended
|
119
|
+
# info_primary_group_extended
|
119
120
|
# info_primary_group_extended!()
|
120
121
|
%w[mine all group primary_group].each do |ifilter|
|
121
122
|
const_name = "OpenNebula::Pool::INFO_#{ifilter.upcase}"
|
@@ -159,14 +160,6 @@ module OpenNebula
|
|
159
160
|
default_args[:query])
|
160
161
|
end
|
161
162
|
|
162
|
-
# Retrieves the set of VMs especified in vm_ids
|
163
|
-
#
|
164
|
-
# @param [String] comma separated list of vm ids.
|
165
|
-
# @param [Boolean] if true extended body is retrieved.
|
166
|
-
#
|
167
|
-
def info_set(vm_ids, extended)
|
168
|
-
xmlrpc_info(VM_POOL_METHODS[:info_set], vm_ids, extended)
|
169
|
-
end
|
170
163
|
|
171
164
|
# Retrieves the monitoring data for all the VMs in the pool
|
172
165
|
#
|
data/lib/vcenter_driver.rb
CHANGED
@@ -58,7 +58,6 @@ class VCenterConf < Hash
|
|
58
58
|
}
|
59
59
|
|
60
60
|
def initialize
|
61
|
-
super
|
62
61
|
replace(DEFAULT_CONFIGURATION)
|
63
62
|
begin
|
64
63
|
vcenterrc_path = "#{VAR_LOCATION}/remotes/etc/vmm/vcenter/vcenterrc"
|
@@ -83,7 +82,7 @@ require 'resolv'
|
|
83
82
|
# vCenter Library #
|
84
83
|
# ---------------------------------------------------------------------------- #
|
85
84
|
|
86
|
-
require 'vcenter_importer'
|
85
|
+
require 'vcenter_importer.rb'
|
87
86
|
require 'memoize'
|
88
87
|
require 'vi_client'
|
89
88
|
begin
|
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: 5.12.
|
4
|
+
version: 5.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenNebula
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -65,30 +65,6 @@ files:
|
|
65
65
|
- lib/CommandManager.rb
|
66
66
|
- lib/ActionManager.rb
|
67
67
|
- lib/DriverExecHelper.rb
|
68
|
-
- lib/opennebula/security_group_pool.rb
|
69
|
-
- lib/opennebula/system.rb
|
70
|
-
- lib/opennebula/template.rb
|
71
|
-
- lib/opennebula/template_pool.rb
|
72
|
-
- lib/opennebula/user.rb
|
73
|
-
- lib/opennebula/user_pool.rb
|
74
|
-
- lib/opennebula/utils.rb
|
75
|
-
- lib/opennebula/vdc.rb
|
76
|
-
- lib/opennebula/vdc_pool.rb
|
77
|
-
- lib/opennebula/virtual_machine.rb
|
78
|
-
- lib/opennebula/virtual_machine_pool.rb
|
79
|
-
- lib/opennebula/virtual_network.rb
|
80
|
-
- lib/opennebula/virtual_network_pool.rb
|
81
|
-
- lib/opennebula/virtual_router.rb
|
82
|
-
- lib/opennebula/virtual_router_pool.rb
|
83
|
-
- lib/opennebula/vm_group.rb
|
84
|
-
- lib/opennebula/vm_group_pool.rb
|
85
|
-
- lib/opennebula/vntemplate.rb
|
86
|
-
- lib/opennebula/vntemplate_pool.rb
|
87
|
-
- lib/opennebula/xml_element.rb
|
88
|
-
- lib/opennebula/xml_pool.rb
|
89
|
-
- lib/opennebula/xml_utils.rb
|
90
|
-
- lib/opennebula/zone.rb
|
91
|
-
- lib/opennebula/zone_pool.rb
|
92
68
|
- lib/opennebula/acl.rb
|
93
69
|
- lib/opennebula/acl_pool.rb
|
94
70
|
- lib/opennebula/client.rb
|
@@ -118,8 +94,32 @@ files:
|
|
118
94
|
- lib/opennebula/pool.rb
|
119
95
|
- lib/opennebula/pool_element.rb
|
120
96
|
- lib/opennebula/security_group.rb
|
121
|
-
- lib/opennebula/
|
97
|
+
- lib/opennebula/security_group_pool.rb
|
98
|
+
- lib/opennebula/system.rb
|
99
|
+
- lib/opennebula/template.rb
|
100
|
+
- lib/opennebula/template_pool.rb
|
101
|
+
- lib/opennebula/user.rb
|
102
|
+
- lib/opennebula/user_pool.rb
|
103
|
+
- lib/opennebula/utils.rb
|
104
|
+
- lib/opennebula/vdc.rb
|
105
|
+
- lib/opennebula/vdc_pool.rb
|
106
|
+
- lib/opennebula/virtual_machine.rb
|
107
|
+
- lib/opennebula/virtual_machine_pool.rb
|
108
|
+
- lib/opennebula/virtual_network.rb
|
109
|
+
- lib/opennebula/virtual_network_pool.rb
|
110
|
+
- lib/opennebula/virtual_router.rb
|
111
|
+
- lib/opennebula/virtual_router_pool.rb
|
112
|
+
- lib/opennebula/vm_group.rb
|
113
|
+
- lib/opennebula/vm_group_pool.rb
|
114
|
+
- lib/opennebula/vntemplate.rb
|
115
|
+
- lib/opennebula/vntemplate_pool.rb
|
116
|
+
- lib/opennebula/xml_element.rb
|
117
|
+
- lib/opennebula/xml_pool.rb
|
118
|
+
- lib/opennebula/xml_utils.rb
|
119
|
+
- lib/opennebula/zone.rb
|
120
|
+
- lib/opennebula/zone_pool.rb
|
122
121
|
- lib/opennebula/ldap_auth.rb
|
122
|
+
- lib/opennebula/ldap_auth_spec.rb
|
123
123
|
- lib/opennebula/server_cipher_auth.rb
|
124
124
|
- lib/opennebula/server_x509_auth.rb
|
125
125
|
- lib/opennebula/ssh_auth.rb
|