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']
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@10.120.0.2/system
38 # Defines the IP Address that the configuration script will use to
39 # to access the MAAS controller via SSH.
40 ip_address: 10.120.0.3
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 upstream_dns: 192.168.60.1
48 maas_name: cengnlynxpod1
49 # kernel_opts: "console=tty0 console=ttyS1,115200n8"
50 # ntp_server: ntp.ubuntu.com
52 # This section is used to define the networking parameters for when
53 # the node first comes up. It is fed into the meta-data cloud-init
54 # configuration and is used to configure the networking piece of the
55 # service. The contents of this section are written directly to the
56 # /etc/network/interfaces file.
58 # Please note, this is slightly different than the
59 # node-group-interfaces section below. This will configure the
60 # machine's networking params, and the node-group-interfaces will
61 # configure the maas node-group interfaces which is used for
62 # controlling the dhcp, dns, etc.
65 iface lo inet loopback
68 iface eth0 inet static
72 broadcast 10.120.0.255
74 dns-nameservers 192.168.60.1 8.8.8.8 127.0.0.1
77 iface eth1 inet static
82 iface eth2 inet static
87 # The node-group-interfaces section is used to configure the MAAS
88 # network interfaces. Basic configuration is supported, such as which
89 # device should be bound, the range of IP addresses, etc.
90 # Note: this may contain the special identifiers:
91 # ${maas_net} - the first 3 octets of the ipv4 address
92 # ${maas_ip} - the ip address of the MAAS controller
96 subnet_mask: 255.255.255.0
97 broadcast_ip: 10.120.0.255
98 router_ip: 10.120.0.254
107 subnet_mask: 255.255.255.0
108 broadcast_ip: 172.16.121.255
118 subnet_mask: 255.255.255.0
119 broadcast_ip: 172.16.122.255
128 # Defines the physical nodes which are added to the MAAS cluster
129 # controller upon startup of the node.
131 - name: node1-compute
133 architecture: amd64/generic
135 - "0c:c4:7a:3a:c5:b6"
138 address: 192.168.42.72
143 - name: node2-compute
145 architecture: amd64/generic
147 - "0c:c4:7a:3a:b2:ae"
150 address: 192.168.42.40
155 - name: node3-control
157 architecture: amd64/generic
159 - "0c:c4:7a:1f:6f:c0"
162 address: 192.168.42.33
167 - name: node4-control
169 architecture: amd64/generic
171 - "0c:c4:7a:31:9d:bc"
174 address: 192.168.42.6
179 - name: node5-control
181 architecture: amd64/generic
183 - "00:25:90:fd:2e:48"
186 address: 192.168.42.35
192 # - name: jenkins-slave
193 # tags: jenkins-slave
194 # architecture: amd64/generic
196 # - "52:54:00:f0:5c:53"
199 # address: qemu+ssh://ubuntu@10.4.1.1/system
201 # Contains the virtual machine parameters for creating the Juju bootstrap
202 # node virtual machine
205 interfaces: ['bridge=brAdm,model=virtio','bridge=brPublic,model=virtio']