{% extends 'generic/object.html' %} {% load helpers %} {% block content %}
DHCP Server
{% if has_credential_override %} {% endif %}
Name {{ object.name }}
Hostname / IP {{ object.hostname }}
Port {{ object.port }}
Protocol {% if object.use_https %}HTTPS{% else %}HTTP{% endif %}
API Key {% if has_credential_override %} Overridden by PLUGINS_CONFIG {% elif object.api_key %} (configured) {% else %} None {% endif %}
The API key for this server is overridden by PLUGINS_CONFIG['netbox_windows_dhcp']['server_overrides']['{{ object.hostname }}'] in configuration.py. The value stored here is not used.
Verify SSL {% if object.verify_ssl %}{% else %}{% endif %}
Base URL {{ object.base_url }}
Sync Standalone Scopes {% if object.sync_standalone_scopes %}{% else %}{% endif %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/custom_fields.html' %}
Actions
{% csrf_token %} Immediately pull data from this server

Import from Server One-time import of scopes, failovers, and option values
{% if object.use_https %}
{% if object.ca_cert %} {% if cert_expired %}
Stored Certificate Expired
{% elif cert_expiring_soon %}
Stored Certificate Expiring Soon
{% else %}
Stored Certificate
{% endif %}
{% if object.ca_cert_expiry %} {% endif %}
Expires {{ object.ca_cert_expiry|date:"N j, Y" }}
{% csrf_token %}
{% csrf_token %}
{% else %}
HTTPS Certificate

No certificate stored. If this server uses a self-signed certificate, import it here to keep SSL verification enabled.

Import HTTPS Certificate
{% endif %}
{% endif %}
{% if failover_table.rows %}
Failover Relationships
{% include 'inc/table.html' with table=failover_table %}
{% include 'inc/paginator.html' with paginator=failover_table.paginator page=failover_table.page %}
{% endif %} {% if scope_table.rows %}
Associated Scopes
{% include 'inc/table.html' with table=scope_table %}
{% include 'inc/paginator.html' with paginator=scope_table.paginator page=scope_table.page %}
{% endif %} {% endblock %}