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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
575659c2
Commit
575659c2
authored
Dec 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3482b816
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+7
-7
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
575659c2
...
@@ -36,7 +36,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
...
@@ -36,7 +36,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
[ru_lopcomm_libinstance.jinja2.cfg]
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
48214e7aa5852cd1612235ab4ec8b67c
md5sum =
c9a8f1466826fbe6c40f3db2846913b8
[ru_sunwave_libinstance.jinja2.cfg]
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
575659c2
...
@@ -74,7 +74,7 @@ extra-context =
...
@@ -74,7 +74,7 @@ extra-context =
json ru {{ ru | tojson }}
json ru {{ ru | tojson }}
json cell {{ cell | tojson }}
json cell {{ cell | tojson }}
[{{
ru_ref}}-config-template
]
[{{
B('%s-config-template' % ru_ref) }}
]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
extensions = jinja2.ext.do
log-output = ${directory:var}/log/{{ru_ref}}-config.log
log-output = ${directory:var}/log/{{ru_ref}}-config.log
...
@@ -86,7 +86,7 @@ context =
...
@@ -86,7 +86,7 @@ context =
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw buildout_directory_path {{ buildout_directory }}
raw buildout_directory_path {{ buildout_directory }}
raw CreateProcessingEle_template {{ ru_lopcomm_CreateProcessingEle_template }}
raw CreateProcessingEle_template {{ ru_lopcomm_CreateProcessingEle_template }}
key cu_config_template {{
ru_ref}}-cu-config
:output
key cu_config_template {{
B('%s-cu-config' % ru_ref)}}
:output
import netaddr netaddr
import netaddr netaddr
mode = 0775
mode = 0775
url = {{ ru_lopcomm_config_template }}
url = {{ ru_lopcomm_config_template }}
...
@@ -94,12 +94,12 @@ output = ${directory:script}/{{ru_ref}}-config.py
...
@@ -94,12 +94,12 @@ output = ${directory:script}/{{ru_ref}}-config.py
{{ promise('%s-config-log' % ru_ref) }}
{{ promise('%s-config-log' % ru_ref) }}
promise = check_lopcomm_config_log
promise = check_lopcomm_config_log
config-config-log = ${ {{-
ru_ref}}-config-template
:log-output}
config-config-log = ${ {{-
B('%s-config-template' % ru_ref)}}
:log-output}
{#- handle notifications from RU + keep on touching RU watchdog #}
{#- handle notifications from RU + keep on touching RU watchdog #}
[{{
ru_ref}}-stats-template
]
[{{
B('%s-stats-template' % ru_ref) }}
]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}}
_logbase = ${directory:var}/log/{{ru_ref}}
...
@@ -133,7 +133,7 @@ output = ${directory:bin}/{{ru_ref}}-stats.py
...
@@ -133,7 +133,7 @@ output = ${directory:bin}/{{ru_ref}}-stats.py
{{ part('%s-stats-service' % ru_ref) }}
{{ part('%s-stats-service' % ru_ref) }}
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${ {{-
ru_ref}}-stats-template
:output}
command-line = ${ {{-
B('%s-stats-template' % ru_ref)}}
:output}
wrapper-path = ${directory:service}/{{ru_ref}}-stats
wrapper-path = ${directory:service}/{{ru_ref}}-stats
mode = 0775
mode = 0775
hash-files =
hash-files =
...
@@ -141,11 +141,11 @@ hash-files =
...
@@ -141,11 +141,11 @@ hash-files =
{{ promise('%s-netconf-connection' % ru_ref) }}
{{ promise('%s-netconf-connection' % ru_ref) }}
promise = check_command_execute
promise = check_command_execute
config-command = [ -f ${ {{-
ru_ref}}-stats-template
:is_netconf_connected} ]
config-command = [ -f ${ {{-
B('%s-stats-template' % ru_ref)}}
:is_netconf_connected} ]
{{ promise('%s-vswr' % ru_ref) }}
{{ promise('%s-vswr' % ru_ref) }}
promise = check_lopcomm_vswr
promise = check_lopcomm_vswr
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-rssi' % ru_ref) }}
{{ promise('%s-rssi' % ru_ref) }}
promise = check_lopcomm_rssi
promise = check_lopcomm_rssi
...
...
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