updated the cide for public address for onos. Also updated the
[joid.git] / ci / maas / intel / pod6 / deployment.yaml
1 # This file defines the deployment for the MAAS environment which is to be
2 # deployed and automated.
3 demo-maas:
4     maas:
5         # Defines the general setup for the MAAS environment, including the
6         # username and password for the host as well as the MAAS server.
7         user: ubuntu
8         password: ubuntu
9
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']
15         memory: 4096
16         vcpus: 4
17         arch: amd64
18         pool: default
19         disk_size: 160G
20
21         # Apt http proxy setting(s)
22         apt_http_proxy:
23
24         apt_sources:
25           - ppa:maas/stable
26           - ppa:juju/stable
27
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.
33         virsh:
34             rsa_priv_key: /home/ubuntu/.ssh/id_rsa
35             rsa_pub_key: /home/ubuntu/.ssh/id_rsa.pub
36             uri: qemu+ssh://jenkins@10.6.1.1/system
37
38         # Defines the IP Address that the configuration script will use to
39         # to access the MAAS controller via SSH.
40         ip_address: 10.6.1.2
41
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
46         settings:
47             main_archive: http://us.archive.ubuntu.com/ubuntu
48             upstream_dns: 8.8.8.8
49             maas_name: intelpod6
50             # kernel_opts: "console=tty0 console=ttyS1,115200n8"
51             # ntp_server: ntp.ubuntu.com
52
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.
58         #
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.
64         network_config: |
65             auto lo
66             iface lo inet loopback
67
68             auto eth0
69             iface eth0 inet static
70             address 10.6.1.2
71             netmask 255.255.255.0
72             network 10.6.1.0
73             broadcast 10.6.1.255
74             gateway 10.6.1.1
75             dns-nameservers 8.8.8.8 10.6.1.2 127.0.0.1
76
77             auto eth1
78             iface eth1 inet static
79             address 10.6.12.2
80             netmask 255.255.255.0
81
82             auto eth2
83             iface eth2 inet static
84             address 10.6.15.2
85             netmask 255.255.255.0
86
87             auto eth3
88             iface eth3 inet static
89             address 10.2.117.107
90             netmask 255.255.255.0
91             #auto lo
92             #iface lo inet loopback
93
94             #auto eth0
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
102
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 
109         node_group_ifaces:
110             - device: eth0
111               ip: 10.6.1.2
112               subnet_mask: 255.255.255.0
113               broadcast_ip: 10.6.1.255
114               router_ip: 10.6.1.1
115               static_range:
116                   low: 10.6.1.50
117                   high: 10.6.1.80
118               dynamic_range:
119                   low: 10.6.1.81
120                   high: 10.6.1.250
121             - device: eth1
122               ip: 10.6.12.2
123               subnet_mask: 255.255.255.0
124               broadcast_ip: 10.6.12.255
125               management: 1
126               static_range:
127                   low: 10.6.12.20
128                   high: 10.6.12.150
129               dynamic_range:
130                   low: 10.6.12.151
131                   high: 10.6.12.200
132             - device: eth2
133               ip: 10.6.15.2
134               subnet_mask: 255.255.255.0
135               broadcast_ip: 10.6.15.255
136               router_ip: 10.6.15.254
137               management: 1
138               static_range:
139                   low: 10.6.15.20
140                   high: 10.6.15.150
141               dynamic_range:
142                   low: 10.6.15.151
143                   high: 10.6.15.200
144
145         # Defines the physical nodes which are added to the MAAS cluster
146         # controller upon startup of the node.
147         nodes:
148             - name: node1-control
149               tags: control
150               architecture: amd64/generic
151               mac_addresses:
152                   - "00:1e:67:d8:ba:46"
153               power:
154                   type: ipmi
155                   address: 10.2.117.96
156                   user: root
157                   pass: root
158                   driver: LAN_2_0
159 #              sticky_ip_address:
160 #                  mac_address: "38:63:bb:43:b8:9c"
161 #                  requested_address: 192.168.122.5
162
163             - name: node2-control
164               tags: control
165               architecture: amd64/generic
166               mac_addresses:
167                   - "00:1e:67:e0:0b:72"
168               power:
169                   type: ipmi
170                   address: 10.2.117.97
171                   user: root
172                   pass: root
173                   driver: LAN_2_0
174 #              sticky_ip_address:
175 #                  mac_address: "38:63:bb:43:b8:9c"
176 #                  requested_address: 192.168.122.5
177                 
178             - name: node3-control
179               tags: control
180               architecture: amd64/generic
181               mac_addresses:
182                   - "00:1e:67:e0:09:33"
183               power:
184                   type: ipmi
185                   address: 10.2.117.98
186                   user: root
187                   pass: root
188                   driver: LAN_2_0
189 #              sticky_ip_address:
190 #                  mac_address: "38:63:bb:43:b8:9c"
191 #                  requested_address: 192.168.122.5
192
193             - name: node4-compute
194               tags: compute
195               architecture: amd64/generic
196               mac_addresses:
197                   - "00:1e:67:e0:09:fb"
198               power:
199                   type: ipmi
200                   address: 10.2.117.99
201                   user: root
202                   pass: root
203                   driver: LAN_2_0
204 #              sticky_ip_address:
205 #                  mac_address: "38:63:bb:43:b8:9c"
206 #                  requested_address: 192.168.122.5
207
208             - name: node5-compute
209               tags: compute
210               architecture: amd64/generic
211               mac_addresses:
212                   - "00:1e:67:cf:bc:f8"
213               power:
214                   type: ipmi
215                   address: 10.2.117.100
216                   user: root
217                   pass: root
218                   driver: LAN_2_0
219 #              sticky_ip_address:
220 #                  mac_address: "38:63:bb:43:b8:9c"
221 #                  requested_address: 192.168.122.5
222
223 #            - name: jenkins-slave
224 #              tags: jenkins-slave
225 #              architecture: amd64/generic
226 #              mac_addresses:
227 #                  - "52:54:00:f0:5c:53"
228 #              power:
229 #                  type: virsh
230 #                  address: qemu+ssh://ubuntu@10.4.1.1/system
231
232     # Contains the virtual machine parameters for creating the Juju bootstrap
233     # node virtual machine
234     juju-bootstrap:
235         name: bootstrap
236         interfaces: ['bridge=brAdm,model=virtio', 'bridge=brPublic,model=virtio', 'bridge=brExt,model=virtio']
237         memory: 4096
238         vcpus: 4
239         arch: amd64
240         pool: default
241         disk_size: 120G