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
6d219255
Commit
6d219255
authored
Oct 20, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f26056f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+4
-2
No files found.
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
6d219255
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind) %}
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind) %}
{%- macro buildout()
%}
{%- macro buildout()
%}
{%- set root = slap_configuration['instance-title'] %}
{%- set root = slap_configuration['instance-title'] %}
{#- part emits new buildout section and registers it into buildout.parts #}
{#- part emits new buildout section and registers it into buildout.parts #}
...
@@ -132,6 +132,7 @@ output = ${directory:etc}/{{cell_ref}}-drb.cfg
...
@@ -132,6 +132,7 @@ output = ${directory:etc}/{{cell_ref}}-drb.cfg
extra-context =
extra-context =
json cell_ref {{ cell_ref | tojson }}
json cell_ref {{ cell_ref | tojson }}
json cell {{ cell | tojson }}
json cell {{ cell | tojson }}
json ru_ref {{ ru_ref | tojson }}
json ru {{ ru | tojson }}
json ru {{ ru | tojson }}
{{ part('sib23-config-%s' % cell_ref) }}
{{ part('sib23-config-%s' % cell_ref) }}
...
@@ -141,6 +142,7 @@ output = ${directory:etc}/{{cell_ref}}-sib23.asn
...
@@ -141,6 +142,7 @@ output = ${directory:etc}/{{cell_ref}}-sib23.asn
extra-context =
extra-context =
json cell_ref {{ cell_ref | tojson }}
json cell_ref {{ cell_ref | tojson }}
json cell {{ cell | tojson }}
json cell {{ cell | tojson }}
json ru_ref {{ ru_ref | tojson }}
json ru {{ ru | tojson }}
json ru {{ ru | tojson }}
{#- publish information about the cell #}
{#- publish information about the cell #}
...
@@ -148,7 +150,7 @@ extra-context =
...
@@ -148,7 +150,7 @@ extra-context =
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
-slave-reference = {{ icell.slave_reference }}
-slave-reference = {{ icell.slave_reference }}
enb = {{ root }}
enb = {{ root }}
ru = {{
J(jcell_ru_ref(icell, icell_dict))
}}
ru = {{
ru_ref
}}
{%- endfor %}
{%- endfor %}
...
...
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