Revision a62a4d20 api/templates/list_images.xml

b/api/templates/list_images.xml
3 3
<images xmlns="http://docs.openstack.org/compute/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom">
4 4
  {% for image in images %}
5 5
  <image id="{{ image.id }}" name="{{ image.name }}"{% if detail %} updated="{{ image.updated }}" created="{{ image.created }}" status="{{ image.status }}"{% endif %}>
6
  {% if image.metadata %}
7
  <metadata>
8
    {% for key, val in image.metadata.values.items %}
9
    <meta key="{{ key }}">{{ val }}</meta>
10
    {% endfor %}
11
  </metadata>
12
  {% endif %}
6 13
  </image>
7 14
  {% endfor %}
8 15
</images>

Also available in: Unified diff