diff options
author | 2017-07-25 12:47:44 -0500 | |
---|---|---|
committer | 2017-07-25 14:46:38 -0500 | |
commit | bba15961e7ffeaa27bb1d0f9c2f975a7f187fdd5 (patch) | |
tree | 7675d6b9efbc5e81bf45eb740899b0040d03046e /ci/config_tpl/maas_tpl/maas-network_config.yaml | |
parent | 104b79844106eb6961b361b70071ad70f0dd9c95 (diff) |
modified to accomodate OCL
Change-Id: Ib8227c4050b51adc2c466511bedf47e45a817db1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/maas_tpl/maas-network_config.yaml')
-rw-r--r-- | ci/config_tpl/maas_tpl/maas-network_config.yaml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ci/config_tpl/maas_tpl/maas-network_config.yaml b/ci/config_tpl/maas_tpl/maas-network_config.yaml deleted file mode 100644 index 6188a515..00000000 --- a/ci/config_tpl/maas_tpl/maas-network_config.yaml +++ /dev/null @@ -1,20 +0,0 @@ - auto lo - iface lo inet loopback -{% set ethid = 0 %} -{% for net in opnfv.spaces %} - - auto eth{{ ethid }} - iface eth{{ ethid }} inet static - netmask 255.255.255.0 -{% if net.type!='external' %} -{% set net_prefix = net.cidr[:-4] %} - address {{ net_prefix }}5 -{% else %} - address {{ net.ipaddress }} -{% endif %} -{% if net.type=='admin' %} - gateway {{ net.gateway }} - dns-nameservers {{ lab.racks[0].dns }} {{ net_prefix }}5 127.0.0.1 -{% endif %} -{% set ethid = ethid+1 %} -{% endfor %} |