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-intel
14 interfaces: ['bridge=brAdm,model=virtio', 'bridge=brData,model=virtio', 'bridge=brPublic,model=virtio', 'bridge=brExt,model=virtio']
22 # Apt http proxy setting(s)
30 url: http://maas.ubuntu.com/images/ephemeral-v2/daily/
31 keyring_filename: /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
47 # Virsh power settings
48 # Specifies the uri and keys to use for virsh power control of the
49 # juju virtual machine. If the uri is omitted, the value for the
50 # --remote is used. If no power settings are desired, then do not
51 # supply the virsh block.
53 rsa_priv_key: /home/ubuntu/.ssh/id_rsa
54 rsa_pub_key: /home/ubuntu/.ssh/id_rsa.pub
55 uri: qemu+ssh://jenkins@10.9.1.1/system
57 # Defines the IP Address that the configuration script will use to
58 # to access the MAAS controller via SSH.
61 # This section allows the user to set a series of options on the
62 # MAAS server itself. The list of config options can be found in
63 # the upstream MAAS documentation:
64 # - http://maas.ubuntu.com/docs/api.html#maas-server
66 main_archive: http://us.archive.ubuntu.com/ubuntu
69 # kernel_opts: "console=tty0 console=ttyS1,115200n8"
70 # ntp_server: ntp.ubuntu.com
72 # This section is used to define the networking parameters for when
73 # the node first comes up. It is fed into the meta-data cloud-init
74 # configuration and is used to configure the networking piece of the
75 # service. The contents of this section are written directly to the
76 # /etc/network/interfaces file.
78 # Please note, this is slightly different than the
79 # node-group-interfaces section below. This will configure the
80 # machine's networking params, and the node-group-interfaces will
81 # configure the maas node-group interfaces which is used for
82 # controlling the dhcp, dns, etc.
85 iface lo inet loopback
88 iface eth0 inet static
94 dns-nameservers 8.8.8.8 10.9.1.2 127.0.0.1
97 iface eth1 inet static
102 iface eth2 inet static
104 netmask 255.255.255.0
107 iface eth3 inet static
109 netmask 255.255.255.0
111 #iface lo inet loopback
114 #iface eth0 inet static
115 # address 192.168.122.2
116 # netmask 255.255.248.0
117 # network 192.168.122.0
118 # broadcast 192.168.122.255
119 # gateway 192.168.122.1
120 # dns-nameservers 192.168.122.1 127.0.0.1
122 # The node-group-interfaces section is used to configure the MAAS
123 # network interfaces. Basic configuration is supported, such as which
124 # device should be bound, the range of IP addresses, etc.
125 # Note: this may contain the special identifiers:
126 # ${maas_net} - the first 3 octets of the ipv4 address
127 # ${maas_ip} - the ip address of the MAAS controller
131 subnet_mask: 255.255.255.0
132 broadcast_ip: 10.9.1.255
142 subnet_mask: 255.255.255.0
143 broadcast_ip: 10.9.12.255
153 subnet_mask: 255.255.255.0
154 broadcast_ip: 10.9.15.255
155 router_ip: 10.9.15.254
164 # Defines the physical nodes which are added to the MAAS cluster
165 # controller upon startup of the node.
167 - name: node1-control
169 architecture: amd64/generic
171 - "00:1E:67:D4:30:38"
174 address: 10.2.117.150
179 # mac_address: "38:63:bb:43:b8:9c"
180 # requested_address: 192.168.122.5
182 - name: node2-control
184 architecture: amd64/generic
186 - "00:1E:67:D4:33:A3"
189 address: 10.2.117.152
194 # mac_address: "38:63:bb:43:b8:9c"
195 # requested_address: 192.168.122.5
197 - name: node3-control
199 architecture: amd64/generic
201 - "00:1E:67:D4:2F:BA"
204 address: 10.2.117.154
209 # mac_address: "38:63:bb:43:b8:9c"
210 # requested_address: 192.168.122.5
212 - name: node4-compute
214 architecture: amd64/generic
216 - "00:1E:67:D4:37:7E"
219 address: 10.2.117.156
224 - name: node5-compute
226 architecture: amd64/generic
228 - "98:4F:EE:10:04:65"
231 address: 10.2.117.158
236 - name: node6-compute
238 architecture: amd64/generic
240 - "00:1E:67:FE:F4:24"
243 address: 10.2.117.160
249 # - name: jenkins-slave
250 # tags: jenkins-slave
251 # architecture: amd64/generic
253 # - "52:54:00:f0:5c:53"
256 # address: qemu+ssh://ubuntu@10.4.1.1/system
258 # Contains the virtual machine parameters for creating the Juju bootstrap
259 # node virtual machine
262 interfaces: ['bridge=brAdm,model=virtio', 'bridge=brPublic,model=virtio', 'bridge=brExt,model=virtio']