2 <name>{{ ocloud_net_name }}</name>
5 <port start='1024' end='65535'/>
8 <bridge name='{{ ocloud_net_bridge }}' stp='on' delay='0'/>
9 <mac address='{{ ocloud_net_mac_prefix }}:01'/>
10 <ip address='{{ ocloud_net_cidr | ansible.utils.ipmath(1) }}' netmask='{{ ocloud_net_cidr | ansible.utils.ipaddr('netmask') }}'>
12 <range start='{{ ocloud_net_cidr | ansible.utils.ipmath(100) }}' end='{{ ocloud_net_cidr | ansible.utils.ipmath(250) }}'/>
13 {% for ocloud_host in groups['ocloud'] %}
14 <host mac='{{ ocloud_net_mac_prefix }}:{{ loop.index + 10 }}' name='{{ ocloud_host }}' ip='{{ ocloud_net_cidr | ansible.utils.ipmath(loop.index + 10) }}'/>