openstack_activeresource 0.6.1 → 0.6.2
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.
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.2
|
|
@@ -124,10 +124,11 @@ module OpenStack
|
|
|
124
124
|
# * +name+ - The name of the server this entry is related
|
|
125
125
|
# * +vcpus+ - Virtual CPU used by the server in the timespan (+started_at+ - +ended_at+ or +uptime+) for this entry
|
|
126
126
|
# * +memory_mb+ - Memory (MBytes) used by the server in the timespan (+started_at+ - +ended_at+ or +uptime+) for this entry
|
|
127
|
-
# * +local_gb+ - The amount of storage used over the uptime (
|
|
127
|
+
# * +local_gb+ - The amount of storage used over the uptime (GBytes)
|
|
128
128
|
# * +flavor+ - The flavor id used by the server in this server usage entry
|
|
129
129
|
# * +state+ - Current state for the server in this server usage entry
|
|
130
130
|
# * +uptime+ - The uptime of this server in seconds
|
|
131
|
+
# * +instance_id+ - Instance id of the server
|
|
131
132
|
# * +hours+ - The uptime of this server in hours
|
|
132
133
|
# * +tenant_id+ - The tenant id for this server usage entry
|
|
133
134
|
class ServerUsage < Base
|
|
@@ -136,6 +137,7 @@ module OpenStack
|
|
|
136
137
|
attribute :name, :string
|
|
137
138
|
attribute :vcpus, :integer
|
|
138
139
|
attribute :uptime, :integer
|
|
140
|
+
attribute :instance_id, :integer
|
|
139
141
|
attribute :hours, :float
|
|
140
142
|
attribute :local_gb, :integer
|
|
141
143
|
attribute :tenant_id, :string
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "openstack_activeresource"
|
|
8
|
-
s.version = "0.6.
|
|
8
|
+
s.version = "0.6.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Davide Guerri"]
|
|
12
|
-
s.date = "2013-
|
|
12
|
+
s.date = "2013-06-13"
|
|
13
13
|
s.description = "OpenStack Ruby and RoR bindings implemented with ActiveResource - See also http://www.unicloud.it"
|
|
14
14
|
s.email = "d.guerri@rd.unidata.it"
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstack_activeresource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activemodel
|
|
@@ -239,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
239
239
|
version: '0'
|
|
240
240
|
segments:
|
|
241
241
|
- 0
|
|
242
|
-
hash:
|
|
242
|
+
hash: 3223118115482620011
|
|
243
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
none: false
|
|
245
245
|
requirements:
|