Files
nova/doc/v3/api_samples/os-server-usage/server-get-resp.xml
T
guohliu 707d63411d Adds API samples and unitests for os-server-usage V3 extension
Partially implements blueprint v3-api-unittests

Change-Id: I21c9301f53e0e0d85b27a69592bf64eab046ff79
2013-09-18 16:09:25 +08:00

19 lines
1.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<server xmlns:os-server-usage="http://docs.openstack.org/compute/ext/os-server-usage/api/v3" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" status="ACTIVE" updated="2013-08-15T08:12:42Z" user_id="fake" name="new-server-test" created="2013-08-15T08:12:42Z" tenant_id="openstack" access_ip_v4="" progress="0" host_id="f05316395b5e0b792d2f4f75bc54ef97745900629a11a9cf82a9cdf4" id="63bd45d9-c0bd-4825-9520-38d3f88225ae" access_ip_v6="" os-server-usage:launched_at="2013-08-15 08:12:42.949732" os-server-usage:terminated_at="None" key_name="None">
<image id="70a599e0-31e7-49b7-b260-868f441e862b">
<atom:link href="http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b" rel="bookmark"/>
</image>
<flavor id="1">
<atom:link href="http://openstack.example.com/flavors/1" rel="bookmark"/>
</flavor>
<metadata>
<meta key="My Server Name">Apache1</meta>
</metadata>
<addresses>
<network id="private">
<ip version="4" type="fixed" addr="192.168.0.3" mac_addr="aa:bb:cc:dd:ee:ff"/>
</network>
</addresses>
<atom:link href="http://openstack.example.com/v3/servers/63bd45d9-c0bd-4825-9520-38d3f88225ae" rel="self"/>
<atom:link href="http://openstack.example.com/servers/63bd45d9-c0bd-4825-9520-38d3f88225ae" rel="bookmark"/>
</server>