2 Copyright (c) 2017 Mirantis Inc., Enea AB and others.
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Apache License, Version 2.0
6 which accompanies this distribution, and is available at
7 http://www.apache.org/licenses/LICENSE-2.0
9 {%- if conf.idf.net_config.public is defined %}
10 {%- set public_network = conf.idf.net_config.public.network %}
11 {%- set public_prefix = conf.idf.net_config.public.mask %}
13 {%- set public_network = '10.16.0.0' %}
14 {%- set public_prefix = '24' %}
18 <bridge name="public"/>
20 <ip address="{{ public_network | ipaddr_index(1) }}" netmask="{{ public_prefix | netmask }}"/>