Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 1 | # Deployment configuration for a physical hardware POD |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 2 | --- |
Luca Prete | 5dbee73 | 2017-03-13 17:09:50 -0700 | [diff] [blame] | 3 | |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 4 | # this is used to generate the genconfig/cord-inv file |
| 5 | headnode: |
| 6 | ip: '10.201.101.11' |
| 7 | ansible_user: 'cord' |
| 8 | ansible_ssh_pass: 'cord' |
| 9 | ansible_ssh_port: 22 |
| 10 | |
| 11 | common: |
| 12 | |
| 13 | # set to the profile of cord you want to install |
| 14 | cord_profile: 'rcord' |
| 15 | |
| 16 | # directories on the head node that the cord dir is copied to, and profile is created in |
| 17 | cord_dir: '/opt/cord' |
| 18 | cord_profile_dir: '/opt/cord_profile' |
| 19 | |
| 20 | |
| 21 | # all of these are written to genconfig/config.yml, and needs a rework |
| 22 | |
| 23 | # Network address information for the head node: |
| 24 | # |
| 25 | # fabric_ip - the IP address and mask bits to be used to configure the network |
| 26 | # interface connected to the leaf - spine fabric |
| 27 | # |
| 28 | # management_ip - the IP address and mask bits to be used to configure the network |
| 29 | # interface connecting the head node to the POD internal |
| 30 | # management network. The head node will deliver DHCP addresses to |
| 31 | # the other compute nodes over this interface |
| 32 | # |
| 33 | # external_ip - the IP address and mask bits to be used to configure the network |
| 34 | # interface connecting the head node (and the POD) to the |
| 35 | # Internet. All traffic in the POD to external hosts will be |
| 36 | # NAT-ed through this interface |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 37 | fabric_ip: '10.6.1.1/24' |
| 38 | management_ip: '10.6.0.1/24' |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 39 | external_ip: '10.201.101.11/24' |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 40 | external_iface: 'eth2' |
| 41 | external_gw: '10.201.101.1' |
Luca Prete | 5dbee73 | 2017-03-13 17:09:50 -0700 | [diff] [blame] | 42 | skipTags: |
Luca Prete | f381f79 | 2017-04-20 13:38:38 -0400 | [diff] [blame^] | 43 | extraVars: |
| 44 | - 'management_ignore_names=eth0' |
Luca Prete | 5dbee73 | 2017-03-13 17:09:50 -0700 | [diff] [blame] | 45 | |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 46 | passwords: |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 47 | compute_node: "ubuntu" |
| 48 | maas_admin: "admin" |
| 49 | maas_user: "cord" |
Luca Prete | 766e940 | 2017-03-10 14:02:32 -0800 | [diff] [blame] | 50 | |
| 51 | docker: |
| 52 | imageVersion: candidate |
Luca Prete | f3a3961 | 2017-04-11 15:30:44 -0700 | [diff] [blame] | 53 | |
| 54 | otherNodes: |
| 55 | # Experimental |
| 56 | # |
| 57 | # Specifies the subnet and address range that will be used to allocate IP addresses |
| 58 | # to the compute nodes as they are deployed into the POD. |
| 59 | fabric: |
| 60 | network: 10.6.1.1/24 |
| 61 | range_low: 10.6.1.2 |
| 62 | range_high: 10.6.1.253 |
| 63 | |