Revision a62a4d20 api/templates/image.xml

b/api/templates/image.xml
1
{% spaceless %}
1 2
<?xml version="1.0" encoding="UTF-8"?>
2
<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 }}"> </image>
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
</image>
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
{% endspaceless %}

Also available in: Unified diff