Commit 1bdb31dd authored by Ivan Tyagov's avatar Ivan Tyagov

Remove traces from OPC-Ua which is in a separate SR now.

parent bb06ff16
......@@ -9,7 +9,6 @@ parts =
publish-connection-parameter
coupler-modbus
coupler-modbus-promise
coupler-opc-ua
# Define egg directories to be the one from Software Release
# (/opt/slapgrid/...)
......@@ -19,14 +18,6 @@ develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true
extends = {{ template_monitor }}
[coupler-opc-ua]
recipe = slapos.cookbook:wrapper
# start with defaults
command-line =
{{ buildout['parts-directory'] }}/osie/coupler/opc-ua-server/bin/lime2-opc-ua-server ${instance-parameter:configuration.coupler_block_device} ${instance-parameter:configuration.coupler_i2c_slave_list}
wrapper-path = ${directory:service}/coupler-opc-ua
[instance-parameter]
# Fetch arbitrary parameters defined by the user in SlapOS Master for his instance.
# We use the slapconfiguration recipe with a few parameters (partition id,
......@@ -51,7 +42,6 @@ configuration.coupler_i2c_slave_list =
# In our use case, we are expecting from the user to specify one (optional) parameter: "name". We put the default value here if he doesn't specify it, so that it doesn't crash.
configuration.interface = 0.0.0.0
configuration.modbus_port = 1502
configuration.opc_ua_port = 4840
# If our use case requires that the user can specify a mail address so that his instance can mail to him (for example), we can do:
# configuration.mail-address =
# If the user doesn't specify it, it won't break and the recipe can handle it (i.e don't send any mail for example).
......@@ -97,5 +87,4 @@ config-port = ${instance-parameter:configuration.modbus_port}
[publish-connection-parameter]
recipe = slapos.cookbook:publish
modbus_port = ${instance-parameter:configuration.modbus_port}
opc_ua_port = ${instance-parameter:configuration.opc_ua_port}
interface = ${instance-parameter:configuration.interface}
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