… instead of generating them from prefixes. A NetBox script can be used to create and configure all necessary data for a new VLAN. Instead of VLAN roles “inside" and “outside” we now create separate VRFs for inside VLANs to match the actual exit/firewall configuration. The “outside” VRF is for all VLANs that are directly accessible from the internet.
		
			
				
	
	
		
			1 line
		
	
	
	
		
			124 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			1 line
		
	
	
	
		
			124 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
vlans: "{{ query('netbox.netbox.nb_lookup', 'vlans', api_filter='group=new-net', raw_data=true) | sort(attribute='vid') }}"
 |