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: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 19 | - onos-debug |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 20 | - onboard-openstack |
| 21 | |
| 22 | vagrant_up_prereqs: |
| 23 | - prereqs-check |
| 24 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 25 | # Copy cord and config to physical/virtual nodes |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 26 | cord_config_prereqs: |
| 27 | - copy-cord |
| 28 | |
| 29 | copy_config_prereqs: |
| 30 | - cord-config |
| 31 | |
| 32 | prep_buildnode_prereqs: |
| 33 | - copy-cord |
| 34 | - copy-config |
| 35 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 36 | # Run build prep before head prep, when build == head |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 37 | prep_headnode_prereqs: |
| 38 | - prep-buildnode |
| 39 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 40 | # Wait until headnode prepped before building containers, for consistent DNS |
| 41 | docker_images_prereqs: |
| 42 | - prep-headnode |
| 43 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 44 | # Start elasticstack before XOS/ONOS, which log to it |
| 45 | start_xos_prereqs: |
| 46 | - deploy-elasticstack |
| 47 | |
| 48 | deploy_onos_prereqs: |
| 49 | - deploy-elasticstack |
| 50 | |
| 51 | # node topology, used to bring up management interfaces |
| 52 | physical_node_list: |
| 53 | - name: head1 |
| 54 | ipv4_last_octet: 1 |
| 55 | aliases: |
| 56 | - head |
| 57 | - name: compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 58 | ipv4_last_octet: 250 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 59 | - name: compute2 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 60 | ipv4_last_octet: 251 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 61 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 62 | # Vagrant VM configuration |
| 63 | vagrant_vms: |
| 64 | - head1 |
| 65 | - compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 66 | - compute2 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 67 | |
Zack Williams | 2f56eee | 2017-07-17 09:59:16 -0700 | [diff] [blame] | 68 | head_vm_mem: 16384 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 69 | head_vm_cpu: 8 |
| 70 | |
| 71 | compute_vm_mem: 16384 |
| 72 | compute_vm_cpu: 8 |
| 73 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 74 | vm_management_network_name: cordmgmt |
| 75 | vm_public_network_name: cordpub |
| 76 | vm_public_network_cidr: "10.230.100.0/24" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 77 | |
| 78 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 79 | docker_image_whitelist: |
| 80 | - "xosproject/xos-base" |
| 81 | - "xosproject/xos" |
| 82 | - "xosproject/xos-client" |
| 83 | - "xosproject/xos-corebuilder" |
| 84 | - "xosproject/xos-gui" |
| 85 | - "xosproject/xos-gui-extension-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 86 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 87 | - "xosproject/xos-postgres" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 88 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 89 | - "xosproject/xos-ws" |
| 90 | - "xosproject/chameleon" |
| 91 | - "xosproject/gui-extension-rcord" |
| 92 | - "xosproject/gui-extension-sample" |
| 93 | - "xosproject/gui-extension-vtr" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 94 | - "xosproject/xos-synchronizer-base" |
| 95 | - "xosproject/exampleservice-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 96 | - "xosproject/onos-synchronizer" |
| 97 | - "xosproject/openstack-synchronizer" |
| 98 | - "xosproject/vrouter-synchronizer" |
| 99 | - "xosproject/vtn-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 100 | - "gliderlabs/consul-server" |
| 101 | - "gliderlabs/registrator" |
| 102 | - "nginx" |
| 103 | - "onosproject/onos" |
| 104 | - "redis" |
| 105 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 106 | |
| 107 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 108 | # Ansible Inventory |
| 109 | inventory_groups: |
| 110 | |
| 111 | config: |
| 112 | localhost: |
| 113 | ansible_connection: local |
| 114 | |
| 115 | build: |
| 116 | head1: |
| 117 | |
| 118 | head: |
| 119 | head1: |
| 120 | |
| 121 | compute: |
| 122 | compute1: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 123 | compute2: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 124 | |