1 # This file defines the deployment for the MAAS environment which is to be
2 # deployed and automated.
5 # Defines the general setup for the MAAS environment, including the
6 # username and password for the host as well as the MAAS server.
10 # Contains the virtual machine parameters for creating the MAAS virtual
11 # server. Here you can configure the name of the virsh domain, the
12 # parameters for how the network is attached.
13 name: opnfv-maas-orange
14 interfaces: ['bridge=brAdm,model=virtio', 'bridge=brData,model=virtio', 'bridge=brStorage,model=virtio']
21 # Apt http proxy setting(s)
28 # Virsh power settings
29 # Specifies the uri and keys to use for virsh power control of the
30 # juju virtual machine. If the uri is omitted, the value for the
31 # --remote is used. If no power settings are desired, then do not
32 # supply the virsh block.
34 rsa_priv_key: /home/ubuntu/.ssh/id_rsa
35 rsa_pub_key: /home/ubuntu/.ssh/id_rsa.pub
36 uri: qemu+ssh://ubuntu@192.168.2.4/system
38 # Defines the IP Address that the configuration script will use to
39 # to access the MAAS controller via SSH.
40 ip_address: 192.168.2.5
42 # This section allows the user to set a series of options on the
43 # MAAS server itself. The list of config options can be found in
44 # the upstream MAAS documentation:
45 # - http://maas.ubuntu.com/docs/api.html#maas-server
47 main_archive: http://fr.archive.ubuntu.com/ubuntu
48 upstream_dns: 192.168.2.1
50 # kernel_opts: "console=tty0 console=ttyS1,115200n8"
51 # ntp_server: ntp.ubuntu.com
53 # This section is used to define the networking parameters for when
54 # the node first comes up. It is fed into the meta-data cloud-init
55 # configuration and is used to configure the networking piece of the
56 # service. The contents of this section are written directly to the
57 # /etc/network/interfaces file.
59 # Please note, this is slightly different than the
60 # node-group-interfaces section below. This will configure the
61 # machine's networking params, and the node-group-interfaces will
62 # configure the maas node-group interfaces which is used for
63 # controlling the dhcp, dns, etc.
66 iface lo inet loopback
69 iface eth0 inet static
73 broadcast 192.168.2.255
75 dns-nameservers 192.168.2.1 127.0.0.1
78 iface eth1 inet static
82 broadcast 192.168.12.255
85 iface eth2 inet static
89 broadcast 192.168.22.255
92 #iface lo inet loopback
95 #iface eth0 inet static
96 # address 192.168.122.2
97 # netmask 255.255.248.0
98 # network 192.168.122.0
99 # broadcast 192.168.122.255
100 # gateway 192.168.122.1
101 # dns-nameservers 192.168.122.1 127.0.0.1
103 # The node-group-interfaces section is used to configure the MAAS
104 # network interfaces. Basic configuration is supported, such as which
105 # device should be bound, the range of IP addresses, etc.
106 # Note: this may contain the special identifiers:
107 # ${maas_net} - the first 3 octets of the ipv4 address
108 # ${maas_ip} - the ip address of the MAAS controller
112 subnet_mask: 255.255.255.0
113 broadcast_ip: 192.168.2.255
114 router_ip: 192.168.2.1
123 subnet_mask: 255.255.255.0
124 broadcast_ip: 192.168.12.255
134 subnet_mask: 255.255.255.0
135 broadcast_ip: 192.168.22.255
144 # Defines the physical nodes which are added to the MAAS cluster
145 # controller upon startup of the node.
147 - name: node1-compute
149 architecture: amd64/generic
151 - "38:63:bb:3f:bc:c8"
154 address: 192.168.2.11
159 # mac_address: "38:63:bb:43:b8:9c"
160 # requested_address: 192.168.122.5
162 - name: node2-compute
164 architecture: amd64/generic
166 - "38:63:bb:44:34:84"
169 address: 192.168.2.12
174 - name: node3-compute
176 architecture: amd64/generic
178 - "38:63:bb:3f:1d:8c"
181 address: 192.168.2.13
186 - name: node4-compute
188 architecture: amd64/generic
190 - "38:63:bb:3f:2d:a8"
193 address: 192.168.2.14
198 - name: node5-control
200 architecture: amd64/generic
202 - "94:57:a5:52:c9:48"
205 address: 192.168.2.15
210 - name: node6-control
212 architecture: amd64/generic
214 - "94:57:a5:52:63:b0"
217 address: 192.168.2.16
222 - name: node7-control
224 architecture: amd64/generic
226 - "94:57:a5:52:f1:80"
229 address: 192.168.2.17
234 # Contains the virtual machine parameters for creating the Juju bootstrap
235 # node virtual machine
238 interfaces: ['bridge=brAdm,model=virtio']