Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 1 | --- |
| 2 | # opencloud Scenario |
| 3 | # For a virtual install, physical does not use VMs |
| 4 | |
| 5 | # opencloud profile config |
| 6 | frontend_only: False |
| 7 | |
| 8 | # create a cord_profile dir next to the cord checkout |
| 9 | config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}" |
| 10 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}" |
| 11 | |
| 12 | build_cord_dir: /opt/cord |
| 13 | |
| 14 | buildnode: head1 |
| 15 | headnode: head1 |
| 16 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 17 | # Make build config |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 18 | build_targets: |
| 19 | - onboard-openstack |
| 20 | |
| 21 | vagrant_up_prereqs: |
| 22 | - prereqs-check |
| 23 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 24 | # Copy cord and config to physical/virtual nodes |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 25 | cord_config_prereqs: |
| 26 | - copy-cord |
| 27 | |
| 28 | copy_config_prereqs: |
| 29 | - cord-config |
| 30 | |
| 31 | prep_buildnode_prereqs: |
| 32 | - copy-cord |
| 33 | - copy-config |
| 34 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 35 | # Run build prep before head prep, when build == head |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 36 | prep_headnode_prereqs: |
| 37 | - prep-buildnode |
| 38 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 39 | # Start elasticstack before XOS/ONOS, which log to it |
| 40 | start_xos_prereqs: |
| 41 | - deploy-elasticstack |
| 42 | |
| 43 | deploy_onos_prereqs: |
| 44 | - deploy-elasticstack |
| 45 | |
| 46 | # node topology, used to bring up management interfaces |
| 47 | physical_node_list: |
| 48 | - name: head1 |
| 49 | ipv4_last_octet: 1 |
| 50 | aliases: |
| 51 | - head |
| 52 | - name: compute1 |
| 53 | ipv4_last_octet: 20 |
| 54 | - name: compute2 |
| 55 | ipv4_last_octet: 21 |
| 56 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 57 | # Vagrant VM configuration |
| 58 | vagrant_vms: |
| 59 | - head1 |
| 60 | - compute1 |
| 61 | |
Zack Williams | 2f56eee | 2017-07-17 09:59:16 -0700 | [diff] [blame] | 62 | head_vm_mem: 16384 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 63 | head_vm_cpu: 8 |
| 64 | |
| 65 | compute_vm_mem: 16384 |
| 66 | compute_vm_cpu: 8 |
| 67 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 68 | vm_management_network_name: cordmgmt |
| 69 | vm_public_network_name: cordpub |
| 70 | vm_public_network_cidr: "10.230.100.0/24" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 71 | |
| 72 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 73 | docker_image_whitelist: |
| 74 | - "xosproject/xos-base" |
| 75 | - "xosproject/xos" |
| 76 | - "xosproject/xos-client" |
| 77 | - "xosproject/xos-corebuilder" |
| 78 | - "xosproject/xos-gui" |
| 79 | - "xosproject/xos-gui-extension-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 80 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 81 | - "xosproject/xos-postgres" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 82 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 83 | - "xosproject/xos-ws" |
| 84 | - "xosproject/chameleon" |
| 85 | - "xosproject/gui-extension-rcord" |
| 86 | - "xosproject/gui-extension-sample" |
| 87 | - "xosproject/gui-extension-vtr" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 88 | - "xosproject/xos-synchronizer-base" |
| 89 | - "xosproject/exampleservice-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 90 | - "xosproject/onos-synchronizer" |
| 91 | - "xosproject/openstack-synchronizer" |
| 92 | - "xosproject/vrouter-synchronizer" |
| 93 | - "xosproject/vtn-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 94 | - "gliderlabs/consul-server" |
| 95 | - "gliderlabs/registrator" |
| 96 | - "nginx" |
| 97 | - "onosproject/onos" |
| 98 | - "redis" |
| 99 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame^] | 100 | |
| 101 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 102 | # Ansible Inventory |
| 103 | inventory_groups: |
| 104 | |
| 105 | config: |
| 106 | localhost: |
| 107 | ansible_connection: local |
| 108 | |
| 109 | build: |
| 110 | head1: |
| 111 | |
| 112 | head: |
| 113 | head1: |
| 114 | |
| 115 | compute: |
| 116 | compute1: |
| 117 | |