root / api / templates / image.xml @ f4fe8796
History | View | Annotate | Download (549 Bytes)
1 |
{% spaceless %} |
---|---|
2 |
<?xml version="1.0" encoding="UTF-8"?>
|
3 |
<image xmlns="http://docs.openstack.org/compute/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" id="{{ image.id }}" name="{{ image.name }}" serverRef="{{ image.serverRef }}" updated="{{ image.updated }}" created="{{ image.created }}" status="{{ image.status }}" progress="{{ image.progress }}"> |
4 |
|
5 |
{% if image.metadata %} |
6 |
<metadata>
|
7 |
{% for key, val in image.metadata.values.items %} |
8 |
<meta key="{{ key }}">{{ val }}</meta> |
9 |
{% endfor %} |
10 |
</metadata>
|
11 |
{% endif %} |
12 |
|
13 |
</image>
|
14 |
{% endspaceless %} |