From 8503b6c31989c1b290f3c81953410415265965d1 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 19 Mar 2018 07:41:50 -0700 Subject: Move configuration network templates The jinja templates that are used for networking setup are based on the openstack-ansible needs, those needs can differ for another installers. This change propose to make the network configuration depending on the installer. Signed-off-by: Victor Morales Change-Id: Ie805c3c7716393377d4dfcb32ed794cc1039d515 --- .../bootstrap-host/templates/suse/suse.interface.j2 | 17 ----------------- .../roles/bootstrap-host/templates/suse/suse.routes.j2 | 1 - 2 files changed, 18 deletions(-) delete mode 100644 xci/playbooks/roles/bootstrap-host/templates/suse/suse.interface.j2 delete mode 100644 xci/playbooks/roles/bootstrap-host/templates/suse/suse.routes.j2 (limited to 'xci/playbooks/roles/bootstrap-host/templates/suse') diff --git a/xci/playbooks/roles/bootstrap-host/templates/suse/suse.interface.j2 b/xci/playbooks/roles/bootstrap-host/templates/suse/suse.interface.j2 deleted file mode 100644 index 27b01eb4..00000000 --- a/xci/playbooks/roles/bootstrap-host/templates/suse/suse.interface.j2 +++ /dev/null @@ -1,17 +0,0 @@ -STARTMODE='auto' -BOOTPROTO='static' -{% if item.vlan_id is defined %} -ETHERDEVICE={{ ansible_default_ipv4.interface }} -VLAN_ID={{ item.vlan_id }} -{% endif %} -{% if item.bridge_ports is defined %} -BRIDGE='yes' -BRIDGE_FORWARDDELAY='0' -BRIDGE_STP=off -BRIDGE_PORTS={{ item.bridge_ports }} -{% endif %} -{% if item.ip is defined %} -IPADDR={{ item.ip }} -{% endif %} -PRE_UP_SCRIPT="compat:suse:network-config-suse" -POST_DOWN_SCRIPT="compat:suse:network-config-suse" diff --git a/xci/playbooks/roles/bootstrap-host/templates/suse/suse.routes.j2 b/xci/playbooks/roles/bootstrap-host/templates/suse/suse.routes.j2 deleted file mode 100644 index 7c868447..00000000 --- a/xci/playbooks/roles/bootstrap-host/templates/suse/suse.routes.j2 +++ /dev/null @@ -1 +0,0 @@ -{{ item.route }} {{ item.gateway }} -- cgit 1.2.3-korg