leaf: don’t talk BGP at bridges and bonds
This commit is contained in:
		
							parent
							
								
									9e8db74d24
								
							
						
					
					
						commit
						d789e4a037
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ | |||
|     | map(attribute='address') %} | ||||
| {% set iface_bgp = interfaces | ||||
|     | iface_real | selectattr('enabled') | ||||
|     | rejectattr('mgmt_only') | rejectattr('lag') %} | ||||
|     | rejectattr('mgmt_only') | rejectattr('bridge') | rejectattr('lag') %} | ||||
| {% set iface_server = iface_bgp | selectattr('custom_fields.tenant') %} | ||||
| {% set iface_fabric = iface_bgp | difference(iface_server) | rejectattr('ip_addresses') %} | ||||
| {% set my_tenants = iface_server | map(attribute='custom_fields.tenant.slug') | unique -%} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue