{% extends 'generic/object.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load i18n %} {% load plugins %} {% block content %}
{% trans "NAT Pool Members" %}
{% if perms.netbox_security.add_natpoolmember %} {% trans "Create NAT Pool Member" %} {% endif %}
{% htmx_table 'plugins:netbox_security:natpoolmember_list' address_id=object.pk %}
{% trans "NAT Rules" %}
{% htmx_table 'plugins:netbox_security:natrule_list' ip_address_id=object.pk %}
{% trans "Addresses" %}
{% if perms.netbox_security.add_address %} {% trans "Create Address" %} {% endif %}
{% htmx_table 'plugins:netbox_security:address_list' ip_address_id=object.pk %}
{% trans "Security Zones" %}
{% if perms.netbox_security.add_securityzone %} {% trans "Create Security Zone" %} {% endif %}
{% htmx_table 'plugins:netbox_security:securityzone_list' ip_address_id=object.pk %}
{% trans "Security Policy Context" %}
{% if policy_context.policy_paths %} {% for row in policy_context.policy_paths %} {% endfor %}
{% trans "Security Policy" %} {% trans "Policy Actions" %} {% trans "Direction" %} {% trans "Security Zones" %}
{{ row.policy|linkify }} {% for action in row.policy_actions %} {{ action }} {% endfor %} {{ row.direction }} {{ row.source_zone|linkify }} → {{ row.destination_zone|linkify }}
{% elif policy_context.address_set_object_paths %} {% trans "No policy context found yet; showing Address Set hierarchy." %} {% elif policy_context.address_objects %} {% trans "No policy context found yet; showing Direct Addresses." %} {% else %} {% trans "No policy context found for this object." %} {% endif %} {% if policy_context.address_set_object_paths %}

{% trans "Address Set Hierarchy" %}

    {% for path in policy_context.address_set_object_paths %}
  • {% for address_set in path %} {% if not forloop.first %} → {% endif %} {{ address_set|linkify }} {% endfor %}
  • {% endfor %}
{% elif policy_context.address_objects %}

{% trans "Direct Addresses" %}

    {% for address in policy_context.address_objects %}
  • {{ address|linkify }}
  • {% endfor %}
{% endif %}
{% endblock %}