Luca Prete | 154384b | 2017-05-10 09:38:55 -0700 | [diff] [blame^] | 1 | # Deployment configuration for a physical hardware POD |
| 2 | --- |
| 3 | |
| 4 | # this is used to generate the genconfig/cord-inv file |
| 5 | headnode: |
| 6 | ip: '10.201.101.21' |
| 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 |
| 37 | fabric_ip: '10.6.1.1/24' |
| 38 | management_ip: '10.6.0.1/24' |
| 39 | external_ip: '10.201.101.21/24' |
| 40 | external_iface: 'eth2' |
| 41 | external_gw: '10.201.101.1' |
| 42 | skipTags: |
| 43 | extraVars: |
| 44 | - 'management_ignore_names=eth0' |
| 45 | |
| 46 | passwords: |
| 47 | compute_node: "ubuntu" |
| 48 | maas_admin: "admin" |
| 49 | maas_user: "cord" |
| 50 | |
| 51 | docker: |
| 52 | imageVersion: candidate |
| 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 | |