1 opnfv-{{ lab.location }}{{ lab.racks[0].rack }}-maas:
3 {% if opnfv.spaces_dict.osapi is defined %}
4 {% set net_prefix = opnfv.spaces_dict.osapi.cidr[:-4] %}
6 {% set net_prefix = opnfv.spaces_dict.admin.cidr[:-4] %}
8 admNetgway: {{ opnfv.spaces_dict.admin.gateway }}
9 admNetwork: {{ net_prefix }}2
10 admin_password: openstack
11 ip_address: {{ os.brAdmIP }}
12 maas_name: {{ lab.location }}{{ lab.racks[0].rack }}
13 main_archive: http://archive.ubuntu.com/ubuntu
14 upstream_dns: {{ lab.racks[0].dns }}
15 {% if opnfv.storage_dict.ceph is defined %}
16 ceph-disk: {{ opnfv.storage_dict.ceph.disk }}
18 {% if opnfv.spaces_dict.data is defined %}
19 {% set netdata_prefix = opnfv.spaces_dict.data.cidr[:-4] %}
20 dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
22 ext-port: {{ lab.racks[0]['ext-port'] }}
23 ext_port: {{ lab.racks[0]['ext-port'] }}
24 floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
25 interface-enable: {{ lab.racks[0].ifnamelist }}
26 {% if opnfv.spaces_dict.public is defined %}
27 {% set netpublic_prefix = opnfv.spaces_dict.public.cidr[:-4] %}
28 publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
31 {% for net in opnfv.spaces %}
32 - bridge: {{ net.bridge }}
34 gateway: {{ net.gateway or '' }}
36 vlan: {{ net.vlan or '' }}
39 {% for storage in opnfv.storage %}
40 - disk: {{ storage.disk }}
41 type: {{ storage.type }}
43 {% if opnfv.spaces_dict.storage is defined %}
44 storageNetwork: {{ opnfv.spaces_dict.storage.cidr }}
46 units: {{ lab.racks[0].nodes|count }}
48 {% if opnfv.spaces_dict.public is defined %}
49 dashboard: {{ netpublic_prefix }}21 {{ net_prefix }}21
50 glance: {{ netpublic_prefix }}22 {{ net_prefix }}22
51 keystone: {{ netpublic_prefix }}23 {{ net_prefix }}23
52 ceilometer: {{ netpublic_prefix }}24 {{ net_prefix }}24
53 mysql: {{ net_prefix }}25
54 nova: {{ netpublic_prefix }}26 {{ net_prefix }}26
55 neutron: {{ netpublic_prefix }}27 {{ net_prefix }}27
56 heat: {{ netpublic_prefix }}28 {{ net_prefix }}28
57 cinder: {{ netpublic_prefix }}29 {{ net_prefix }}29
58 radosgw: {{ netpublic_prefix }}30 {{ net_prefix }}30
60 dashboard: {{ net_prefix }}21
61 glance: {{ net_prefix }}22
62 keystone: {{ net_prefix }}23
63 ceilometer: {{ net_prefix }}24
64 mysql: {{ net_prefix }}25
65 nova: {{ net_prefix }}26
66 neutron: {{ net_prefix }}27
67 heat: {{ net_prefix }}28
68 cinder: {{ net_prefix }}29
69 radosgw: {{ net_prefix }}30