4 {% for net in opnfv.spaces %}
7 iface eth{{ ethid }} inet static
9 {% if net.type!='external' %}
10 {% set net_prefix = net.cidr[:-4] %}
11 address {{ net_prefix }}5
13 address {{ net.ipaddress }}
15 {% if net.type=='admin' %}
16 gateway {{ net.gateway }}
17 dns-nameservers {{ lab.racks[0].dns }} {{ net_prefix }}5 127.0.0.1
19 {% set ethid = ethid+1 %}