
Removes V3 API images and image_metadata extensions as the same functionality can be accessed directly through glance. Also removes the associated testcases. There is a discussion about the decision here: http://lists.openstack.org/pipermail/openstack-dev/2013-August/012958.html Fixes the image bookmark links in server information requests so they point to glance Partially implements blueprint nova-v3-api Change-Id: Id32be0c0794b0f4dd220a928345ddf0133e9ffca
20 lines
895 B
Smarty
20 lines
895 B
Smarty
<?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="%(timestamp)s" user_id="fake" name="new-server-test" created="%(timestamp)s" tenant_id="openstack" access_ip_v4="" progress="0" host_id="%(hostid)s" id="%(id)s" access_ip_v6="">
|
|
<image id="%(uuid)s">
|
|
<atom:link href="%(glance_host)s/images/%(uuid)s" rel="bookmark"/>
|
|
</image>
|
|
<flavor id="1">
|
|
<atom:link href="%(host)s/flavors/1" rel="bookmark"/>
|
|
</flavor>
|
|
<metadata>
|
|
<meta key="My Server Name">Apache1</meta>
|
|
</metadata>
|
|
<addresses>
|
|
<network id="private">
|
|
<ip version="4" type="fixed" addr="%(ip)s" mac_addr="aa:bb:cc:dd:ee:ff"/>
|
|
</network>
|
|
</addresses>
|
|
<atom:link href="%(host)s/v3/servers/%(uuid)s" rel="self"/>
|
|
<atom:link href="%(host)s/servers/%(uuid)s" rel="bookmark"/>
|
|
</server>
|