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
cf0b5708
Commit
cf0b5708
authored
Jan 09, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a6516bb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
34 deletions
+34
-34
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+3
-3
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+10
-10
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+21
-21
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
cf0b5708
...
...
@@ -28,7 +28,7 @@ md5sum = 8c044b28682940fbca62657c16613157
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum =
c1b46d5322fdf3c6396d3ac8828ff6e3
md5sum =
5c2397a594cc1244542ae818280e6cbb
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
...
@@ -80,7 +80,7 @@ md5sum = 2b8b57c5771b2a2203c0e7767e629e55
[ru_xbuildout.py]
_update_hash_filename_ = ru/xbuildout.py
md5sum =
d569421cb4ce2f4b999d82582680eb58
md5sum =
7e8dbafbb51b9ee6dc3cdda9546702da
[ru_capdo.c]
_update_hash_filename_ = ru/capdo.c
...
...
@@ -88,7 +88,7 @@ md5sum = 52da9fe3a569199e35ad89ae1a44c30e
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
1b2cdab298461bfd6d2bee7ffd753756
md5sum =
80cf65a70c2b8d9d7bf492a54092b1e7
[template-ors-enb]
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
cf0b5708
...
...
@@ -207,14 +207,14 @@ import-list =
rawfile slaplte.jinja2 {{ slaplte_template }}
extra-context =
import json_module json
jsonkey iru_dict :j
iru_dict
jsonkey icell_dict :j
icell_dict
jsonkey ipeer_dict :j
ipeer_dict
jsonkey ipeercell_dict :j
ipeercell_dict
jiru_dict = {{ Q(rulib.iru_dict | tojson
) }}
jicell_dict = {{ Q(rulib.icell_dict | tojson
) }}
jipeer_dict = {{ Q(ipeer_dict | tojson
) }}
jipeercell_dict = {{ Q(ipeercell_dict | tojson
) }}
key iru_dict :
iru_dict
key icell_dict :
icell_dict
key ipeer_dict :
ipeer_dict
key ipeercell_dict :
ipeercell_dict
iru_dict = {{ Q(rulib.iru_dict
) }}
icell_dict = {{ Q(rulib.icell_dict
) }}
ipeer_dict = {{ Q(ipeer_dict
) }}
ipeercell_dict = {{ Q(ipeercell_dict
) }}
[publish-connection-information]
...
...
@@ -228,8 +228,8 @@ enb-ipv4 = {{ lan_ipv4 }}
amarisoft-version = {{ lte_version }}
license-expiration = {{ lte_expiration }}
monitor-gadget-url = ${:monitor-base-url}/gadget/software.cfg.html
ru-list = {{ Q(rulib.iru_dict.keys() | sort
| tojson
) }}
cell-list = {{ Q(rulib.icell_dict.keys() | sort
| tojson
) }}
ru-list = {{ Q(rulib.iru_dict.keys() | sort) }}
cell-list = {{ Q(rulib.icell_dict.keys() | sort) }}
# TODO peer-list peer-cell-list
peer-list = XXX
peer-cell-list = XXX
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
cf0b5708
...
...
@@ -153,8 +153,8 @@ context =
import netaddr netaddr
section directory directory
section vtap_jdict vtap_jdict
jsonkey iru_dict :j
iru_dict
jiru_dict = {{ Q(iru_dict | tojson
) }}
key iru_dict :
iru_dict
iru_dict = {{ Q(iru_dict
) }}
{{ part('dnsmasq-service') }}
recipe = slapos.cookbook:wrapper
...
...
@@ -236,7 +236,7 @@ recipe = slapos.cookbook:publish.serialised
{%- for icell in iru_icell_list %}
{%- do iru_icell_ref_list.append(J(jref_of_shared(icell))) %}
{%- endfor %}
cell-list = {{ Q(iru_icell_ref_list
| tojson
) }}
cell-list = {{ Q(iru_icell_ref_list) }}
{%- if ru.ru_link_type == 'cpri' %}
ipv6 = ${vtap.{{ ru.cpri_link._tap }}:gateway}
{%- endif %}
...
...
@@ -258,28 +258,28 @@ ipv6 = ${vtap.{{ ru.cpri_link._tap }}:gateway}
url = {{ {'lte': drb_lte_template, 'nr': drb_nr_template} [cell.cell_type] }}
output = ${directory:etc}/{{B(cell_ref)}}-drb.cfg
extra-context =
jsonkey cell_ref :j
cell_ref
jsonkey cell :j
cell
jsonkey ru_ref :j
ru_ref
jsonkey ru :j
ru
jcell_ref = {{ Q(cell_ref | tojson
) }}
jcell = {{ Q(cell | tojson
) }}
jru_ref = {{ Q(ru_ref | tojson
) }}
jru = {{ Q(ru | tojson
) }}
key cell_ref :
cell_ref
key cell :
cell
key ru_ref :
ru_ref
key ru :
ru
cell_ref = {{ Q(cell_ref
) }}
cell = {{ Q(cell
) }}
ru_ref = {{ Q(ru_ref
) }}
ru = {{ Q(ru
) }}
{{ part('sib23-config-%s' % cell_ref) }}
<= config-base
url = {{ sib23_template }}
output = ${directory:etc}/{{B(cell_ref)}}-sib23.asn
extra-context =
jsonkey cell_ref :j
cell_ref
jsonkey cell :j
cell
jsonkey ru_ref :j
ru_ref
jsonkey ru :j
ru
jcell_ref = {{ Q(cell_ref | tojson
) }}
jcell = {{ Q(cell | tojson
) }}
jru_ref = {{ Q(ru_ref | tojson
) }}
jru = {{ Q(ru | tojson
) }}
key cell_ref :
cell_ref
key cell :
cell
key ru_ref :
ru_ref
key ru :
ru
cell_ref = {{ Q(cell_ref
) }}
cell = {{ Q(cell
) }}
ru_ref = {{ Q(ru_ref
) }}
ru = {{ Q(ru
) }}
{%- endif %}
{#- publish information about the cell #}
...
...
@@ -330,8 +330,8 @@ context =
raw stats_period {{ slapparameter_dict.get("enb_stats_fetch_period", 60) }}
raw testing {{ testing }}
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
jsonkey iru_dict :j
iru_dict
jiru_dict = {{ Q(iru_dict | tojson
) }}
key iru_dict :
iru_dict
iru_dict = {{ Q(iru_dict
) }}
mode = 0775
url = {{ ru_amarisoft_stats_template }}
output = ${directory:bin}/amarisoft-stats.py
...
...
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