Sha256: bf1e2d5c888402670b842b5241d6c57a1296172d1266c4a690591c8f65858c26

Contents?: true

Size: 1.64 KB

Versions: 5

Compression:

Stored size: 1.64 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :post
    uri: http://<USER>:<PASS>@<URL>:80/settings/hypervisors.json?hypervisor%5Blabel%5D=A+new+hypervisor&hypervisor%5Bip_address%5D=127.126.126.126&hypervisor%5Bhypervisor_type%5D=xen
    body: 
    headers: 
      content-type: 
      - application/json
      authorization: 
      - Basic <REDACTED>
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 201
      message: Created
    headers: 
      x-ua-compatible: 
      - IE=Edge,chrome=1
      location: 
      - http://<URL>/settings/hypervisors/9
      x-powered-by: 
      - Phusion Passenger (mod_rails/mod_rack) 3.0.1
      content-type: 
      - application/json; charset=utf-8
      x-runtime: 
      - "0.039541"
      server: 
      - Apache/2.2.3 (CentOS)
      date: 
      - Tue, 14 Feb 2012 21:59:37 GMT
      set-cookie: 
      - <REDACTED>
      status: 
      - "201"
      cache-control: 
      - no-cache
      transfer-encoding: 
      - chunked
    body: "{\"hypervisor\":{\"called_in_at\":null,\"disable_failover\":false,\"label\":\"A new hypervisor\",\"redis_password\":null,\"created_at\":\"2012-02-14T21:59:37Z\",\"spare\":false,\"hypervisor_type\":\"xen\",\"used_cpu_resources\":0,\"updated_at\":\"2012-02-14T21:59:37Z\",\"enabled\":true,\"hypervisor_group_id\":null,\"id\":9,\"xen_info\":null,\"failure_count\":0,\"health\":null,\"total_cpus\":0,\"total_memory\":0,\"memory_overhead\":464,\"cpu_cores\":0,\"free_memory\":-464,\"ip_address\":\"127.126.126.126\",\"locked\":false,\"online\":false,\"data_store_free_space\":0}}"
    http_version: "1.1"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
squall-1.4.0 spec/vcr_cassettes/hypervisor/create.yml
squall-1.3.1 spec/vcr_cassettes/hypervisor/create.yml
squall-1.3.0 spec/vcr_cassettes/hypervisor/create.yml
squall-1.2.1beta1 spec/vcr_cassettes/hypervisor/create.yml
squall-1.2.0beta1 spec/vcr_cassettes/hypervisor/create.yml