opennebula 5.12.5 → 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: 3b6c3ec7149bb923bdd75d4fec45bfea768faea5
4
- data.tar.gz: 227ca1e825e2e0b35eac9f45ee29287433b19cca
3
+ metadata.gz: 0402c2db7019e52c30ba01408c5dff8d6d9eda2f
4
+ data.tar.gz: 41df228c299bf0fb1fc6627771b7d6799952d12e
5
5
  SHA512:
6
- metadata.gz: d69935785956d6bcd4f2b7e5b866306f3dc99bb47b66749c72077eca5bbae88b90a3e4418aae9a62132d676cdb0e94b4fe646e68b4c7864b3e059cd4bb77a86e
7
- data.tar.gz: a46d5cbabf9285983467efed04e9272da06c7d8c2307e49fe7b0adcda9cf1c3ecb63d450183939a1777b56fe229bb012abc5b20a105d62c19e3036bdc913670f
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.5'
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.5'
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
  #
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.5
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-10-20 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
@@ -77,22 +77,18 @@ files:
77
77
  - lib/opennebula/error.rb
78
78
  - lib/opennebula/group.rb
79
79
  - lib/opennebula/group_pool.rb
80
- - lib/opennebula/hook.rb
81
80
  - lib/opennebula/hook_log.rb
82
81
  - lib/opennebula/hook_pool.rb
83
82
  - lib/opennebula/host.rb
84
83
  - lib/opennebula/host_pool.rb
85
- - lib/opennebula/image.rb
86
84
  - lib/opennebula/image_pool.rb
87
85
  - lib/opennebula/marketplace.rb
88
86
  - lib/opennebula/marketplace_pool.rb
89
87
  - lib/opennebula/marketplaceapp_pool.rb
90
- - lib/opennebula/oneflow_client.rb
91
88
  - lib/opennebula/pool_element.rb
92
89
  - lib/opennebula/security_group.rb
93
90
  - lib/opennebula/security_group_pool.rb
94
91
  - lib/opennebula/system.rb
95
- - lib/opennebula/template.rb
96
92
  - lib/opennebula/template_pool.rb
97
93
  - lib/opennebula/user.rb
98
94
  - lib/opennebula/user_pool.rb
@@ -100,13 +96,9 @@ files:
100
96
  - lib/opennebula/vdc.rb
101
97
  - lib/opennebula/vdc_pool.rb
102
98
  - lib/opennebula/virtual_machine_pool.rb
103
- - lib/opennebula/virtual_network.rb
104
99
  - lib/opennebula/virtual_network_pool.rb
105
- - lib/opennebula/virtual_router.rb
106
100
  - lib/opennebula/virtual_router_pool.rb
107
- - lib/opennebula/vm_group.rb
108
101
  - lib/opennebula/vm_group_pool.rb
109
- - lib/opennebula/vntemplate.rb
110
102
  - lib/opennebula/vntemplate_pool.rb
111
103
  - lib/opennebula/xml_element.rb
112
104
  - lib/opennebula/xml_pool.rb
@@ -115,9 +107,17 @@ files:
115
107
  - lib/opennebula/zone_pool.rb
116
108
  - lib/opennebula/document.rb
117
109
  - lib/opennebula/document_json.rb
110
+ - lib/opennebula/hook.rb
111
+ - lib/opennebula/image.rb
118
112
  - lib/opennebula/marketplaceapp.rb
113
+ - lib/opennebula/oneflow_client.rb
119
114
  - lib/opennebula/pool.rb
115
+ - lib/opennebula/template.rb
120
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