{% extends 'virtualization/virtualmachine/base.html' %} {% load buttons %} {% load static %} {% load helpers %} {% load plugins %} {% block content %}
Virtual Machine
Name {{ object }}
Status {{ object.get_status_display }}
Role {% if object.role %} {{ object.role }} {% else %} None {% endif %}
Platform {% if object.platform %} {{ object.platform }} {% else %} None {% endif %}
Tenant {% if object.tenant %} {% if object.tenant.group %} {{ object.tenant.group }} / {% endif %} {{ object.tenant }} {% else %} None {% endif %}
Primary IPv4 {% if object.primary_ip4 %} {{ object.primary_ip4.address.ip }} {% if object.primary_ip4.nat_inside %} (NAT for {{ object.primary_ip4.nat_inside.address.ip }}) {% elif object.primary_ip4.nat_outside %} (NAT: {{ object.primary_ip4.nat_outside.address.ip }}) {% endif %} {% else %} {% endif %}
Primary IPv6 {% if object.primary_ip6 %} {{ object.primary_ip6.address.ip }} {% if object.primary_ip6.nat_inside %} (NAT for {{ object.primary_ip6.nat_inside.address.ip }}) {% elif object.primary_ip6.nat_outside %} (NAT: {{ object.primary_ip6.nat_outside.address.ip }}) {% endif %} {% else %} {% endif %}
{% include 'inc/custom_fields_panel.html' %} {% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='virtualization:virtualmachine_list' %}
Comments
{% if object.comments %} {{ object.comments|render_markdown }} {% else %} None {% endif %}
{% plugin_left_page object %}
Cluster
Cluster {% if object.cluster.group %} {{ object.cluster.group }} / {% endif %} {{ object.cluster }}
Cluster Type {{ object.cluster.type }}
Resources
Virtual CPUs {{ object.vcpus|placeholder }}
Memory {% if object.memory %} {{ object.memory|humanize_megabytes }} MB {% else %} {% endif %}
Disk Space {% if object.disk %} {{ object.disk }} GB {% else %} {% endif %}
Services
{% if services %} {% for service in services %} {% include 'ipam/inc/service.html' %} {% endfor %}
{% else %} None {% endif %}
{% if perms.ipam.add_service %} {% endif %}
{% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}