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
5b8ec2b3
Commit
5b8ec2b3
authored
Jan 17, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4ca5681d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+6
-0
No files found.
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
5b8ec2b3
...
@@ -12,10 +12,12 @@
...
@@ -12,10 +12,12 @@
{#- indicate whether RU is listening for netconf #}
{#- indicate whether RU is listening for netconf #}
{%- if not testing %}
{{ promise('%s-netconf-socket' % ru_ref) }}
{{ promise('%s-netconf-socket' % ru_ref) }}
promise = check_socket_listening
promise = check_socket_listening
config-host = ${vtap.{{ru.cpri_link._tap}}:gateway}
config-host = ${vtap.{{ru.cpri_link._tap}}:gateway}
config-port = 830
config-port = 830
{%- endif %}
{#- push firmware to RU #}
{#- push firmware to RU #}
...
@@ -45,9 +47,11 @@ mode = 0775
...
@@ -45,9 +47,11 @@ mode = 0775
url = {{ ru_lopcomm_software_template }}
url = {{ ru_lopcomm_software_template }}
output = ${directory:script}/{{B('%s-software.py' % ru_ref)}}
output = ${directory:script}/{{B('%s-software.py' % ru_ref)}}
{%- if not testing %}
{{ promise('%s-firmware' % ru_ref) }}
{{ promise('%s-firmware' % ru_ref) }}
promise = check_command_execute
promise = check_command_execute
config-command = [ -f ${ {{-B('%s-software-template' % ru_ref)}}:is_firmware_updated} ]
config-command = [ -f ${ {{-B('%s-software-template' % ru_ref)}}:is_firmware_updated} ]
{%- endif %}
{#- push config to RU #}
{#- push config to RU #}
...
@@ -141,9 +145,11 @@ mode = 0775
...
@@ -141,9 +145,11 @@ mode = 0775
hash-files =
hash-files =
${:command-line}
${:command-line}
{%- if not testing %}
{{ promise('%s-netconf-connection' % ru_ref) }}
{{ promise('%s-netconf-connection' % ru_ref) }}
promise = check_command_execute
promise = check_command_execute
config-command = [ -f ${ {{-B('%s-stats-template' % ru_ref)}}:is_netconf_connected} ]
config-command = [ -f ${ {{-B('%s-stats-template' % ru_ref)}}:is_netconf_connected} ]
{%- endif %}
{{ promise('%s-vswr' % ru_ref) }}
{{ promise('%s-vswr' % ru_ref) }}
promise = check_lopcomm_vswr
promise = check_lopcomm_vswr
...
...
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