Commit 26d591ae authored by Ivan Tyagov's avatar Ivan Tyagov

Enable promises for OPC UA port.

parent a85ff7b1
[instance-profile]
filename = instance.cfg.in
md5sum = 5bff4e422a2b22bec348bc5e4cb2f3b7
md5sum = 1698b0a6bfbc10777ea7e6514c6b4143
......@@ -8,6 +8,7 @@ parts =
directory
publish-connection-parameter
coupler-opc-ua
opc-ua-port-promise
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
......@@ -49,9 +50,16 @@ etc = ${:home}/etc
var = ${:home}/var
script = ${:etc}/run/
service = ${:etc}/service
promise = ${:etc}/promise
[publish-connection-parameter]
recipe = slapos.cookbook:publish
url-ipv6 = opc.tcp://[${instance-parameter:ipv6-random}]:${instance-parameter:configuration.opc_ua_port}
username = ${instance-parameter:configuration.username}
password = ${instance-parameter:configuration.password}
[opc-ua-port-promise]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/${:_buildout_section_name_}
hostname = ${instance-parameter:ipv6-random}
port = ${instance-parameter:configuration.opc_ua_port}
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