{{ name }}{{ array }}
  ({% for port in portlist %}
   {{ port }}{%- if loop.index < len_portlist -%}, {%- endif -%}
   {% endfor %}
   )
