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
Lu Xu
slapos
Commits
e1481152
Commit
e1481152
authored
Dec 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
575659c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
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
+9
-9
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
e1481152
...
...
@@ -36,7 +36,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
c9a8f1466826fbe6c40f3db2846913b8
md5sum =
a34b0a23fa8c45268c76d4374bca4292
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
e1481152
...
...
@@ -149,34 +149,34 @@ config-netconf-log = ${ {{-B('%s-stats-template' % ru_ref)}}:json-log-output}
{{ promise('%s-rssi' % ru_ref) }}
promise = check_lopcomm_rssi
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-pa-current' % ru_ref) }}
promise = check_lopcomm_pa_current
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-pa-output-power' % ru_ref) }}
promise = check_lopcomm_pa_output_power
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-sync' % ru_ref) }}
promise = check_lopcomm_sync
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-lof' % ru_ref) }}
promise = check_lopcomm_lof
config-netconf-log = ${ {{-
ru_ref}}-stats-template
:json-log-output}
config-netconf-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:json-log-output}
{{ promise('%s-stats-log' % ru_ref) }}
promise = check_lopcomm_stats_log
config-stats-log = ${ {{-
ru_ref}}-stats-template
:log-output}
config-stats-log = ${ {{-
B('%s-stats-template' % ru_ref)}}
:log-output}
{#- reset RU periodically #}
{%- if ru.get("reset_schedule") %}
[{{
ru_ref}}-reset-info-template
]
[{{
B('%s-reset-info-template' % ru_ref) }}
]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}}-reset-info
...
...
@@ -193,7 +193,7 @@ mode = 0775
url = {{ ru_lopcomm_reset_info_template }}
output = ${directory:bin}/{{ru_ref}}-reset-info.py
[{{
ru_ref}}-reset-template
]
[{{
B('%s-reset-template' % ru_ref) }}
]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}}-reset
...
...
@@ -214,7 +214,7 @@ recipe = slapos.cookbook:cron.d
cron-entries = ${cron:cron-entries}
name = {{ru_ref}}-reset
frequency = {{ ru.reset_schedule }}
command = {{ buildout_directory}}/bin/pythonwitheggs ${ {{-
ru_ref}}-reset-template
:output}
command = {{ buildout_directory}}/bin/pythonwitheggs ${ {{-
B('%s-reset-template' % ru_ref)}}
:output}
{{ part('%s-reset-info-service' % ru_ref) }}
recipe = slapos.cookbook:wrapper
...
...
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