1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
12 opnfv_net_admin_mask: {{ nm.net_admin | ipnet_netmask }}
13 opnfv_net_mgmt_mask: {{ nm.net_admin | ipnet_netmask }}
14 opnfv_net_private_mask: {{ nm.net_admin | ipnet_netmask }}
15 opnfv_net_public_mask: {{ nm.net_public | ipnet_netmask }}
17 opnfv_net_public: {{ nm.net_public }}
18 opnfv_net_public_gw: {{ nm.net_public_gw }}
19 opnfv_net_public_pool_start: {{ nm.net_public_pool_start }}
20 opnfv_net_public_pool_end: {{ nm.net_public_pool_end }}
22 opnfv_net_tenant_vlan: "{{ nm.vlan_private | string | replace('-', ':') }}"
24 {%- for network in nm.networks %}
25 {%- for key in nm.hosts[network] %}
26 {%- set i = loop.index + nm.start_ip[network] %}
27 {{key}}: {{ network | ipnet_hostaddr(i) }}
33 tcp_keepalive_idle: 60