{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load render_table from django_tables2 %}
{% load i18n %}
{% block breadcrumbs %}
{{ block.super }}
{{ object.virtual_machine }}
{% endblock %}
{% block content %}
{% trans "Virtual Machine" %} |
{{ object.virtual_machine|linkify }} |
{% trans "Name" %} |
{{ object.name }} |
{% trans "Enabled" %} |
{% if object.enabled %}
{% else %}
{% endif %}
|
{% trans "Parent" %} |
{{ object.parent|linkify|placeholder }} |
{% trans "Bridge" %} |
{{ object.bridge|linkify|placeholder }} |
{% trans "Description" %} |
{{ object.description|placeholder }} |
{% trans "MTU" %} |
{{ object.mtu|placeholder }} |
{% trans "802.1Q Mode" %} |
{{ object.get_mode_display|placeholder }} |
{% if object.mode == 'q-in-q' %}
{% trans "Q-in-Q SVLAN" %} |
{{ object.qinq_svlan|linkify|placeholder }} |
{% endif %}
{% trans "Tunnel" %} |
{{ object.tunnel_termination.tunnel|linkify|placeholder }} |
{% include 'inc/panels/tags.html' %}
{% plugin_left_page object %}
{% include 'inc/panels/custom_fields.html' %}
{% trans "MAC Address" %} |
{% if object.mac_address %}
{{ object.mac_address }}
{% trans "Primary" %}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
{% trans "VRF" %} |
{{ object.vrf|linkify|placeholder }} |
{% trans "VLAN Translation" %} |
{{ object.vlan_translation_policy|linkify|placeholder }} |
{% include 'ipam/inc/panels/fhrp_groups.html' %}
{% plugin_right_page object %}
{% htmx_table 'ipam:ipaddress_list' vminterface_id=object.pk %}
{% htmx_table 'dcim:macaddress_list' vminterface_id=object.pk %}
{% include 'inc/panel_table.html' with table=vlan_table heading="VLANs" %}
{% if object.vlan_translation_policy %}
{% include 'inc/panel_table.html' with table=vlan_translation_table heading="VLAN Translation" %}
{% endif %}
{% include 'inc/panel_table.html' with table=child_interfaces_table heading="Child Interfaces" %}
{% plugin_full_width_page object %}
{% endblock %}