{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% block content %}
Vendor Option Space
Name {{ object.name }}
Enterprise ID {{ object.enterprise_id|placeholder }}
Manufacturer {% if object.manufacturer %} {{ object.manufacturer.name }} {% else %} {{ object.manufacturer|placeholder }} {% endif %}
Description {{ object.description|placeholder }}
{% include 'inc/panels/tags.html' %} {% plugin_left_page object %}
KEA Option 43 Configuration

To use this vendor space with Option 43:

// In option-def, define option 43 to encapsulate this space:
{
    "name": "vendor-encapsulated-options",
    "code": 43,
    "type": "empty",
    "encapsulate": "{{ object.name }}"
}

// Then set option-data for options in this space:
{
    "space": "{{ object.name }}",
    "name": "your-option-name",
    "code": 1,
    "data": "your-value"
}
{% if object.enterprise_id %}
KEA VIVSO (Option 125) Configuration

To use this space with VIVSO (Option 125):

{
    "name": "vivso-suboptions",
    "data": "{{ object.enterprise_id }}"
},
{
    "space": "vendor-{{ object.enterprise_id }}",
    "name": "your-option-name",
    "code": 1,
    "data": "your-value"
}
{% endif %} {% include 'inc/panels/custom_fields.html' %} {% plugin_right_page object %}
Option Definitions
{% if object.option_definitions.exists %} {% for definition in object.option_definitions.all %} {% endfor %}
Name Code Type Description
{{ definition.name }} {{ definition.code }} {{ definition.get_option_type_display }} {{ definition.description|placeholder }}
{% else %}

No option definitions for this vendor space. Add one

{% endif %}
Option Data
{% include 'netbox_dhcp_kea_plugin/inc/option_data_table.html' with option_data_list=object.option_data_instances.all empty_message="No option data for this vendor space." %}
{% plugin_full_width_page object %}
{% endblock %}