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,321 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: https://rocci-test:edited@localhost:3300/-/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain,text/occi
12
+ User-Agent:
13
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Date:
20
+ - Thu, 01 Jan 1970 00:00:00 GMT
21
+ Server:
22
+ - Apache/2.2.22 (Debian)
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ X-Ua-Compatible:
30
+ - chrome=1
31
+ Etag:
32
+ - ! '"4ca185da501239625a99fad36f211cb7"'
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - d8027fa0-e4cf-49ee-b4b5-597993a47d9d
37
+ X-Runtime:
38
+ - '0.159299'
39
+ X-Powered-By:
40
+ - Phusion Passenger 4.0.29
41
+ Status:
42
+ - 200 OK
43
+ Vary:
44
+ - Accept-Encoding
45
+ Content-Type:
46
+ - text/plain; charset=utf-8
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
52
+ - request:
53
+ method: get
54
+ uri: https://rocci-test:edited@localhost:3300/-/
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - text/plain,text/occi
61
+ User-Agent:
62
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
63
+ response:
64
+ status:
65
+ code: 200
66
+ message: OK
67
+ headers:
68
+ Date:
69
+ - Thu, 01 Jan 1970 00:00:00 GMT
70
+ Server:
71
+ - Apache/2.2.22 (Debian)
72
+ X-Frame-Options:
73
+ - SAMEORIGIN
74
+ X-Xss-Protection:
75
+ - 1; mode=block
76
+ X-Content-Type-Options:
77
+ - nosniff
78
+ X-Ua-Compatible:
79
+ - chrome=1
80
+ Etag:
81
+ - ! '"4ca185da501239625a99fad36f211cb7"'
82
+ Cache-Control:
83
+ - max-age=0, private, must-revalidate
84
+ X-Request-Id:
85
+ - 42290f32-21fd-4c80-bf9d-83cd1104de3b
86
+ X-Runtime:
87
+ - '0.102157'
88
+ X-Powered-By:
89
+ - Phusion Passenger 4.0.29
90
+ Status:
91
+ - 200 OK
92
+ Vary:
93
+ - Accept-Encoding
94
+ Transfer-Encoding:
95
+ - chunked
96
+ Content-Type:
97
+ - text/plain; charset=utf-8
98
+ body:
99
+ encoding: US-ASCII
100
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
101
+ occi.core.title"
102
+
103
+ 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}
104
+ occi.core.title occi.core.summary"
105
+
106
+ 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}
107
+ occi.core.title occi.core.target occi.core.source"
108
+
109
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
110
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
111
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
112
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
113
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
114
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
115
+
116
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
117
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
118
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
119
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
120
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
121
+
122
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
123
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
124
+ 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
125
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
126
+
127
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
128
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
129
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
130
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
131
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
132
+
133
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
134
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
135
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
136
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
137
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
138
+
139
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
140
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
141
+
142
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
143
+ template";location="/mixin/resource_tpl/"
144
+
145
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
146
+ system template";location="/mixin/os_tpl/"
147
+
148
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
149
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
150
+ occi.network.gateway occi.network.allocation"
151
+
152
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
153
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
154
+ occi.networkinterface.gateway occi.networkinterface.allocation"
155
+
156
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
157
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
158
+ org.openstack.credentials.publickey.data{immutable}"
159
+
160
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
161
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
162
+
163
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
164
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
165
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
166
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
167
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
168
+ org.opennebula.storage.path{immutable}"
169
+
170
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
171
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
172
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
173
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
174
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
175
+ org.opennebula.compute.boot{immutable}"
176
+
177
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
178
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
179
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
180
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
181
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
182
+ org.opennebula.networkinterface.icmp{immutable}"
183
+
184
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
185
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
186
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
187
+
188
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
189
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
190
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
191
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
192
+ org.opennebula.network.ip_end{immutable}"
193
+
194
+ 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/"
195
+
196
+ 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/"
197
+
198
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
199
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
200
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
201
+
202
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
203
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
204
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
205
+
206
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
207
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
208
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
209
+
210
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
211
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
212
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
213
+
214
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
215
+ compute instance"
216
+
217
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
218
+ compute instance";attributes="method"
219
+
220
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
221
+ compute instance";attributes="method"
222
+
223
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
224
+ compute instance";attributes="method"
225
+
226
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
227
+ storage"
228
+
229
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
230
+ storage"
231
+
232
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
233
+ storage"
234
+
235
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
236
+ storage"
237
+
238
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
239
+ storage";attributes="size{required}"
240
+
241
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
242
+ network"
243
+
244
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
245
+ network"
246
+
247
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
248
+ networkinterface"
249
+
250
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
251
+ networkinterface"
252
+
253
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
254
+ storagelink"
255
+
256
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
257
+ storagelink"
258
+
259
+ '
260
+ http_version:
261
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
262
+ - request:
263
+ method: post
264
+ uri: https://rocci-test:edited@localhost:3300/compute/
265
+ body:
266
+ encoding: US-ASCII
267
+ string: ! 'Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
268
+
269
+ Category: uuid_debianvm_5;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin"
270
+
271
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin"
272
+
273
+ X-OCCI-Attribute: occi.core.id="77e5988e-528e-4e1e-925e-1b22714463f7"'
274
+ headers:
275
+ Accept:
276
+ - text/plain,text/occi
277
+ User-Agent:
278
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
279
+ Content-Type:
280
+ - text/plain,text/occi
281
+ response:
282
+ status:
283
+ code: 201
284
+ message: Created
285
+ headers:
286
+ Date:
287
+ - Thu, 01 Jan 1970 00:00:00 GMT
288
+ Server:
289
+ - Apache/2.2.22 (Debian)
290
+ X-Frame-Options:
291
+ - SAMEORIGIN
292
+ X-Xss-Protection:
293
+ - 1; mode=block
294
+ X-Content-Type-Options:
295
+ - nosniff
296
+ X-Ua-Compatible:
297
+ - chrome=1
298
+ Etag:
299
+ - ! '"72636c444bd4123e47c4bb10fe741289"'
300
+ Cache-Control:
301
+ - max-age=0, private, must-revalidate
302
+ X-Request-Id:
303
+ - c8b682fa-1f1c-4a96-83f2-2c71ee751ba2
304
+ X-Runtime:
305
+ - '0.560550'
306
+ X-Powered-By:
307
+ - Phusion Passenger 4.0.29
308
+ Status:
309
+ - 201 Created
310
+ Vary:
311
+ - Accept-Encoding
312
+ Transfer-Encoding:
313
+ - chunked
314
+ Content-Type:
315
+ - text/plain; charset=utf-8
316
+ body:
317
+ encoding: US-ASCII
318
+ string: ! 'X-OCCI-Location: https://localhost:3300/compute/4015'
319
+ http_version:
320
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
321
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,326 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: https://rocci-test:edited@localhost:3300/-/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain,text/occi
12
+ User-Agent:
13
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Date:
20
+ - Thu, 01 Jan 1970 00:00:00 GMT
21
+ Server:
22
+ - Apache/2.2.22 (Debian)
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ X-Ua-Compatible:
30
+ - chrome=1
31
+ Etag:
32
+ - ! '"9616defa1a3d4c527f131e4b922a4532"'
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - 869b5ddd-30f0-46db-b39a-59c56c844d1d
37
+ X-Runtime:
38
+ - '0.178677'
39
+ X-Powered-By:
40
+ - Phusion Passenger 4.0.29
41
+ Status:
42
+ - 200 OK
43
+ Vary:
44
+ - Accept-Encoding
45
+ Content-Type:
46
+ - text/plain; charset=utf-8
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
52
+ - request:
53
+ method: get
54
+ uri: https://rocci-test:edited@localhost:3300/-/
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - text/plain,text/occi
61
+ User-Agent:
62
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
63
+ response:
64
+ status:
65
+ code: 200
66
+ message: OK
67
+ headers:
68
+ Date:
69
+ - Thu, 01 Jan 1970 00:00:00 GMT
70
+ Server:
71
+ - Apache/2.2.22 (Debian)
72
+ X-Frame-Options:
73
+ - SAMEORIGIN
74
+ X-Xss-Protection:
75
+ - 1; mode=block
76
+ X-Content-Type-Options:
77
+ - nosniff
78
+ X-Ua-Compatible:
79
+ - chrome=1
80
+ Etag:
81
+ - ! '"9616defa1a3d4c527f131e4b922a4532"'
82
+ Cache-Control:
83
+ - max-age=0, private, must-revalidate
84
+ X-Request-Id:
85
+ - 75a77452-b783-49cd-8e4c-308cabc89e03
86
+ X-Runtime:
87
+ - '0.172601'
88
+ X-Powered-By:
89
+ - Phusion Passenger 4.0.29
90
+ Status:
91
+ - 200 OK
92
+ Vary:
93
+ - Accept-Encoding
94
+ Transfer-Encoding:
95
+ - chunked
96
+ Content-Type:
97
+ - text/plain; charset=utf-8
98
+ body:
99
+ encoding: US-ASCII
100
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
101
+ occi.core.title"
102
+
103
+ 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}
104
+ occi.core.title occi.core.summary"
105
+
106
+ 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}
107
+ occi.core.title occi.core.target occi.core.source"
108
+
109
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
110
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
111
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
112
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
113
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
114
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
115
+
116
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
117
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
118
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
119
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
120
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
121
+
122
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
123
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
124
+ 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
125
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
126
+
127
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
128
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
129
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
130
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
131
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
132
+
133
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
134
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
135
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
136
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
137
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
138
+
139
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
140
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
141
+
142
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
143
+ template";location="/mixin/resource_tpl/"
144
+
145
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
146
+ system template";location="/mixin/os_tpl/"
147
+
148
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
149
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
150
+ occi.network.gateway occi.network.allocation"
151
+
152
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
153
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
154
+ occi.networkinterface.gateway occi.networkinterface.allocation"
155
+
156
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
157
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name
158
+ org.openstack.credentials.publickey.data"
159
+
160
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
161
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data"
162
+
163
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
164
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
165
+ org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
166
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype
167
+ org.opennebula.storage.path"
168
+
169
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
170
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
171
+ org.opennebula.compute.cpu org.opennebula.compute.kernel org.opennebula.compute.initrd
172
+ org.opennebula.compute.root org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader
173
+ org.opennebula.compute.boot"
174
+
175
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
176
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge
177
+ org.opennebula.networkinterface.script org.opennebula.networkinterface.model
178
+ org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
179
+ org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
180
+ org.opennebula.networkinterface.icmp"
181
+
182
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
183
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus
184
+ org.opennebula.storagelink.driver org.opennebula.storagelink.dev_prefix"
185
+
186
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
187
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
188
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
189
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
190
+
191
+ 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/"
192
+
193
+ 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/"
194
+
195
+ Category: uuid_monitoring_hubik_1279;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring-hubik";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_monitoring_hubik_1279/"
196
+
197
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
198
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture{immutable}
199
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
200
+
201
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
202
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture{immutable}
203
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
204
+
205
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
206
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
207
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
208
+
209
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
210
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
211
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
212
+
213
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
214
+ compute instance"
215
+
216
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
217
+ compute instance";attributes="method"
218
+
219
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
220
+ compute instance";attributes="method"
221
+
222
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
223
+ compute instance";attributes="method"
224
+
225
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
226
+ storage"
227
+
228
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
229
+ storage"
230
+
231
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
232
+ storage"
233
+
234
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
235
+ storage"
236
+
237
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
238
+ storage";attributes="size{required}"
239
+
240
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
241
+ network"
242
+
243
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
244
+ network"
245
+
246
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
247
+ networkinterface"
248
+
249
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
250
+ networkinterface"
251
+
252
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
253
+ storagelink"
254
+
255
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
256
+ storagelink"
257
+
258
+ '
259
+ http_version:
260
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
261
+ - request:
262
+ method: post
263
+ uri: https://rocci-test:edited@localhost:3300/network/
264
+ body:
265
+ encoding: US-ASCII
266
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
267
+
268
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
269
+
270
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
271
+
272
+ X-OCCI-Attribute: occi.core.id="6fcd3491-2969-43d9-b26b-106956ff40aa"
273
+
274
+ X-OCCI-Attribute: occi.core.title="privatetest"
275
+
276
+ X-OCCI-Attribute: occi.network.allocation="static"
277
+
278
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"'
279
+ headers:
280
+ Accept:
281
+ - text/plain,text/occi
282
+ User-Agent:
283
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
284
+ Content-Type:
285
+ - text/plain,text/occi
286
+ response:
287
+ status:
288
+ code: 201
289
+ message: Created
290
+ headers:
291
+ Date:
292
+ - Thu, 01 Jan 1970 00:00:00 GMT
293
+ Server:
294
+ - Apache/2.2.22 (Debian)
295
+ X-Frame-Options:
296
+ - SAMEORIGIN
297
+ X-Xss-Protection:
298
+ - 1; mode=block
299
+ X-Content-Type-Options:
300
+ - nosniff
301
+ X-Ua-Compatible:
302
+ - chrome=1
303
+ Etag:
304
+ - ! '"60296ae8244053be0315c516bfa5a821"'
305
+ Cache-Control:
306
+ - max-age=0, private, must-revalidate
307
+ X-Request-Id:
308
+ - fd8836e6-f1f6-4f72-81fe-e0cba8a8d7fe
309
+ X-Runtime:
310
+ - '0.282099'
311
+ X-Powered-By:
312
+ - Phusion Passenger 4.0.29
313
+ Status:
314
+ - 201 Created
315
+ Vary:
316
+ - Accept-Encoding
317
+ Transfer-Encoding:
318
+ - chunked
319
+ Content-Type:
320
+ - text/plain; charset=utf-8
321
+ body:
322
+ encoding: US-ASCII
323
+ string: ! 'X-OCCI-Location: https://localhost:3300/network/63'
324
+ http_version:
325
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
326
+ recorded_with: VCR 2.8.0