opennebula 5.11.85.pre → 5.11.90.pre

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: f7c0463980bb481a313fecfe5d21893587dfddcb
4
- data.tar.gz: f73c74b057353fa3bd81e33271f51ad7093fb2e2
3
+ metadata.gz: 66f5101f43db2d5926a91cf47d329b3195267d3c
4
+ data.tar.gz: 57d61ad0c4d687eadeb7521dc9e7a68c6214ec38
5
5
  SHA512:
6
- metadata.gz: f940626641eea5bb9d66aa1b5aa45a89b9c6e870173104308a30e53c52eed979777978acb23dd0094b746f7dbca26a59b4dd3a4fba1a0b930ec54969852e2c5e
7
- data.tar.gz: 17f00e8678bca2183a3f897ff3705220cc5d8bc8ba5b36955fc85f081b0aeac11bfda3abeba6f0da68bd0539da7222205bffa3b4e2043ef723bae706a2e0b65c
6
+ metadata.gz: f3c263ed781184aad101a456e83909bb0c6c149e3b0e931d4560772bbae13e9888cd4e866e886548eccff3b89b8067e0ec2882052ff930e94da88e4d2c00d657
7
+ data.tar.gz: f79a5e7d90929e2a1fef95e615971d41a82d558597ccac349be2fb7c8ae81b2bcae46ceee57eb5059987ab993fed492887ecec772606d23243a37e81411a7665
@@ -51,7 +51,7 @@ end
51
51
  module CloudClient
52
52
 
53
53
  # OpenNebula version
54
- VERSION = '5.11.85'
54
+ VERSION = '5.11.90'
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.11.85'
77
+ VERSION = '5.11.90'
78
78
  end
@@ -99,9 +99,16 @@ module OpenNebula
99
99
 
100
100
  # Retrieves the monitoring data for all the Hosts in the pool, in XML
101
101
  #
102
+ # @param [Integer] num Optional number of monitoring records to be
103
+ # retrieved. If nill all records are retrieved
104
+ #
102
105
  # @return [String] VM monitoring data, in XML
103
- def monitoring_xml()
104
- return @client.call(HOST_POOL_METHODS[:monitoring])
106
+ def monitoring_xml(num = nil)
107
+ return @client.call(HOST_POOL_METHODS[:monitoring]) if num.nil?
108
+
109
+ @client.call(HOST_POOL_METHODS[:monitoring], num.to_i)
105
110
  end
111
+
106
112
  end
113
+
107
114
  end
@@ -122,6 +122,7 @@ module OpenNebula
122
122
  DISK_RESIZE
123
123
  DISK_RESIZE_POWEROFF
124
124
  DISK_RESIZE_UNDEPLOYED
125
+ HOTPLUG_NIC_POWEROFF
125
126
  }
126
127
 
127
128
  SHORT_VM_STATES={
@@ -202,7 +203,8 @@ module OpenNebula
202
203
  "PROLOG_MIGRATE_UNKNOWN_FAILURE" => "fail",
203
204
  "DISK_RESIZE" => "drsz",
204
205
  "DISK_RESIZE_POWEROFF" => "drsz",
205
- "DISK_RESIZE_UNDEPLOYED" => "drsz"
206
+ "DISK_RESIZE_UNDEPLOYED" => "drsz",
207
+ "HOTPLUG_NIC_POWEROFF" => "hotp"
206
208
  }
207
209
 
208
210
  HISTORY_ACTION=%w{none migrate live-migrate shutdown shutdown-hard
@@ -199,10 +199,13 @@ module OpenNebula
199
199
  #
200
200
  # @param [Integer] filter_flag Optional filter flag to retrieve all or
201
201
  # part of the Pool. Possible values: INFO_ALL, INFO_GROUP, INFO_MINE.
202
- #
202
+ # @param [Integer] num Optional number of monitoring records to be
203
+ # retrieved. If nill all records are retrieved
203
204
  # @return [String] VM monitoring data, in XML
204
- def monitoring_xml(filter_flag=INFO_ALL)
205
- return @client.call(VM_POOL_METHODS[:monitoring], filter_flag)
205
+ def monitoring_xml(filter_flag=INFO_ALL, num=nil)
206
+ return @client.call(VM_POOL_METHODS[:monitoring], filter_flag) if num.nil?
207
+
208
+ @client.call(VM_POOL_METHODS[:monitoring], filter_flag, num.to_i)
206
209
  end
207
210
 
208
211
  # Processes all the history records, and stores the monthly cost for
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.11.85.pre
4
+ version: 5.11.90.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-19 00:00:00.000000000 Z
11
+ date: 2020-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri