{{ vm_name }}
{{ item.node.memory.rstrip('G') }}
{{ item.node.cpus }}
hvm
{%- if 'opnfv' in vm_name -%}
{%- else -%}
{% endif -%}
destroy
restart
restart
{{ vm_emulator }}
{% set native_interfaces = [] %}
{%- for interface in item.interfaces %}
{%- if 'native' in (interface.vlan | string) %}
{%- set _ = native_interfaces.append(interface) %}
{%- endif %}
{%- endfor %}
{%- for interface in native_interfaces -%}
{% endfor -%}