Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Zack Williams | dae7ff6 | 2016-11-14 15:20:06 -0700 | [diff] [blame] | 17 | # Deployment configuration for a physical hardware POD |
David K. Bainbridge | 119a3b0 | 2016-06-16 18:10:30 -0700 | [diff] [blame] | 18 | --- |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 19 | |
| 20 | # this is used to generate the genconfig/cord-inv file |
| 21 | headnode: |
alshabib | cb8e09b | 2016-09-06 11:41:29 -0700 | [diff] [blame] | 22 | ip: '10.90.0.251' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 23 | ansible_user: 'cord' |
| 24 | ansible_ssh_pass: 'cord' |
| 25 | ansible_ssh_port: 22 |
| 26 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 27 | common: |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 28 | |
| 29 | # set to the profile of cord you want to install |
| 30 | cord_profile: 'rcord' |
| 31 | |
Zack Williams | 83a94ce | 2017-05-20 13:36:09 -0700 | [diff] [blame] | 32 | # cord dir is shared to corddev VM, causing permissions issues if these aren't set |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 33 | credentials_dir: '/opt/credentials' |
| 34 | pki_dir: '/opt/pki' |
| 35 | ssh_pki_dir: '/opt/ssh_pki' |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 36 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 37 | # all of these are written to genconfig/config.yml, and needs a rework |
| 38 | |
David K. Bainbridge | 119a3b0 | 2016-06-16 18:10:30 -0700 | [diff] [blame] | 39 | # Network address information for the head node: |
| 40 | # |
| 41 | # fabric_ip - the IP address and mask bits to be used to configure the network |
| 42 | # interface connected to the leaf - spine fabric |
| 43 | # |
| 44 | # management_ip - the IP address and mask bits to be used to configure the network |
| 45 | # interface connecting the head node to the POD internal |
| 46 | # management network. The head node will deliver DHCP addresses to |
| 47 | # the other compute nodes over this interface |
| 48 | # |
| 49 | # external_ip - the IP address and mask bits to be used to configure the network |
| 50 | # interface connecting the head node (and the POD) to the |
| 51 | # Internet. All traffic in the POD to external hosts will be |
| 52 | # NAT-ed through this interface |
| 53 | fabric_ip: '10.6.1.1/24' |
| 54 | management_ip: '10.6.0.1/24' |
alshabib | 286ef8c | 2016-09-09 12:50:30 -0700 | [diff] [blame] | 55 | external_ip: '10.90.0.251/16' |
alshabib | 5e8a326 | 2016-08-25 14:00:47 -0700 | [diff] [blame] | 56 | external_iface: 'eth0' |
alshabib | 4970f27 | 2016-09-09 14:26:59 -0700 | [diff] [blame] | 57 | external_gw: '10.90.0.1' |
David K. Bainbridge | 119a3b0 | 2016-06-16 18:10:30 -0700 | [diff] [blame] | 58 | skipTags: |
alshabib | 0aac4e4 | 2016-06-17 15:47:08 -0700 | [diff] [blame] | 59 | |
David K. Bainbridge | ca3b5d2 | 2016-12-02 19:53:37 -0800 | [diff] [blame] | 60 | passwords: |
| 61 | compute_node: "ubuntu" |
| 62 | maas_admin: "admin" |
| 63 | maas_user: "cord" |
| 64 | |
alshabib | 0aac4e4 | 2016-06-17 15:47:08 -0700 | [diff] [blame] | 65 | docker: |
| 66 | imageVersion: candidate |
| 67 | |
David K. Bainbridge | 119a3b0 | 2016-06-16 18:10:30 -0700 | [diff] [blame] | 68 | otherNodes: |
| 69 | # Experimental |
| 70 | # |
| 71 | # Specifies the subnet and address range that will be used to allocate IP addresses |
| 72 | # to the compute nodes as they are deployed into the POD. |
| 73 | fabric: |
| 74 | network: 10.6.1.1/24 |
| 75 | range_low: 10.6.1.2 |
| 76 | range_high: 10.6.1.253 |