opennebula 5.12.1 → 5.12.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27c05d144109ae5a8e3995f035226e3cd5cf6adf
4
- data.tar.gz: fa20b6ab2793fbce18a6e4f70cda6353edc61b95
3
+ metadata.gz: 0402c2db7019e52c30ba01408c5dff8d6d9eda2f
4
+ data.tar.gz: 41df228c299bf0fb1fc6627771b7d6799952d12e
5
5
  SHA512:
6
- metadata.gz: 425276a4cc8b3cc09132b444778dd4a1a58713d15aba34d30fd367819105b712bf50ebe5ba62c07156ef122173423c61481e647b164e08daef434fcc632b42b3
7
- data.tar.gz: 9e1e231bf00191417afbcf6140ab6dc64f8180fe262076acfe632743df1fa13a1f9e8fa9a3fe80c1325ce135ecb2580be831bf1520a0c61cc1a9af60a106cdcf
6
+ metadata.gz: 789a9a93b98ba79573e66744ef22f6de6cfad03a6920bb6c581b7bd22a1730b9febc22b8db3bb2b8f64961612304dcfb09e2a7f0da66913095fc5d948eb55792
7
+ data.tar.gz: b936580a7d133822ca2634277aa6840a33e4d6f8434508b17dcf96771acd6285722791820225bc38adcf7f3453fea07e9a906c9a33d1cb87e1ea66df7d04be51
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '5.12.1'
54
+ VERSION = '5.12.6'
55
55
 
56
56
  # #########################################################################
57
57
  # Default location for the authentication file
@@ -74,5 +74,5 @@ require 'opennebula/hook_log'
74
74
  module OpenNebula
75
75
 
76
76
  # OpenNebula version
77
- VERSION = '5.12.1'
77
+ VERSION = '5.12.6'
78
78
  end
@@ -23,14 +23,14 @@ module OpenNebula
23
23
  # Constants and Class attribute accessors
24
24
  #######################################################################
25
25
 
26
-
27
26
  VM_POOL_METHODS = {
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"
27
+ :info => 'vmpool.info',
28
+ :info_extended => 'vmpool.infoextended',
29
+ :info_set => 'vmpool.infoset',
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,7 +41,6 @@ module OpenNebula
41
41
  # Class constructor & Pool Methods
42
42
  #######################################################################
43
43
 
44
-
45
44
  # +client+ a Client object that represents a XML-RPC connection
46
45
  # +user_id+ is to refer to a Pool with VirtualMachines from that user
47
46
  def initialize(client, user_id=0)
@@ -102,21 +101,21 @@ module OpenNebula
102
101
  end
103
102
 
104
103
  # Define info methods shortcuts for different filters
105
- # info_all()
104
+ # info_all()
106
105
  # info_all!()
107
- # info_all_extended
106
+ # info_all_extended
108
107
  # info_all_extended!()
109
- # info_mine()
108
+ # info_mine()
110
109
  # info_mine!()
111
- # info_mine_extended
110
+ # info_mine_extended
112
111
  # info_mine_extended!()
113
- # info_group()
112
+ # info_group()
114
113
  # info_group!()
115
- # info_group_extended
114
+ # info_group_extended
116
115
  # info_group_extended!()
117
- # info_primary_group()
116
+ # info_primary_group()
118
117
  # info_primary_group!()
119
- # info_primary_group_extended
118
+ # info_primary_group_extended
120
119
  # info_primary_group_extended!()
121
120
  %w[mine all group primary_group].each do |ifilter|
122
121
  const_name = "OpenNebula::Pool::INFO_#{ifilter.upcase}"
@@ -160,6 +159,14 @@ module OpenNebula
160
159
  default_args[:query])
161
160
  end
162
161
 
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
163
170
 
164
171
  # Retrieves the monitoring data for all the VMs in the pool
165
172
  #
@@ -58,6 +58,7 @@ class VCenterConf < Hash
58
58
  }
59
59
 
60
60
  def initialize
61
+ super
61
62
  replace(DEFAULT_CONFIGURATION)
62
63
  begin
63
64
  vcenterrc_path = "#{VAR_LOCATION}/remotes/etc/vmm/vcenter/vcenterrc"
@@ -82,7 +83,7 @@ require 'resolv'
82
83
  # vCenter Library #
83
84
  # ---------------------------------------------------------------------------- #
84
85
 
85
- require 'vcenter_importer.rb'
86
+ require 'vcenter_importer'
86
87
  require 'memoize'
87
88
  require 'vi_client'
88
89
  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.1
4
+ version: 5.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -72,52 +72,52 @@ files:
72
72
  - lib/opennebula/cluster_pool.rb
73
73
  - lib/opennebula/datastore.rb
74
74
  - lib/opennebula/datastore_pool.rb
75
- - lib/opennebula/document.rb
76
- - lib/opennebula/document_json.rb
77
75
  - lib/opennebula/document_pool.rb
78
76
  - lib/opennebula/document_pool_json.rb
79
77
  - lib/opennebula/error.rb
80
78
  - lib/opennebula/group.rb
81
79
  - lib/opennebula/group_pool.rb
82
- - lib/opennebula/hook.rb
83
80
  - lib/opennebula/hook_log.rb
84
81
  - lib/opennebula/hook_pool.rb
85
82
  - lib/opennebula/host.rb
86
83
  - lib/opennebula/host_pool.rb
87
- - lib/opennebula/image.rb
88
84
  - lib/opennebula/image_pool.rb
89
85
  - lib/opennebula/marketplace.rb
90
86
  - lib/opennebula/marketplace_pool.rb
91
- - lib/opennebula/marketplaceapp.rb
92
87
  - lib/opennebula/marketplaceapp_pool.rb
93
- - lib/opennebula/oneflow_client.rb
94
- - lib/opennebula/pool.rb
95
88
  - lib/opennebula/pool_element.rb
96
89
  - lib/opennebula/security_group.rb
97
90
  - lib/opennebula/security_group_pool.rb
98
91
  - lib/opennebula/system.rb
99
- - lib/opennebula/template.rb
100
92
  - lib/opennebula/template_pool.rb
101
93
  - lib/opennebula/user.rb
102
94
  - lib/opennebula/user_pool.rb
103
95
  - lib/opennebula/utils.rb
104
96
  - lib/opennebula/vdc.rb
105
97
  - lib/opennebula/vdc_pool.rb
106
- - lib/opennebula/virtual_machine.rb
107
98
  - lib/opennebula/virtual_machine_pool.rb
108
- - lib/opennebula/virtual_network.rb
109
99
  - lib/opennebula/virtual_network_pool.rb
110
- - lib/opennebula/virtual_router.rb
111
100
  - lib/opennebula/virtual_router_pool.rb
112
- - lib/opennebula/vm_group.rb
113
101
  - lib/opennebula/vm_group_pool.rb
114
- - lib/opennebula/vntemplate.rb
115
102
  - lib/opennebula/vntemplate_pool.rb
116
103
  - lib/opennebula/xml_element.rb
117
104
  - lib/opennebula/xml_pool.rb
118
105
  - lib/opennebula/xml_utils.rb
119
106
  - lib/opennebula/zone.rb
120
107
  - lib/opennebula/zone_pool.rb
108
+ - lib/opennebula/document.rb
109
+ - lib/opennebula/document_json.rb
110
+ - lib/opennebula/hook.rb
111
+ - lib/opennebula/image.rb
112
+ - lib/opennebula/marketplaceapp.rb
113
+ - lib/opennebula/oneflow_client.rb
114
+ - lib/opennebula/pool.rb
115
+ - lib/opennebula/template.rb
116
+ - lib/opennebula/virtual_machine.rb
117
+ - lib/opennebula/virtual_network.rb
118
+ - lib/opennebula/virtual_router.rb
119
+ - lib/opennebula/vm_group.rb
120
+ - lib/opennebula/vntemplate.rb
121
121
  - lib/opennebula/ldap_auth.rb
122
122
  - lib/opennebula/ldap_auth_spec.rb
123
123
  - lib/opennebula/server_cipher_auth.rb