{% extends 'django_openstack/dash/base.html' %} {% block sidebar %} {% with current_sidebar="security_groups" %} {{block.super}} {% endwith %} {% endblock %} {% block page_header %} {% include "django_openstack/common/_page_header.html" with title="Edit Security Group Rules" %} {% endblock page_header %} {% block dash_main %}

Rules for Security Group '{{security_group.name}}'

{% for rule in security_group.rules %} {% empty %} {% endfor %}
IP Protocol From Port To Port CIDR Actions
{{ rule.ip_protocol }} {{ rule.from_port }} {{ rule.to_port }} {{rule.ip_range.cidr}}
  • {% include "django_openstack/dash/security_groups/_delete_rule.html" with form=delete_form %}
No rules for this security group

Add a rule

{% csrf_token %} {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %} {% for field in form.visible_fields %} {{ field.label_tag }} {{ field.errors }} {{ field }} {% endfor %}
{% endblock %}