b456a862ad
Adds tests and templates for testing of the server rescue API extension. Tests both json and XML API functionality. Change-Id: Icb241e96ebedde0b6385f8ba60eebd0e768f22da
19 lines
1.1 KiB
XML
19 lines
1.1 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<server xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" status="ACTIVE" updated="2012-09-19T11:44:23Z" hostId="40fdb0f0760c536d8c2bc816c39a8997b80ddcc6368bb8470c009015" name="new-server-test" created="2012-09-19T11:44:23Z" userId="fake" tenantId="openstack" accessIPv4="" accessIPv6="" progress="0" id="70b4263f-bae1-4ac4-a1c5-e5bb193767bc">
|
|
<image id="70a599e0-31e7-49b7-b260-868f441e862b">
|
|
<atom:link href="http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b" rel="bookmark"/>
|
|
</image>
|
|
<flavor id="1">
|
|
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
|
</flavor>
|
|
<metadata>
|
|
<meta key="My Server Name">Apache1</meta>
|
|
</metadata>
|
|
<addresses>
|
|
<network id="private">
|
|
<ip version="4" addr="192.168.0.3"/>
|
|
</network>
|
|
</addresses>
|
|
<atom:link href="http://openstack.example.com/v2/openstack/servers/70b4263f-bae1-4ac4-a1c5-e5bb193767bc" rel="self"/>
|
|
<atom:link href="http://openstack.example.com/openstack/servers/70b4263f-bae1-4ac4-a1c5-e5bb193767bc" rel="bookmark"/>
|
|
</server> |