34 lines
885 B
YAML
34 lines
885 B
YAML
# Copyright 2015 Metaswitch Networks
|
|
|
|
# Install/configure calico on the controller after cluster deployment
|
|
# but before starting the BGP Route Reflector.
|
|
- role: ['controller', 'primary-controller']
|
|
stage: post_deployment/50
|
|
type: shell
|
|
parameters:
|
|
cmd: ./calico_controller.sh
|
|
timeout: 600
|
|
|
|
- role: ['controller', 'primary-controller']
|
|
stage: post_deployment/100
|
|
type: shell
|
|
parameters:
|
|
cmd: ./calico_route_reflector.sh
|
|
timeout: 60
|
|
|
|
# Remove default OpenStack network configuration which doesn't work with Calico.
|
|
#- role: ['primary-controller']
|
|
# stage: post_deployment/150
|
|
# type: shell
|
|
# parameters:
|
|
# cmd: ./remove_default_networks.sh
|
|
# timeout: 60
|
|
|
|
# Install/configure calico on the compute nodes after cluster deployment.
|
|
- role: ['compute']
|
|
stage: post_deployment
|
|
type: shell
|
|
parameters:
|
|
cmd: ./calico_compute.sh
|
|
timeout: 600
|