Commit 6ac1773e authored by EKbfh's avatar EKbfh 🐼
Browse files

Merge branch 'cherry-pick-9244acd1' into 'release-20.4'

release-20.4:Backport!4766

See merge request !5471
parents 23b42c04 a97ac516
......@@ -42,6 +42,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -42,6 +42,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -43,6 +43,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -42,6 +42,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -42,6 +42,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -42,6 +42,7 @@ all:
correlator_loglevel: info
correlator_max_threads: 10
correlator_power: 1
correlator_backup_power: 1
datastream_loglevel: info
datastream_power: 2
datastream_mode: wait
......
......@@ -14,6 +14,12 @@ forms:
type: int
max: 1
min: 0
backup_power:
default: 1
label: "Additional Instances"
type: int
max: 16
min: 0
loglevel:
default: info
label: Loglevel
......
......@@ -42,3 +42,17 @@
with_items: "{{ hostvars |json_query('*.noc_services[] | [].pool') |unique }}"
tags:
- classifier
- name: call consul to setup correlator
run_once: "True"
include_role:
name: consul
tasks_from: service_config_update
vars:
consul_service_key: "noc/slots/correlator-{{ item }}/manifest"
consul_service_internal_key: "Limit"
consul_service_value: "{{ hostvars |json_query(\"*.noc_services[] | [?name=='correlator'].{n:pool,num:config.power} | [?n=='\"+item+\"'] | sum([].num)\") }}" # noqa 204
consul_service_token: None
with_items: "{{ hostvars |json_query('*.noc_services[] | [].pool') |unique }}"
tags:
- correlator
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment