opennebula 7.1.80.pre → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cloud/CloudClient.rb +3 -3
  3. data/lib/models/role.rb +1 -1
  4. data/lib/models/service.rb +1 -1
  5. data/lib/models/vmrole.rb +1 -1
  6. data/lib/models/vrrole.rb +1 -1
  7. data/lib/models.rb +1 -1
  8. data/lib/opennebula/acl.rb +1 -1
  9. data/lib/opennebula/acl_pool.rb +1 -1
  10. data/lib/opennebula/backupjob.rb +1 -1
  11. data/lib/opennebula/backupjob_pool.rb +1 -1
  12. data/lib/opennebula/cluster.rb +1 -1
  13. data/lib/opennebula/cluster_pool.rb +1 -1
  14. data/lib/opennebula/datastore.rb +1 -1
  15. data/lib/opennebula/datastore_pool.rb +1 -1
  16. data/lib/opennebula/document.rb +1 -1
  17. data/lib/opennebula/document_json.rb +1 -1
  18. data/lib/opennebula/document_pool.rb +1 -1
  19. data/lib/opennebula/document_pool_json.rb +1 -1
  20. data/lib/opennebula/error.rb +2 -2
  21. data/lib/opennebula/flow/grammar.rb +1 -1
  22. data/lib/opennebula/flow/service_pool.rb +1 -1
  23. data/lib/opennebula/flow/service_template.rb +1 -1
  24. data/lib/opennebula/flow/service_template_ext.rb +1 -1
  25. data/lib/opennebula/flow/service_template_pool.rb +1 -1
  26. data/lib/opennebula/flow/validator.rb +1 -1
  27. data/lib/opennebula/flow.rb +1 -1
  28. data/lib/opennebula/group.rb +1 -1
  29. data/lib/opennebula/group_pool.rb +1 -1
  30. data/lib/opennebula/grpc/acl_services_pb.rb +1 -1
  31. data/lib/opennebula/grpc/backupjob_services_pb.rb +1 -1
  32. data/lib/opennebula/grpc/datastore_services_pb.rb +1 -1
  33. data/lib/opennebula/grpc/document_services_pb.rb +1 -1
  34. data/lib/opennebula/grpc/group_services_pb.rb +1 -1
  35. data/lib/opennebula/grpc/hook_services_pb.rb +1 -1
  36. data/lib/opennebula/grpc/host_services_pb.rb +1 -1
  37. data/lib/opennebula/grpc/image_services_pb.rb +1 -1
  38. data/lib/opennebula/grpc/marketplace_services_pb.rb +1 -1
  39. data/lib/opennebula/grpc/marketplaceapp_services_pb.rb +1 -1
  40. data/lib/opennebula/grpc/secgroup_services_pb.rb +1 -1
  41. data/lib/opennebula/grpc/system_services_pb.rb +1 -1
  42. data/lib/opennebula/grpc/template_services_pb.rb +1 -1
  43. data/lib/opennebula/grpc/user_services_pb.rb +1 -1
  44. data/lib/opennebula/grpc/vdc_services_pb.rb +1 -1
  45. data/lib/opennebula/grpc/vm_services_pb.rb +1 -1
  46. data/lib/opennebula/grpc/vmgroup_services_pb.rb +1 -1
  47. data/lib/opennebula/grpc/vn_services_pb.rb +1 -1
  48. data/lib/opennebula/grpc/vntemplate_services_pb.rb +1 -1
  49. data/lib/opennebula/grpc/vrouter_services_pb.rb +1 -1
  50. data/lib/opennebula/grpc/zone_services_pb.rb +1 -1
  51. data/lib/opennebula/hook.rb +1 -1
  52. data/lib/opennebula/hook_log.rb +1 -1
  53. data/lib/opennebula/hook_pool.rb +1 -1
  54. data/lib/opennebula/host.rb +1 -1
  55. data/lib/opennebula/host_pool.rb +1 -1
  56. data/lib/opennebula/image.rb +11 -10
  57. data/lib/opennebula/image_pool.rb +1 -1
  58. data/lib/opennebula/ldap_auth.rb +1 -1
  59. data/lib/opennebula/ldap_auth_spec.rb +1 -1
  60. data/lib/opennebula/lib/client.rb +138 -0
  61. data/lib/opennebula/lib/grpc_client.rb +105 -0
  62. data/lib/opennebula/lib/xml_client.rb +178 -0
  63. data/lib/opennebula/lockable_ext.rb +1 -1
  64. data/lib/opennebula/marketplace.rb +1 -1
  65. data/lib/opennebula/marketplace_pool.rb +1 -1
  66. data/lib/opennebula/marketplaceapp.rb +1 -1
  67. data/lib/opennebula/marketplaceapp_ext.rb +1 -1
  68. data/lib/opennebula/marketplaceapp_pool.rb +1 -1
  69. data/lib/opennebula/oneflow_client.rb +1 -1
  70. data/lib/opennebula/oneform_client.rb +1 -1
  71. data/lib/opennebula/pool.rb +1 -1
  72. data/lib/opennebula/pool_element.rb +1 -1
  73. data/lib/opennebula/saml_auth.rb +1 -1
  74. data/lib/opennebula/security_group.rb +1 -1
  75. data/lib/opennebula/security_group_pool.rb +1 -1
  76. data/lib/opennebula/server_cipher_auth.rb +1 -1
  77. data/lib/opennebula/server_x509_auth.rb +1 -1
  78. data/lib/opennebula/ssh_auth.rb +1 -1
  79. data/lib/opennebula/system.rb +1 -1
  80. data/lib/opennebula/template.rb +1 -1
  81. data/lib/opennebula/template_ext.rb +1 -1
  82. data/lib/opennebula/template_pool.rb +1 -1
  83. data/lib/opennebula/user.rb +1 -1
  84. data/lib/opennebula/user_pool.rb +1 -1
  85. data/lib/opennebula/utils.rb +1 -1
  86. data/lib/opennebula/vdc.rb +1 -1
  87. data/lib/opennebula/vdc_pool.rb +1 -1
  88. data/lib/opennebula/version.rb +2 -2
  89. data/lib/opennebula/virtual_machine.rb +1 -1
  90. data/lib/opennebula/virtual_machine_ext.rb +1 -1
  91. data/lib/opennebula/virtual_machine_pool.rb +1 -2
  92. data/lib/opennebula/virtual_network.rb +1 -1
  93. data/lib/opennebula/virtual_network_pool.rb +1 -1
  94. data/lib/opennebula/virtual_router.rb +1 -1
  95. data/lib/opennebula/virtual_router_pool.rb +1 -1
  96. data/lib/opennebula/vm_group.rb +1 -1
  97. data/lib/opennebula/vm_group_pool.rb +1 -1
  98. data/lib/opennebula/vntemplate.rb +1 -1
  99. data/lib/opennebula/vntemplate_pool.rb +1 -1
  100. data/lib/opennebula/wait_ext.rb +1 -1
  101. data/lib/opennebula/x509_auth.rb +1 -1
  102. data/lib/opennebula/xml_element.rb +1 -1
  103. data/lib/opennebula/xml_pool.rb +1 -1
  104. data/lib/opennebula/xml_utils.rb +1 -1
  105. data/lib/opennebula/zone.rb +1 -1
  106. data/lib/opennebula/zone_pool.rb +1 -1
  107. data/lib/opennebula.rb +1 -1
  108. metadata +7 -4
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -348,7 +348,6 @@ module OpenNebula
348
348
  #
349
349
  # @return [String] the xml representing the accounting data
350
350
  def accounting_xml(filter_flag=INFO_ALL, options={})
351
- acct_hash = Hash.new
352
351
  xml_str = "<HISTORY_RECORDS>\n"
353
352
 
354
353
  rc = build_accounting(filter_flag, options) do |history|
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
data/lib/opennebula.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # -------------------------------------------------------------------------- #
2
- # Copyright 2002-2025, OpenNebula Project, OpenNebula Systems #
2
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems #
3
3
  # #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5
5
  # not use this file except in compliance with the License. You may obtain #
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: 7.1.80.pre
4
+ version: 7.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-25 00:00:00.000000000 Z
11
+ date: 2026-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -185,6 +185,9 @@ files:
185
185
  - lib/opennebula/image_pool.rb
186
186
  - lib/opennebula/ldap_auth.rb
187
187
  - lib/opennebula/ldap_auth_spec.rb
188
+ - lib/opennebula/lib/client.rb
189
+ - lib/opennebula/lib/grpc_client.rb
190
+ - lib/opennebula/lib/xml_client.rb
188
191
  - lib/opennebula/lockable_ext.rb
189
192
  - lib/opennebula/marketplace.rb
190
193
  - lib/opennebula/marketplace_pool.rb
@@ -244,9 +247,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
247
  version: '0'
245
248
  required_rubygems_version: !ruby/object:Gem::Requirement
246
249
  requirements:
247
- - - ">"
250
+ - - ">="
248
251
  - !ruby/object:Gem::Version
249
- version: 1.3.1
252
+ version: '0'
250
253
  requirements: []
251
254
  rubygems_version: 3.3.5
252
255
  signing_key: