blob: f7052896e9e1a19285ddc11716c11427abb92956 [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:
19 - onboard-openstack
20
21vagrant_up_prereqs:
22 - prereqs-check
23
Zack Williams0a7ef162017-07-18 18:15:26 -070024# Copy cord and config to physical/virtual nodes
Zack Williamsce63eb02017-02-28 10:46:22 -070025cord_config_prereqs:
26 - copy-cord
27
28copy_config_prereqs:
29 - cord-config
30
31prep_buildnode_prereqs:
32 - copy-cord
33 - copy-config
34
Zack Williams0a7ef162017-07-18 18:15:26 -070035# Run build prep before head prep, when build == head
Zack Williamsce63eb02017-02-28 10:46:22 -070036prep_headnode_prereqs:
37 - prep-buildnode
38
Zack Williams0a7ef162017-07-18 18:15:26 -070039# Start elasticstack before XOS/ONOS, which log to it
40start_xos_prereqs:
41 - deploy-elasticstack
42
43deploy_onos_prereqs:
44 - deploy-elasticstack
45
46# node topology, used to bring up management interfaces
47physical_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 Williamsce63eb02017-02-28 10:46:22 -070057# Vagrant VM configuration
58vagrant_vms:
59 - head1
60 - compute1
61
Zack Williams2f56eee2017-07-17 09:59:16 -070062head_vm_mem: 16384
Zack Williamsce63eb02017-02-28 10:46:22 -070063head_vm_cpu: 8
64
65compute_vm_mem: 16384
66compute_vm_cpu: 8
67
Zack Williams0a7ef162017-07-18 18:15:26 -070068vm_management_network_name: cordmgmt
69vm_public_network_name: cordpub
70vm_public_network_cidr: "10.230.100.0/24"
Zack Williamsce63eb02017-02-28 10:46:22 -070071
72# images for imagebuilder to build/pull (tagged elsewhere)
73docker_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 Williamseeeb6dd2017-07-13 10:50:28 -070080 - "xosproject/xos-libraries"
Zack Williamsce63eb02017-02-28 10:46:22 -070081 - "xosproject/xos-postgres"
Zack Williamseeeb6dd2017-07-13 10:50:28 -070082 - "xosproject/xos-tosca"
Zack Williamsce63eb02017-02-28 10:46:22 -070083 - "xosproject/xos-ws"
84 - "xosproject/chameleon"
85 - "xosproject/gui-extension-rcord"
86 - "xosproject/gui-extension-sample"
87 - "xosproject/gui-extension-vtr"
Zack Williams0a7ef162017-07-18 18:15:26 -070088 - "xosproject/xos-synchronizer-base"
89 - "xosproject/exampleservice-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -070090 - "xosproject/onos-synchronizer"
91 - "xosproject/openstack-synchronizer"
92 - "xosproject/vrouter-synchronizer"
93 - "xosproject/vtn-synchronizer"
Zack Williamsce63eb02017-02-28 10:46:22 -070094 - "gliderlabs/consul-server"
95 - "gliderlabs/registrator"
96 - "nginx"
97 - "onosproject/onos"
98 - "redis"
99
Zack Williams0a7ef162017-07-18 18:15:26 -0700100
101
Zack Williamsce63eb02017-02-28 10:46:22 -0700102# Ansible Inventory
103inventory_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