{% extends "base.html" %} {% load ch_extras %} {% block head %} {% endblock %} {% block content %}

Set FlowSpace for Slice {{ slice.name }}

1. Select OpenFlow Ports 2. Select/Modify Flowspace

Each table below describes a class of traffic to be received by your controller. Each field is specified as a range. Empty cells mean any value. The tables are OR'ed together to produce a rule.

For example, if you want to receive packets tagged with the VLAN 2012, then you will need to set this value in both columns corresponding to the "VLAN ID" row. Or you may choose a small range of values.

If you need to define more FlowSpaces, click "Define another FlowSpace" and an additional empty table will be displayed.

{% csrf_token %} {{ fsformset.management_form }} {% for form in fsformset.forms %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endfor %}
{% for form in fsformset.forms %}

Flowspace {{ forloop.counter }} ({% if form.initial %}saved{% else %}unsaved{% endif %})

{{ form.non_field_errors }}
FieldFromTo
MAC Source {{ form.dl_src_start.errors }} {{ form.dl_src_start.label_tag }} {{ form.dl_src_start }} {{ form.dl_src_end.errors }} {{ form.dl_src_end.label_tag }} {{ form.dl_src_end }}
MAC Destination {{ form.dl_dst_start.errors }} {{ form.dl_dst_start.label_tag }} {{ form.dl_dst_start }} {{ form.dl_dst_end.errors }} {{ form.dl_dst_end.label_tag }} {{ form.dl_dst_end }}
Ethernet Type {{ form.dl_type_start.errors }} {{ form.dl_type_start.label_tag }} {{ form.dl_type_start }} {{ form.dl_type_end.errors }} {{ form.dl_type_end.label_tag }} {{ form.dl_type_end }}
VLAN ID {{ form.vlan_id_start.errors }} {{ form.vlan_id_start.label_tag }} {{ form.vlan_id_start }} {{ form.vlan_id_end.errors }} {{ form.vlan_id_end.label_tag }} {{ form.vlan_id_end }}
IP Source {{ form.nw_src_start.errors }} {{ form.nw_src_start.label_tag }} {{ form.nw_src_start }} {{ form.nw_src_end.errors }} {{ form.nw_src_end.label_tag }} {{ form.nw_src_end }}
IP Destination {{ form.nw_dst_start.errors }} {{ form.nw_dst_start.label_tag }} {{ form.nw_dst_start }} {{ form.nw_dst_end.errors }} {{ form.nw_dst_end.label_tag }} {{ form.nw_dst_end }}
IP Protocol {{ form.nw_proto_start.errors }} {{ form.nw_proto_start.label_tag }} {{ form.nw_proto_start }} {{ form.nw_proto_end.errors }} {{ form.nw_proto_end.label_tag }} {{ form.nw_proto_end }}
TCP/UDP Source {{ form.tp_src_start.errors }} {{ form.tp_src_start.label_tag }} {{ form.tp_src_start }} {{ form.tp_src_end.errors }} {{ form.tp_src_end.label_tag }} {{ form.tp_src_end }}
TCP/UDP Destination {{ form.tp_dst_start.errors }} {{ form.tp_dst_start.label_tag }} {{ form.tp_dst_start }} {{ form.tp_dst_end.errors }} {{ form.tp_dst_end.label_tag }} {{ form.tp_dst_end }}
Ports {{ form.slivers.errors }} {{ form.slivers.label_tag }} {{ form.slivers }}
Delete? {{ form.DELETE }}
{% endfor %} {% if done %} {% else %} {% endif %}
{% endblock %}