blob: d302369fbdb4d17f47a3bfa0f30da6bd3ef5309a [file] [log] [blame]
Zack Williamsce63eb02017-02-28 10:46:22 -07001---
2# opencloud Scenario
3# For a virtual install, physical does not use VMs
4
5# opencloud profile config
6frontend_only: False
7
8# create a cord_profile dir next to the cord checkout
9config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}"
10config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
11
12build_cord_dir: /opt/cord
13
14buildnode: head1
15headnode: head1
16
Zack Williams0a7ef162017-07-18 18:15:26 -070017# Make build config
Zack Williamsce63eb02017-02-28 10:46:22 -070018build_targets:
Zack Williamsa5fcefd2017-07-27 22:06:33 -070019 - onos-debug
Zack Williamsce63eb02017-02-28 10:46:22 -070020 - onboard-openstack
21
22vagrant_up_prereqs:
23 - prereqs-check
24
Zack Williams0a7ef162017-07-18 18:15:26 -070025# Copy cord and config to physical/virtual nodes
Zack Williamsce63eb02017-02-28 10:46:22 -070026cord_config_prereqs:
27 - copy-cord
28
29copy_config_prereqs:
30 - cord-config
31
32prep_buildnode_prereqs:
33 - copy-cord
34 - copy-config
35
Zack Williams0a7ef162017-07-18 18:15:26 -070036# Run build prep before head prep, when build == head
Zack Williamsce63eb02017-02-28 10:46:22 -070037prep_headnode_prereqs:
38 - prep-buildnode
39
Zack Williamsa5fcefd2017-07-27 22:06:33 -070040# Wait until headnode prepped before building containers, for consistent DNS
41docker_images_prereqs:
42 - prep-headnode
43
Zack Williams0a7ef162017-07-18 18:15:26 -070044# Start elasticstack before XOS/ONOS, which log to it
45start_xos_prereqs:
46 - deploy-elasticstack
47
48deploy_onos_prereqs:
49 - deploy-elasticstack
50
51# node topology, used to bring up management interfaces
52physical_node_list:
53 - name: head1
54 ipv4_last_octet: 1
55 aliases:
56 - head
57 - name: compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070058 ipv4_last_octet: 250
Zack Williams0a7ef162017-07-18 18:15:26 -070059 - name: compute2
Zack Williamsa5fcefd2017-07-27 22:06:33 -070060 ipv4_last_octet: 251
Zack Williams0a7ef162017-07-18 18:15:26 -070061
Zack Williamsce63eb02017-02-28 10:46:22 -070062# Vagrant VM configuration
63vagrant_vms:
64 - head1
65 - compute1
Zack Williamsa5fcefd2017-07-27 22:06:33 -070066 - compute2
Zack Williamsce63eb02017-02-28 10:46:22 -070067
Zack Williams2f56eee2017-07-17 09:59:16 -070068head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070069head_vm_cpu: 8
70
71compute_vm_mem: 16384
72compute_vm_cpu: 8
73
Zack Williams0a7ef162017-07-18 18:15:26 -070074vm_management_network_name: cordmgmt
75vm_public_network_name: cordpub
76vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070077
78# images for imagebuilder to build/pull (tagged elsewhere)
79docker_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 Williamseeeb6dd2017-07-13 10:50:28 -070086 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070087 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070088 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070089 - "xosproject/xos-ws"
90 - "xosproject/chameleon"
91 - "xosproject/gui-extension-rcord"
92 - "xosproject/gui-extension-sample"
93 - "xosproject/gui-extension-vtr"
Zack Williams0a7ef162017-07-18 18:15:26 -070094 - "xosproject/xos-synchronizer-base"
95 - "xosproject/exampleservice-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -070096 - "xosproject/onos-synchronizer"
97 - "xosproject/openstack-synchronizer"
98 - "xosproject/vrouter-synchronizer"
99 - "xosproject/vtn-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -0700100 - "gliderlabs/consul-server"
101 - "gliderlabs/registrator"
102 - "nginx"
103 - "onosproject/onos"
104 - "redis"
Andy Bavier56b12b52017-08-03 11:46:42 -0700105 - "node"
Zack Williamsce63eb02017-02-28 10:46:22 -0700106
Zack Williams0a7ef162017-07-18 18:15:26 -0700107
108
Zack Williamsce63eb02017-02-28 10:46:22 -0700109# Ansible Inventory
110inventory_groups:
111
112 config:
113 localhost:
114 ansible_connection: local
115
116 build:
117 head1:
118
119 head:
120 head1:
121
122 compute:
123 compute1:
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700124 compute2:
Zack Williamsce63eb02017-02-28 10:46:22 -0700125