summaryrefslogtreecommitdiff
path: root/nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl')
-rw-r--r--nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl b/nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl
new file mode 100644
index 0000000000..8b97dc28d7
--- /dev/null
+++ b/nova/tests/unit/integrated/api_samples/servers-list-resp.json.tpl
@@ -0,0 +1,18 @@
+{
+ "servers": [
+ {
+ "id": "%(id)s",
+ "links": [
+ {
+ "href": "%(host)s/v2/openstack/servers/%(id)s",
+ "rel": "self"
+ },
+ {
+ "href": "%(host)s/openstack/servers/%(id)s",
+ "rel": "bookmark"
+ }
+ ],
+ "name": "new-server-test"
+ }
+ ]
+}