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 dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
12 domain: {{ lab.racks[0].osdomainname }}
13 ext-port: {{ lab.racks[0]['ext-port'] }}
14 ext_port: {{ lab.racks[0]['ext-port'] }}
15 floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
16 interface-enable: {{ lab.racks[0].ifnamelist }}
17 os-domain-name: {{ lab.racks[0].osdomainname }}
18 {% if opnfv.spaces_dict.public is defined %}
19 publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
22 {% for net in opnfv.spaces %}
23 - bridge: {{ net.bridge }}
25 gateway: {{ net.gateway or '' }}
27 vlan: {{ net.vlan or '' }}
30 {% for storage in opnfv.storage %}
31 - disk: {{ storage.disk }}
32 type: {{ storage.type }}
34 {% if opnfv.spaces_dict.storage is defined %}
35 storageNetwork: {{ opnfv.spaces_dict.storage.cidr }}
37 units: {{ lab.racks[0].nodes|count }}
39 ceilometer: {{ net_prefix }}24
40 cinder: {{ net_prefix }}29
41 dashboard: {{ net_prefix }}21
42 glance: {{ net_prefix }}22
43 heat: {{ net_prefix }}28
44 keystone: {{ net_prefix }}23
45 mysql: {{ net_prefix }}25
46 neutron: {{ net_prefix }}27
47 nova: {{ net_prefix }}26
48 rabbitmq: {{ net_prefix }}20