Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
4f92bcbc
Commit
4f92bcbc
authored
Aug 21, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
da4b8716
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+4
-12
No files found.
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
4f92bcbc
...
...
@@ -5,9 +5,9 @@
{# XXX error(slave, msg) #}
{# cell_dict keeps cell slave instances: reference -> cell #}
{# ru_dict keeps RU slave instances: reference ->
ru
#}
{% set cell_dict = {} %}
{% set ru_dict = {} %}
{# ru_dict keeps RU slave instances: reference ->
RU
#}
{% set cell_dict = {}
%}
{% set ru_dict = {}
%}
{%- for slave in slave_instance_list %}
{# ref is original reference used to request shared instance.
it is extracted from slave_reference who is composed as `partition_id`+'_'+`reference` #}
...
...
@@ -30,15 +30,7 @@
{%- endif %}
{%- endfor %}
{# verify that there is no dangling ru_ref and ruincell_ref #}
{%- set cell_list = [] %}
{%- for slave in slave_instance_list %}
{%- set slave_parameters = json_module.loads(slave['_']) %}
{%- if slave_parameters.get('cell_type', '') != '' %}
{%- do cell_list.append(slave) %}
{%- endif %}
{%- endfor %}
{# verify that there is no dangling ru_ref and ruincell_ref #} XXX + resolve those ru*_ref
...
...
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