occi 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.project +32 -0
- data/.rspec +1 -0
- data/.travis.yml +8 -0
- data/.yardopts +1 -0
- data/AUTHORS +8 -0
- data/Gemfile +35 -14
- data/Gemfile.lock +89 -32
- data/LICENSE +13 -4
- data/README.md +70 -21
- data/Rakefile +25 -21
- data/lib/OpenNebula/Acl.rb +256 -0
- data/lib/OpenNebula/AclPool.rb +53 -0
- data/lib/OpenNebula/Group.rb +147 -0
- data/lib/OpenNebula/GroupPool.rb +54 -0
- data/lib/OpenNebula/Host.rb +143 -0
- data/lib/OpenNebula/HostPool.rb +55 -0
- data/lib/OpenNebula/Image.rb +256 -0
- data/lib/OpenNebula/ImagePool.rb +74 -0
- data/lib/OpenNebula/OpenNebula.rb +137 -0
- data/lib/OpenNebula/Pool.rb +285 -0
- data/lib/OpenNebula/Template.rb +173 -0
- data/lib/OpenNebula/TemplatePool.rb +74 -0
- data/lib/OpenNebula/User.rb +157 -0
- data/lib/OpenNebula/UserPool.rb +53 -0
- data/lib/OpenNebula/VirtualMachine.rb +319 -0
- data/lib/OpenNebula/VirtualMachinePool.rb +120 -0
- data/lib/OpenNebula/VirtualNetwork.rb +229 -0
- data/lib/OpenNebula/VirtualNetworkPool.rb +74 -0
- data/lib/OpenNebula/XMLUtils.rb +337 -0
- data/lib/occi/antlr/.gitignore +18 -0
- data/lib/occi/antlr/OCCI.g +164 -0
- data/lib/occi/antlr/OCCI.tokens +75 -0
- data/lib/occi/antlr/OCCILexer.rb +1532 -0
- data/lib/occi/antlr/OCCIParser.rb +2472 -0
- data/lib/occi/antlr/README.md +2 -0
- data/lib/occi/backend/dummy.rb +232 -0
- data/lib/occi/backend/ec2/Compute.rb +310 -0
- data/lib/occi/backend/ec2/compute.rb +310 -0
- data/lib/occi/backend/ec2/ec2.rb +215 -0
- data/lib/occi/backend/manager.rb +131 -0
- data/lib/occi/backend/opennebula/compute.rb +360 -0
- data/lib/occi/backend/opennebula/network.rb +143 -0
- data/lib/occi/backend/opennebula/opennebula.rb +188 -0
- data/lib/occi/backend/opennebula/storage.rb +175 -0
- data/lib/occi/configuration.rb +118 -0
- data/lib/occi/core/action.rb +29 -0
- data/lib/occi/core/attribute_properties.rb +54 -0
- data/lib/occi/core/attributes.rb +40 -0
- data/lib/occi/core/category.rb +62 -0
- data/lib/occi/core/collection.rb +27 -0
- data/lib/occi/core/entity.rb +135 -0
- data/lib/occi/core/kind.rb +55 -0
- data/lib/occi/core/link.rb +88 -0
- data/lib/occi/core/mixin.rb +43 -0
- data/lib/occi/core/resource.rb +73 -0
- data/lib/occi/exceptions.rb +59 -0
- data/lib/occi/extensions/monitoring/cpu.rb +51 -0
- data/lib/occi/extensions/monitoring/memory.rb +49 -0
- data/lib/occi/extensions/monitoring/metric.rb +54 -0
- data/lib/occi/extensions/monitoring/netrx.rb +49 -0
- data/lib/occi/extensions/monitoring/nettx.rb +55 -0
- data/lib/occi/extensions/one/VNC.rb +58 -0
- data/lib/occi/extensions/one/vnc.rb +58 -0
- data/lib/occi/log.rb +47 -0
- data/lib/occi/parse.rb +164 -0
- data/lib/occi/registry.rb +87 -0
- data/lib/occi/server.rb +594 -0
- data/lib/occi/version.rb +3 -0
- data/occi.gemspec +18 -96
- data/spec/occi/antlr/parser_spec.rb +82 -0
- data/spec/spec_helper.rb +6 -0
- metadata +100 -208
- data/.autotest +0 -21
- data/.rvmrc +0 -1
- data/VERSION +0 -1
- data/lib/occi.rb +0 -1
- data/lib/occi/client.rb +0 -36
- data/lib/occi/compute.rb +0 -4
- data/lib/occi/network.rb +0 -4
- data/lib/occi/resource.rb +0 -59
- data/lib/occi/storage.rb +0 -7
- data/test/fixtures/cassettes/compute_all.yml +0 -28
- data/test/fixtures/cassettes/compute_create.yml +0 -45
- data/test/fixtures/cassettes/compute_destroy.yml +0 -22
- data/test/fixtures/cassettes/compute_find.yml +0 -28
- data/test/fixtures/cassettes/compute_update.yml +0 -35
- data/test/fixtures/cassettes/network_all.yml +0 -28
- data/test/fixtures/cassettes/network_create.yml +0 -37
- data/test/fixtures/cassettes/network_destroy.yml +0 -22
- data/test/fixtures/cassettes/network_find.yml +0 -28
- data/test/fixtures/cassettes/storage_all.yml +0 -28
- data/test/fixtures/cassettes/storage_create.yml +0 -50
- data/test/fixtures/cassettes/storage_destroy.yml +0 -22
- data/test/fixtures/cassettes/storage_find.yml +0 -28
- data/test/lib/occi/compute_test.rb +0 -91
- data/test/lib/occi/network_test.rb +0 -57
- data/test/lib/occi/storage_test.rb +0 -67
- data/test/test_helper.rb +0 -48
data/lib/occi/version.rb
ADDED
data/occi.gemspec
CHANGED
@@ -1,100 +1,22 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
5
4
|
|
6
|
-
|
7
|
-
s.name = %q{occi}
|
8
|
-
s.version = "1.2.1"
|
5
|
+
require 'occi/version'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
s.files = [
|
19
|
-
".autotest",
|
20
|
-
".rvmrc",
|
21
|
-
"Gemfile",
|
22
|
-
"Gemfile.lock",
|
23
|
-
"LICENSE",
|
24
|
-
"README.md",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"lib/occi.rb",
|
28
|
-
"lib/occi/client.rb",
|
29
|
-
"lib/occi/compute.rb",
|
30
|
-
"lib/occi/network.rb",
|
31
|
-
"lib/occi/resource.rb",
|
32
|
-
"lib/occi/storage.rb",
|
33
|
-
"occi.gemspec",
|
34
|
-
"test/fixtures/cassettes/compute_all.yml",
|
35
|
-
"test/fixtures/cassettes/compute_create.yml",
|
36
|
-
"test/fixtures/cassettes/compute_destroy.yml",
|
37
|
-
"test/fixtures/cassettes/compute_find.yml",
|
38
|
-
"test/fixtures/cassettes/compute_update.yml",
|
39
|
-
"test/fixtures/cassettes/network_all.yml",
|
40
|
-
"test/fixtures/cassettes/network_create.yml",
|
41
|
-
"test/fixtures/cassettes/network_destroy.yml",
|
42
|
-
"test/fixtures/cassettes/network_find.yml",
|
43
|
-
"test/fixtures/cassettes/storage_all.yml",
|
44
|
-
"test/fixtures/cassettes/storage_create.yml",
|
45
|
-
"test/fixtures/cassettes/storage_destroy.yml",
|
46
|
-
"test/fixtures/cassettes/storage_find.yml",
|
47
|
-
"test/lib/occi/compute_test.rb",
|
48
|
-
"test/lib/occi/network_test.rb",
|
49
|
-
"test/lib/occi/storage_test.rb",
|
50
|
-
"test/test_helper.rb"
|
51
|
-
]
|
52
|
-
s.homepage = %q{http://github.com/retr0h/occi}
|
53
|
-
s.require_paths = ["lib"]
|
54
|
-
s.rubygems_version = %q{1.3.7}
|
55
|
-
s.summary = %q{Ruby bindings to Open Cloud Computing Interface (OCCI).}
|
56
|
-
s.test_files = [
|
57
|
-
"test/lib/occi/compute_test.rb",
|
58
|
-
"test/lib/occi/network_test.rb",
|
59
|
-
"test/lib/occi/storage_test.rb",
|
60
|
-
"test/test_helper.rb"
|
61
|
-
]
|
7
|
+
Gem::Specification.new do |gem|
|
8
|
+
gem.name = "occi"
|
9
|
+
gem.version = OCCI::VERSION
|
10
|
+
gem.authors = ["Florian Feldhaus","Piotr Kasprzak"]
|
11
|
+
gem.email = ["florian.feldhaus@gwdg.de", "piotr.kasprzak@gwdg.de"]
|
12
|
+
gem.description = %q{OCCI is a collection of classes to simplify the implementation of the Open Cloud Computing API in Ruby}
|
13
|
+
gem.summary = %q{OCCI toolkit}
|
14
|
+
gem.homepage = 'https://github.com/gwdg/occi'
|
62
15
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
68
|
-
s.add_runtime_dependency(%q<hugs>, ["~> 2.3.0"])
|
69
|
-
s.add_runtime_dependency(%q<multipart-post>, ["~> 1.0.1"])
|
70
|
-
s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4.4"])
|
71
|
-
s.add_development_dependency(%q<rake>, [">= 0"])
|
72
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
73
|
-
s.add_development_dependency(%q<webmock>, ["~> 1.6.2"])
|
74
|
-
s.add_development_dependency(%q<vcr>, ["~> 1.4.0"])
|
75
|
-
s.add_development_dependency(%q<minitest>, ["~> 2.0.0"])
|
76
|
-
s.add_development_dependency(%q<ZenTest>, ["~> 4.4.2"])
|
77
|
-
else
|
78
|
-
s.add_dependency(%q<hugs>, ["~> 2.3.0"])
|
79
|
-
s.add_dependency(%q<multipart-post>, ["~> 1.0.1"])
|
80
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.4.4"])
|
81
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
82
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
83
|
-
s.add_dependency(%q<webmock>, ["~> 1.6.2"])
|
84
|
-
s.add_dependency(%q<vcr>, ["~> 1.4.0"])
|
85
|
-
s.add_dependency(%q<minitest>, ["~> 2.0.0"])
|
86
|
-
s.add_dependency(%q<ZenTest>, ["~> 4.4.2"])
|
87
|
-
end
|
88
|
-
else
|
89
|
-
s.add_dependency(%q<hugs>, ["~> 2.3.0"])
|
90
|
-
s.add_dependency(%q<multipart-post>, ["~> 1.0.1"])
|
91
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.4.4"])
|
92
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
93
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
94
|
-
s.add_dependency(%q<webmock>, ["~> 1.6.2"])
|
95
|
-
s.add_dependency(%q<vcr>, ["~> 1.4.0"])
|
96
|
-
s.add_dependency(%q<minitest>, ["~> 2.0.0"])
|
97
|
-
s.add_dependency(%q<ZenTest>, ["~> 4.4.2"])
|
98
|
-
end
|
99
|
-
end
|
16
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
gem.files = `git ls-files`.split("\n")
|
18
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
gem.require_paths = ["lib"]
|
100
20
|
|
21
|
+
gem.required_ruby_version = ">= 1.8.7"
|
22
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'hashie'
|
3
|
+
|
4
|
+
require 'occi/antlr/OCCIParser'
|
5
|
+
|
6
|
+
module OCCI
|
7
|
+
describe Parser do
|
8
|
+
describe "#Category" do
|
9
|
+
it "is parsed successful" do
|
10
|
+
ATTRIBUTE = {:mutable => true, :required => false, :type => {:string => {}}, :default => ''}
|
11
|
+
term = 'entity'
|
12
|
+
scheme = 'http://schemas.ogf.org/occi/core#'
|
13
|
+
class_type = 'kind'
|
14
|
+
title = 'Storage Resource How\'s your quotes escaping?\"'
|
15
|
+
rel = 'http://schemas.ogf.org/occi/core#resource'
|
16
|
+
location = '/storage/'
|
17
|
+
attributes = Hashie::Mash.new
|
18
|
+
attributes.occi!.storage!.size = ATTRIBUTE
|
19
|
+
attributes.occi!.storage!.state = ATTRIBUTE
|
20
|
+
attributes_string = 'occi.storage.size occi.storage.state'
|
21
|
+
actions = Array.new
|
22
|
+
actions << 'http://schemas.ogf.org/occi/infrastructure/storage/action#resize'
|
23
|
+
actions << 'http://schemas.ogf.org/occi/infrastructure/storage/action#online'
|
24
|
+
|
25
|
+
category_string = %Q{Category: #{term}; scheme="#{scheme}"; class="#{class_type}"; title="#{title}"; rel="#{rel}"; location="#{location}"; attributes="#{attributes_string}"; actions="#{actions.join(' ')}"}
|
26
|
+
|
27
|
+
category = Parser.new(category_string).category
|
28
|
+
kind = category[:kinds].first
|
29
|
+
kind[:term].should == term
|
30
|
+
kind[:scheme].should == scheme
|
31
|
+
kind[:title].should == title
|
32
|
+
kind[:related].should == rel
|
33
|
+
kind[:location].should == location
|
34
|
+
kind[:attributes].should == attributes
|
35
|
+
kind[:actions].should == actions
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
describe "#Link" do
|
40
|
+
it "is parsed successful" do
|
41
|
+
target = '/network/123'
|
42
|
+
rel = 'http://schemas.ogf.org/occi/infrastructure#network'
|
43
|
+
self_location = '/link/networkinterface/456'
|
44
|
+
category = 'http://schemas.ogf.org/occi/infrastructure#networkinterface'
|
45
|
+
attributes = Hashie::Mash.new
|
46
|
+
attributes.occi!.networkinterface!.interface = '"eth0"'
|
47
|
+
attributes.occi!.networkinterface!.mac = '"00:11:22:33:44:55"'
|
48
|
+
attributes.occi!.networkinterface!.state = '"active"'
|
49
|
+
attributes_string = %Q{occi.networkinterface.interface="eth0";occi.networkinterface.mac="00:11:22:33:44:55";occi.networkinterface.state="active"}
|
50
|
+
link_string = %Q{Link: <#{target}>; rel="#{rel}"; self="#{self_location}"; category="#{category}"; #{attributes_string}}
|
51
|
+
|
52
|
+
link = OCCI::Parser.new(link_string).link
|
53
|
+
link[:target].should == target
|
54
|
+
link[:rel].should == rel
|
55
|
+
link[:self].should == self_location
|
56
|
+
link[:category].should == category
|
57
|
+
link[:attributes].should == attributes
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe "#X-OCCI-Attribute" do
|
62
|
+
it "is parsed successful" do
|
63
|
+
attribute = Hashie::Mash.new
|
64
|
+
attribute.occi!.compute!.architecture = '"x86_64"'
|
65
|
+
|
66
|
+
x_occi_attributes_string = %Q{X-OCCI-Attribute: occi.compute.architecture="x86_64"}
|
67
|
+
|
68
|
+
x_occi_attribute = OCCI::Parser.new(x_occi_attributes_string).x_occi_attribute
|
69
|
+
x_occi_attribute.should == attribute
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe "#X-OCCI-Location" do
|
74
|
+
it "is parsed successful" do
|
75
|
+
location = URI.parse('http://example.com/compute/123')
|
76
|
+
location_string = %Q{X-OCCI-Location: #{location.to_s}}
|
77
|
+
x_occi_location = OCCI::Parser.new(location_string).x_occi_location
|
78
|
+
x_occi_location.should == location
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,231 +1,123 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: occi
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
version: 1.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
12
|
-
-
|
7
|
+
authors:
|
8
|
+
- Florian Feldhaus
|
9
|
+
- Piotr Kasprzak
|
13
10
|
autorequire:
|
14
11
|
bindir: bin
|
15
12
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 2
|
29
|
-
- 3
|
30
|
-
- 0
|
31
|
-
version: 2.3.0
|
32
|
-
type: :runtime
|
33
|
-
prerelease: false
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: multipart-post
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 1
|
44
|
-
- 0
|
45
|
-
- 1
|
46
|
-
version: 1.0.1
|
47
|
-
type: :runtime
|
48
|
-
prerelease: false
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: nokogiri
|
52
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
segments:
|
58
|
-
- 1
|
59
|
-
- 4
|
60
|
-
- 4
|
61
|
-
version: 1.4.4
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: rake
|
67
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
version: "0"
|
75
|
-
type: :development
|
76
|
-
prerelease: false
|
77
|
-
version_requirements: *id004
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: jeweler
|
80
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
segments:
|
86
|
-
- 1
|
87
|
-
- 5
|
88
|
-
- 1
|
89
|
-
version: 1.5.1
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: *id005
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: webmock
|
95
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
segments:
|
101
|
-
- 1
|
102
|
-
- 6
|
103
|
-
- 2
|
104
|
-
version: 1.6.2
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: *id006
|
108
|
-
- !ruby/object:Gem::Dependency
|
109
|
-
name: vcr
|
110
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
|
-
requirements:
|
113
|
-
- - ~>
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
segments:
|
116
|
-
- 1
|
117
|
-
- 4
|
118
|
-
- 0
|
119
|
-
version: 1.4.0
|
120
|
-
type: :development
|
121
|
-
prerelease: false
|
122
|
-
version_requirements: *id007
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: minitest
|
125
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
126
|
-
none: false
|
127
|
-
requirements:
|
128
|
-
- - ~>
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
segments:
|
131
|
-
- 2
|
132
|
-
- 0
|
133
|
-
- 0
|
134
|
-
version: 2.0.0
|
135
|
-
type: :development
|
136
|
-
prerelease: false
|
137
|
-
version_requirements: *id008
|
138
|
-
- !ruby/object:Gem::Dependency
|
139
|
-
name: ZenTest
|
140
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
|
-
requirements:
|
143
|
-
- - ~>
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
segments:
|
146
|
-
- 4
|
147
|
-
- 4
|
148
|
-
- 2
|
149
|
-
version: 4.4.2
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: *id009
|
153
|
-
description:
|
154
|
-
email: john@dewey.ws
|
13
|
+
date: 2012-06-04 00:00:00.000000000 Z
|
14
|
+
dependencies: []
|
15
|
+
description: OCCI is a collection of classes to simplify the implementation of the
|
16
|
+
Open Cloud Computing API in Ruby
|
17
|
+
email:
|
18
|
+
- florian.feldhaus@gwdg.de
|
19
|
+
- piotr.kasprzak@gwdg.de
|
155
20
|
executables: []
|
156
|
-
|
157
21
|
extensions: []
|
158
|
-
|
159
|
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
|
163
|
-
- .
|
164
|
-
- .
|
22
|
+
extra_rdoc_files: []
|
23
|
+
files:
|
24
|
+
- .gitignore
|
25
|
+
- .project
|
26
|
+
- .rspec
|
27
|
+
- .travis.yml
|
28
|
+
- .yardopts
|
29
|
+
- AUTHORS
|
165
30
|
- Gemfile
|
166
31
|
- Gemfile.lock
|
167
32
|
- LICENSE
|
168
33
|
- README.md
|
169
34
|
- Rakefile
|
170
|
-
-
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
175
|
-
- lib/
|
176
|
-
- lib/
|
35
|
+
- lib/OpenNebula/Acl.rb
|
36
|
+
- lib/OpenNebula/AclPool.rb
|
37
|
+
- lib/OpenNebula/Group.rb
|
38
|
+
- lib/OpenNebula/GroupPool.rb
|
39
|
+
- lib/OpenNebula/Host.rb
|
40
|
+
- lib/OpenNebula/HostPool.rb
|
41
|
+
- lib/OpenNebula/Image.rb
|
42
|
+
- lib/OpenNebula/ImagePool.rb
|
43
|
+
- lib/OpenNebula/OpenNebula.rb
|
44
|
+
- lib/OpenNebula/Pool.rb
|
45
|
+
- lib/OpenNebula/Template.rb
|
46
|
+
- lib/OpenNebula/TemplatePool.rb
|
47
|
+
- lib/OpenNebula/User.rb
|
48
|
+
- lib/OpenNebula/UserPool.rb
|
49
|
+
- lib/OpenNebula/VirtualMachine.rb
|
50
|
+
- lib/OpenNebula/VirtualMachinePool.rb
|
51
|
+
- lib/OpenNebula/VirtualNetwork.rb
|
52
|
+
- lib/OpenNebula/VirtualNetworkPool.rb
|
53
|
+
- lib/OpenNebula/XMLUtils.rb
|
54
|
+
- lib/occi/antlr/.gitignore
|
55
|
+
- lib/occi/antlr/OCCI.g
|
56
|
+
- lib/occi/antlr/OCCI.tokens
|
57
|
+
- lib/occi/antlr/OCCILexer.rb
|
58
|
+
- lib/occi/antlr/OCCIParser.rb
|
59
|
+
- lib/occi/antlr/README.md
|
60
|
+
- lib/occi/backend/dummy.rb
|
61
|
+
- lib/occi/backend/ec2/Compute.rb
|
62
|
+
- lib/occi/backend/ec2/compute.rb
|
63
|
+
- lib/occi/backend/ec2/ec2.rb
|
64
|
+
- lib/occi/backend/manager.rb
|
65
|
+
- lib/occi/backend/opennebula/compute.rb
|
66
|
+
- lib/occi/backend/opennebula/network.rb
|
67
|
+
- lib/occi/backend/opennebula/opennebula.rb
|
68
|
+
- lib/occi/backend/opennebula/storage.rb
|
69
|
+
- lib/occi/configuration.rb
|
70
|
+
- lib/occi/core/action.rb
|
71
|
+
- lib/occi/core/attribute_properties.rb
|
72
|
+
- lib/occi/core/attributes.rb
|
73
|
+
- lib/occi/core/category.rb
|
74
|
+
- lib/occi/core/collection.rb
|
75
|
+
- lib/occi/core/entity.rb
|
76
|
+
- lib/occi/core/kind.rb
|
77
|
+
- lib/occi/core/link.rb
|
78
|
+
- lib/occi/core/mixin.rb
|
79
|
+
- lib/occi/core/resource.rb
|
80
|
+
- lib/occi/exceptions.rb
|
81
|
+
- lib/occi/extensions/monitoring/cpu.rb
|
82
|
+
- lib/occi/extensions/monitoring/memory.rb
|
83
|
+
- lib/occi/extensions/monitoring/metric.rb
|
84
|
+
- lib/occi/extensions/monitoring/netrx.rb
|
85
|
+
- lib/occi/extensions/monitoring/nettx.rb
|
86
|
+
- lib/occi/extensions/one/VNC.rb
|
87
|
+
- lib/occi/extensions/one/vnc.rb
|
88
|
+
- lib/occi/log.rb
|
89
|
+
- lib/occi/parse.rb
|
90
|
+
- lib/occi/registry.rb
|
91
|
+
- lib/occi/server.rb
|
92
|
+
- lib/occi/version.rb
|
177
93
|
- occi.gemspec
|
178
|
-
-
|
179
|
-
-
|
180
|
-
|
181
|
-
- test/fixtures/cassettes/compute_find.yml
|
182
|
-
- test/fixtures/cassettes/compute_update.yml
|
183
|
-
- test/fixtures/cassettes/network_all.yml
|
184
|
-
- test/fixtures/cassettes/network_create.yml
|
185
|
-
- test/fixtures/cassettes/network_destroy.yml
|
186
|
-
- test/fixtures/cassettes/network_find.yml
|
187
|
-
- test/fixtures/cassettes/storage_all.yml
|
188
|
-
- test/fixtures/cassettes/storage_create.yml
|
189
|
-
- test/fixtures/cassettes/storage_destroy.yml
|
190
|
-
- test/fixtures/cassettes/storage_find.yml
|
191
|
-
- test/lib/occi/compute_test.rb
|
192
|
-
- test/lib/occi/network_test.rb
|
193
|
-
- test/lib/occi/storage_test.rb
|
194
|
-
- test/test_helper.rb
|
195
|
-
has_rdoc: true
|
196
|
-
homepage: http://github.com/retr0h/occi
|
94
|
+
- spec/occi/antlr/parser_spec.rb
|
95
|
+
- spec/spec_helper.rb
|
96
|
+
homepage: https://github.com/gwdg/occi
|
197
97
|
licenses: []
|
198
|
-
|
199
98
|
post_install_message:
|
200
99
|
rdoc_options: []
|
201
|
-
|
202
|
-
require_paths:
|
100
|
+
require_paths:
|
203
101
|
- lib
|
204
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
103
|
none: false
|
206
|
-
requirements:
|
207
|
-
- -
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
|
210
|
-
|
211
|
-
version: "0"
|
212
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.8.7
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
109
|
none: false
|
214
|
-
requirements:
|
215
|
-
- -
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
|
218
|
-
- 0
|
219
|
-
version: "0"
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
220
114
|
requirements: []
|
221
|
-
|
222
115
|
rubyforge_project:
|
223
|
-
rubygems_version: 1.
|
116
|
+
rubygems_version: 1.8.19
|
224
117
|
signing_key:
|
225
118
|
specification_version: 3
|
226
|
-
summary:
|
227
|
-
test_files:
|
228
|
-
-
|
229
|
-
-
|
230
|
-
|
231
|
-
- test/test_helper.rb
|
119
|
+
summary: OCCI toolkit
|
120
|
+
test_files:
|
121
|
+
- spec/occi/antlr/parser_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
has_rdoc:
|