xci: roles: bootstrap-host: Simplify configuration files 99/56499/15
authorMarkos Chandras <mchandras@suse.de>
Wed, 25 Apr 2018 14:55:10 +0000 (15:55 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 30 Apr 2018 15:09:19 +0000 (16:09 +0100)
commit15be5eb8da9881428ea1635a3184c39f63dfaf80
tree7e46c3fc275e1ee8222568087999a89bcd153567
parentbe67faf1cfaeb2f0d1ff73c90c8b3996b2b6a506
xci: roles: bootstrap-host: Simplify configuration files

We split the networking task on distro specific files to make it
easier to read. Moreover, the debian network configuration has been
improved by simply sharing a common file across all nodes and also
use the 'source' facility in the main /etc/network/interfaces file
to use one configuration file per interface.

Change-Id: Ic822fe6dc197227e70c0ba7cee812629df287d82
Signed-off-by: Markos Chandras <mchandras@suse.de>
16 files changed:
xci/playbooks/roles/bootstrap-host/tasks/network.yml
xci/playbooks/roles/bootstrap-host/tasks/network_debian.yml [new file with mode: 0644]
xci/playbooks/roles/bootstrap-host/tasks/network_redhat.yml [new file with mode: 0644]
xci/playbooks/roles/bootstrap-host/tasks/network_suse.yml [new file with mode: 0644]
xci/playbooks/roles/bootstrap-host/templates/osa/debian.interface.j2 [new file with mode: 0644]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/compute00.interface.j2 [deleted file]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/compute01.interface.j2 [deleted symlink]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/controller00.interface.j2 [deleted file]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/controller01.interface.j2 [deleted symlink]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/controller02.interface.j2 [deleted symlink]
xci/playbooks/roles/bootstrap-host/templates/osa/debian/opnfv.interface.j2 [deleted file]
xci/playbooks/roles/bootstrap-host/templates/osa/redhat.interface.j2 [new file with mode: 0644]
xci/playbooks/roles/bootstrap-host/templates/osa/redhat/bridge.ifcfg.j2 [deleted file]
xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2 [deleted file]
xci/playbooks/roles/bootstrap-host/templates/osa/suse.interface.j2 [moved from xci/playbooks/roles/bootstrap-host/templates/osa/suse/suse.interface.j2 with 100% similarity]
xci/playbooks/roles/bootstrap-host/templates/osa/suse.routes.j2 [moved from xci/playbooks/roles/bootstrap-host/templates/osa/suse/suse.routes.j2 with 100% similarity]