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 ceilometer: {{ netpublic_prefix }}24 {{ net_prefix }}24
50 cinder: {{ netpublic_prefix }}29 {{ net_prefix }}29
51 dashboard: {{ netpublic_prefix }}21 {{ net_prefix }}21
52 glance: {{ netpublic_prefix }}22 {{ net_prefix }}22
53 heat: {{ netpublic_prefix }}28 {{ net_prefix }}28
54 keystone: {{ netpublic_prefix }}23 {{ net_prefix }}23
55 mysql: {{ net_prefix }}25
56 neutron: {{ netpublic_prefix }}27 {{ net_prefix }}27
57 nova: {{ netpublic_prefix }}26 {{ net_prefix }}26
59 ceilometer: {{ net_prefix }}24
60 cinder: {{ net_prefix }}29
61 dashboard: {{ net_prefix }}21
62 glance: {{ net_prefix }}22
63 heat: {{ net_prefix }}28
64 keystone: {{ net_prefix }}23
65 mysql: {{ net_prefix }}25
66 neutron: {{ net_prefix }}27
67 nova: {{ net_prefix }}26