8a0740df97
Implement OVN Ansible role. Implements: blueprint ovn-controller-neutron-ansible Depends-On: https://review.opendev.org/713422 Change-Id: Icd425dea85d58db49c838839d8f0b864b4a89a78
93 lines
3.6 KiB
YAML
93 lines
3.6 KiB
YAML
---
|
|
project_name: "ovn"
|
|
|
|
ovn_services:
|
|
ovn-controller:
|
|
container_name: ovn_controller
|
|
group: ovn-controller
|
|
enabled: true
|
|
image: "{{ ovn_controller_image_full }}"
|
|
volumes: "{{ ovn_controller_default_volumes + ovn_controller_extra_volumes }}"
|
|
dimensions: "{{ ovn_controller_dimensions }}"
|
|
ovn-northd:
|
|
container_name: ovn_northd
|
|
group: ovn-northd
|
|
enabled: true
|
|
image: "{{ ovn_northd_image_full }}"
|
|
volumes: "{{ ovn_northd_default_volumes + ovn_northd_extra_volumes }}"
|
|
dimensions: "{{ ovn_northd_dimensions }}"
|
|
ovn-nb-db:
|
|
container_name: ovn_nb_db
|
|
group: ovn-nb-db
|
|
enabled: true
|
|
image: "{{ ovn_nb_db_image_full }}"
|
|
volumes: "{{ ovn_nb_db_default_volumes + ovn_nb_db_extra_volumes }}"
|
|
dimensions: "{{ ovn_nb_db_dimensions }}"
|
|
ovn-sb-db:
|
|
container_name: ovn_sb_db
|
|
group: ovn-sb-db
|
|
enabled: true
|
|
image: "{{ ovn_sb_db_image_full }}"
|
|
volumes: "{{ ovn_sb_db_default_volumes + ovn_sb_db_extra_volumes }}"
|
|
dimensions: "{{ ovn_sb_db_dimensions }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
ovn_install_type: "{{ kolla_install_type }}"
|
|
ovn_tag: "{{ openstack_tag }}"
|
|
|
|
ovn_controller_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ ovn_install_type }}-ovn-controller"
|
|
ovn_controller_tag: "{{ ovn_tag }}"
|
|
ovn_controller_image_full: "{{ ovn_controller_image }}:{{ ovn_controller_tag }}"
|
|
|
|
ovn_northd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ ovn_install_type }}-ovn-northd"
|
|
ovn_northd_tag: "{{ ovn_tag }}"
|
|
ovn_northd_image_full: "{{ ovn_northd_image }}:{{ ovn_northd_tag }}"
|
|
|
|
ovn_nb_db_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ ovn_install_type }}-ovn-nb-db-server"
|
|
ovn_nb_db_tag: "{{ ovn_tag }}"
|
|
ovn_nb_db_image_full: "{{ ovn_nb_db_image }}:{{ ovn_nb_db_tag }}"
|
|
|
|
ovn_sb_db_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ ovn_install_type }}-ovn-sb-db-server"
|
|
ovn_sb_db_tag: "{{ ovn_tag }}"
|
|
ovn_sb_db_image_full: "{{ ovn_sb_db_image }}:{{ ovn_sb_db_tag }}"
|
|
|
|
ovn_controller_dimensions: "{{ default_container_dimensions }}"
|
|
ovn_northd_dimensions: "{{ default_container_dimensions }}"
|
|
ovn_nb_db_dimensions: "{{ default_container_dimensions }}"
|
|
ovn_sb_db_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
ovn_controller_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-controller/:{{ container_config_directory }}/:ro"
|
|
- "/run/openvswitch:/run/openvswitch:shared"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
ovn_northd_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-northd/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
ovn_nb_db_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-nb-db/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ovn_nb_db:/var/lib/openvswitch/ovn-nb/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
ovn_sb_db_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-sb-db/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ovn_sb_db:/var/lib/openvswitch/ovn-sb/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
ovn_extra_volumes: "{{ default_extra_volumes }}"
|
|
ovn_controller_extra_volumes: "{{ ovn_extra_volumes }}"
|
|
ovn_northd_extra_volumes: "{{ ovn_extra_volumes }}"
|
|
ovn_nb_db_extra_volumes: "{{ ovn_extra_volumes }}"
|
|
ovn_sb_db_extra_volumes: "{{ ovn_extra_volumes }}"
|
|
|
|
#####
|
|
# OVN
|
|
#####
|
|
# Configure OVN remote probe interval time in ms
|
|
ovn_remote_probe_interval: "60000"
|