{% for p in ports|ports %}
{% if description %}
set interfaces {{ p }} description {{ description|q }}
{% endif %}
set interfaces {{ p }} unit 0 family ethernet-switching interface-mode access
set interfaces {{ p }} unit 0 family ethernet-switching vlan members {{ vlan_name|default('VLAN' ~ vlan_id, true)|replace(' ', '_') }}
{% endfor %}
