| 
									
										
										
										
											2020-06-25 11:00:25 -04:00
										 |  |  | {% extends 'dcim/device_component.html' %} | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  | {% load helpers %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  | {% load plugins %} | 
					
						
							| 
									
										
										
										
											2021-03-08 17:16:07 -05:00
										 |  |  | {% load render_table from django_tables2 %} | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  | {% block extra_controls %} | 
					
						
							| 
									
										
										
										
											2021-04-02 17:33:34 -04:00
										 |  |  |   {% if perms.dcim.add_interface and not object.is_virtual %} | 
					
						
							| 
									
										
										
										
											2021-08-03 10:03:22 -07:00
										 |  |  |     <a href="{% url 'dcim:interface_add' %}?device={{ object.device.pk }}&parent={{ object.pk }}&return_url={{ object.get_absolute_url }}" class="btn btn-sm btn-success"> | 
					
						
							| 
									
										
										
										
											2021-04-02 17:33:34 -04:00
										 |  |  |       <span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add Child Interface | 
					
						
							|  |  |  |     </a> | 
					
						
							|  |  |  |   {% endif %} | 
					
						
							|  |  |  |   {{ block.super }} | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  | {% block content %} | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |     <div class="row mb-3"> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-6"> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |             <div class="card"> | 
					
						
							|  |  |  |                 <h5 class="card-header"> | 
					
						
							|  |  |  |                     Interface | 
					
						
							|  |  |  |                 </h5> | 
					
						
							|  |  |  |                 <div class="card-body"> | 
					
						
							|  |  |  |                     <table class="table table-hover"> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Device</th> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 <a href="{{ object.device.get_absolute_url }}">{{ object.device }}</a> | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Name</th> | 
					
						
							|  |  |  |                             <td>{{ object.name }}</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Label</th> | 
					
						
							|  |  |  |                             <td>{{ object.label|placeholder }}</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Type</th> | 
					
						
							|  |  |  |                             <td>{{ object.get_type_display }}</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2021-07-21 11:20:35 -04:00
										 |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Enabled</th> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if object.enabled %} | 
					
						
							|  |  |  |                                     <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> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Management Only</th> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if object.mgmt_only %} | 
					
						
							|  |  |  |                                     <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> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Parent</th> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if object.parent %} | 
					
						
							|  |  |  |                                     <a href="{{ object.parent.get_absolute_url }}">{{ object.parent }}</a> | 
					
						
							|  |  |  |                                 {% else %} | 
					
						
							|  |  |  |                                     <span class="text-muted">None</span> | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">LAG</th> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if object.lag%} | 
					
						
							|  |  |  |                                     <a href="{{ object.lag.get_absolute_url }}">{{ object.lag }}</a> | 
					
						
							|  |  |  |                                 {% else %} | 
					
						
							|  |  |  |                                     <span class="text-muted">None</span> | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">Description</th> | 
					
						
							|  |  |  |                             <td>{{ object.description|placeholder }} </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">MTU</th> | 
					
						
							|  |  |  |                             <td>{{ object.mtu|placeholder }}</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">MAC Address</th> | 
					
						
							|  |  |  |                             <td><span class="text-monospace">{{ object.mac_address|placeholder }}</span></td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th scope="row">802.1Q Mode</th> | 
					
						
							| 
									
										
										
										
											2021-07-21 11:20:35 -04:00
										 |  |  |                             <td>{{ object.get_mode_display|placeholder }}</td> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                         </tr> | 
					
						
							|  |  |  |                     </table> | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2021-03-01 13:07:25 -05:00
										 |  |  |             {% include 'inc/custom_fields_panel.html' %} | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |             {% include 'extras/inc/tags_panel.html' with tags=object.tags.all %} | 
					
						
							|  |  |  |             {% plugin_left_page object %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-6"> | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |             {% if object.is_connectable %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                 <div class="card"> | 
					
						
							|  |  |  |                     <h5 class="card-header"> | 
					
						
							|  |  |  |                         Connection | 
					
						
							|  |  |  |                     </h5> | 
					
						
							|  |  |  |                     <div class="card-body"> | 
					
						
							| 
									
										
										
										
											2021-03-01 21:34:42 -05:00
										 |  |  |                     {% if object.mark_connected %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                         <div class="text-muted"> | 
					
						
							|  |  |  |                           <span class="text-success"><i class="mdi mdi-check-bold"></i></span> Marked as Connected | 
					
						
							| 
									
										
										
										
											2021-03-01 21:34:42 -05:00
										 |  |  |                         </div> | 
					
						
							|  |  |  |                     {% elif object.cable %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                         <table class="table table-hover"> | 
					
						
							|  |  |  |                             {% if object.connected_endpoint.device %} | 
					
						
							| 
									
										
										
										
											2020-10-05 13:23:55 -04:00
										 |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                 <td colspan="2"> | 
					
						
							|  |  |  |                                     {% if object.connected_endpoint.enabled %} | 
					
						
							|  |  |  |                                         <span class="badge bg-success">Enabled</span> | 
					
						
							|  |  |  |                                     {% else %} | 
					
						
							|  |  |  |                                         <span class="badge bg-danger">Disabled</span> | 
					
						
							|  |  |  |                                     {% endif %} | 
					
						
							|  |  |  |                                 </td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							|  |  |  |                             {% endif %}  | 
					
						
							|  |  |  |                             <tr> | 
					
						
							|  |  |  |                                 <th scope="row">Cable</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 13:23:55 -04:00
										 |  |  |                                 <td> | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |                                     <a href="{{ object.cable.get_absolute_url }}">{{ object.cable }}</a> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |                                     <a href="{% url 'dcim:interface_trace' pk=object.pk %}" class="btn btn-primary btn-sm lh-1" title="Trace"> | 
					
						
							| 
									
										
										
										
											2020-11-06 14:33:20 -05:00
										 |  |  |                                         <i class="mdi mdi-transit-connection-variant" aria-hidden="true"></i> | 
					
						
							| 
									
										
										
										
											2020-10-05 13:23:55 -04:00
										 |  |  |                                     </a> | 
					
						
							|  |  |  |                                 </td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |                             {% if object.connected_endpoint.device %} | 
					
						
							|  |  |  |                                 {% with iface=object.connected_endpoint %} | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Device</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td> | 
					
						
							|  |  |  |                                             <a href="{{ iface.device.get_absolute_url }}">{{ iface.device }}</a> | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Name</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td> | 
					
						
							|  |  |  |                                             <a href="{{ iface.get_absolute_url }}">{{ iface.name }}</a> | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Type</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td>{{ iface.get_type_display }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">LAG</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td> | 
					
						
							|  |  |  |                                             {% if iface.lag%} | 
					
						
							|  |  |  |                                                 <a href="{{ iface.lag.get_absolute_url }}">{{ iface.lag }}</a> | 
					
						
							|  |  |  |                                             {% else %} | 
					
						
							|  |  |  |                                                 <span class="text-muted">None</span> | 
					
						
							|  |  |  |                                             {% endif %} | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Description</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td>{{ iface.description|placeholder }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">MTU</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td>{{ iface.mtu|placeholder }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">MAC Address</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td>{{ iface.mac_address|placeholder }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">802.1Q Mode</th> | 
					
						
							| 
									
										
										
										
											2020-10-05 09:56:46 -04:00
										 |  |  |                                         <td>{{ iface.get_mode_display }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                 {% endwith %} | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |                             {% elif object.connected_endpoint.circuit %} | 
					
						
							|  |  |  |                                 {% with ct=object.connected_endpoint %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Provider</th> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                                         <td><a href="{{ ct.circuit.provider.get_absolute_url }}">{{ ct.circuit.provider }}</a></td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Circuit</th> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                                         <td><a href="{{ ct.circuit.get_absolute_url }}">{{ ct.circuit }}</a></td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <th scope="row">Side</th> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                                         <td>{{ ct.term_side }}</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                 {% endwith %} | 
					
						
							|  |  |  |                             {% endif %} | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                 <th scope="row">Path Status</th> | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                                 <td> | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |                                     {% if object.path.is_active %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <span class="badge bg-success">Reachable</span> | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                                     {% else %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                         <span class="badge bg-danger">Not Reachable</span> | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                                     {% endif %} | 
					
						
							|  |  |  |                                 </td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                         </table> | 
					
						
							|  |  |  |                     {% else %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                         <div class="text-muted"> | 
					
						
							|  |  |  |                             Not Connected | 
					
						
							| 
									
										
										
										
											2020-08-13 11:14:33 -04:00
										 |  |  |                             {% if perms.dcim.add_cable %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                 <div class="dropdown float-end"> | 
					
						
							|  |  |  |                                     <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | 
					
						
							| 
									
										
										
										
											2020-11-06 14:49:14 -05:00
										 |  |  |                                         <span class="mdi mdi-ethernet-cable" aria-hidden="true"></span> Connect | 
					
						
							| 
									
										
										
										
											2020-08-13 11:14:33 -04:00
										 |  |  |                                     </button> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                     <ul class="dropdown-menu dropdown-menu-end"> | 
					
						
							|  |  |  |                                         <li> | 
					
						
							|  |  |  |                                             <a class="dropdown-item" href="{% url 'dcim:interface_connect' termination_a_id=object.pk termination_b_type='interface' %}?return_url={{ object.get_absolute_url }}"> | 
					
						
							|  |  |  |                                                 Interface | 
					
						
							|  |  |  |                                             </a> | 
					
						
							|  |  |  |                                         </li> | 
					
						
							|  |  |  |                                         <li> | 
					
						
							|  |  |  |                                             <a class="dropdown-item" href="{% url 'dcim:interface_connect' termination_a_id=object.pk termination_b_type='front-port' %}?return_url={{ object.get_absolute_url }}"> | 
					
						
							|  |  |  |                                                 Front Port | 
					
						
							|  |  |  |                                             </a> | 
					
						
							|  |  |  |                                         </li> | 
					
						
							|  |  |  |                                         <li> | 
					
						
							|  |  |  |                                             <a class="dropdown-item" href="{% url 'dcim:interface_connect' termination_a_id=object.pk termination_b_type='rear-port' %}?return_url={{ object.get_absolute_url }}"> | 
					
						
							|  |  |  |                                                 Rear Port | 
					
						
							|  |  |  |                                             </a> | 
					
						
							|  |  |  |                                         </li> | 
					
						
							|  |  |  |                                         <li> | 
					
						
							|  |  |  |                                             <a class="dropdown-item" href="{% url 'dcim:interface_connect' termination_a_id=object.pk termination_b_type='circuit-termination' %}?return_url={{ object.get_absolute_url }}"> | 
					
						
							|  |  |  |                                                 Circuit Termination | 
					
						
							|  |  |  |                                             </a> | 
					
						
							|  |  |  |                                         </li> | 
					
						
							| 
									
										
										
										
											2020-08-13 11:14:33 -04:00
										 |  |  |                                     </ul> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                 </div> | 
					
						
							| 
									
										
										
										
											2020-08-13 11:14:33 -04:00
										 |  |  |                             {% endif %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                         </div> | 
					
						
							|  |  |  |                     {% endif %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |             {% if object.is_lag %} | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                 <div class="card"> | 
					
						
							|  |  |  |                     <h5 class="card-header">LAG Members</h5> | 
					
						
							|  |  |  |                     <div class="card-body"> | 
					
						
							|  |  |  |                         <table class="table table-hover table-headings"> | 
					
						
							|  |  |  |                             <thead> | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                                 <tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                                     <th>Parent</th> | 
					
						
							|  |  |  |                                     <th>Interface</th> | 
					
						
							|  |  |  |                                     <th>Type</th> | 
					
						
							| 
									
										
										
										
											2018-11-02 11:15:09 -04:00
										 |  |  |                                 </tr> | 
					
						
							| 
									
										
										
										
											2021-03-14 17:26:56 -07:00
										 |  |  |                             </thead> | 
					
						
							|  |  |  |                             <tbody> | 
					
						
							|  |  |  |                                 {% for member in object.member_interfaces.all %} | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							|  |  |  |                                         <td> | 
					
						
							|  |  |  |                                             <a href="{{ member.device.get_absolute_url }}">{{ member.device }}</a> | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                         <td> | 
					
						
							|  |  |  |                                             <a href="{{ member.get_absolute_url }}">{{ member }}</a> | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                         <td> | 
					
						
							|  |  |  |                                             {{ member.get_type_display }} | 
					
						
							|  |  |  |                                         </td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                 {% empty %} | 
					
						
							|  |  |  |                                     <tr> | 
					
						
							|  |  |  |                                         <td colspan="3" class="text-muted">No member interfaces</td> | 
					
						
							|  |  |  |                                     </tr> | 
					
						
							|  |  |  |                                 {% endfor %} | 
					
						
							|  |  |  |                             </tbody> | 
					
						
							|  |  |  |                         </table> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |             {% plugin_right_page object %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |     <div class="row mb-3"> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-12"> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |             <div class="card"> | 
					
						
							|  |  |  |                 <h5 class="card-header"> | 
					
						
							|  |  |  |                     IP Addresses | 
					
						
							|  |  |  |                 </h5> | 
					
						
							|  |  |  |                 <div class="card-body"> | 
					
						
							|  |  |  |                     {% if ipaddress_table.rows %} | 
					
						
							|  |  |  |                         {% render_table ipaddress_table 'inc/table.html' %} | 
					
						
							|  |  |  |                     {% else %} | 
					
						
							|  |  |  |                         <div class="text-muted">None</div> | 
					
						
							|  |  |  |                     {% endif %} | 
					
						
							| 
									
										
										
										
											2021-03-08 17:16:07 -05:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |                 {% if perms.ipam.add_ipaddress %} | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |                     <div class="card-footer text-end noprint"> | 
					
						
							|  |  |  |                         <a href="{% url 'ipam:ipaddress_add' %}?device={{ object.device.pk }}&interface={{ object.pk }}" class="btn btn-sm btn-primary"> | 
					
						
							| 
									
										
										
										
											2021-03-08 17:16:07 -05:00
										 |  |  |                             <span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add IP Address | 
					
						
							|  |  |  |                         </a> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 {% endif %} | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |     <div class="row mb-3"> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-12"> | 
					
						
							| 
									
										
										
										
											2021-05-17 16:27:27 -04:00
										 |  |  |             {% include 'inc/panel_table.html' with table=vlan_table heading="VLANs" %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |     <div class="row mb-3"> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-12"> | 
					
						
							| 
									
										
										
										
											2021-05-17 16:27:27 -04:00
										 |  |  |             {% include 'inc/panel_table.html' with table=child_interfaces_table heading="Child Interfaces" %} | 
					
						
							| 
									
										
										
										
											2021-04-02 17:33:34 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2021-04-05 14:48:11 -04:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2021-04-18 00:22:52 -07:00
										 |  |  |     <div class="row mb-3"> | 
					
						
							| 
									
										
										
										
											2021-04-30 15:55:37 -07:00
										 |  |  |         <div class="col col-md-12"> | 
					
						
							| 
									
										
										
										
											2020-11-19 11:29:18 -05:00
										 |  |  |             {% plugin_full_width_page object %} | 
					
						
							| 
									
										
										
										
											2020-06-25 13:27:01 -04:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2018-07-11 15:30:54 -04:00
										 |  |  |     </div> | 
					
						
							|  |  |  | {% endblock %} |