occi-core 4.0.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +1 -0
- data/.travis.yml +43 -0
- data/.yardopts +1 -0
- data/AUTHORS +9 -0
- data/Gemfile +11 -0
- data/LICENSE +13 -0
- data/README.md +212 -0
- data/Rakefile +28 -0
- data/config/occi.yml +4 -0
- data/ext/mkrf_conf.rb +35 -0
- data/lib/occi/collection.rb +192 -0
- data/lib/occi/core/action.rb +32 -0
- data/lib/occi/core/action_instance.rb +38 -0
- data/lib/occi/core/actions.rb +20 -0
- data/lib/occi/core/attribute.rb +99 -0
- data/lib/occi/core/attributes.rb +172 -0
- data/lib/occi/core/categories.rb +51 -0
- data/lib/occi/core/category.rb +153 -0
- data/lib/occi/core/entities.rb +47 -0
- data/lib/occi/core/entity.rb +264 -0
- data/lib/occi/core/kind.rb +58 -0
- data/lib/occi/core/kinds.rb +22 -0
- data/lib/occi/core/link.rb +95 -0
- data/lib/occi/core/links.rb +34 -0
- data/lib/occi/core/mixin.rb +55 -0
- data/lib/occi/core/mixins.rb +41 -0
- data/lib/occi/core/properties.rb +35 -0
- data/lib/occi/core/related.rb +7 -0
- data/lib/occi/core/resource.rb +78 -0
- data/lib/occi/core/resources.rb +14 -0
- data/lib/occi/core.rb +31 -0
- data/lib/occi/helpers/inspect.rb +12 -0
- data/lib/occi/infrastructure/compute.rb +122 -0
- data/lib/occi/infrastructure/network/ipnetwork.rb +27 -0
- data/lib/occi/infrastructure/network.rb +107 -0
- data/lib/occi/infrastructure/networkinterface/ipnetworkinterface.rb +27 -0
- data/lib/occi/infrastructure/networkinterface.rb +103 -0
- data/lib/occi/infrastructure/os_tpl.rb +19 -0
- data/lib/occi/infrastructure/resource_tpl.rb +19 -0
- data/lib/occi/infrastructure/storage.rb +61 -0
- data/lib/occi/infrastructure/storagelink.rb +56 -0
- data/lib/occi/infrastructure.rb +25 -0
- data/lib/occi/log.rb +66 -0
- data/lib/occi/model.rb +86 -0
- data/lib/occi/parser/json.rb +34 -0
- data/lib/occi/parser/ova.rb +35 -0
- data/lib/occi/parser/ovf.rb +154 -0
- data/lib/occi/parser/text.rb +234 -0
- data/lib/occi/parser/xml.rb +18 -0
- data/lib/occi/parser.rb +78 -0
- data/lib/occi/settings.rb +9 -0
- data/lib/occi/version.rb +3 -0
- data/lib/occi-core.rb +50 -0
- data/occi-core.gemspec +36 -0
- data/spec/occi/collection_spec.rb +38 -0
- data/spec/occi/core/attribute_spec.rb +0 -0
- data/spec/occi/core/attributes_spec.rb +42 -0
- data/spec/occi/core/categories_spec.rb +27 -0
- data/spec/occi/core/category_spec.rb +38 -0
- data/spec/occi/core/entity_spec.rb +46 -0
- data/spec/occi/core/resource_spec.rb +18 -0
- data/spec/occi/infrastructure/compute_spec.rb +29 -0
- data/spec/occi/log_spec.rb +14 -0
- data/spec/occi/model_spec.rb +50 -0
- data/spec/occi/parser/text_spec.rb +31 -0
- data/spec/occi/parser_spec.rb +114 -0
- data/spec/occi/test.json +33 -0
- data/spec/occi/test.ova +0 -0
- data/spec/occi/test.ovf +198 -0
- data/spec/spec_helper.rb +25 -0
- metadata +304 -0
data/spec/occi/test.json
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"resources":[
|
3
|
+
{
|
4
|
+
"kind":"http://schemas.ogf.org/occi/infrastructure#compute",
|
5
|
+
"attributes":{
|
6
|
+
"occi":{
|
7
|
+
"core":{
|
8
|
+
"summary":""
|
9
|
+
},
|
10
|
+
"compute":{
|
11
|
+
"cores":1,
|
12
|
+
"memory":256
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"links":["/storagelink/34cbb948-d31a-11e1-a11a-a4b197fffef3"]
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"links":[
|
20
|
+
{
|
21
|
+
"kind":"http://schemas.ogf.org/occi/infrastructure#storagelink",
|
22
|
+
"attributes":{
|
23
|
+
"occi":{
|
24
|
+
"core":{
|
25
|
+
"id":"urn:uuid:34cbb948-d31a-11e1-a11a-a4b197fffef3",
|
26
|
+
"title":"Harddisk 1",
|
27
|
+
"target":"/storage/34c88188-d31a-11e1-a11a-a4b197fffef3"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
]
|
33
|
+
}
|
data/spec/occi/test.ova
ADDED
Binary file
|
data/spec/occi/test.ovf
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
+
xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
|
4
|
+
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
|
5
|
+
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
|
6
|
+
xmlns="http://schemas.dmtf.org/ovf/envelope/1"
|
7
|
+
xsi:schemaLocation="http://schemas.dmtf.org/ovf/envelope/1 ../dsp8023.xsd">
|
8
|
+
|
9
|
+
<!-- This example reference a local schema file, to validate against online schema use:
|
10
|
+
xsi:schemaLocation="http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.0.0.xsd"
|
11
|
+
-->
|
12
|
+
|
13
|
+
<!-- References to all external files -->
|
14
|
+
<References>
|
15
|
+
<File ovf:id="lamp" ovf:href="http://example.com/lamp.vmdk" ovf:size="180114671"/>
|
16
|
+
</References>
|
17
|
+
<!-- Describes meta-information about all virtual disks in the package -->
|
18
|
+
<DiskSection>
|
19
|
+
<Info>List of the virtual disks used in the package</Info>
|
20
|
+
<Disk ovf:diskId="lamp" ovf:fileRef="lamp" ovf:capacity="4294967296"
|
21
|
+
ovf:populatedSize="1924967692"
|
22
|
+
ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized"/>
|
23
|
+
</DiskSection>
|
24
|
+
<!-- Describes all networks used in the package -->
|
25
|
+
<NetworkSection>
|
26
|
+
<Info>Logical networks used in the package</Info>
|
27
|
+
<Network ovf:name="VM Network">
|
28
|
+
<Description>The network that the LAMP Service will be available
|
29
|
+
on</Description>
|
30
|
+
</Network>
|
31
|
+
</NetworkSection>
|
32
|
+
<VirtualSystem ovf:id="MyLampService">
|
33
|
+
<Info>Single-VM Virtual appliance with LAMP stack</Info>
|
34
|
+
<Name>LAMP Virtual Appliance</Name>
|
35
|
+
<!-- Overall information about the product -->
|
36
|
+
<ProductSection>
|
37
|
+
<Info>Product information for the service</Info>
|
38
|
+
<Product>Lamp Service</Product>
|
39
|
+
<Version>1.0</Version>
|
40
|
+
<FullVersion>1.0.0</FullVersion>
|
41
|
+
</ProductSection>
|
42
|
+
<!-- Linux component configuration parameters -->
|
43
|
+
<ProductSection ovf:class="org.linuxdist.x">
|
44
|
+
<Info>Product customization for the installed Linux system</Info>
|
45
|
+
<Product>Linux Distribution X</Product>
|
46
|
+
<Version>2.6.3</Version>
|
47
|
+
<Property ovf:key="hostname" ovf:type="string">
|
48
|
+
<Description>Specifies the hostname for the appliance</Description>
|
49
|
+
</Property>
|
50
|
+
<Property ovf:key="ip" ovf:type="string">
|
51
|
+
<Description>Specifies the IP address for the appliance</Description>
|
52
|
+
</Property>
|
53
|
+
<Property ovf:key="subnet" ovf:type="string">
|
54
|
+
<Description> Specifies the subnet to use on the deployed network
|
55
|
+
</Description>
|
56
|
+
</Property>
|
57
|
+
<Property ovf:key="gateway" ovf:type="string">
|
58
|
+
<Description> Specifies the gateway on the deployed network
|
59
|
+
</Description>
|
60
|
+
</Property>
|
61
|
+
<Property ovf:key="dns" ovf:type="string">
|
62
|
+
<Description> A comma separated list of DNS servers on the deployed
|
63
|
+
network </Description>
|
64
|
+
</Property>
|
65
|
+
<Property ovf:key="netCoreRmemMaxMB" ovf:type="uint16" ovf:value="16"
|
66
|
+
ovf:userConfigurable="true">
|
67
|
+
<Description> Specify TCP read max buffer size in mega bytes. Default is
|
68
|
+
16. </Description>
|
69
|
+
</Property>
|
70
|
+
<Property ovf:key="netCoreWmemMaxMB" ovf:type="uint16" ovf:value="16"
|
71
|
+
ovf:userConfigurable="true">
|
72
|
+
<Description> Specify TCP write max buffer size in mega bytes. Default is
|
73
|
+
16. </Description>
|
74
|
+
</Property>
|
75
|
+
</ProductSection>
|
76
|
+
<!-- Apache component configuration parameters -->
|
77
|
+
<ProductSection ovf:class="org.apache.httpd">
|
78
|
+
<Info>Product customization for the installed Apache Web Server</Info>
|
79
|
+
<Product>Apache Distribution Y</Product>
|
80
|
+
<Version>2.6.6</Version>
|
81
|
+
<Property ovf:key="httpPort" ovf:type="uint16" ovf:value="80"
|
82
|
+
ovf:userConfigurable="true">
|
83
|
+
<Description>Port number for HTTP requests</Description>
|
84
|
+
</Property>
|
85
|
+
<Property ovf:key="httpsPort" ovf:type="uint16" ovf:value="443"
|
86
|
+
ovf:userConfigurable="true">
|
87
|
+
<Description>Port number for HTTPS requests</Description>
|
88
|
+
</Property>
|
89
|
+
<Property ovf:key="startThreads" ovf:type="uint16" ovf:value="50"
|
90
|
+
ovf:userConfigurable="true">
|
91
|
+
<Description>Number of threads created on startup. </Description>
|
92
|
+
</Property>
|
93
|
+
<Property ovf:key="minSpareThreads" ovf:type="uint16" ovf:value="15"
|
94
|
+
ovf:userConfigurable="true">
|
95
|
+
<Description> Minimum number of idle threads to handle request spikes.
|
96
|
+
</Description>
|
97
|
+
</Property>
|
98
|
+
<Property ovf:key="maxSpareThreads" ovf:type="uint16" ovf:value="30"
|
99
|
+
ovf:userConfigurable="true">
|
100
|
+
<Description>Maximum number of idle threads </Description>
|
101
|
+
</Property>
|
102
|
+
<Property ovf:key="maxClients" ovf:type="uint16" ovf:value="256"
|
103
|
+
ovf:userConfigurable="true">
|
104
|
+
<Description>Limit the number of simultaneous requests that will be
|
105
|
+
served. </Description>
|
106
|
+
</Property>
|
107
|
+
</ProductSection>
|
108
|
+
<!-- MySQL component configuration parameters -->
|
109
|
+
<ProductSection ovf:class="org.mysql.db">
|
110
|
+
<Info>Product customization for the installed MySql Database Server</Info>
|
111
|
+
<Product>MySQL Distribution Z</Product>
|
112
|
+
<Version>5.0</Version>
|
113
|
+
<Property ovf:key="queryCacheSizeMB" ovf:type="uint16" ovf:value="32"
|
114
|
+
ovf:userConfigurable="true">
|
115
|
+
<Description>Buffer to cache repeated queries for faster access (in
|
116
|
+
MB)</Description>
|
117
|
+
</Property>
|
118
|
+
<Property ovf:key="maxConnections" ovf:type="uint16" ovf:value="500"
|
119
|
+
ovf:userConfigurable="true">
|
120
|
+
<Description>The number of concurrent connections that can be
|
121
|
+
served</Description>
|
122
|
+
</Property>
|
123
|
+
<Property ovf:key="waitTimeout" ovf:type="uint16" ovf:value="100"
|
124
|
+
ovf:userConfigurable="true">
|
125
|
+
<Description>Number of seconds to wait before timing out a connection
|
126
|
+
</Description>
|
127
|
+
</Property>
|
128
|
+
</ProductSection>
|
129
|
+
<!-- PHP component configuration parameters -->
|
130
|
+
<ProductSection ovf:class="net.php">
|
131
|
+
<Info>Product customization for the installed PHP component</Info>
|
132
|
+
<Product>PHP Distribution U</Product>
|
133
|
+
<Version>5.0</Version>
|
134
|
+
<Property ovf:key="sessionTimeout" ovf:type="uint16" ovf:value="5"
|
135
|
+
ovf:userConfigurable="true">
|
136
|
+
<Description> How many minutes a session has to be idle before it is
|
137
|
+
timed out </Description>
|
138
|
+
</Property>
|
139
|
+
<Property ovf:key="concurrentSessions" ovf:type="uint16" ovf:value="500"
|
140
|
+
ovf:userConfigurable="true">
|
141
|
+
<Description> The number of concurrent sessions that can be served
|
142
|
+
</Description>
|
143
|
+
</Property>
|
144
|
+
<Property ovf:key="memoryLimit" ovf:type="uint16" ovf:value="32"
|
145
|
+
ovf:userConfigurable="true">
|
146
|
+
<Description> How much memory in megabytes a script can consume before
|
147
|
+
being killed </Description>
|
148
|
+
</Property>
|
149
|
+
</ProductSection>
|
150
|
+
<OperatingSystemSection ovf:id="36">
|
151
|
+
<Info>Guest Operating System</Info>
|
152
|
+
<Description>Linux 2.6.x</Description>
|
153
|
+
</OperatingSystemSection>
|
154
|
+
<VirtualHardwareSection>
|
155
|
+
<Info>Virtual Hardware Requirements: 256MB, 1 CPU, 1 disk, 1 NIC</Info>
|
156
|
+
<System>
|
157
|
+
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
|
158
|
+
<vssd:InstanceID>0</vssd:InstanceID>
|
159
|
+
<vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType>
|
160
|
+
</System>
|
161
|
+
<Item>
|
162
|
+
<rasd:Description>Number of virtual CPUs</rasd:Description>
|
163
|
+
<rasd:ElementName>1 virtual CPU</rasd:ElementName>
|
164
|
+
<rasd:InstanceID>1</rasd:InstanceID>
|
165
|
+
<rasd:ResourceType>3</rasd:ResourceType>
|
166
|
+
<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
|
167
|
+
</Item>
|
168
|
+
<Item>
|
169
|
+
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
|
170
|
+
<rasd:Description>Memory Size</rasd:Description>
|
171
|
+
<rasd:ElementName>256 MB of memory</rasd:ElementName>
|
172
|
+
<rasd:InstanceID>2</rasd:InstanceID>
|
173
|
+
<rasd:ResourceType>4</rasd:ResourceType>
|
174
|
+
<rasd:VirtualQuantity>256</rasd:VirtualQuantity>
|
175
|
+
</Item>
|
176
|
+
<Item>
|
177
|
+
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
|
178
|
+
<rasd:Connection>VM Network</rasd:Connection>
|
179
|
+
<rasd:ElementName>Ethernet adapter on "VM Network"</rasd:ElementName>
|
180
|
+
<rasd:InstanceID>3</rasd:InstanceID>
|
181
|
+
<rasd:ResourceType>10</rasd:ResourceType>
|
182
|
+
</Item>
|
183
|
+
<Item>
|
184
|
+
<rasd:ElementName>SCSI Controller 0 - LSI Logic</rasd:ElementName>
|
185
|
+
<rasd:InstanceID>4</rasd:InstanceID>
|
186
|
+
<rasd:ResourceSubType>LsiLogic</rasd:ResourceSubType>
|
187
|
+
<rasd:ResourceType>6</rasd:ResourceType>
|
188
|
+
</Item>
|
189
|
+
<Item>
|
190
|
+
<rasd:ElementName>Harddisk 1</rasd:ElementName>
|
191
|
+
<rasd:HostResource>ovf:/disk/lamp</rasd:HostResource>
|
192
|
+
<rasd:InstanceID>5</rasd:InstanceID>
|
193
|
+
<rasd:Parent>4</rasd:Parent>
|
194
|
+
<rasd:ResourceType>17</rasd:ResourceType>
|
195
|
+
</Item>
|
196
|
+
</VirtualHardwareSection>
|
197
|
+
</VirtualSystem>
|
198
|
+
</Envelope>
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
require 'occi-core'
|
4
|
+
|
5
|
+
# enable coverage reports
|
6
|
+
if ENV['COVERAGE']
|
7
|
+
require 'simplecov'
|
8
|
+
SimpleCov.start
|
9
|
+
end
|
10
|
+
|
11
|
+
# simplify the usage of VCR; this will allow us to use
|
12
|
+
#
|
13
|
+
# it "does something", :vcr do
|
14
|
+
# ...
|
15
|
+
# end
|
16
|
+
#
|
17
|
+
# instead of
|
18
|
+
#
|
19
|
+
# it "does something else", :vcr => true do
|
20
|
+
# ...
|
21
|
+
# end
|
22
|
+
RSpec.configure do |c|
|
23
|
+
# in RSpec 3 this will no longer be necessary.
|
24
|
+
c.treat_symbols_as_metadata_keys_with_true_values = true
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,304 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: occi-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.0.0.alpha.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Florian Feldhaus
|
8
|
+
- Piotr Kasprzak
|
9
|
+
- Boris Parak
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-07-05 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: json
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - '>='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: hashie
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: uuidtools
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 2.1.3
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.1.3
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: nokogiri
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.5.0
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.5.0
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: activesupport
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '3.2'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ~>
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '3.2'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: settingslogic
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rspec
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rake
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: builder
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: simplecov
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: yard
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - '>='
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: yard-rspec
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :development
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
description: OCCI is a collection of classes to simplify the implementation of the
|
184
|
+
Open Cloud Computing API in Ruby
|
185
|
+
email:
|
186
|
+
- florian.feldhaus@gmail.com
|
187
|
+
- piotr.kasprzak@gwdg.de
|
188
|
+
- xparak@mail.muni.cz
|
189
|
+
executables: []
|
190
|
+
extensions:
|
191
|
+
- ext/mkrf_conf.rb
|
192
|
+
extra_rdoc_files: []
|
193
|
+
files:
|
194
|
+
- .gitignore
|
195
|
+
- .rspec
|
196
|
+
- .travis.yml
|
197
|
+
- .yardopts
|
198
|
+
- AUTHORS
|
199
|
+
- Gemfile
|
200
|
+
- LICENSE
|
201
|
+
- README.md
|
202
|
+
- Rakefile
|
203
|
+
- config/occi.yml
|
204
|
+
- ext/mkrf_conf.rb
|
205
|
+
- lib/occi-core.rb
|
206
|
+
- lib/occi/collection.rb
|
207
|
+
- lib/occi/core.rb
|
208
|
+
- lib/occi/core/action.rb
|
209
|
+
- lib/occi/core/action_instance.rb
|
210
|
+
- lib/occi/core/actions.rb
|
211
|
+
- lib/occi/core/attribute.rb
|
212
|
+
- lib/occi/core/attributes.rb
|
213
|
+
- lib/occi/core/categories.rb
|
214
|
+
- lib/occi/core/category.rb
|
215
|
+
- lib/occi/core/entities.rb
|
216
|
+
- lib/occi/core/entity.rb
|
217
|
+
- lib/occi/core/kind.rb
|
218
|
+
- lib/occi/core/kinds.rb
|
219
|
+
- lib/occi/core/link.rb
|
220
|
+
- lib/occi/core/links.rb
|
221
|
+
- lib/occi/core/mixin.rb
|
222
|
+
- lib/occi/core/mixins.rb
|
223
|
+
- lib/occi/core/properties.rb
|
224
|
+
- lib/occi/core/related.rb
|
225
|
+
- lib/occi/core/resource.rb
|
226
|
+
- lib/occi/core/resources.rb
|
227
|
+
- lib/occi/helpers/inspect.rb
|
228
|
+
- lib/occi/infrastructure.rb
|
229
|
+
- lib/occi/infrastructure/compute.rb
|
230
|
+
- lib/occi/infrastructure/network.rb
|
231
|
+
- lib/occi/infrastructure/network/ipnetwork.rb
|
232
|
+
- lib/occi/infrastructure/networkinterface.rb
|
233
|
+
- lib/occi/infrastructure/networkinterface/ipnetworkinterface.rb
|
234
|
+
- lib/occi/infrastructure/os_tpl.rb
|
235
|
+
- lib/occi/infrastructure/resource_tpl.rb
|
236
|
+
- lib/occi/infrastructure/storage.rb
|
237
|
+
- lib/occi/infrastructure/storagelink.rb
|
238
|
+
- lib/occi/log.rb
|
239
|
+
- lib/occi/model.rb
|
240
|
+
- lib/occi/parser.rb
|
241
|
+
- lib/occi/parser/json.rb
|
242
|
+
- lib/occi/parser/ova.rb
|
243
|
+
- lib/occi/parser/ovf.rb
|
244
|
+
- lib/occi/parser/text.rb
|
245
|
+
- lib/occi/parser/xml.rb
|
246
|
+
- lib/occi/settings.rb
|
247
|
+
- lib/occi/version.rb
|
248
|
+
- occi-core.gemspec
|
249
|
+
- spec/occi/collection_spec.rb
|
250
|
+
- spec/occi/core/attribute_spec.rb
|
251
|
+
- spec/occi/core/attributes_spec.rb
|
252
|
+
- spec/occi/core/categories_spec.rb
|
253
|
+
- spec/occi/core/category_spec.rb
|
254
|
+
- spec/occi/core/entity_spec.rb
|
255
|
+
- spec/occi/core/resource_spec.rb
|
256
|
+
- spec/occi/infrastructure/compute_spec.rb
|
257
|
+
- spec/occi/log_spec.rb
|
258
|
+
- spec/occi/model_spec.rb
|
259
|
+
- spec/occi/parser/text_spec.rb
|
260
|
+
- spec/occi/parser_spec.rb
|
261
|
+
- spec/occi/test.json
|
262
|
+
- spec/occi/test.ova
|
263
|
+
- spec/occi/test.ovf
|
264
|
+
- spec/spec_helper.rb
|
265
|
+
homepage: https://github.com/gwdg/rOCCI-core
|
266
|
+
licenses: []
|
267
|
+
metadata: {}
|
268
|
+
post_install_message:
|
269
|
+
rdoc_options: []
|
270
|
+
require_paths:
|
271
|
+
- lib
|
272
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
273
|
+
requirements:
|
274
|
+
- - '>='
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: 1.8.7
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - '>'
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: 1.3.1
|
282
|
+
requirements: []
|
283
|
+
rubyforge_project:
|
284
|
+
rubygems_version: 2.0.3
|
285
|
+
signing_key:
|
286
|
+
specification_version: 4
|
287
|
+
summary: OCCI toolkit
|
288
|
+
test_files:
|
289
|
+
- spec/occi/collection_spec.rb
|
290
|
+
- spec/occi/core/attribute_spec.rb
|
291
|
+
- spec/occi/core/attributes_spec.rb
|
292
|
+
- spec/occi/core/categories_spec.rb
|
293
|
+
- spec/occi/core/category_spec.rb
|
294
|
+
- spec/occi/core/entity_spec.rb
|
295
|
+
- spec/occi/core/resource_spec.rb
|
296
|
+
- spec/occi/infrastructure/compute_spec.rb
|
297
|
+
- spec/occi/log_spec.rb
|
298
|
+
- spec/occi/model_spec.rb
|
299
|
+
- spec/occi/parser/text_spec.rb
|
300
|
+
- spec/occi/parser_spec.rb
|
301
|
+
- spec/occi/test.json
|
302
|
+
- spec/occi/test.ova
|
303
|
+
- spec/occi/test.ovf
|
304
|
+
- spec/spec_helper.rb
|