Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 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 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 16 | # rcord-physical-example Pod Config |
| 17 | # Example configuration for a physical R-CORD pod |
| 18 | |
| 19 | cord_scenario: cord |
| 20 | cord_profile: rcord |
| 21 | |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 22 | # Bring up the corddev VM. This is the `build` node as specified in ansible |
| 23 | # inventory below. |
| 24 | vagrant_vms: |
| 25 | - 'corddev' |
| 26 | |
| 27 | # Location of the cord_profile directory to be mounted in the `corddev` VM by |
| 28 | # Vagrant. |
| 29 | # |
| 30 | # host_cord_profile_dir: "/path_to/cord_profile" |
| 31 | |
| 32 | # Set these directory paths if the defaults aren't suitable, or if deploying |
| 33 | # multiple pods from the same source tree where the credentials, keys, and |
| 34 | # profile should differ. |
| 35 | # |
| 36 | # credentials_dir: '/path_to/credentials' |
| 37 | # pki_dir: '/path_to/pki' |
| 38 | # ssh_pki_dir: '/path_to/ssh_pki' |
| 39 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 40 | # Variables |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 41 | # IP address used for the ONOS Fabric |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 42 | fabric_ip: '10.6.1.1/24' |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 43 | |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 44 | # IP and range of the management network, which MaaS serves DHCP |
| 45 | management_ip: '10.6.0.1/24' |
| 46 | management_network: '10.6.0.0/24' |
| 47 | |
| 48 | # External gateway IP address and range that the head node is on |
| 49 | external_ip: '10.80.1.1/24' |
| 50 | |
| 51 | # name or IP of the POD head node, used to SSH to the head node. You can also |
| 52 | # specify the head node user here in user@hostname format. This could also be |
| 53 | # `cord@headnode.site1.opencord.org` as specified later in inventory, if |
| 54 | # external DNS is set up. |
| 55 | headnode: 'cord@10.80.1.200' |
| 56 | |
| 57 | # the external IP on the head node and docker registry (on the head node) |
| 58 | external_gw: '10.80.1.200' |
| 59 | deploy_docker_registry: "10.80.1.200:5000" |
| 60 | |
| 61 | # Makefile targets |
| 62 | # primary build target (the final MaaS build step in this case) |
| 63 | build_targets: |
| 64 | - 'setup-automation' |
| 65 | |
| 66 | copy_cord_prereqs: |
| 67 | - 'config-ssh-key' |
| 68 | |
| 69 | skipTags: |
| 70 | - 'set_compute_node_password' |
| 71 | |
| 72 | # Wait until headnode prepped before building containers, for consistent DNS |
| 73 | docker_images_prereqs: |
| 74 | - 'prep-headnode' |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 75 | |
| 76 | # Inventory for ansible, used to generate inventory.ini |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 77 | # There must be a config, build, head, and compute sections |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 78 | inventory_groups: |
| 79 | |
| 80 | config: |
| 81 | localhost: |
| 82 | ansible_connection: local |
| 83 | |
| 84 | build: |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 85 | corddev: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 86 | |
| 87 | head: |
| 88 | headnode.site1.opencord.org: |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 89 | ansible_host: 10.80.1.200 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 90 | ansible_port: 22 |
Zack Williams | 1b96a95 | 2017-07-17 16:48:01 -0700 | [diff] [blame] | 91 | ansible_user: cord |
| 92 | ansible_ssh_pass: cordpass |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 93 | |
| 94 | compute: |
| 95 | |