opennebula 5.12.2 → 5.12.7

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: 96499142488225ad551ee8d92cf799f87253bd6b
4
- data.tar.gz: ea7c24712ca84f090d36bd7c8cdd94b3a6df1235
3
+ metadata.gz: a8e0231d79f81923f6d323a5d146141c7a72bced
4
+ data.tar.gz: 0f51f821f807294afba62ad523d71be6d37812fd
5
5
  SHA512:
6
- metadata.gz: c29d00cfc89b6ce30941f87d5d19f6e30024532b2bba6f6942872a1d016f05a4589b0d2a3a08922fbaa89c9533b325142e8afd9ab348a545a6b0c1ac1621c10d
7
- data.tar.gz: 4b3d3c880829e69d53c8f75d2e843c2e1a7d2f292bdb779df5851dba0c29d09863ec945193595938009b6d2c6dd8d9c2566914cbf237f32aed7f44e33a862f6a
6
+ metadata.gz: 215a242b1ff60ee0803261f85703124cf99d69933e5903c941a3b8290557586f9033a596649d352b140ea6300c9e48a3a33e81916cd71c780c131fd2b681b025
7
+ data.tar.gz: d188e1691553a23fe7e99cbfa2c643afeaea4a49883e2406578ac508bde8b2cf7acb40e75e2d0d5d3c222b3a822cc4b5c1bf6c5cee838893be3465d7460f793f
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '5.12.2'
54
+ VERSION = '5.12.7'
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.2'
77
+ VERSION = '5.12.7'
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"
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.2
4
+ version: 5.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-04 00:00:00.000000000 Z
11
+ date: 2020-12-16 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
- - lib/opennebula/user.rb
102
93
  - lib/opennebula/user_pool.rb
103
94
  - lib/opennebula/utils.rb
104
95
  - lib/opennebula/vdc.rb
105
96
  - lib/opennebula/vdc_pool.rb
106
- - lib/opennebula/virtual_machine.rb
107
97
  - lib/opennebula/virtual_machine_pool.rb
108
- - lib/opennebula/virtual_network.rb
109
98
  - lib/opennebula/virtual_network_pool.rb
110
- - lib/opennebula/virtual_router.rb
111
99
  - lib/opennebula/virtual_router_pool.rb
112
- - lib/opennebula/vm_group.rb
113
100
  - lib/opennebula/vm_group_pool.rb
114
- - lib/opennebula/vntemplate.rb
115
101
  - lib/opennebula/vntemplate_pool.rb
116
102
  - lib/opennebula/xml_element.rb
117
103
  - lib/opennebula/xml_pool.rb
118
104
  - lib/opennebula/xml_utils.rb
119
105
  - lib/opennebula/zone.rb
120
106
  - lib/opennebula/zone_pool.rb
107
+ - lib/opennebula/document.rb
108
+ - lib/opennebula/document_json.rb
109
+ - lib/opennebula/hook.rb
110
+ - lib/opennebula/image.rb
111
+ - lib/opennebula/marketplaceapp.rb
112
+ - lib/opennebula/oneflow_client.rb
113
+ - lib/opennebula/pool.rb
114
+ - lib/opennebula/template.rb
115
+ - lib/opennebula/user.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