{% extends "base.html" %} {% block title %}{% if editing %}Edit{% else %}Add{% endif %} plan - RadiusForge{% endblock %} {% block content %}

{% if editing %}Edit {{ editing.name }}{% else %}Add plan{% endif %}

Hover over a field's label for an explanation. The speed fields change with the router type you pick, because each vendor controls speed differently.

{% csrf_token %} {{ form.organization }} {{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %} {{ form.vendor }} {% if form.vendor.errors %}
{{ form.vendor.errors }}
{% endif %}
{{ form.download_mbps }} {% if form.download_mbps.help_text %}
{{ form.download_mbps.help_text }}
{% endif %} {{ form.upload_mbps }} {% if form.upload_mbps.help_text %}
{{ form.upload_mbps.help_text }}
{% endif %}
{{ form.primary_profile_name }}
{{ form.primary_profile_name.help_text }}
{{ form.secondary_profile_name }}
{{ form.secondary_profile_name.help_text }}
{{ form.shaping_rate_kbps }}
{{ form.shaping_rate_kbps.help_text }}
{{ form.simultaneous_use }} {{ form.session_timeout_minutes }} {% if form.session_timeout_minutes.help_text %}
{{ form.session_timeout_minutes.help_text }}
{% endif %} {{ form.idle_timeout_minutes }} {% if form.idle_timeout_minutes.help_text %}
{{ form.idle_timeout_minutes.help_text }}
{% endif %}

Allowances

{{ form.data_cap_gb }}
{{ form.data_cap_gb.help_text }}
{% if form.data_cap_gb.errors %}
{{ form.data_cap_gb.errors }}
{% endif %} {{ form.time_cap_hours }}
{{ form.time_cap_hours.help_text }} When either allowance is used up, the choice below applies.
{% if form.time_cap_hours.errors %}
{{ form.time_cap_hours.errors }}
{% endif %} {{ form.cap_counts }} {{ form.cap_action }} {% if form.cap_action.errors %}
{{ form.cap_action.errors }}
{% endif %}
{{ form.cap_slow_download_mbps }} {% if form.cap_slow_download_mbps.errors %}
{{ form.cap_slow_download_mbps.errors }}
{% endif %} {{ form.cap_slow_upload_mbps }} {% if form.cap_slow_upload_mbps.errors %}
{{ form.cap_slow_upload_mbps.errors }}
{% endif %}
{{ form.is_active }}
Cancel
{% if editing %}

Advanced attributes

Extra RADIUS attributes on top of the settings above: a fixed IP address, a DNS server, a firewall filter and more. Pick from the list rather than typing a raw attribute name; each option explains the value it expects.

{% if extra_attributes %} {% for extra in extra_attributes %} {% endfor %}
AttributeValueActions
{{ extra.attribute }} {{ extra.value }}
{% csrf_token %}
{% else %}

No advanced attributes on this plan.

{% endif %}
{% csrf_token %} {{ attribute_form.attribute }} {{ attribute_form.value }}
{% endif %} {% endblock %}