Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos
Commits
fc101bcc
Commit
fc101bcc
authored
Apr 18, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP.
parent
df6b58d2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
software/osie-coupler/buildout.hash.cfg
software/osie-coupler/buildout.hash.cfg
+1
-1
software/osie-coupler/instance-input-schema.json
software/osie-coupler/instance-input-schema.json
+10
-0
software/osie-coupler/instance.cfg.in
software/osie-coupler/instance.cfg.in
+1
-3
No files found.
software/osie-coupler/buildout.hash.cfg
View file @
fc101bcc
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
9ca5ddf6bed34861a17e3352dacc4813
md5sum =
0932355fef312f5d68f2270e5a929c58
software/osie-coupler/instance-input-schema.json
View file @
fc101bcc
...
@@ -28,6 +28,16 @@
...
@@ -28,6 +28,16 @@
"type"
:
"integer"
,
"type"
:
"integer"
,
"default"
:
0
"default"
:
0
},
},
"key"
:
{
"description"
:
"The SSL key for OPC UA server."
,
"type"
:
"string"
,
"default"
:
""
},
"cert"
:
{
"description"
:
"The SSL cert for OPC UA server."
,
"type"
:
"string"
,
"default"
:
""
},
"username"
:
{
"username"
:
{
"description"
:
"The username for OPC UA server."
,
"description"
:
"The username for OPC UA server."
,
"type"
:
"string"
,
"type"
:
"string"
,
...
...
software/osie-coupler/instance.cfg.in
View file @
fc101bcc
...
@@ -19,7 +19,7 @@ recipe = slapos.cookbook:wrapper
...
@@ -19,7 +19,7 @@ recipe = slapos.cookbook:wrapper
environment =
environment =
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{{ open62541_location }}/lib:{{ mbedtls_location }}/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{{ open62541_location }}/lib:{{ mbedtls_location }}/lib
command-line =
command-line =
{{ coupler_location }}server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password} -b ${instance-parameter:configuration.heart_beat} -t ${instance-parameter:configuration.heart_beat_interval} -l ${instance-parameter:configuration.heart_beat_id_list} -n ${instance-parameter:configuration.network_address_url_data_type} -o ${instance-parameter:configuration.heart_beat_timeout_interval} -i ${instance-parameter:configuration.id} -m ${instance-parameter:configuration.mode} -j ${instance-parameter:configuration.network_interface}
{{ coupler_location }}server -d ${instance-parameter:configuration.coupler_block_device} -s ${instance-parameter:configuration.coupler_i2c_slave_list} -p ${instance-parameter:configuration.opc_ua_port} -u ${instance-parameter:configuration.username} -w ${instance-parameter:configuration.password} -b ${instance-parameter:configuration.heart_beat} -t ${instance-parameter:configuration.heart_beat_interval} -l ${instance-parameter:configuration.heart_beat_id_list} -n ${instance-parameter:configuration.network_address_url_data_type} -o ${instance-parameter:configuration.heart_beat_timeout_interval} -i ${instance-parameter:configuration.id} -m ${instance-parameter:configuration.mode} -j ${instance-parameter:configuration.network_interface}
-k ${instance-parameter:configuration.key} -c ${instance-parameter:configuration.cert}
wrapper-path = ${directory:service}/coupler-opc-ua
wrapper-path = ${directory:service}/coupler-opc-ua
[instance-parameter]
[instance-parameter]
...
@@ -27,8 +27,6 @@ recipe = slapos.cookbook:slapconfiguration
...
@@ -27,8 +27,6 @@ recipe = slapos.cookbook:slapconfiguration
computer = ${slap-connection:computer-id}
computer = ${slap-connection:computer-id}
partition = ${slap-connection:partition-id}
partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.coupler_block_device = /dev/i2c-1
configuration.coupler_block_device = /dev/i2c-1
configuration.coupler_i2c_slave_list = 0x58
configuration.coupler_i2c_slave_list = 0x58
configuration.mode = 0
configuration.mode = 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment