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-cengn-lynx
14 interfaces: ['bridge=brAdm,model=virtio','bridge=brData,model=virtio','bridge=brPublic,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://ubuntu@10.120.0.2/system
57 # Defines the IP Address that the configuration script will use to
58 # to access the MAAS controller via SSH.
59 ip_address: 10.120.0.3
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 upstream_dns: 192.168.60.1
67 maas_name: cengnlynxpod1
68 # kernel_opts: "console=tty0 console=ttyS1,115200n8"
69 # ntp_server: ntp.ubuntu.com
71 # This section is used to define the networking parameters for when
72 # the node first comes up. It is fed into the meta-data cloud-init
73 # configuration and is used to configure the networking piece of the
74 # service. The contents of this section are written directly to the
75 # /etc/network/interfaces file.
77 # Please note, this is slightly different than the
78 # node-group-interfaces section below. This will configure the
79 # machine's networking params, and the node-group-interfaces will
80 # configure the maas node-group interfaces which is used for
81 # controlling the dhcp, dns, etc.
84 iface lo inet loopback
87 iface eth0 inet static
91 broadcast 10.120.0.255
93 dns-nameservers 192.168.60.1 8.8.8.8 127.0.0.1
96 iface eth1 inet static
101 iface eth2 inet static
103 netmask 255.255.255.0
106 # The node-group-interfaces section is used to configure the MAAS
107 # network interfaces. Basic configuration is supported, such as which
108 # device should be bound, the range of IP addresses, etc.
109 # Note: this may contain the special identifiers:
110 # ${maas_net} - the first 3 octets of the ipv4 address
111 # ${maas_ip} - the ip address of the MAAS controller
115 subnet_mask: 255.255.255.0
116 broadcast_ip: 10.120.0.255
117 router_ip: 10.120.0.254
126 subnet_mask: 255.255.255.0
127 broadcast_ip: 172.16.121.255
137 subnet_mask: 255.255.255.0
138 broadcast_ip: 172.16.122.255
147 # Defines the physical nodes which are added to the MAAS cluster
148 # controller upon startup of the node.
150 - name: node3-control
152 architecture: amd64/generic
154 - "0c:c4:7a:3a:c5:b6"
157 address: 192.168.42.72
162 - name: node2-compute
164 architecture: amd64/generic
166 - "0c:c4:7a:3a:b2:ae"
169 address: 192.168.42.40
174 - name: node1-compute
176 architecture: amd64/generic
178 - "0c:c4:7a:1f:6f:c0"
181 address: 192.168.42.33
186 - name: node4-control
188 architecture: amd64/generic
190 - "0c:c4:7a:31:9d:bc"
193 address: 192.168.42.6
198 - name: node5-control
200 architecture: amd64/generic
202 - "00:25:90:fd:2e:48"
205 address: 192.168.42.35
211 # - name: jenkins-slave
212 # tags: jenkins-slave
213 # architecture: amd64/generic
215 # - "52:54:00:f0:5c:53"
218 # address: qemu+ssh://ubuntu@10.4.1.1/system
220 # Contains the virtual machine parameters for creating the Juju bootstrap
221 # node virtual machine
224 interfaces: ['bridge=brAdm,model=virtio','bridge=brPublic,model=virtio']