2 {% set net_prefix = opnfv.spaces_dict.admin.cidr[:-4] %}
3 admNetgway: {{ opnfv.spaces_dict.admin.gateway }}
4 admNetwork: {{ net_prefix }}2
5 admin_password: openstack
6 {% if opnfv.storage_dict.ceph is defined %}
7 ceph-disk: {{ opnfv.storage_dict.ceph.disk }}
9 {% if opnfv.spaces_dict.data is defined %}
10 {% set netdata_prefix = opnfv.spaces_dict.data.cidr[:-4] %}
11 dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
13 domain: {{ lab.racks[0].osdomainname }}
14 ext-port: {{ lab.racks[0]['ext-port'] }}
15 ext_port: {{ lab.racks[0]['ext-port'] }}
16 floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
17 interface-enable: {{ lab.racks[0].ifnamelist }}
18 os-domain-name: {{ lab.racks[0].osdomainname }}
19 {% if opnfv.spaces_dict.public is defined %}
20 {% set netpublic_prefix = opnfv.spaces_dict.mgmt.cidr[:-4] %}
21 publicNetwork: {{ opnfv.spaces_dict.mgmt.cidr }}
24 {% for net in opnfv.spaces %}
25 - bridge: {{ net.bridge }}
27 gateway: {{ net.gateway or '' }}
29 vlan: {{ net.vlan or '' }}
32 {% for storage in opnfv.storage %}
33 - disk: {{ storage.disk }}
34 type: {{ storage.type }}
36 {% if opnfv.spaces_dict.storage is defined %}
37 storageNetwork: {{ opnfv.spaces_dict.storage.cidr }}
39 units: {{ lab.racks[0].nodes|count }}
41 {% if opnfv.spaces_dict.mgmt is defined %}
42 ceilometer: {{ netpublic_prefix }}24
43 cinder: {{ netpublic_prefix }}29
44 dashboard: {{ netpublic_prefix }}21
45 glance: {{ netpublic_prefix }}22
46 heat: {{ netpublic_prefix }}28
47 keystone: {{ netpublic_prefix }}23
48 mysql: {{ net_prefix }}25
49 neutron: {{ netpublic_prefix }}27
50 nova: {{ netpublic_prefix }}26
52 ceilometer: {{ net_prefix }}24
53 cinder: {{ net_prefix }}29
54 dashboard: {{ net_prefix }}21
55 glance: {{ net_prefix }}22
56 heat: {{ net_prefix }}28
57 keystone: {{ net_prefix }}23
58 mysql: {{ net_prefix }}25
59 neutron: {{ net_prefix }}27
60 nova: {{ net_prefix }}26