opennebula 5.12.0.3 → 5.12.0.4

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: 65e92e0513a403d35a0ea71762bb6325a881f4de
4
- data.tar.gz: b9fe2139bc5e82b5a0c6370dfc68ba35de0dabaa
3
+ metadata.gz: 63d746c40cae457796346c6815881dfc3f7f69d7
4
+ data.tar.gz: 2351ef174d044ff75844a5abb074ec40fdeaf1fc
5
5
  SHA512:
6
- metadata.gz: fabb1d62d8d9c7e356cbbc237a5d2a8e0dc412ce0ec6a130fde7e9c07e30fe461c08325a2b5f7b3c566047a4d537d82732b7080f5378958929e2d53d6b64ddc3
7
- data.tar.gz: 1b5bc228b4a57c247d528575279daebd653174003e4a9818e0a5b03248fef5fa26d9fd549ca6fead6188b345576023d59cfc314c370012a005c61fc543403bc6
6
+ metadata.gz: 626825395aceb4b95018653d1935b5317fd464f79e041317c70cd4269ed31a0e3a50831c426d6782e73f43b751ea92a5c74c6f59834943b87c6c95fa874c4ad2
7
+ data.tar.gz: bc6990eeddf1efc9ccf5f69ad95786a07ea14f6cc69cb5cb4f9feeb1eff4a14c065853e43c41914d5080f6449ec2702a913074010b100f6cf60ba6a37ee7e168
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '5.12.0.3'
54
+ VERSION = '5.12.0.4'
55
55
 
56
56
  # #########################################################################
57
57
  # Default location for the authentication file
data/lib/opennebula.rb CHANGED
@@ -74,5 +74,5 @@ require 'opennebula/hook_log'
74
74
  module OpenNebula
75
75
 
76
76
  # OpenNebula version
77
- VERSION = '5.12.0.3'
77
+ VERSION = '5.12.0.4'
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.0.3
4
+ version: 5.12.0.4
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-14 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -65,6 +65,30 @@ 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
68
92
  - lib/opennebula/acl.rb
69
93
  - lib/opennebula/acl_pool.rb
70
94
  - lib/opennebula/client.rb
@@ -88,38 +112,14 @@ files:
88
112
  - lib/opennebula/image_pool.rb
89
113
  - lib/opennebula/marketplace.rb
90
114
  - lib/opennebula/marketplace_pool.rb
115
+ - lib/opennebula/marketplaceapp.rb
91
116
  - lib/opennebula/marketplaceapp_pool.rb
92
117
  - lib/opennebula/oneflow_client.rb
118
+ - lib/opennebula/pool.rb
93
119
  - lib/opennebula/pool_element.rb
94
120
  - lib/opennebula/security_group.rb
95
- - lib/opennebula/security_group_pool.rb
96
- - lib/opennebula/system.rb
97
- - lib/opennebula/template.rb
98
- - lib/opennebula/template_pool.rb
99
- - lib/opennebula/user.rb
100
- - lib/opennebula/user_pool.rb
101
- - lib/opennebula/utils.rb
102
- - lib/opennebula/vdc.rb
103
- - lib/opennebula/vdc_pool.rb
104
- - lib/opennebula/virtual_machine_pool.rb
105
- - lib/opennebula/virtual_network.rb
106
- - lib/opennebula/virtual_network_pool.rb
107
- - lib/opennebula/virtual_router.rb
108
- - lib/opennebula/virtual_router_pool.rb
109
- - lib/opennebula/vm_group.rb
110
- - lib/opennebula/vm_group_pool.rb
111
- - lib/opennebula/vntemplate.rb
112
- - lib/opennebula/vntemplate_pool.rb
113
- - lib/opennebula/xml_element.rb
114
- - lib/opennebula/xml_pool.rb
115
- - lib/opennebula/xml_utils.rb
116
- - lib/opennebula/zone.rb
117
- - lib/opennebula/zone_pool.rb
118
- - lib/opennebula/marketplaceapp.rb
119
- - lib/opennebula/pool.rb
120
- - lib/opennebula/virtual_machine.rb
121
- - lib/opennebula/ldap_auth.rb
122
121
  - lib/opennebula/ldap_auth_spec.rb
122
+ - lib/opennebula/ldap_auth.rb
123
123
  - lib/opennebula/server_cipher_auth.rb
124
124
  - lib/opennebula/server_x509_auth.rb
125
125
  - lib/opennebula/ssh_auth.rb