{% load ch_extras %} {% block content %} {% load flowspace %} {# Loads Jinja filters for FlowSpaces #} {# PLANETLAB #} {% if planetlab_aggs %}

Select PlanetLab Nodes

{% endif %} {% for agg in planetlab_aggs %}

• PlanetLab Aggregate {{ agg.name }}

Aggregate physical location: {{ agg.location }}.
{% for rsc in agg.resource_set.all %} {% if rsc.available and rsc|leaf_class_is:planetlab_node_class %} {% with rsc.as_leaf_class as node %} {% endwith %} {% endif %} {% endfor %}
Hostname Connections
{{ node.name }} {% for cnxn in rsc.openflow_connections.all %} {% with cnxn.of_iface as neighbor %} {% endwith %} {% endfor %}
Connected to datapath {{ neighbor.switch.datapath_id }} at port {{ neighbor.port_num }}
{% endfor %} {# OPENFLOW #} {% for agg in openflow_aggs %}

• OpenFlow Aggregate: {{ agg.name }}

{% empty %} {% endfor %} {% endblock content %}