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
60 lines
1.6 KiB
Django/Jinja
60 lines
1.6 KiB
Django/Jinja
module-shards = [
|
|
{
|
|
name = "default"
|
|
shards = [
|
|
{
|
|
name="default"
|
|
replicas = [
|
|
{% for host in groups['opendaylight'] %}
|
|
"{{ hostvars[host]['ansible_hostname'] }}"{% if not loop.last %},
|
|
{% endif %}
|
|
{% endfor %}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name = "topology"
|
|
shards = [
|
|
{
|
|
name="topology"
|
|
replicas = [
|
|
{% for host in groups['opendaylight'] %}
|
|
"{{ hostvars[host]['ansible_hostname'] }}"{% if not loop.last %},
|
|
{% endif %}
|
|
{% endfor %}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name = "inventory"
|
|
shards = [
|
|
{
|
|
name="inventory"
|
|
replicas = [
|
|
{% for host in groups['opendaylight'] %}
|
|
"{{ hostvars[host]['ansible_hostname'] }}"{% if not loop.last %},
|
|
{% endif %}
|
|
{% endfor %}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name = "toaster"
|
|
shards = [
|
|
{
|
|
name="toaster"
|
|
replicas = [
|
|
{% for host in groups['opendaylight'] %}
|
|
"{{ hostvars[host]['ansible_hostname'] }}"{% if not loop.last %},
|
|
{% endif %}
|
|
{% endfor %}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|
|
]
|