occi-api 4.2.0.beta.15 → 4.2.0.beta.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -6
  3. data/lib/occi/api/client/base/stubs.rb +0 -36
  4. data/lib/occi/api/client/client_http.rb +0 -47
  5. data/lib/occi/api/client/http/helpers.rb +0 -2
  6. data/lib/occi/api/dsl.rb +3 -3
  7. data/lib/occi/api/version.rb +1 -1
  8. data/occi-api.gemspec +1 -1
  9. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_compute_resource.yml +840 -0
  10. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_network_resource.yml +848 -0
  11. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_storage_resource.yml +840 -0
  12. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_compute_resource.yml +836 -0
  13. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_network_resource.yml +844 -0
  14. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_storage_resource.yml +836 -0
  15. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_all_available_mixins.yml +647 -0
  16. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_compute_resources.yml +885 -0
  17. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_network_resources.yml +1038 -0
  18. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_os_tpl_mixins.yml +647 -0
  19. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_resource_tpl_mixins.yml +648 -0
  20. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_storage_resources.yml +1144 -0
  21. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/establishes_connection.yml +789 -0
  22. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_all_available_mixins.yml +647 -0
  23. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_compute_resources.yml +836 -0
  24. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_network_resources.yml +842 -0
  25. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_os_tpl_mixins.yml +647 -0
  26. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_resource_tpl_mixins.yml +647 -0
  27. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_storage_resources.yml +846 -0
  28. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/refreshes_its_model.yml +1524 -0
  29. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_compute_resource.yml +846 -0
  30. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_network_resource.yml +840 -0
  31. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_storage_resource.yml +846 -0
  32. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_compute_resource.yml +321 -0
  33. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_network_resource.yml +326 -0
  34. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_storage_resource.yml +321 -0
  35. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_compute_resource.yml +311 -0
  36. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_network_resource.yml +310 -0
  37. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_storage_resource.yml +311 -0
  38. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/refreshes_its_model.yml → using_media_type_text/plain/describes_all_available_mixins.yml} +160 -124
  39. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_compute_resources.yml +752 -0
  40. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_network_resources.yml +977 -0
  41. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_storage_resources.yml +1178 -0
  42. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/establishes_connection.yml +262 -0
  43. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/fails_to_list_mixins_with_only_self_no_related_without_include_self_true.yml +262 -0
  44. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_storage_resources.yml → using_media_type_text/plain/finds_and_describes_scoped_os_tpl_mixin.yml} +196 -104
  45. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_network_resources.yml → using_media_type_text/plain/finds_and_describes_scoped_resource_tpl_mixin.yml} +203 -51
  46. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/finds_and_describes_unscoped_mixin.yml +262 -0
  47. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_identifier.yml +262 -0
  48. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_name.yml +262 -0
  49. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_identifier.yml +262 -0
  50. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_name.yml +262 -0
  51. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_identifier.yml +262 -0
  52. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_name.yml +262 -0
  53. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_type_identifiers.yml +262 -0
  54. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_types.yml +262 -0
  55. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_type_identifiers.yml +262 -0
  56. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_types.yml +262 -0
  57. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_type_identifiers.yml +262 -0
  58. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_types.yml +262 -0
  59. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixins.yml +262 -0
  60. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_type_identifiers.yml +262 -0
  61. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_types.yml +262 -0
  62. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_compute_resources.yml +311 -0
  63. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_including_self.yml +262 -0
  64. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_with_only_self_no_related_.yml +262 -0
  65. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_network_resources.yml +315 -0
  66. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_os_tpl_mixins.yml +262 -0
  67. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_compute_resources.yml → using_media_type_text/plain/lists_resource_tpl_mixins.yml} +209 -55
  68. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_storage_resources.yml +321 -0
  69. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml +262 -0
  70. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml +262 -0
  71. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/raises_an_error_when_looking_for_a_non-existent_mixin_type.yml +262 -0
  72. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/refreshes_its_model.yml +472 -0
  73. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/returns_nil_when_looking_for_a_non-existent_mixin.yml +262 -0
  74. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/returns_nil_when_looking_for_a_non-existent_mixin_of_a_specific_type.yml +262 -0
  75. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_compute_resource.yml +312 -0
  76. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_network_resource.yml +315 -0
  77. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_storage_resource.yml +312 -0
  78. data/spec/cassettes/Occi_Api_Dsl/_connect/accepts_block_options.yml +261 -0
  79. data/spec/cassettes/Occi_Api_Dsl/_connect/connects_successfully_through_HTTP.yml +259 -0
  80. data/spec/occi/api/client/client_http_spec.rb +253 -99
  81. data/spec/occi/api/dsl_spec.rb +53 -3
  82. data/spec/occi/helpers/helpers_spec.rb +11 -0
  83. data/spec/spec_helper.rb +1 -0
  84. metadata +76 -15
  85. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +0 -266
  86. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +0 -308
  87. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +0 -308
  88. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +0 -310
  89. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/net_http_example_response.yml +0 -266
  90. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/replacements.txt +0 -38
  91. data/spec/occi/api/client/base/stubs_spec.rb +0 -53
@@ -0,0 +1,977 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: https://localhost:3300/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain,text/occi;q=0.2
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Thu, 01 Jan 1970 00:00:00 GMT
19
+ Server:
20
+ - Apache/2.2.20 (Ubuntu)
21
+ X-Powered-By:
22
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
23
+ X-Frame-Options:
24
+ - sameorigin
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ Accept:
28
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
29
+ Set-Cookie:
30
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
31
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
32
+ path=/; HttpOnly
33
+ Content-Length:
34
+ - '294'
35
+ Status:
36
+ - '200'
37
+ Vary:
38
+ - Accept-Encoding
39
+ Content-Type:
40
+ - text/plain;charset=utf-8
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ http_version:
45
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
46
+ - request:
47
+ method: head
48
+ uri: https://localhost:3300/
49
+ body:
50
+ encoding: US-ASCII
51
+ string: ''
52
+ headers:
53
+ Accept:
54
+ - text/plain,text/occi
55
+ response:
56
+ status:
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ Date:
61
+ - Thu, 01 Jan 1970 00:00:00 GMT
62
+ Server:
63
+ - Apache/2.2.20 (Ubuntu)
64
+ X-Powered-By:
65
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
66
+ X-Frame-Options:
67
+ - sameorigin
68
+ X-Xss-Protection:
69
+ - 1; mode=block
70
+ Accept:
71
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
72
+ Set-Cookie:
73
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
74
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
75
+ path=/; HttpOnly
76
+ Content-Length:
77
+ - '294'
78
+ Status:
79
+ - '200'
80
+ Vary:
81
+ - Accept-Encoding
82
+ Content-Type:
83
+ - text/plain;charset=utf-8
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://localhost:3300/-/
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers:
96
+ Accept:
97
+ - text/plain,text/occi
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ Date:
104
+ - Thu, 01 Jan 1970 00:00:00 GMT
105
+ Server:
106
+ - Apache/2.2.20 (Ubuntu)
107
+ X-Powered-By:
108
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
109
+ X-Frame-Options:
110
+ - sameorigin
111
+ X-Xss-Protection:
112
+ - 1; mode=block
113
+ Accept:
114
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
115
+ Set-Cookie:
116
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
117
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
118
+ path=/; HttpOnly
119
+ Content-Length:
120
+ - '8975'
121
+ Status:
122
+ - '200'
123
+ Vary:
124
+ - Accept-Encoding
125
+ Content-Type:
126
+ - text/plain;charset=utf-8
127
+ body:
128
+ encoding: US-ASCII
129
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id
130
+ occi.core.title"
131
+
132
+ Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.summary"
133
+
134
+ Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.target
135
+ occi.core.source"
136
+
137
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute
138
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture
139
+ occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory
140
+ occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
141
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
142
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
143
+
144
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
145
+ Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
146
+ occi.storagelink.mountpoint occi.storagelink.state"
147
+
148
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
149
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
150
+ occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
151
+ org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
152
+ org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
153
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
154
+
155
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
156
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
157
+ occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
158
+ org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
159
+ org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
160
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
161
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
162
+
163
+ 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
164
+ occi.networkinterface.mac occi.networkinterface.state"
165
+
166
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
167
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
168
+
169
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
170
+ System Template";location="/mixins/os_tpl/"
171
+
172
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
173
+ Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
174
+ occi.network.gateway occi.network.allocation occi.network.state"
175
+
176
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
177
+ Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
178
+ occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
179
+
180
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
181
+ Template";location="/mixins/resource_tpl/"
182
+
183
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
184
+ specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
185
+ org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
186
+ org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
187
+
188
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
189
+ specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
190
+ org.opennebula.storagelink.driver"
191
+
192
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
193
+ specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
194
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
195
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
196
+
197
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
198
+ specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
199
+ org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
200
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
201
+
202
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
203
+ specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
204
+ org.opennebula.networkinterface.script org.opennebula.networkinterface.model
205
+ org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
206
+ org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
207
+ org.opennebula.networkinterface.icmp"
208
+
209
+ Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
210
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
211
+ occi.compute.cores occi.compute.speed occi.compute.memory"
212
+
213
+ Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
214
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
215
+ occi.compute.cores occi.compute.speed occi.compute.memory"
216
+
217
+ Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
218
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
219
+ occi.compute.cores occi.compute.speed occi.compute.memory"
220
+
221
+ Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
222
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
223
+ occi.compute.cores occi.compute.speed occi.compute.memory"
224
+
225
+ 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/"
226
+
227
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
228
+ Compute instance"
229
+
230
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop
231
+ Compute instance";attributes="method"
232
+
233
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart
234
+ Compute instance";attributes="method"
235
+
236
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
237
+ Compute instance";attributes="method"
238
+
239
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
240
+ network"
241
+
242
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
243
+ network"
244
+
245
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
246
+ Storage"
247
+
248
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate
249
+ Storage"
250
+
251
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup
252
+ Storage"
253
+
254
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot
255
+ Storage"
256
+
257
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
258
+ Storage";attributes="size"
259
+
260
+ '
261
+ http_version:
262
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
263
+ - request:
264
+ method: get
265
+ uri: https://localhost:3300/network/
266
+ body:
267
+ encoding: US-ASCII
268
+ string: ''
269
+ headers:
270
+ Accept:
271
+ - text/uri-list
272
+ response:
273
+ status:
274
+ code: 200
275
+ message: OK
276
+ headers:
277
+ Date:
278
+ - Thu, 01 Jan 1970 00:00:00 GMT
279
+ Server:
280
+ - Apache/2.2.20 (Ubuntu)
281
+ X-Powered-By:
282
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
283
+ X-Frame-Options:
284
+ - sameorigin
285
+ X-Xss-Protection:
286
+ - 1; mode=block
287
+ Accept:
288
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
289
+ Set-Cookie:
290
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
291
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
292
+ path=/; HttpOnly
293
+ Content-Length:
294
+ - '79'
295
+ Status:
296
+ - '200'
297
+ Content-Type:
298
+ - text/uri-list;charset=utf-8
299
+ body:
300
+ encoding: US-ASCII
301
+ string: https://localhost:3300/network/1e8e0d63-e3c8-5be7-8a46-f4df226bca01
302
+ http_version:
303
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
304
+ - request:
305
+ method: get
306
+ uri: https://localhost:3300/network/1e8e0d63-e3c8-5be7-8a46-f4df226bca01
307
+ body:
308
+ encoding: US-ASCII
309
+ string: ''
310
+ headers:
311
+ Accept:
312
+ - text/plain,text/occi
313
+ response:
314
+ status:
315
+ code: 200
316
+ message: OK
317
+ headers:
318
+ Date:
319
+ - Thu, 01 Jan 1970 00:00:00 GMT
320
+ Server:
321
+ - Apache/2.2.20 (Ubuntu)
322
+ X-Powered-By:
323
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
324
+ X-Frame-Options:
325
+ - sameorigin
326
+ X-Xss-Protection:
327
+ - 1; mode=block
328
+ Accept:
329
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
330
+ Set-Cookie:
331
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
332
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
333
+ path=/; HttpOnly
334
+ Content-Length:
335
+ - '566'
336
+ Status:
337
+ - '200'
338
+ Vary:
339
+ - Accept-Encoding
340
+ Content-Type:
341
+ - text/plain;charset=utf-8
342
+ body:
343
+ encoding: US-ASCII
344
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
345
+
346
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
347
+
348
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin"
349
+
350
+ X-OCCI-Attribute: occi.core.id="1e8e0d63-e3c8-5be7-8a46-f4df226bca01"
351
+
352
+ X-OCCI-Attribute: occi.core.title="private"
353
+
354
+ X-OCCI-Attribute: occi.network.allocation="dynamic"
355
+
356
+ X-OCCI-Attribute: occi.network.state="active"
357
+
358
+ X-OCCI-Attribute: org.opennebula.network.id="1"
359
+
360
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
361
+
362
+ '
363
+ http_version:
364
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
365
+ - request:
366
+ method: head
367
+ uri: https://rocci-test:edited@localhost:3300/-/
368
+ body:
369
+ encoding: US-ASCII
370
+ string: ''
371
+ headers:
372
+ Accept:
373
+ - text/plain,text/occi
374
+ User-Agent:
375
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
376
+ response:
377
+ status:
378
+ code: 200
379
+ message: OK
380
+ headers:
381
+ Date:
382
+ - Thu, 01 Jan 1970 00:00:00 GMT
383
+ Server:
384
+ - Apache/2.2.22 (Debian)
385
+ X-Frame-Options:
386
+ - SAMEORIGIN
387
+ X-Xss-Protection:
388
+ - 1; mode=block
389
+ X-Content-Type-Options:
390
+ - nosniff
391
+ X-Ua-Compatible:
392
+ - chrome=1
393
+ Etag:
394
+ - ! '"4ca185da501239625a99fad36f211cb7"'
395
+ Cache-Control:
396
+ - max-age=0, private, must-revalidate
397
+ X-Request-Id:
398
+ - d00a0875-19fc-4bf7-8826-5768c7a366c0
399
+ X-Runtime:
400
+ - '0.110977'
401
+ X-Powered-By:
402
+ - Phusion Passenger 4.0.29
403
+ Status:
404
+ - 200 OK
405
+ Vary:
406
+ - Accept-Encoding
407
+ Content-Type:
408
+ - text/plain; charset=utf-8
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ http_version:
413
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
414
+ - request:
415
+ method: get
416
+ uri: https://rocci-test:edited@localhost:3300/-/
417
+ body:
418
+ encoding: US-ASCII
419
+ string: ''
420
+ headers:
421
+ Accept:
422
+ - text/plain,text/occi
423
+ User-Agent:
424
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
425
+ response:
426
+ status:
427
+ code: 200
428
+ message: OK
429
+ headers:
430
+ Date:
431
+ - Thu, 01 Jan 1970 00:00:00 GMT
432
+ Server:
433
+ - Apache/2.2.22 (Debian)
434
+ X-Frame-Options:
435
+ - SAMEORIGIN
436
+ X-Xss-Protection:
437
+ - 1; mode=block
438
+ X-Content-Type-Options:
439
+ - nosniff
440
+ X-Ua-Compatible:
441
+ - chrome=1
442
+ Etag:
443
+ - ! '"4ca185da501239625a99fad36f211cb7"'
444
+ Cache-Control:
445
+ - max-age=0, private, must-revalidate
446
+ X-Request-Id:
447
+ - 1bab00cf-3432-400d-bbd2-6aabf81b5634
448
+ X-Runtime:
449
+ - '0.221533'
450
+ X-Powered-By:
451
+ - Phusion Passenger 4.0.29
452
+ Status:
453
+ - 200 OK
454
+ Vary:
455
+ - Accept-Encoding
456
+ Transfer-Encoding:
457
+ - chunked
458
+ Content-Type:
459
+ - text/plain; charset=utf-8
460
+ body:
461
+ encoding: US-ASCII
462
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
463
+ occi.core.title"
464
+
465
+ Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.id{immutable}
466
+ occi.core.title occi.core.summary"
467
+
468
+ Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{immutable}
469
+ occi.core.title occi.core.target occi.core.source"
470
+
471
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
472
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
473
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
474
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
475
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
476
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
477
+
478
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
479
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
480
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
481
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
482
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
483
+
484
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
485
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
486
+ occi.core.title occi.core.summary occi.network.vlan occi.network.label occi.network.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
487
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
488
+
489
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
490
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
491
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
492
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
493
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
494
+
495
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
496
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
497
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
498
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
499
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
500
+
501
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
502
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
503
+
504
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
505
+ template";location="/mixin/resource_tpl/"
506
+
507
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
508
+ system template";location="/mixin/os_tpl/"
509
+
510
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
511
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
512
+ occi.network.gateway occi.network.allocation"
513
+
514
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
515
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
516
+ occi.networkinterface.gateway occi.networkinterface.allocation"
517
+
518
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
519
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
520
+ org.openstack.credentials.publickey.data{immutable}"
521
+
522
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
523
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
524
+
525
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
526
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
527
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
528
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
529
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
530
+ org.opennebula.storage.path{immutable}"
531
+
532
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
533
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
534
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
535
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
536
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
537
+ org.opennebula.compute.boot{immutable}"
538
+
539
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
540
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
541
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
542
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
543
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
544
+ org.opennebula.networkinterface.icmp{immutable}"
545
+
546
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
547
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
548
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
549
+
550
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
551
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
552
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
553
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
554
+ org.opennebula.network.ip_end{immutable}"
555
+
556
+ Category: uuid_monitoring_4;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_monitoring_4/"
557
+
558
+ Category: uuid_debianvm_5;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="debianvm";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_debianvm_5/"
559
+
560
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
561
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
562
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
563
+
564
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
565
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
566
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
567
+
568
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
569
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
570
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
571
+
572
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
573
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
574
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
575
+
576
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
577
+ compute instance"
578
+
579
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
580
+ compute instance";attributes="method"
581
+
582
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
583
+ compute instance";attributes="method"
584
+
585
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
586
+ compute instance";attributes="method"
587
+
588
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
589
+ storage"
590
+
591
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
592
+ storage"
593
+
594
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
595
+ storage"
596
+
597
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
598
+ storage"
599
+
600
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
601
+ storage";attributes="size{required}"
602
+
603
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
604
+ network"
605
+
606
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
607
+ network"
608
+
609
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
610
+ networkinterface"
611
+
612
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
613
+ networkinterface"
614
+
615
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
616
+ storagelink"
617
+
618
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
619
+ storagelink"
620
+
621
+ '
622
+ http_version:
623
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
624
+ - request:
625
+ method: get
626
+ uri: https://rocci-test:edited@localhost:3300/network/
627
+ body:
628
+ encoding: US-ASCII
629
+ string: ''
630
+ headers:
631
+ Accept:
632
+ - text/uri-list
633
+ User-Agent:
634
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
635
+ response:
636
+ status:
637
+ code: 200
638
+ message: OK
639
+ headers:
640
+ Date:
641
+ - Thu, 01 Jan 1970 00:00:00 GMT
642
+ Server:
643
+ - Apache/2.2.22 (Debian)
644
+ X-Frame-Options:
645
+ - SAMEORIGIN
646
+ X-Xss-Protection:
647
+ - 1; mode=block
648
+ X-Content-Type-Options:
649
+ - nosniff
650
+ X-Ua-Compatible:
651
+ - chrome=1
652
+ Etag:
653
+ - ! '"c9ec20109c11d095e0c6d1b9ecb76970"'
654
+ Cache-Control:
655
+ - max-age=0, private, must-revalidate
656
+ X-Request-Id:
657
+ - ef57e79d-a610-4fd6-b80b-c00cb34e9daa
658
+ X-Runtime:
659
+ - '0.110822'
660
+ X-Powered-By:
661
+ - Phusion Passenger 4.0.29
662
+ Status:
663
+ - 200 OK
664
+ Transfer-Encoding:
665
+ - chunked
666
+ Content-Type:
667
+ - text/uri-list; charset=utf-8
668
+ body:
669
+ encoding: US-ASCII
670
+ string: ! 'https://localhost:3300/network/1
671
+
672
+ https://localhost:3300/network/2
673
+
674
+ https://localhost:3300/network/12
675
+
676
+ https://localhost:3300/network/61'
677
+ http_version:
678
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
679
+ - request:
680
+ method: get
681
+ uri: https://rocci-test:edited@localhost:3300/network/1
682
+ body:
683
+ encoding: US-ASCII
684
+ string: ''
685
+ headers:
686
+ Accept:
687
+ - text/plain,text/occi
688
+ User-Agent:
689
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
690
+ response:
691
+ status:
692
+ code: 200
693
+ message: OK
694
+ headers:
695
+ Date:
696
+ - Thu, 01 Jan 1970 00:00:00 GMT
697
+ Server:
698
+ - Apache/2.2.22 (Debian)
699
+ X-Frame-Options:
700
+ - SAMEORIGIN
701
+ X-Xss-Protection:
702
+ - 1; mode=block
703
+ X-Content-Type-Options:
704
+ - nosniff
705
+ X-Ua-Compatible:
706
+ - chrome=1
707
+ Etag:
708
+ - ! '"520008eea1804480ce7aa5de376f469a"'
709
+ Cache-Control:
710
+ - max-age=0, private, must-revalidate
711
+ X-Request-Id:
712
+ - c95a70b0-10f0-4a91-80aa-0bea68cb4264
713
+ X-Runtime:
714
+ - '0.098803'
715
+ X-Powered-By:
716
+ - Phusion Passenger 4.0.29
717
+ Status:
718
+ - 200 OK
719
+ Vary:
720
+ - Accept-Encoding
721
+ Transfer-Encoding:
722
+ - chunked
723
+ Content-Type:
724
+ - text/plain; charset=utf-8
725
+ body:
726
+ encoding: US-ASCII
727
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
728
+
729
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
730
+
731
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
732
+
733
+ X-OCCI-Attribute: occi.core.id="1"
734
+
735
+ X-OCCI-Attribute: occi.core.title="public"
736
+
737
+ X-OCCI-Attribute: occi.network.vlan=0
738
+
739
+ X-OCCI-Attribute: occi.network.state="active"
740
+
741
+ X-OCCI-Attribute: occi.network.allocation="static"
742
+
743
+ X-OCCI-Attribute: org.opennebula.network.id="1"
744
+
745
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
746
+
747
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"'
748
+ http_version:
749
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
750
+ - request:
751
+ method: get
752
+ uri: https://rocci-test:edited@localhost:3300/network/2
753
+ body:
754
+ encoding: US-ASCII
755
+ string: ''
756
+ headers:
757
+ Accept:
758
+ - text/plain,text/occi
759
+ User-Agent:
760
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
761
+ response:
762
+ status:
763
+ code: 200
764
+ message: OK
765
+ headers:
766
+ Date:
767
+ - Thu, 01 Jan 1970 00:00:00 GMT
768
+ Server:
769
+ - Apache/2.2.22 (Debian)
770
+ X-Frame-Options:
771
+ - SAMEORIGIN
772
+ X-Xss-Protection:
773
+ - 1; mode=block
774
+ X-Content-Type-Options:
775
+ - nosniff
776
+ X-Ua-Compatible:
777
+ - chrome=1
778
+ Etag:
779
+ - ! '"32fef72715c995b921f78decfe79cad0"'
780
+ Cache-Control:
781
+ - max-age=0, private, must-revalidate
782
+ X-Request-Id:
783
+ - c0dbf75c-a999-4f21-8de4-6ba8de1ce06c
784
+ X-Runtime:
785
+ - '0.032781'
786
+ X-Powered-By:
787
+ - Phusion Passenger 4.0.29
788
+ Status:
789
+ - 200 OK
790
+ Vary:
791
+ - Accept-Encoding
792
+ Transfer-Encoding:
793
+ - chunked
794
+ Content-Type:
795
+ - text/plain; charset=utf-8
796
+ body:
797
+ encoding: US-ASCII
798
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
799
+
800
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
801
+
802
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
803
+
804
+ X-OCCI-Attribute: occi.core.id="2"
805
+
806
+ X-OCCI-Attribute: occi.core.title="monitoring"
807
+
808
+ X-OCCI-Attribute: occi.network.vlan=0
809
+
810
+ X-OCCI-Attribute: occi.network.state="active"
811
+
812
+ X-OCCI-Attribute: occi.network.allocation="dynamic"
813
+
814
+ X-OCCI-Attribute: org.opennebula.network.id="2"
815
+
816
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
817
+
818
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
819
+
820
+ X-OCCI-Attribute: org.opennebula.network.ip_start="192.168.254.1"
821
+
822
+ X-OCCI-Attribute: org.opennebula.network.ip_end="192.168.254.254"'
823
+ http_version:
824
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
825
+ - request:
826
+ method: get
827
+ uri: https://rocci-test:edited@localhost:3300/network/12
828
+ body:
829
+ encoding: US-ASCII
830
+ string: ''
831
+ headers:
832
+ Accept:
833
+ - text/plain,text/occi
834
+ User-Agent:
835
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
836
+ response:
837
+ status:
838
+ code: 200
839
+ message: OK
840
+ headers:
841
+ Date:
842
+ - Thu, 01 Jan 1970 00:00:00 GMT
843
+ Server:
844
+ - Apache/2.2.22 (Debian)
845
+ X-Frame-Options:
846
+ - SAMEORIGIN
847
+ X-Xss-Protection:
848
+ - 1; mode=block
849
+ X-Content-Type-Options:
850
+ - nosniff
851
+ X-Ua-Compatible:
852
+ - chrome=1
853
+ Etag:
854
+ - ! '"8f7f1abfa2344149a2b39fdd40307f1b"'
855
+ Cache-Control:
856
+ - max-age=0, private, must-revalidate
857
+ X-Request-Id:
858
+ - 17629a11-d075-4509-9bf8-31335857bbdc
859
+ X-Runtime:
860
+ - '0.114307'
861
+ X-Powered-By:
862
+ - Phusion Passenger 4.0.29
863
+ Status:
864
+ - 200 OK
865
+ Vary:
866
+ - Accept-Encoding
867
+ Transfer-Encoding:
868
+ - chunked
869
+ Content-Type:
870
+ - text/plain; charset=utf-8
871
+ body:
872
+ encoding: US-ASCII
873
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
874
+
875
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
876
+
877
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
878
+
879
+ X-OCCI-Attribute: occi.core.id="12"
880
+
881
+ X-OCCI-Attribute: occi.core.title="private"
882
+
883
+ X-OCCI-Attribute: occi.network.vlan=0
884
+
885
+ X-OCCI-Attribute: occi.network.state="active"
886
+
887
+ X-OCCI-Attribute: occi.network.allocation="static"
888
+
889
+ X-OCCI-Attribute: org.opennebula.network.id="12"
890
+
891
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
892
+
893
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
894
+
895
+ X-OCCI-Attribute: org.opennebula.network.ip_start="10.4.0.1"
896
+
897
+ X-OCCI-Attribute: org.opennebula.network.ip_end="10.4.0.254"'
898
+ http_version:
899
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
900
+ - request:
901
+ method: get
902
+ uri: https://rocci-test:edited@localhost:3300/network/61
903
+ body:
904
+ encoding: US-ASCII
905
+ string: ''
906
+ headers:
907
+ Accept:
908
+ - text/plain,text/occi
909
+ User-Agent:
910
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
911
+ response:
912
+ status:
913
+ code: 200
914
+ message: OK
915
+ headers:
916
+ Date:
917
+ - Thu, 01 Jan 1970 00:00:00 GMT
918
+ Server:
919
+ - Apache/2.2.22 (Debian)
920
+ X-Frame-Options:
921
+ - SAMEORIGIN
922
+ X-Xss-Protection:
923
+ - 1; mode=block
924
+ X-Content-Type-Options:
925
+ - nosniff
926
+ X-Ua-Compatible:
927
+ - chrome=1
928
+ Etag:
929
+ - ! '"196edf4c90de839d1e3b438ccf34dede"'
930
+ Cache-Control:
931
+ - max-age=0, private, must-revalidate
932
+ X-Request-Id:
933
+ - 14734b95-a50b-4b3c-bf15-36bc30d69104
934
+ X-Runtime:
935
+ - '0.113205'
936
+ X-Powered-By:
937
+ - Phusion Passenger 4.0.29
938
+ Status:
939
+ - 200 OK
940
+ Vary:
941
+ - Accept-Encoding
942
+ Transfer-Encoding:
943
+ - chunked
944
+ Content-Type:
945
+ - text/plain; charset=utf-8
946
+ body:
947
+ encoding: US-ASCII
948
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
949
+
950
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
951
+
952
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
953
+
954
+ X-OCCI-Attribute: occi.core.id="61"
955
+
956
+ X-OCCI-Attribute: occi.core.title="hubik-dev"
957
+
958
+ X-OCCI-Attribute: occi.network.vlan=0
959
+
960
+ X-OCCI-Attribute: occi.network.state="active"
961
+
962
+ X-OCCI-Attribute: occi.network.address="10.0.0.0/24"
963
+
964
+ X-OCCI-Attribute: occi.network.allocation="dynamic"
965
+
966
+ X-OCCI-Attribute: org.opennebula.network.id="61"
967
+
968
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
969
+
970
+ X-OCCI-Attribute: org.opennebula.network.bridge="br0"
971
+
972
+ X-OCCI-Attribute: org.opennebula.network.ip_start="10.0.0.1"
973
+
974
+ X-OCCI-Attribute: org.opennebula.network.ip_end="10.0.0.254"'
975
+ http_version:
976
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
977
+ recorded_with: VCR 2.8.0