1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

74 lines
2.5 KiB
HTML
Raw Normal View History

2021-03-02 15:58:33 -05:00
{% extends 'generic/object.html' %}
{% load buttons %}
2019-04-15 21:38:04 -04:00
{% load custom_links %}
2018-05-18 11:09:11 -04:00
{% load helpers %}
{% load plugins %}
2016-03-01 11:23:03 -05:00
2021-03-02 15:58:33 -05:00
{% block title %}VRF {{ object }}{% endblock %}
{% block breadcrumbs %}
<li><a href="{% url 'ipam:vrf_list' %}">VRFs</a></li>
<li>{{ object }}</li>
2018-06-14 16:15:14 -04:00
{% endblock %}
{% block content %}
2016-03-01 11:23:03 -05:00
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<strong>VRF</strong>
2016-03-01 11:23:03 -05:00
</div>
2016-12-14 17:09:33 -05:00
<table class="table table-hover panel-body attr-table">
2016-03-01 11:23:03 -05:00
<tr>
<td>Route Distinguisher</td>
<td>{{ object.rd }}</td>
2016-03-01 11:23:03 -05:00
</tr>
2016-07-27 11:29:20 -04:00
<tr>
<td>Tenant</td>
<td>
{% if object.tenant %}
<a href="{{ object.tenant.get_absolute_url }}">{{ object.tenant }}</a>
2016-07-27 11:29:20 -04:00
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
<tr>
<td>Unique IP Space</td>
<td>
{% if object.enforce_unique %}
<i class="mdi mdi-check-bold text-success" title="Yes"></i>
{% else %}
<i class="mdi mdi-close-thick text-danger" title="No"></i>
{% endif %}
</td>
</tr>
2016-03-01 11:23:03 -05:00
<tr>
<td>Description</td>
<td>{{ object.description|placeholder }}</td>
</tr>
<tr>
<td>Prefixes</td>
<td>
<a href="{% url 'ipam:prefix_list' %}?vrf_id={{ object.pk }}">{{ prefix_count }}</a>
</td>
2016-03-01 11:23:03 -05:00
</tr>
</table>
</div>
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:vrf_list' %}
2020-11-19 13:53:37 -05:00
{% include 'inc/custom_fields_panel.html' %}
{% plugin_left_page object %}
2016-03-01 11:23:03 -05:00
</div>
<div class="col-md-6">
{% include 'panel_table.html' with table=import_targets_table heading="Import Route Targets" %}
{% include 'panel_table.html' with table=export_targets_table heading="Export Route Targets" %}
{% plugin_right_page object %}
</div>
</div>
<div class="row">
<div class="col-md-12">
{% plugin_full_width_page object %}
</div>
2016-03-01 11:23:03 -05:00
</div>
{% endblock %}