{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% block content %}
Client Class
{# Pinned split: NetBox sizes attr-table labels to content, so they move per object. #} {% if object.next_server %} {% endif %} {% if object.server_hostname %} {% endif %} {% if object.boot_file_name %} {% endif %} {% if enable_ddns %} {% endif %}
Name {{ object.name }}
Test Expression {{ object.test_expression }}
Template Class  {% if object.template_test %} {% else %} {% endif %}
Valid Lifetime {% if object.valid_lifetime is not None %}{{ object.valid_lifetime }} seconds {% else %}Inherited{% endif %}
Timers (T1 / T2) {% if object.renew_timer is not None or object.rebind_timer is not None %} {{ object.renew_timer|default:"—" }} / {{ object.rebind_timer|default:"—" }} seconds {% else %}Inherited{% endif %}
User Context  {% if object.user_context %}
{{ object.user_context|json }}
{% else %} — {% endif %}
Only in Additional List {% if object.only_in_additional_list %}Yes{% else %}No{% endif %}
Description {{ object.description|placeholder }}
Next Server {{ object.next_server }}
Server Hostname {{ object.server_hostname }}
Boot File Name {{ object.boot_file_name }}
DDNS Policy {% if object.ddns_policy %} {{ object.ddns_policy.name }} {% else %} None {% endif %}
{% include 'inc/panels/tags.html' %} {% plugin_left_page object %}
KEA Configuration Preview
{{ kea_config_hex }}
{{ kea_config_ascii }}
{% include 'inc/panels/custom_fields.html' %} {% plugin_right_page object %}
Option Data
{% include 'netbox_dhcp_kea_plugin/inc/option_data_table.html' with option_data_list=object.option_data.all empty_message="No option data assigned to this client class." %}
{% plugin_full_width_page object %}
{% endblock %} {% block javascript %} {{ block.super }} {% endblock %}