Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api / templates / list_networks.xml @ 5db2001a

History | View | Annotate | Download (577 Bytes)

1 f533f224 Vangelis Koukis
{% spaceless %}
2 f533f224 Vangelis Koukis
<?xml version="1.0" encoding="UTF-8"?>
3 f533f224 Vangelis Koukis
<networks xmlns="http://docs.openstack.org/compute/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom">
4 f533f224 Vangelis Koukis
  {% for network in networks %}
5 f533f224 Vangelis Koukis
  <network id="{{ network.id }}" name="{{ network.name }}"{% if  %} updated="{{ network.updated }}" created="{{ network.created }}"{% endif %}>
6 f533f224 Vangelis Koukis
7 5db2001a Marios Kogias
  {% if network.subnets %}
8 5db2001a Marios Kogias
  <subnets>
9 5db2001a Marios Kogias
    {% for subnet_id in network.subnets.values %}
10 5db2001a Marios Kogias
    <subnet id="{{ server_id }}"></subnet>
11 f533f224 Vangelis Koukis
    {% endfor %}
12 5db2001a Marios Kogias
  </subnets>
13 f533f224 Vangelis Koukis
  {% endif %}
14 f533f224 Vangelis Koukis
15 f533f224 Vangelis Koukis
  </network>
16 f533f224 Vangelis Koukis
  {% endfor %}
17 f533f224 Vangelis Koukis
</networks>
18 f533f224 Vangelis Koukis
{% endspaceless %}