2017-05-03 15:41:36 -04:00
|
|
|
{% extends 'utilities/obj_import.html' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load form_helpers %}
|
|
|
|
|
|
|
|
{% block title %}IP Address Import{% endblock %}
|
|
|
|
|
2017-05-03 15:41:36 -04:00
|
|
|
{% block instructions %}
|
|
|
|
<h4>CSV Format</h4>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Field</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Example</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Address</td>
|
|
|
|
<td>IPv4 or IPv6 address</td>
|
|
|
|
<td>192.0.2.42/24</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>VRF</td>
|
|
|
|
<td>VRF route distinguisher (optional)</td>
|
|
|
|
<td>65000:123</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Tenant</td>
|
|
|
|
<td>Name of tenant (optional)</td>
|
|
|
|
<td>ABC01</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Status</td>
|
|
|
|
<td>Current status</td>
|
|
|
|
<td>Active</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Device</td>
|
|
|
|
<td>Device name (optional)</td>
|
|
|
|
<td>switch12</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Interface</td>
|
|
|
|
<td>Interface name (optional)</td>
|
|
|
|
<td>ge-0/0/31</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Is Primary</td>
|
|
|
|
<td>If "true", IP will be primary for device (optional)</td>
|
|
|
|
<td>True</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Description</td>
|
|
|
|
<td>Short description (optional)</td>
|
|
|
|
<td>Management IP</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Example</h4>
|
|
|
|
<pre>192.0.2.42/24,65000:123,ABC01,Active,switch12,ge-0/0/31,True,Management IP</pre>
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endblock %}
|