Statistics
| Branch: | Tag: | Revision:

root / api / templates / list_images.xml @ a62a4d20

History | View | Annotate | Download (588 Bytes)

1 c36934a7 Giorgos Verigakis
{% spaceless %}
2 c36934a7 Giorgos Verigakis
<?xml version="1.0" encoding="UTF-8"?>
3 c36934a7 Giorgos Verigakis
<images xmlns="http://docs.openstack.org/compute/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom">
4 c36934a7 Giorgos Verigakis
  {% for image in images %}
5 c36934a7 Giorgos Verigakis
  <image id="{{ image.id }}" name="{{ image.name }}"{% if  %} updated="{{ image.updated }}" created="{{ image.created }}" status="{{ image.status }}"{% endif %}>
6 a62a4d20 Giorgos Verigakis
  {% if image.metadata %}
7 a62a4d20 Giorgos Verigakis
  <metadata>
8 a62a4d20 Giorgos Verigakis
    {% for key, val in image.metadata.values.items %}
9 a62a4d20 Giorgos Verigakis
    <meta key="{{ key }}">{{ val }}</meta>
10 a62a4d20 Giorgos Verigakis
    {% endfor %}
11 a62a4d20 Giorgos Verigakis
  </metadata>
12 a62a4d20 Giorgos Verigakis
  {% endif %}
13 c36934a7 Giorgos Verigakis
  </image>
14 c36934a7 Giorgos Verigakis
  {% endfor %}
15 c36934a7 Giorgos Verigakis
</images>
16 c36934a7 Giorgos Verigakis
{% endspaceless %}