Commit a0a15956 authored by Joanne Hugé's avatar Joanne Hugé

software/ors-amarisoft: fix monitoring

parent 16a725fb
...@@ -6,7 +6,6 @@ parts = ...@@ -6,7 +6,6 @@ parts =
directory directory
lte-enb-request lte-enb-request
lte-epc-request lte-epc-request
monitor-base
publish-connection-information publish-connection-information
extends = {{ monitor_template }} extends = {{ monitor_template }}
...@@ -79,4 +78,4 @@ lte-enb-request = ${lte-enb-request:connection-monitor-base-url} ...@@ -79,4 +78,4 @@ lte-enb-request = ${lte-enb-request:connection-monitor-base-url}
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
monitor-setup-url = https://monitor.app.officejs.com/#page=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password} <= monitor-publish
...@@ -8,7 +8,6 @@ parts = ...@@ -8,7 +8,6 @@ parts =
ltelogs ltelogs
lte-enb-config lte-enb-config
lte-enb-service lte-enb-service
monitor-base
publish-connection-information publish-connection-information
extends = {{ monitor_template }} extends = {{ monitor_template }}
...@@ -95,15 +94,8 @@ rendered = ${directory:etc}/enb.cfg ...@@ -95,15 +94,8 @@ rendered = ${directory:etc}/enb.cfg
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish.serialised recipe = slapos.cookbook:publish.serialised
{% if slapparameter_dict.get("monitor-password", None) %}
monitor-base-url = ${monitor-instance-parameter:monitor-base-url} monitor-base-url = ${monitor-instance-parameter:monitor-base-url}
{% else %}
monitor-setup-url = https://monitor.app.officejs.com/#page=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
{% endif %}
{% if slapparameter_dict.get("monitor-password", None) %}
[monitor-instance-parameter] [monitor-instance-parameter]
monitor-title = {{ slapparameter_dict['name'] }} monitor-title = {{ slapparameter_dict['name'] | string }}
password = {{ slapparameter_dict['monitor-password'] }} password = {{ slapparameter_dict['monitor-password'] | string }}
{% endif %}
...@@ -6,7 +6,6 @@ parts = ...@@ -6,7 +6,6 @@ parts =
directory directory
lte-gnb-request lte-gnb-request
lte-epc-request lte-epc-request
monitor-base
publish-connection-information publish-connection-information
extends = {{ monitor_template }} extends = {{ monitor_template }}
...@@ -82,4 +81,4 @@ lte-gnb-request = ${lte-gnb-request:connection-monitor-base-url} ...@@ -82,4 +81,4 @@ lte-gnb-request = ${lte-gnb-request:connection-monitor-base-url}
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
monitor-setup-url = https://monitor.app.officejs.com/#page=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password} <= monitor-publish
...@@ -8,7 +8,6 @@ parts = ...@@ -8,7 +8,6 @@ parts =
ltelogs ltelogs
lte-gnb-config lte-gnb-config
lte-enb-service lte-enb-service
monitor-base
publish-connection-information publish-connection-information
extends = {{ monitor_template }} extends = {{ monitor_template }}
...@@ -95,15 +94,8 @@ rendered = ${directory:etc}/gnb.cfg ...@@ -95,15 +94,8 @@ rendered = ${directory:etc}/gnb.cfg
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish.serialised recipe = slapos.cookbook:publish.serialised
{% if slapparameter_dict.get("monitor-password", None) %}
monitor-base-url = ${monitor-instance-parameter:monitor-base-url} monitor-base-url = ${monitor-instance-parameter:monitor-base-url}
{% else %}
monitor-setup-url = https://monitor.app.officejs.com/#page=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
{% endif %}
{% if slapparameter_dict.get("monitor-password", None) %}
[monitor-instance-parameter] [monitor-instance-parameter]
monitor-title = {{ slapparameter_dict['name'] }} monitor-title = {{ slapparameter_dict['name'] | string }}
password = {{ slapparameter_dict['monitor-password'] }} password = {{ slapparameter_dict['monitor-password'] | string }}
{% endif %}
...@@ -9,7 +9,6 @@ extends = ...@@ -9,7 +9,6 @@ extends =
parts += parts +=
template template
slapos-cookbook slapos-cookbook
monitor2-template
ltelogs.jinja2.sh ltelogs.jinja2.sh
# copy all configs by default # copy all configs by default
mme.jinja2.cfg mme.jinja2.cfg
......
Markdown is supported
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