opennebula 5.12.0.4 → 5.12.1

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: 63d746c40cae457796346c6815881dfc3f7f69d7
4
- data.tar.gz: 2351ef174d044ff75844a5abb074ec40fdeaf1fc
3
+ metadata.gz: 27c05d144109ae5a8e3995f035226e3cd5cf6adf
4
+ data.tar.gz: fa20b6ab2793fbce18a6e4f70cda6353edc61b95
5
5
  SHA512:
6
- metadata.gz: 626825395aceb4b95018653d1935b5317fd464f79e041317c70cd4269ed31a0e3a50831c426d6782e73f43b751ea92a5c74c6f59834943b87c6c95fa874c4ad2
7
- data.tar.gz: bc6990eeddf1efc9ccf5f69ad95786a07ea14f6cc69cb5cb4f9feeb1eff4a14c065853e43c41914d5080f6449ec2702a913074010b100f6cf60ba6a37ee7e168
6
+ metadata.gz: 425276a4cc8b3cc09132b444778dd4a1a58713d15aba34d30fd367819105b712bf50ebe5ba62c07156ef122173423c61481e647b164e08daef434fcc632b42b3
7
+ data.tar.gz: 9e1e231bf00191417afbcf6140ab6dc64f8180fe262076acfe632743df1fa13a1f9e8fa9a3fe80c1325ce135ecb2580be831bf1520a0c61cc1a9af60a106cdcf
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '5.12.0.4'
54
+ VERSION = '5.12.1'
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.4'
77
+ VERSION = '5.12.1'
78
78
  end
@@ -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 => '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'
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
  #
@@ -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.0.4
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: 2021-04-20 00:00:00.000000000 Z
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/ldap_auth_spec.rb
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