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-juniper
14 interfaces: ['bridge=brAdm,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@172.16.50.51/system
38 # Defines the IP Address that the configuration script will use to
39 # to access the MAAS controller via SSH.
40 ip_address: 172.16.50.50
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://us.archive.ubuntu.com/ubuntu
49 maas_name: juniperpod1
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 172.16.50.255
74 dns-nameservers 8.8.8.8 127.0.0.1
77 iface eth1 inet static
81 broadcast 10.10.15.255
84 # The node-group-interfaces section is used to configure the MAAS
85 # network interfaces. Basic configuration is supported, such as which
86 # device should be bound, the range of IP addresses, etc.
87 # Note: this may contain the special identifiers:
88 # ${maas_net} - the first 3 octets of the ipv4 address
89 # ${maas_ip} - the ip address of the MAAS controller
93 subnet_mask: 255.255.255.0
94 broadcast_ip: 172.16.50.255
95 router_ip: 172.16.50.50
103 # Defines the physical nodes which are added to the MAAS cluster
104 # controller upon startup of the node.
106 - name: 2-R4N4B2-control
108 architecture: amd64/generic
110 - "0c:c4:7a:16:2a:70"
118 - name: 3-R4N3B1-compute
120 architecture: amd64/generic
122 - "0c:c4:7a:53:57:c2"
130 - name: 4-R4N4B4-control
132 architecture: amd64/generic
134 - "0c:c4:7a:16:22:9c"
142 - name: 5-R4N3B2-compute
144 architecture: amd64/generic
146 - "0c:c4:7a:53:57:16"
154 - name: 6-R4N4B3-control
156 architecture: amd64/generic
158 - "0c:c4:7a:16:2a:0a"
166 # Contains the virtual machine parameters for creating the Juju bootstrap
167 # node virtual machine
170 interfaces: ['bridge=brAdm,model=virtio', 'bridge=brPublic,model=virtio']