diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-19 07:41:50 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-04-06 04:03:02 -0700 |
commit | 8503b6c31989c1b290f3c81953410415265965d1 (patch) | |
tree | 6295d6e66deb2edae2f52c149a5ec42c830668a6 /xci/playbooks/roles/bootstrap-host/templates/suse | |
parent | a2cf6b44936886ff3cc142907552b016e8f5d42e (diff) |
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 <victor.morales@intel.com>
Change-Id: Ie805c3c7716393377d4dfcb32ed794cc1039d515
Diffstat (limited to 'xci/playbooks/roles/bootstrap-host/templates/suse')
-rw-r--r-- | xci/playbooks/roles/bootstrap-host/templates/suse/suse.interface.j2 | 17 | ||||
-rw-r--r-- | xci/playbooks/roles/bootstrap-host/templates/suse/suse.routes.j2 | 1 |
2 files changed, 0 insertions, 18 deletions
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 }} |