
This PS does: 1) Let haproxy to be ODL websocket's frontend and listen on port 8185. 2) Add 10-rest-connector.xml config file template for ODL container. 3) ODL websocket backend listen only on api interface, port is also 8185. Closes-Bug: #1745323 Change-Id: Id330d610c7cd8a239b0f77c8f5f47422d48b9977 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
33 lines
1.3 KiB
YAML
33 lines
1.3 KiB
YAML
---
|
|
- name: Restart opendaylight container
|
|
vars:
|
|
service_name: "opendaylight"
|
|
service: "{{ opendaylight_services[service_name] }}"
|
|
kolla_docker:
|
|
action: "recreate_or_restart_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "{{ service.container_name }}"
|
|
image: "{{ service.image }}"
|
|
volumes: "{{ service.volumes }}"
|
|
privileged: "{{ service.privileged | default(False) }}"
|
|
when:
|
|
- action != "config"
|
|
- service.enabled | bool
|
|
- service.host_in_groups | bool
|
|
- opendaylight_config_json | changed
|
|
or opendaylight_config_start_odl | changed
|
|
or opendaylight_config_custom_props | changed
|
|
or opendaylight_config_jetty | changed
|
|
or opendaylight_config_features | changed
|
|
or opendaylight_config_ovsdb | changed
|
|
or opendaylight_config_tomcat | changed
|
|
or opendaylight_config_logging | changed
|
|
or opendaylight_config_netvirt | changed
|
|
or opendaylight_config_netvirt_acl | changed
|
|
or opendaylight_config_env | changed
|
|
or opendaylight_config_akka | changed
|
|
or opendaylight_config_modules | changed
|
|
or opendaylight_config_module_shards | changed
|
|
or opendaylight_config_10_rest_connector | changed
|
|
or check_opendaylight_containers | changed
|