diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf')
-rw-r--r-- | deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf b/deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf index 4818e340..318a8729 100644 --- a/deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf +++ b/deploy/adapters/ansible/roles/odl_cluster/templates/akka.conf @@ -38,7 +38,7 @@ odl-cluster-data { cluster { seed-nodes = [ -{% for host in groups['odl_controller'] %} +{% for host in groups['odl'] %} {% if loop.last %} "akka.tcp://opendaylight-cluster-data@{{ hostvars[host]['ansible_' + INTERNAL_INTERFACE].ipv4.address }}:2550" {% else %} @@ -51,7 +51,7 @@ odl-cluster-data { roles = [ {% set key = 0 %} -{% for host in groups['odl_controller'] %} +{% for host in groups['odl'] %} {% set key = key + 1 %} {% if hostvars[host]['ansible_' + INTERNAL_INTERFACE].ipv4.address == hostvars[inventory_hostname]['ansible_' + INTERNAL_INTERFACE].ipv4.address %} "member-{{ key }}" @@ -90,7 +90,7 @@ odl-cluster-rpc { cluster { seed-nodes = [ -{% for host in groups['odl_controller'] %} +{% for host in groups['odl'] %} {% if loop.last %} "akka.tcp://odl-cluster-rpc@{{ hostvars[host]['ansible_' + INTERNAL_INTERFACE].ipv4.address }}:2551" {% else %} |