You Wang | 3e6beac | 2017-08-31 15:12:13 -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 | |
Luca Prete | 14a4406 | 2017-05-08 15:52:53 -0700 | [diff] [blame] | 17 | # Deployment configuration for a physical hardware POD |
| 18 | --- |
| 19 | |
| 20 | # this is used to generate the genconfig/cord-inv file |
| 21 | headnode: |
| 22 | ip: '10.118.126.11' |
| 23 | ansible_user: 'cord' |
| 24 | ansible_ssh_pass: 'cord' |
| 25 | ansible_ssh_port: 22 |
| 26 | |
| 27 | common: |
| 28 | # set to the profile of cord you want to install |
| 29 | cord_profile: 'rcord' |
| 30 | |
Andy Bavier | 2218a72 | 2017-07-12 14:21:58 -0700 | [diff] [blame] | 31 | # cord dir is shared to corddev VM, causing permissions issues if these aren't set |
| 32 | credentials_dir: '/opt/credentials' |
| 33 | pki_dir: '/opt/pki' |
| 34 | ssh_pki_dir: '/opt/ssh_pki' |
Luca Prete | 14a4406 | 2017-05-08 15:52:53 -0700 | [diff] [blame] | 35 | |
| 36 | # all of these are written to genconfig/config.yml, and needs a rework |
| 37 | |
| 38 | # Network address information for the head node: |
| 39 | # |
| 40 | # fabric_ip - the IP address and mask bits to be used to configure the network |
| 41 | # interface connected to the leaf - spine fabric |
| 42 | # |
| 43 | # management_ip - the IP address and mask bits to be used to configure the network |
| 44 | # interface connecting the head node to the POD internal |
| 45 | # management network. The head node will deliver DHCP addresses to |
| 46 | # the other compute nodes over this interface |
| 47 | # |
| 48 | # external_ip - the IP address and mask bits to be used to configure the network |
| 49 | # interface connecting the head node (and the POD) to the |
| 50 | # Internet. All traffic in the POD to external hosts will be |
| 51 | # NAT-ed through this interface |
| 52 | fabric_ip: '10.6.1.1/24' |
| 53 | management_ip: '10.6.0.1/24' |
| 54 | external_ip: '10.118.126.11/20' |
| 55 | external_iface: 'enp4s0f0' |
| 56 | external_gw: '10.118.112.1' |
| 57 | skipTags: |
| 58 | |
| 59 | passwords: |
| 60 | compute_node: "ubuntu" |
| 61 | maas_admin: "admin" |
| 62 | maas_user: "cord" |
| 63 | |
| 64 | docker: |
| 65 | imageVersion: candidate |
| 66 | |
| 67 | otherNodes: |
| 68 | # Experimental |
| 69 | # |
| 70 | # Specifies the subnet and address range that will be used to allocate IP addresses |
| 71 | # to the compute nodes as they are deployed into the POD. |
| 72 | fabric: |
| 73 | network: 10.6.1.1/24 |
| 74 | range_low: 10.6.1.2 |
| 75 | range_high: 10.6.1.253 |