mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Oob ip (devices) (#13013)
* initial oob_ip support for devices * add primary ip and oob ip checkmark to ip address view * add oob ip to device view and device edit view * pep8 * make is_oob_ip and is_primary_ip generic for other models * refactor oob_ip * fix oob ip signal * string capitalisation * Misc cleanup --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							7600d7b344
						
					
				
				
					commit
					154b8236a2
				
			@@ -239,6 +239,17 @@
 | 
			
		||||
                              {% endif %}
 | 
			
		||||
                            </td>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                        <tr>
 | 
			
		||||
                            <th scope="row">Out-of-band IP</th>
 | 
			
		||||
                            <td>
 | 
			
		||||
                              {% if object.oob_ip %}
 | 
			
		||||
                                <a href="{{ object.oob_ip.get_absolute_url }}" id="oob_ip">{{ object.oob_ip.address.ip }}</a>
 | 
			
		||||
                                {% copy_content "oob_ip" %}
 | 
			
		||||
                              {% else %}
 | 
			
		||||
                                {{ ''|placeholder }}
 | 
			
		||||
                              {% endif %}
 | 
			
		||||
                            </td>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                        {% if object.cluster %}
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <th>Cluster</th>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user