57496c4147
Adds role for OpenDaylight deploy. Change-Id: I1e697ea4d3f33aab4b0f55863a377b39eda8f609 Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Co-Authored-By: Jiri Prokes <jirix.x.prokes@intel.com> Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com> Partially-Implements: blueprint opendaylight-support
25 lines
865 B
YAML
25 lines
865 B
YAML
---
|
|
project_name: "opendaylight"
|
|
|
|
opendaylight_services:
|
|
opendaylight:
|
|
container_name: "opendaylight"
|
|
image: "{{ opendaylight_image_full }}"
|
|
enabled: True
|
|
privileged: True
|
|
group: "opendaylight"
|
|
host_in_groups: "{{ inventory_hostname in groups['opendaylight'] }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/opendaylight/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
|
|
opendaylight_install_type: "{{ kolla_install_type }}"
|
|
opendaylight_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ opendaylight_install_type }}-opendaylight"
|
|
opendaylight_tag: "{{ openstack_release }}"
|
|
opendaylight_image_full: "{{ opendaylight_image }}:{{ opendaylight_tag }}"
|