mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Fixes #9938: Exclude virtual interfaces from terminations list when connecting a cable
This commit is contained in:
		@@ -84,6 +84,7 @@ def get_cable_form(a_type, b_type):
 | 
			
		||||
                        disabled_indicator='_occupied',
 | 
			
		||||
                        query_params={
 | 
			
		||||
                            'device_id': f'$termination_{cable_end}_device',
 | 
			
		||||
                            'kind': 'physical',  # Exclude virtual interfaces
 | 
			
		||||
                        }
 | 
			
		||||
                    )
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user