2015/07/20 - Apache Deltacloud has been retired.

For more information, please explore the Attic.


Machine Configuration

The Machine Configuration resource represents the set of configuration values that define the (virtual) hardware resources of a to-be-realized Machine Instance. Machine Configurations are created by Providers and may, at the Providers discretion, be created by Consumers. A Machine Configuration Collection resource represents the collection of Machine Configuration resources within a Provider


Retrieve the Machine Configuration Collection

Example request:

GET /cimi/machine_configurations HTTP/1.1
Authorization: Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent: curl/7.24.0 (i686-redhat-linux-gnu)
Host: localhost:3001
Accept: application/xml

Server response:

HTTP/1.1 200 OK
Content-Type: application/xml
CIMI-Specification-Version: 1.0.1
Content-Length: 1504
ETag: 69348a8afa58a1c35b6cfad7c4066a9e
Cache-Control: max-age=0, private, must-revalidate
Date: Wed, 02 Jan 2013 14:12:23 GMT
Connection: keep-alive
Server: thin 1.5.0 codename Knife

<Collection xmlns="http://schemas.dmtf.org/cimi/1"
          resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfigurationCollection">
  <id>http://localhost:3001/cimi/machine_configurations</id>
  <count>3</count>
  <MachineConfiguration>
    <id>http://localhost:3001/cimi/machine_configurations/m1-small</id>
    <name>m1-small</name>
    <description>Machine Configuration with 1782579 KiB of memory and 1 CPU</description>
    <created>2013-01-02T16:12:23+02:00</created>
    <cpu>1</cpu>
    <memory>1782579</memory>
    <disk>
      <capacity>167772160</capacity>
      <format>unknown</format>
    </disk>
  </MachineConfiguration>
  <MachineConfiguration>
    <id>http://localhost:3001/cimi/machine_configurations/m1-large</id>
    <name>m1-large</name>
    <description>Machine Configuration with 10485760 KiB of memory and 1 CPU</description>
    <created>2013-01-02T16:12:23+02:00</created>
    <cpu>1</cpu>
    <memory>10485760</memory>
    <disk>
      <capacity>891289600</capacity>
      <format>unknown</format>
    </disk>
  </MachineConfiguration>
  <MachineConfiguration>
    <id>http://localhost:3001/cimi/machine_configurations/m1-xlarge</id>
    <name>m1-xlarge</name>
    <description>Machine Configuration with 12582912 KiB of memory and 4 CPU</description>
    <created>2013-01-02T16:12:23+02:00</created>
    <cpu>4</cpu>
    <memory>12582912</memory>
    <disk>
      <capacity>1073741824</capacity>
      <format>unknown</format>
    </disk>
  </MachineConfiguration>
</Collection>

Retrieve a single Machine Configuration

Example request:

GET /cimi/machine_configurations/m1-large HTTP/1.1
Authorization: Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent: curl/7.24.0 (i686-redhat-linux-gnu)
Host: localhost:3001
Accept: application/xml

Server response:

HTTP/1.1 200 OK
Content-Type: application/xml
CIMI-Specification-Version: 1.0.1
Content-Length: 508
ETag: 33c094bbcec51437860280fd053f1023
Cache-Control: max-age=0, private, must-revalidate
Date: Wed, 02 Jan 2013 14:20:52 GMT
Connection: keep-alive
Server: thin 1.5.0 codename Knife

<MachineConfiguration xmlns="http://schemas.dmtf.org/cimi/1"
          resourceURI="http://schemas.dmtf.org/cimi/1/MachineConfiguration">
  <id>http://localhost:3001/cimi/machine_configurations/m1-large</id>
  <name>m1-large</name>
  <description>Machine Configuration with 10485760 KiB of memory and 1 CPU</description>
  <created>2013-01-02T16:20:52+02:00</created>
  <cpu>1</cpu>
  <memory>10485760</memory>
  <disk>
    <capacity>891289600</capacity>
    <format>unknown</format>
  </disk>
</MachineConfiguration>