{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% block title %}{{ object.virtual_machine }} / {{ object.name }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
Interface
Virtual Machine {{ object.virtual_machine }}
Name {{ object.name }}
Enabled {% if object.enabled %} {% else %} {% endif %}
Parent {% if object.parent %} {{ object.parent }} {% else %} None {% endif %}
Description {{ object.description|placeholder }}
MTU {{ object.mtu|placeholder }}
MAC Address {{ object.mac_address|placeholder }}
802.1Q Mode {{ object.get_mode_display }}
{% plugin_left_page object %}
{% include 'inc/custom_fields_panel.html' %} {% include 'extras/inc/tags_panel.html' with tags=object.tags.all %} {% plugin_right_page object %}
IP Addresses
{% if ipaddress_table.rows %} {% render_table ipaddress_table 'inc/table.html' %} {% else %}
None
{% endif %}
{% if perms.ipam.add_ipaddress %} {% endif %}
{% include 'inc/panel_table.html' with table=vlan_table heading="VLANs" %}
{% include 'inc/panel_table.html' with table=child_interfaces_table heading="Child Interfaces" %}
{% plugin_full_width_page object %}
{% endblock %}