Commit 72062ccd authored by Philipp's avatar Philipp

Update slapos/software/opcua-server-fhi/instance.cfg.in

parent 86fe3709
......@@ -3,7 +3,7 @@ parts =
promises
directory
opcua-xml-url
opcua-to-http-gw-service
opcua-server-fhi-service
publish-connection-parameter
eggs-directory = {{ buildout["eggs-directory"] }}
......@@ -32,14 +32,6 @@ partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.opcua-port = 4840
configuration.opcua-xml-url = slapparameter_dict.get('opcua-xml-url')
configuration.erp5-url = slapparameter_dict.get('erp5-url')
configuration.erp5-username = slapparameter_dict.get('erp5-username')
configuration.erp5-password = slapparameter_dict.get('erp5-password')
# configuration.ipv6-enabled = slapparameter_dict.get('ipv6-enabled')
configuration.ipv6-enabled = '1'
ipv6-random = slapparameter_dict.get('ipv6-random')
[opcua-xml-url]
recipe = slapos.recipe.build:download
......@@ -47,10 +39,10 @@ url = ${instance-parameter:configuration.opcua-xml-url}
offline = false
destination = ${directory:etc}/schema.xml
[opcua-to-http-gw-service]
[opcua-server-fhi-service]
recipe = slapos.cookbook:wrapper
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/opcua-to-http-gw/opcua-to-http-gw.py --xml ${opcua-xml-url:destination} --erp5-url ${instance-parameter:configuration.erp5-url} --erp5-username ${instance-parameter:configuration.erp5-username} --erp5-password ${instance-parameter:configuration.erp5-password} --port ${instance-parameter:configuration.opcua-port} --ipv6 ${instance-parameter:ipv6-random} --ipv6-enabled ${instance-parameter:configuration.ipv6-enabled}
wrapper-path = ${directory:service}/opcua-to-http-gw-service
command-line = {{ interpreter_location }}/py {{ osie_repository_location }}/opcua-server-fhi/minimal-server.py
wrapper-path = ${directory:service}/opcua-server-fhi-service
output = $${:wrapper-path}
[opcua-to-http-gw-listen-promise-ipv6]
......
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