2021-03-02 15:58:33 -05:00
|
|
|
{% extends 'generic/object.html' %}
|
2019-12-06 16:13:52 -05:00
|
|
|
{% load buttons %}
|
2018-05-18 11:09:11 -04:00
|
|
|
{% load helpers %}
|
2020-03-15 23:45:18 -04:00
|
|
|
{% load plugins %}
|
2016-03-01 11:23:03 -05:00
|
|
|
|
2021-03-02 15:58:33 -05:00
|
|
|
{% block title %}VRF {{ object }}{% endblock %}
|
|
|
|
|
2018-06-14 16:15:14 -04:00
|
|
|
{% block content %}
|
2016-03-01 11:23:03 -05:00
|
|
|
<div class="row">
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-6">
|
2021-07-21 11:20:35 -04:00
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">
|
|
|
|
VRF
|
|
|
|
</h5>
|
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Route Distinguisher</th>
|
|
|
|
<td>{{ object.rd|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Tenant</th>
|
|
|
|
<td>
|
|
|
|
{% if object.tenant %}
|
|
|
|
<a href="{{ object.tenant.get_absolute_url }}">{{ object.tenant }}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="text-muted">None</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Unique IP Space</th>
|
2021-12-29 10:26:42 -05:00
|
|
|
<td>{% checkmark object.enforce_unique %}</td>
|
2021-07-21 11:20:35 -04:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Description</th>
|
|
|
|
<td>{{ object.description|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Prefixes</th>
|
|
|
|
<td>
|
|
|
|
<a href="{% url 'ipam:prefix_list' %}?vrf_id={{ object.pk }}">{{ prefix_count }}</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">IP Addresses</th>
|
|
|
|
<td>
|
|
|
|
<a href="{% url 'ipam:ipaddress_list' %}?vrf_id={{ object.pk }}">{{ ipaddress_count }}</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% plugin_left_page object %}
|
|
|
|
</div>
|
|
|
|
<div class="col col-md-6">
|
2021-10-21 11:23:31 -04:00
|
|
|
{% include 'inc/panels/tags.html' %}
|
2021-10-19 14:21:31 -04:00
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
2021-07-21 11:20:35 -04:00
|
|
|
{% plugin_right_page object %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
2021-07-21 11:20:35 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-6">
|
|
|
|
{% include 'inc/panel_table.html' with table=import_targets_table heading="Import Route Targets" %}
|
|
|
|
</div>
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-6">
|
2021-07-21 11:20:35 -04:00
|
|
|
{% include 'inc/panel_table.html' with table=export_targets_table heading="Export Route Targets" %}
|
|
|
|
</div>
|
2020-03-15 23:45:18 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-07-21 11:20:35 -04:00
|
|
|
<div class="col col-md-12">
|
|
|
|
{% plugin_full_width_page object %}
|
|
|
|
</div>
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|