| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | {% extends '_base.html' %} | 
					
						
							|  |  |  | {% load render_table from django_tables2 %} | 
					
						
							|  |  |  | {% load form_helpers %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block title %}Device Import{% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %} | 
					
						
							| 
									
										
										
										
											2016-07-14 17:35:52 -04:00
										 |  |  | {% include 'dcim/inc/_device_import_header.html' %} | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col-md-12"> | 
					
						
							|  |  |  | 		<form action="." method="post" class="form"> | 
					
						
							|  |  |  | 		    {% csrf_token %} | 
					
						
							|  |  |  | 		    {% render_form form %} | 
					
						
							|  |  |  |             <div class="form-group"> | 
					
						
							|  |  |  |                 <button type="submit" class="btn btn-primary">Submit</button> | 
					
						
							|  |  |  |                 <a href="{% url obj_list_url %}" class="btn btn-default">Cancel</a> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  | 		</form> | 
					
						
							|  |  |  | 		<h4>CSV Format</h4> | 
					
						
							|  |  |  | 		<table class="table"> | 
					
						
							|  |  |  | 			<thead> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<th>Field</th> | 
					
						
							|  |  |  | 					<th>Description</th> | 
					
						
							|  |  |  | 					<th>Example</th> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 			</thead> | 
					
						
							|  |  |  | 			<tbody> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Name</td> | 
					
						
							|  |  |  | 					<td>Device name (optional)</td> | 
					
						
							|  |  |  | 					<td>rack101_sw1</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Device role</td> | 
					
						
							|  |  |  | 					<td>Functional role of device</td> | 
					
						
							|  |  |  | 					<td>ToR Switch</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2016-07-26 16:46:22 -04:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Tenant</td> | 
					
						
							|  |  |  | 					<td>Name of tenant (optional)</td> | 
					
						
							|  |  |  | 					<td>Pied Piper</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Device manufacturer</td> | 
					
						
							|  |  |  | 					<td>Hardware manufacturer</td> | 
					
						
							|  |  |  | 					<td>Juniper</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Device model</td> | 
					
						
							|  |  |  | 					<td>Hardware model</td> | 
					
						
							|  |  |  | 					<td>EX4300-48T</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Platform</td> | 
					
						
							|  |  |  | 					<td>Software running on device (optional)</td> | 
					
						
							|  |  |  | 					<td>Juniper Junos</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							| 
									
										
										
										
											2016-08-11 11:58:21 -04:00
										 |  |  | 					<td>Serial number</td> | 
					
						
							|  |  |  | 					<td>Physical serial number (optional)</td> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 					<td>CAB00577291</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2016-08-11 11:58:21 -04:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Asset tag</td> | 
					
						
							|  |  |  | 					<td>Unique alphanumeric tag (optional)</td> | 
					
						
							|  |  |  | 					<td>ABC123456</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Site</td> | 
					
						
							|  |  |  | 					<td>Site name</td> | 
					
						
							|  |  |  | 					<td>Ashburn-VA</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Rack</td> | 
					
						
							|  |  |  | 					<td>Rack name</td> | 
					
						
							|  |  |  | 					<td>R101</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Position (U)</td> | 
					
						
							| 
									
										
										
										
											2016-10-28 11:30:40 -04:00
										 |  |  | 					<td>Lowest-numbered rack unit occupied by the device (optional)</td> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 					<td>21</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td>Face</td> | 
					
						
							| 
									
										
										
										
											2016-09-12 09:36:23 -04:00
										 |  |  | 					<td>Rack face; front or rear (required if position is set)</td> | 
					
						
							| 
									
										
										
										
											2016-06-29 14:16:07 -04:00
										 |  |  | 					<td>Rear</td> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 				</tr> | 
					
						
							|  |  |  | 			</tbody> | 
					
						
							|  |  |  | 		</table> | 
					
						
							|  |  |  | 		<h4>Example</h4> | 
					
						
							| 
									
										
										
										
											2016-08-11 11:58:21 -04:00
										 |  |  | 		<pre>rack101_sw1,ToR Switch,Pied Piper,Juniper,EX4300-48T,Juniper Junos,CAB00577291,ABC123456,Ashburn-VA,R101,21,Rear</pre> | 
					
						
							| 
									
										
										
										
											2016-03-01 11:23:03 -05:00
										 |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | {% endblock %} |