openstack-ansible-ops/multi-node-aio/playbooks/kvm/libvirt-network-template.xml.j2
Dave Wilde 482e845d92 Improve multi-node AIO robustness
In order to improve the readability and robustness of the mnaio feature
I have replaced the shell out to virsh tasks to use the virt module
where available.  I have also created a vm-status play that will
hopefully help resolve SSH failures into the VMs.  This play utilizes
the block/rescue/handler pattern to attempt to restart the VM once if
it fails the initial SSH check.  Hopefully this will reduce the SSH
failures due to a suck VM.  This adds a new variable called
vm_ssh_timeout which allows the deployer an easy place to override the
default timeout.  The python-lxml package is needed for the virt module.

Change-Id: I027556b71a8c26d08a56b4ffa56b2eeaf1cbabe9
2018-06-29 10:12:16 -05:00

6 lines
128 B
Django/Jinja

<network>
<name>{{ item.value.iface }}</name>
<forward mode="bridge"/>
<bridge name="{{ item.value.iface }}"/>
</network>