tripleo-quickstart/roles/environment
Michael Chapman 77af816f52 Add support for virtual port types
the virtualport type attribute can be used to connect to bridges
that are provided by OpenVSwitch, as opposed to the default
linuxbridge. This functionality is not available to unprivileged
VMs, and will require additional configuration to enable.

The OVS bridges are created in the environment role as part of
setup and teardown, using the ansible ovs module.

Change-Id: I5a569c34a66b67877f7b471d3864e9ae6806bef6
Signed-off-by: Michael Chapman <woppin@gmail.com>
2017-04-12 01:24:09 +10:00
..
meta Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
setup Add support for virtual port types 2017-04-12 01:24:09 +10:00
tasks Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
teardown Add support for virtual port types 2017-04-12 01:24:09 +10:00
vars Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
README.md move most things out from the playbooks dir, and use config for release info 2016-05-25 16:43:36 -04:00

README.md

Configure libvirt environment

The environment/setup role will:

  • Install libvirt and any dependencies
  • Configure and load the kvm module (and arch-specific kvm_intel or kvm_amd module)
  • Configure the libvirt networks defined in the networks variable
  • Whitelist the libvirt network bridges in /etc/qemu/bridge.conf (or equivalent file)

The environment/teardown role will:

  • Remove whitelist entries from /etc/qemu/bridge.conf
  • Destroy and undefine the libvirt networks

The cleanup role will not remote packages or attempt to undo the KVM configuration, because these things may have been configured prior to running the script and we do not want to break an existing environment.