{# SPDX-License-Identifier: Apache-2.0 #} {# Copyright (C) 2025 Marcin Zieba #} {# Lazy-loaded fragment: dot1q L3 subinterfaces (M36) — paginated from last-synced state. #}
{% include "netbox_nso_plugin/categories/_adapter_error.html" %}
{% include "netbox_nso_plugin/categories/_cat_search.html" with placeholder=placeholder q=q %} {% if subinterface_states %}

Edit dot1q encapsulation and VRF inline. Interface and parent form the structural identity; IP addresses remain on the linked interface.

{% for s in subinterface_states %} {% endfor %}
InterfaceL3 configurationStatusLast Synced
{{ s.interface.name }}
{% if s.parent_interface %}parent: {{ s.parent_interface.name }}{% else %}parent missing{% endif %}
{% url 'plugins:netbox_nso_plugin:overlay_field_edit' key='subinterface' pk=s.pk as subinterface_edit_url %} dot1q {{ s.dot1q_vlan|default:"—" }} · {{ s.vrf|default:"global" }} {% include "netbox_nso_plugin/categories/_state_badge.html" with status=s.status residue=s.residue_survivor residue_job=s.residue_job_id %} {% if s.last_sync_at %}{{ s.last_sync_at|date:"Y-m-d H:i" }}{% else %}—{% endif %} {% url 'plugins:netbox_nso_plugin:subinterface_accept' pk=s.pk as accept_url %}{% include "netbox_nso_plugin/categories/_accept_cell.html" with accept_url=accept_url status=s.status form_class="nso-row-form" title="Make NetBox the source of truth for this subinterface (re-materialised on the device on Apply)" %}
{% include "netbox_nso_plugin/categories/_cat_pager.html" with page=page %} {% else %}

No dot1q subinterfaces{% if q %} matching “{{ q }}”{% else %} reported for this device{% endif %}.

{% endif %}