Commit 44ec2b09 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a52dc256
...@@ -19,7 +19,6 @@ parts = ...@@ -19,7 +19,6 @@ parts =
lopcomm-rrh-supervision-service lopcomm-rrh-supervision-service
lopcomm-rrh-config-template lopcomm-rrh-config-template
netconf-connection-promise netconf-connection-promise
rrh-netconf-socket-promise
lopcomm-cu-config lopcomm-cu-config
sshd-service sshd-service
sshd-add-authorized-key sshd-add-authorized-key
...@@ -327,13 +326,6 @@ promise = check_command_execute ...@@ -327,13 +326,6 @@ promise = check_command_execute
name = netconf-connection-promise.py name = netconf-connection-promise.py
config-command = [ -f ${directory:etc}/is_netconf_connected ] config-command = [ -f ${directory:etc}/is_netconf_connected ]
[rrh-netconf-socket-promise]
<= monitor-promise-base
promise = check_socket_listening
name = rrh-netconf-socket-promise.py
config-host = ${slap-configuration:tap-ipv6-gateway}
config-port = 830
[amarisoft-stats-service] [amarisoft-stats-service]
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
command-line = ${amarisoft-stats-template:output} command-line = ${amarisoft-stats-template:output}
......
...@@ -4,6 +4,14 @@ ...@@ -4,6 +4,14 @@
{%- set ru_ref = J(jref_of_shared(iru)) %} {%- set ru_ref = J(jref_of_shared(iru)) %}
{%- set ru = iru['_'] %} {%- set ru = iru['_'] %}
{#- indicate whether we can connect to RU via netconf #}
{{ promise('%s-netconf-socket.py' % ru_ref) }}
promise = check_socket_listening
config-host = ${slap-configuration:tap-ipv6-gateway}
config-port = 830
{#- push firmware to RU #} {#- push firmware to RU #}
[{{ru_ref}}-software-template] [{{ru_ref}}-software-template]
......
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