Commit f39b4438 authored by Ivan Tyagov's avatar Ivan Tyagov

Add a new SlapOS service which runs OPC-UA server application.

parent cdebbeaf
[instance-profile] [instance-profile]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = d9fa99d4090bc686c6d14828fb2321da md5sum = 1f4b1cf38898beab3f170482d1008b01
...@@ -9,6 +9,7 @@ parts = ...@@ -9,6 +9,7 @@ parts =
publish-connection-parameter publish-connection-parameter
coupler coupler
coupler-promise coupler-promise
coupler-opc-ua
# Define egg directories to be the one from Software Release # Define egg directories to be the one from Software Release
# (/opt/slapgrid/...) # (/opt/slapgrid/...)
...@@ -18,6 +19,13 @@ develop-eggs-directory = {{ buildout['develop-eggs-directory'] }} ...@@ -18,6 +19,13 @@ develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true offline = true
extends = {{ template_monitor }} 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 /dev/i2c-1 0x58
wrapper-path = ${directory:service}/coupler-opc-ua
[instance-parameter] [instance-parameter]
# Fetch arbitrary parameters defined by the user in SlapOS Master for his instance. # Fetch arbitrary parameters defined by the user in SlapOS Master for his instance.
# We use the slapconfiguration recipe with a few parameters (partition id, # We use the slapconfiguration recipe with a few parameters (partition id,
......
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