occi-api 4.1.1 → 4.2.0.beta.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.
Files changed (43) hide show
  1. data/Gemfile +9 -0
  2. data/README.md +37 -11
  3. data/Rakefile +2 -9
  4. data/examples/dsl_example.rb +2 -2
  5. data/examples/x509auth_example.rb +9 -9
  6. data/lib/occi-api.rb +0 -1
  7. data/lib/occi/api/client/client_base.rb +102 -92
  8. data/lib/occi/api/client/client_http.rb +6 -6
  9. data/lib/occi/api/client/http/authn_plugins/keystone.rb +27 -11
  10. data/lib/occi/api/dsl.rb +7 -3
  11. data/lib/occi/api/version.rb +1 -1
  12. data/occi-api.gemspec +2 -14
  13. data/{features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_all_available_mixins.yml} +125 -147
  14. data/{features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml} +126 -148
  15. data/{features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml} +126 -148
  16. data/spec/occi/api/client/client_http_spec.rb +52 -28
  17. data/spec/occi/api/dsl_spec.rb +0 -6
  18. data/spec/spec_helper.rb +4 -1
  19. metadata +31 -200
  20. checksums.yaml +0 -7
  21. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml +0 -333
  22. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml +0 -529
  23. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_action_.yml +0 -288
  24. data/features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  25. data/features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  26. data/features/common/step_definitions/common_steps.rb +0 -32
  27. data/features/occi/core/create/create.feature +0 -18
  28. data/features/occi/core/create/step_definitions/create_steps.rb +0 -0
  29. data/features/occi/core/delete/delete.feature +0 -18
  30. data/features/occi/core/delete/step_definitions/delete_steps.rb +0 -0
  31. data/features/occi/core/discovery_interface/discovery_interface.feature +0 -37
  32. data/features/occi/core/discovery_interface/step_definitions/discovery_interface_steps.rb +0 -19
  33. data/features/occi/core/miscellaneous/miscellaneous.feature +0 -18
  34. data/features/occi/core/miscellaneous/step_definitions/miscellaneous_steps.rb +0 -0
  35. data/features/occi/core/read/read.feature +0 -18
  36. data/features/occi/core/read/step_definitions/read_steps.rb +0 -0
  37. data/features/occi/core/update/step_definitions/update_steps.rb +0 -0
  38. data/features/occi/core/update/update.feature +0 -18
  39. data/features/occi/infrastructure/create/create.feature +0 -18
  40. data/features/occi/infrastructure/create/step_definitions/create_steps.rb +0 -0
  41. data/features/support/env.rb +0 -16
  42. data/lib/occi/api/client/client_amqp.rb +0 -766
  43. data/spec/occi/api/client/client_amqp_spec.rb +0 -158
@@ -2,24 +2,24 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: head
5
- uri: http://141.5.99.69/
5
+ uri: https://localhost:3300/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - text/plain
11
+ - text/plain,text/occi;q=0.2
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message: OK
16
16
  headers:
17
17
  Date:
18
- - Thu, 10 Jan 2013 13:52:03 GMT
18
+ - Thu, 10 Jan 2013 17:44:39 GMT
19
19
  Server:
20
- - Apache/2.2.22 (Ubuntu)
20
+ - Apache/2.2.20 (Ubuntu)
21
21
  X-Powered-By:
22
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
22
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
23
23
  X-Frame-Options:
24
24
  - sameorigin
25
25
  X-Xss-Protection:
@@ -27,10 +27,12 @@ http_interactions:
27
27
  Accept:
28
28
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
29
29
  Set-Cookie:
30
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFOGY0NTkxN2E5NGMwZWJjZDNlYjE0%0AZDVjZjIwODMzNTRjOGEzYWJiYmVkYjkzZWNjZDFlODFmZDljYmJlMGM3OEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--4da7952a493521db670af7fa64e1a1e8382474a3;
30
+ - GRIDHTTP_PASSCODE=ec9b4b21351052e5aPTUJs; domain=localhost; path=/;
31
+ secure
32
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTIyZmM5ZmI2OTliY2JiZWQyMjYz%0AN2IyNTQ3NjMyMDkxYTFkNWVhOGIwYjVkYTNhYTllMTYyYjdkZTZiMzhkY0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--24c9906d0e0c02c6976b065151f161a7e299022a;
31
33
  path=/; HttpOnly
32
34
  Content-Length:
33
- - '738'
35
+ - '294'
34
36
  Status:
35
37
  - '200'
36
38
  Vary:
@@ -41,27 +43,71 @@ http_interactions:
41
43
  encoding: US-ASCII
42
44
  string: ''
43
45
  http_version:
44
- recorded_at: Thu, 10 Jan 2013 13:52:43 GMT
46
+ recorded_at: Thu, 10 Jan 2013 17:44:39 GMT
47
+ - request:
48
+ method: head
49
+ uri: https://localhost:3300/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - text/plain,text/occi
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Thu, 10 Jan 2013 17:45:00 GMT
63
+ Server:
64
+ - Apache/2.2.20 (Ubuntu)
65
+ X-Powered-By:
66
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
67
+ X-Frame-Options:
68
+ - sameorigin
69
+ X-Xss-Protection:
70
+ - 1; mode=block
71
+ Accept:
72
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
73
+ Set-Cookie:
74
+ - GRIDHTTP_PASSCODE=e7c80271a9756b023j3EUq; domain=localhost; path=/;
75
+ secure
76
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTI4MTVhNjc3ZTZlMmU4NWMzMzc0%0AOTljMDBjY2NhYzI0OWI1NzNmNGU0YzUwMzJjMzg2OTMyMzA5MDY1NmMwZEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--e366b080a1da7ae2f2d90e5b9dc777b7e656c47f;
77
+ path=/; HttpOnly
78
+ Content-Length:
79
+ - '294'
80
+ Status:
81
+ - '200'
82
+ Vary:
83
+ - Accept-Encoding
84
+ Content-Type:
85
+ - text/plain;charset=utf-8
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ http_version:
90
+ recorded_at: Thu, 10 Jan 2013 17:45:00 GMT
45
91
  - request:
46
92
  method: get
47
- uri: http://141.5.99.69/-/
93
+ uri: https://localhost:3300/-/
48
94
  body:
49
95
  encoding: US-ASCII
50
96
  string: ''
51
97
  headers:
52
98
  Accept:
53
- - text/plain
99
+ - text/plain,text/occi
54
100
  response:
55
101
  status:
56
102
  code: 200
57
103
  message: OK
58
104
  headers:
59
105
  Date:
60
- - Thu, 10 Jan 2013 13:52:03 GMT
106
+ - Thu, 10 Jan 2013 17:45:00 GMT
61
107
  Server:
62
- - Apache/2.2.22 (Ubuntu)
108
+ - Apache/2.2.20 (Ubuntu)
63
109
  X-Powered-By:
64
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
110
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
65
111
  X-Frame-Options:
66
112
  - sameorigin
67
113
  X-Xss-Protection:
@@ -69,10 +115,12 @@ http_interactions:
69
115
  Accept:
70
116
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
71
117
  Set-Cookie:
72
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFM2E5ODBmNzhhYTM3ZWRlZjhmZjM0%0AYTdjNjk5ODU3NDU3MGFmNDcxOThkNTljZTY4OWY5Zjg5ODYwNGIwYjlmY0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--e417c449b85b671b1e2794301e3236e425bbb489;
118
+ - GRIDHTTP_PASSCODE=2fbf4bc478532395flYvJS; domain=localhost; path=/;
119
+ secure
120
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZjY0YTEwZGYyZmRjZGFhMjkyNzUz%0AYTBjYzU4MTQzZTk0NWIxYzZhOWE4ZGU5ZjAzNjUwNjJlMjljNzg0YzM3Mkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--f36990ae38f52eee308f6a26714253f76c147e5b;
73
121
  path=/; HttpOnly
74
122
  Content-Length:
75
- - '6397'
123
+ - '8975'
76
124
  Status:
77
125
  - '200'
78
126
  Vary:
@@ -96,57 +144,89 @@ http_interactions:
96
144
  http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
97
145
  http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
98
146
 
99
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
100
- occi.networkinterface.mac occi.networkinterface.state"
147
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
148
+ Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
149
+ occi.storagelink.mountpoint occi.storagelink.state"
150
+
151
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
152
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
153
+ occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
154
+ org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
155
+ org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
156
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
101
157
 
102
158
  Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
103
159
  Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
104
- occi.storage.state";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
160
+ occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
161
+ org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
162
+ org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
105
163
  http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
106
164
  http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
107
165
 
108
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
109
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
110
- occi.network.label occi.network.state";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
111
- http://schemas.ogf.org/occi/infrastructure/network/action#down"
166
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
167
+ occi.networkinterface.mac occi.networkinterface.state"
112
168
 
113
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
114
- Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
115
- occi.storagelink.mountpoint occi.storagelink.state"
169
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
170
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
171
+
172
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
173
+ System Template";location="/mixins/os_tpl/"
116
174
 
117
175
  Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
118
176
  Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
119
177
  occi.network.gateway occi.network.allocation occi.network.state"
120
178
 
121
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
122
- Template";location="/mixins/resource_tpl/"
123
-
124
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
125
- System Template";location="/mixins/os_tpl/"
126
-
127
179
  Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
128
180
  Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
129
181
  occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
130
182
 
131
- Category: my_os;scheme="http://my.occi.service/occi/infrastructure/os_tpl#";class="mixin";title="My
132
- OS Template";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/my_os/"
183
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
184
+ Template";location="/mixins/resource_tpl/"
133
185
 
134
- Category: large;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Large
186
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
187
+ specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
188
+ org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
189
+ org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
190
+
191
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
192
+ specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
193
+ org.opennebula.storagelink.driver"
194
+
195
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
196
+ specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
197
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
198
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
199
+
200
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
201
+ specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
202
+ org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
203
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
204
+
205
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
206
+ specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
207
+ org.opennebula.networkinterface.script org.opennebula.networkinterface.model
208
+ org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
209
+ org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
210
+ org.opennebula.networkinterface.icmp"
211
+
212
+ Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
135
213
  Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
136
214
  occi.compute.cores occi.compute.speed occi.compute.memory"
137
215
 
138
- Category: small;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Small
139
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
216
+ Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
217
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
140
218
  occi.compute.cores occi.compute.speed occi.compute.memory"
141
219
 
142
- Category: medium;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
220
+ Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
143
221
  Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
144
222
  occi.compute.cores occi.compute.speed occi.compute.memory"
145
223
 
146
- Category: extra_large;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
147
- Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
224
+ Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
225
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
148
226
  occi.compute.cores occi.compute.speed occi.compute.memory"
149
227
 
228
+ Category: mytesttemplate;scheme="http://occi.localhost:3300/occi/infrastructure/os_tpl#";class="mixin";title="MyTestTemplate";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/mytesttemplate/"
229
+
150
230
  Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
151
231
  Compute instance"
152
232
 
@@ -159,6 +239,12 @@ http_interactions:
159
239
  Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
160
240
  Compute instance";attributes="method"
161
241
 
242
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
243
+ network"
244
+
245
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
246
+ network"
247
+
162
248
  Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
163
249
  Storage"
164
250
 
@@ -174,115 +260,7 @@ http_interactions:
174
260
  Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
175
261
  Storage";attributes="size"
176
262
 
177
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
178
- network"
179
-
180
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
181
- network"
182
-
183
- '
184
- http_version:
185
- recorded_at: Thu, 10 Jan 2013 13:52:43 GMT
186
- - request:
187
- method: get
188
- uri: http://141.5.99.69/
189
- body:
190
- encoding: US-ASCII
191
- string: ''
192
- headers:
193
- Accept:
194
- - text/plain
195
- response:
196
- status:
197
- code: 200
198
- message: OK
199
- headers:
200
- Date:
201
- - Tue, 12 Mar 2013 13:29:43 GMT
202
- Server:
203
- - Apache/2.2.22 (Ubuntu)
204
- X-Powered-By:
205
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
206
- X-Frame-Options:
207
- - sameorigin
208
- X-Xss-Protection:
209
- - 1; mode=block
210
- Accept:
211
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
212
- Set-Cookie:
213
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFYWI4ZGQ2OGY5ZDFiMTUxZTQ3NWQ5%0ANDQ4Zjg2ZmVmZTM0ZTMyOTlhMWYyMWY5YmEyNmNhMTg1YjA4ZTMyYmQzNUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--7f00828c64a9a1b76af0c1199f58e0292cdb0bfa;
214
- path=/; HttpOnly
215
- Content-Length:
216
- - '738'
217
- Status:
218
- - '200'
219
- Vary:
220
- - Accept-Encoding
221
- Content-Type:
222
- - text/plain;charset=utf-8
223
- body:
224
- encoding: US-ASCII
225
- string: ! 'X-OCCI-Location: http://141.5.99.69/compute/48e7c51c-5a7d-11e2-a300-fa163e16d22f
226
-
227
- X-OCCI-Location: http://141.5.99.69/compute/6c706278-5a7d-11e2-a300-fa163e16d22f
228
-
229
- X-OCCI-Location: http://141.5.99.69/compute/7582ffc4-5a7d-11e2-a300-fa163e16d22f
230
-
231
- X-OCCI-Location: http://141.5.99.69/compute/8eb0deb2-5a7d-11e2-a300-fa163e16d22f
232
-
233
- X-OCCI-Location: http://141.5.99.69/compute/8efa93e0-5a7d-11e2-a300-fa163e16d22f
234
-
235
- X-OCCI-Location: http://141.5.99.69/compute/49cbeaee-5b1d-11e2-a300-fa163e16d22f
236
-
237
- X-OCCI-Location: http://141.5.99.69/compute/c87fa76c-5b1e-11e2-a300-fa163e16d22f
238
-
239
- X-OCCI-Location: http://141.5.99.69/compute/1cc544b2-5b1f-11e2-a300-fa163e16d22f
240
-
241
- X-OCCI-Location: http://141.5.99.69/compute/38e2a6b2-5b1f-11e2-a300-fa163e16d22f
242
-
243
263
  '
244
264
  http_version:
245
- recorded_at: Tue, 12 Mar 2013 13:29:36 GMT
246
- - request:
247
- method: head
248
- uri: http://141.5.99.69/
249
- body:
250
- encoding: US-ASCII
251
- string: ''
252
- headers:
253
- Accept:
254
- - text/plain
255
- response:
256
- status:
257
- code: 200
258
- message: OK
259
- headers:
260
- Date:
261
- - Tue, 12 Mar 2013 15:27:54 GMT
262
- Server:
263
- - Apache/2.2.22 (Ubuntu)
264
- X-Powered-By:
265
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
266
- X-Frame-Options:
267
- - sameorigin
268
- X-Xss-Protection:
269
- - 1; mode=block
270
- Accept:
271
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
272
- Set-Cookie:
273
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFMGExMWVlMjYwMzQyNzc5MzVlOGZm%0AMzgyZTIyYjFhM2UyNDBmODgyOGE4OTdlZWE0ZmU3YTdjNWY4YjZmZDg0N0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--a3fe81e6991f7f493ec81041aca0d9a3c59e528b;
274
- path=/; HttpOnly
275
- Content-Length:
276
- - '738'
277
- Status:
278
- - '200'
279
- Vary:
280
- - Accept-Encoding
281
- Content-Type:
282
- - text/plain;charset=utf-8
283
- body:
284
- encoding: US-ASCII
285
- string: ''
286
- http_version:
287
- recorded_at: Tue, 12 Mar 2013 15:27:47 GMT
265
+ recorded_at: Thu, 10 Jan 2013 17:45:00 GMT
288
266
  recorded_with: VCR 2.4.0
@@ -2,24 +2,24 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: head
5
- uri: http://141.5.99.69/
5
+ uri: https://localhost:3300/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - text/plain
11
+ - text/plain,text/occi;q=0.2
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message: OK
16
16
  headers:
17
17
  Date:
18
- - Thu, 10 Jan 2013 13:52:01 GMT
18
+ - Thu, 10 Jan 2013 17:44:39 GMT
19
19
  Server:
20
- - Apache/2.2.22 (Ubuntu)
20
+ - Apache/2.2.20 (Ubuntu)
21
21
  X-Powered-By:
22
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
22
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
23
23
  X-Frame-Options:
24
24
  - sameorigin
25
25
  X-Xss-Protection:
@@ -27,10 +27,12 @@ http_interactions:
27
27
  Accept:
28
28
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
29
29
  Set-Cookie:
30
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFODY4OGY0YzkxMzg3OGU2ZDExYjRm%0ANWZhMDUzMWQxMDllMjk4YTMyMDRhMWRmODZhMzJlODkzNjA3OGRmYWU0Nkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--226357119a9d4fc759e9404447c370e9b0500ee5;
30
+ - GRIDHTTP_PASSCODE=ec9b4b21351052e5aPTUJs; domain=localhost; path=/;
31
+ secure
32
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTIyZmM5ZmI2OTliY2JiZWQyMjYz%0AN2IyNTQ3NjMyMDkxYTFkNWVhOGIwYjVkYTNhYTllMTYyYjdkZTZiMzhkY0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--24c9906d0e0c02c6976b065151f161a7e299022a;
31
33
  path=/; HttpOnly
32
34
  Content-Length:
33
- - '738'
35
+ - '294'
34
36
  Status:
35
37
  - '200'
36
38
  Vary:
@@ -41,27 +43,71 @@ http_interactions:
41
43
  encoding: US-ASCII
42
44
  string: ''
43
45
  http_version:
44
- recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
46
+ recorded_at: Thu, 10 Jan 2013 17:44:39 GMT
47
+ - request:
48
+ method: head
49
+ uri: https://localhost:3300/
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ Accept:
55
+ - text/plain,text/occi
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Thu, 10 Jan 2013 17:45:00 GMT
63
+ Server:
64
+ - Apache/2.2.20 (Ubuntu)
65
+ X-Powered-By:
66
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
67
+ X-Frame-Options:
68
+ - sameorigin
69
+ X-Xss-Protection:
70
+ - 1; mode=block
71
+ Accept:
72
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
73
+ Set-Cookie:
74
+ - GRIDHTTP_PASSCODE=e7c80271a9756b023j3EUq; domain=localhost; path=/;
75
+ secure
76
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTI4MTVhNjc3ZTZlMmU4NWMzMzc0%0AOTljMDBjY2NhYzI0OWI1NzNmNGU0YzUwMzJjMzg2OTMyMzA5MDY1NmMwZEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--e366b080a1da7ae2f2d90e5b9dc777b7e656c47f;
77
+ path=/; HttpOnly
78
+ Content-Length:
79
+ - '294'
80
+ Status:
81
+ - '200'
82
+ Vary:
83
+ - Accept-Encoding
84
+ Content-Type:
85
+ - text/plain;charset=utf-8
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ http_version:
90
+ recorded_at: Thu, 10 Jan 2013 17:45:00 GMT
45
91
  - request:
46
92
  method: get
47
- uri: http://141.5.99.69/-/
93
+ uri: https://localhost:3300/-/
48
94
  body:
49
95
  encoding: US-ASCII
50
96
  string: ''
51
97
  headers:
52
98
  Accept:
53
- - text/plain
99
+ - text/plain,text/occi
54
100
  response:
55
101
  status:
56
102
  code: 200
57
103
  message: OK
58
104
  headers:
59
105
  Date:
60
- - Thu, 10 Jan 2013 13:52:01 GMT
106
+ - Thu, 10 Jan 2013 17:45:00 GMT
61
107
  Server:
62
- - Apache/2.2.22 (Ubuntu)
108
+ - Apache/2.2.20 (Ubuntu)
63
109
  X-Powered-By:
64
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
110
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
65
111
  X-Frame-Options:
66
112
  - sameorigin
67
113
  X-Xss-Protection:
@@ -69,10 +115,12 @@ http_interactions:
69
115
  Accept:
70
116
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
71
117
  Set-Cookie:
72
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFNDRjNDM5MDFkNWRkNTIzMTJjYzUx%0AM2NjOWYwMWY5YjkwZmNiMGVjOTM4YTQ5ODBjYzVlMzA3NzI1ZjlhNjUwOEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--c224a47b47b5493715194c2186691ae91fa899e6;
118
+ - GRIDHTTP_PASSCODE=2fbf4bc478532395flYvJS; domain=localhost; path=/;
119
+ secure
120
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZjY0YTEwZGYyZmRjZGFhMjkyNzUz%0AYTBjYzU4MTQzZTk0NWIxYzZhOWE4ZGU5ZjAzNjUwNjJlMjljNzg0YzM3Mkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--f36990ae38f52eee308f6a26714253f76c147e5b;
73
121
  path=/; HttpOnly
74
122
  Content-Length:
75
- - '6397'
123
+ - '8975'
76
124
  Status:
77
125
  - '200'
78
126
  Vary:
@@ -96,57 +144,89 @@ http_interactions:
96
144
  http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
97
145
  http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
98
146
 
99
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
100
- occi.networkinterface.mac occi.networkinterface.state"
147
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
148
+ Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
149
+ occi.storagelink.mountpoint occi.storagelink.state"
150
+
151
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
152
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
153
+ occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
154
+ org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
155
+ org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
156
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
101
157
 
102
158
  Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
103
159
  Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
104
- occi.storage.state";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
160
+ occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
161
+ org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
162
+ org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
105
163
  http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
106
164
  http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
107
165
 
108
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
109
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
110
- occi.network.label occi.network.state";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
111
- http://schemas.ogf.org/occi/infrastructure/network/action#down"
166
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
167
+ occi.networkinterface.mac occi.networkinterface.state"
112
168
 
113
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
114
- Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
115
- occi.storagelink.mountpoint occi.storagelink.state"
169
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
170
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
171
+
172
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
173
+ System Template";location="/mixins/os_tpl/"
116
174
 
117
175
  Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
118
176
  Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
119
177
  occi.network.gateway occi.network.allocation occi.network.state"
120
178
 
121
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
122
- Template";location="/mixins/resource_tpl/"
123
-
124
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
125
- System Template";location="/mixins/os_tpl/"
126
-
127
179
  Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
128
180
  Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
129
181
  occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
130
182
 
131
- Category: my_os;scheme="http://my.occi.service/occi/infrastructure/os_tpl#";class="mixin";title="My
132
- OS Template";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/my_os/"
183
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
184
+ Template";location="/mixins/resource_tpl/"
133
185
 
134
- Category: large;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Large
186
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
187
+ specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
188
+ org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
189
+ org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
190
+
191
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
192
+ specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
193
+ org.opennebula.storagelink.driver"
194
+
195
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
196
+ specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
197
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
198
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
199
+
200
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
201
+ specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
202
+ org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
203
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
204
+
205
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
206
+ specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
207
+ org.opennebula.networkinterface.script org.opennebula.networkinterface.model
208
+ org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
209
+ org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
210
+ org.opennebula.networkinterface.icmp"
211
+
212
+ Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
135
213
  Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
136
214
  occi.compute.cores occi.compute.speed occi.compute.memory"
137
215
 
138
- Category: small;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Small
139
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
216
+ Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
217
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
140
218
  occi.compute.cores occi.compute.speed occi.compute.memory"
141
219
 
142
- Category: medium;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
220
+ Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
143
221
  Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
144
222
  occi.compute.cores occi.compute.speed occi.compute.memory"
145
223
 
146
- Category: extra_large;scheme="http://my.occi.service/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
147
- Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
224
+ Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
225
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
148
226
  occi.compute.cores occi.compute.speed occi.compute.memory"
149
227
 
228
+ Category: mytesttemplate;scheme="http://occi.localhost:3300/occi/infrastructure/os_tpl#";class="mixin";title="MyTestTemplate";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/mytesttemplate/"
229
+
150
230
  Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
151
231
  Compute instance"
152
232
 
@@ -159,6 +239,12 @@ http_interactions:
159
239
  Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
160
240
  Compute instance";attributes="method"
161
241
 
242
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
243
+ network"
244
+
245
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
246
+ network"
247
+
162
248
  Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
163
249
  Storage"
164
250
 
@@ -174,115 +260,7 @@ http_interactions:
174
260
  Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
175
261
  Storage";attributes="size"
176
262
 
177
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
178
- network"
179
-
180
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
181
- network"
182
-
183
- '
184
- http_version:
185
- recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
186
- - request:
187
- method: get
188
- uri: http://141.5.99.69/
189
- body:
190
- encoding: US-ASCII
191
- string: ''
192
- headers:
193
- Accept:
194
- - text/plain
195
- response:
196
- status:
197
- code: 200
198
- message: OK
199
- headers:
200
- Date:
201
- - Tue, 12 Mar 2013 13:29:42 GMT
202
- Server:
203
- - Apache/2.2.22 (Ubuntu)
204
- X-Powered-By:
205
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
206
- X-Frame-Options:
207
- - sameorigin
208
- X-Xss-Protection:
209
- - 1; mode=block
210
- Accept:
211
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
212
- Set-Cookie:
213
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFOGIwOTNjN2I2YTRhYWNmYWMzOTE1%0ANGJiODUxNTNjOTUyNThkNzM0NjFjOGNiYjA3ZDM4ZDYwOWVjZjAxY2M4NUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--2a011f27068ccd94899403b26651e4fcfde15436;
214
- path=/; HttpOnly
215
- Content-Length:
216
- - '738'
217
- Status:
218
- - '200'
219
- Vary:
220
- - Accept-Encoding
221
- Content-Type:
222
- - text/plain;charset=utf-8
223
- body:
224
- encoding: US-ASCII
225
- string: ! 'X-OCCI-Location: http://141.5.99.69/compute/48e7c51c-5a7d-11e2-a300-fa163e16d22f
226
-
227
- X-OCCI-Location: http://141.5.99.69/compute/6c706278-5a7d-11e2-a300-fa163e16d22f
228
-
229
- X-OCCI-Location: http://141.5.99.69/compute/7582ffc4-5a7d-11e2-a300-fa163e16d22f
230
-
231
- X-OCCI-Location: http://141.5.99.69/compute/8eb0deb2-5a7d-11e2-a300-fa163e16d22f
232
-
233
- X-OCCI-Location: http://141.5.99.69/compute/8efa93e0-5a7d-11e2-a300-fa163e16d22f
234
-
235
- X-OCCI-Location: http://141.5.99.69/compute/49cbeaee-5b1d-11e2-a300-fa163e16d22f
236
-
237
- X-OCCI-Location: http://141.5.99.69/compute/c87fa76c-5b1e-11e2-a300-fa163e16d22f
238
-
239
- X-OCCI-Location: http://141.5.99.69/compute/1cc544b2-5b1f-11e2-a300-fa163e16d22f
240
-
241
- X-OCCI-Location: http://141.5.99.69/compute/38e2a6b2-5b1f-11e2-a300-fa163e16d22f
242
-
243
263
  '
244
264
  http_version:
245
- recorded_at: Tue, 12 Mar 2013 13:29:35 GMT
246
- - request:
247
- method: head
248
- uri: http://141.5.99.69/
249
- body:
250
- encoding: US-ASCII
251
- string: ''
252
- headers:
253
- Accept:
254
- - text/plain
255
- response:
256
- status:
257
- code: 200
258
- message: OK
259
- headers:
260
- Date:
261
- - Tue, 12 Mar 2013 15:27:53 GMT
262
- Server:
263
- - Apache/2.2.22 (Ubuntu)
264
- X-Powered-By:
265
- - Phusion Passenger (mod_rails/mod_rack) 3.0.18
266
- X-Frame-Options:
267
- - sameorigin
268
- X-Xss-Protection:
269
- - 1; mode=block
270
- Accept:
271
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
272
- Set-Cookie:
273
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFYjk4Zjc0NTRhMGUxN2VkMWJhYWEz%0AY2E0OTFjMWE0NWUxZjIwYzBlNWU2MjUyMzYxZGI5MjU4MGZhMjc0OWJhNkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--4ac5e72fdf64d3b35dbbe65e7c38da3d3311c964;
274
- path=/; HttpOnly
275
- Content-Length:
276
- - '738'
277
- Status:
278
- - '200'
279
- Vary:
280
- - Accept-Encoding
281
- Content-Type:
282
- - text/plain;charset=utf-8
283
- body:
284
- encoding: US-ASCII
285
- string: ''
286
- http_version:
287
- recorded_at: Tue, 12 Mar 2013 15:27:46 GMT
265
+ recorded_at: Thu, 10 Jan 2013 17:45:00 GMT
288
266
  recorded_with: VCR 2.4.0