Sha256: 583e0090cc1b9c8d9220ba50a4014741566628bc7cea40f5855a33d6f3154541

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :post
    uri: http://oneadmin:a9464e3228ae563be6207bbf50437a219550f48b@one.example.com:4567/compute
    body: |
      <?xml version="1.0"?>
      <COMPUTE>
        <NAME>Test Framework</NAME>
        <INSTANCE_TYPE>small</INSTANCE_TYPE>
        <DISK>
          <STORAGE href="http://www.opennebula.org/storage/11"/>
        </DISK>
        <NIC>
          <NETWORK href="http://www.opennebula.org/network/14"/>
        </NIC>
        <CONTEXT>
          <NETWORK_NAME>10.3.172.0</NETWORK_NAME>
        </CONTEXT>
      </COMPUTE>

    headers: 
      accept: 
      - application/xml
      content-type: 
      - application/xml
      connection: 
      - keep-alive
      keep-alive: 
      - 30
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 201
      message: Created
    headers: 
      content-type: 
      - text/html;charset=utf-8
      content-length: 
      - "715"
      connection: 
      - keep-alive
      server: 
      - thin 1.2.7 codename No Hup
    body: <COMPUTE href="http://cm-01.cloud.int.ev1.atti.com:4567/compute/135"><ID>135</ID><NAME>Test Framework</NAME><INSTANCE_TYPE>small</INSTANCE_TYPE><STATE>PENDING</STATE><DISK><STORAGE href="http://cm-01.cloud.int.ev1.atti.com:4567/storage/11" name="Centos 5.4 x86_64"/><TYPE>DISK</TYPE><TARGET>hda</TARGET></DISK><NIC><NETWORK href="http://cm-01.cloud.int.ev1.atti.com:4567/network/14" name="10.3.172.0"/><IP>10.3.172.25</IP><MAC>02:00:0a:03:ac:19</MAC></NIC><CONTEXT><FILES>/opt/tpkg/opennebula-2.0/../var/opennebula-2.0/templates/context/init.sh</FILES><GATEWAY>10.3.172.1</GATEWAY><HOSTNAME>02:00:0a:03:ac:19</HOSTNAME><IP_PUBLIC>10.3.172.25</IP_PUBLIC><NETMASK>/23</NETMASK><TARGET>hdc</TARGET></CONTEXT></COMPUTE>
    http_version: "1.1"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
occi-1.0.1 test/fixtures/cassettes/computes_post.yml
occi-1.0.0 test/fixtures/cassettes/computes_post.yml