· 7 years ago · Apr 20, 2018, 10:48 AM
1provider_config:
2 aws:
3 ec2_access_key: "${ACCESS_KEY}"
4 ec2_secret_key: "${SECRET_KEY}"
5 ssh_public_key: /root/.ssh/id_rsa.pub
6 ssh_private_key: /root/.ssh/id_rsa
7 ssh_user: centos
8 instance_type: "${INSTANCE_TYPE}"
9 image: "${IMAGE_ID}"
10 region: "${REGION}"
11 security_group: "${SECURITY_GROUP}"
12 vpc_subnet_id: "${SUBNET}"
13 assign_public_ip: yes
14 volume_size: 50
15 key_pair: "contrail-${STACK_NAME}"
16instances:
17 ${STACK_NAME}_ctrl:
18 provider: aws
19 roles:
20 config_database:
21 config:
22 control:
23 analytics_database:
24 analytics:
25 webui:
26 openstack:
27 ${STACK_NAME}_compute1:
28 provider: aws
29 roles:
30 vrouter:
31 openstack_compute:
32 ${STACK_NAME}_compute2:
33 provider: aws
34 roles:
35 vrouter:
36 openstack_compute:
37contrail_configuration:
38 CONTAINER_REGISTRY: opencontrailnightly
39 CONTRAIL_VERSION: latest
40 CLOUD_ORCHESTRATOR: openstack
41 RABBITMQ_NODE_PORT: 5673
42 AUTH_MODE: keystone
43 KEYSTONE_AUTH_URL_VERSION: /v3
44 KEYSTONE_AUTH_ADMIN_PASSWORD: contrail123
45 UPGRADE_KERNEL: true
46kolla_config:
47 customize:
48 nova.conf: |
49 [libvirt]
50 virt_type=qemu
51 cpu_mode=none
52 kolla_globals:
53 network_interface: "eth0"
54 kolla_external_vip_interface: "eth0"
55 enable_haproxy: "no"
56 enable_ironic: "no"
57 enable_swift: "no"
58 enable_swift_opencontrail: "no"