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
Léo-Paul Géneau
slapos
Commits
0957d73b
Commit
0957d73b
authored
Oct 07, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors: fix tests for UE mode
parent
119d4812
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+8
-1
software/ors-amarisoft/slaplte.jinja2
software/ors-amarisoft/slaplte.jinja2
+1
-4
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
0957d73b
...
...
@@ -24,7 +24,7 @@ md5sum = 71255edd8b9bfc7460b32b723da01cf8
[slaplte.jinja2]
_update_hash_filename_ = slaplte.jinja2
md5sum =
070b523a15c0ce70dffc907e9215b225
md5sum =
8d6eb90fc1191c3a1b24200df2ebf4fa
[ru_amarisoft-stats.jinja2.py]
_update_hash_filename_ = ru/amarisoft-stats.jinja2.py
...
...
@@ -124,7 +124,7 @@ md5sum = f07c85916bcb7e4002c8edc3d087c1be
[ue.jinja2.cfg]
filename = config/ue.jinja2.cfg
md5sum = 4
90c0b91c1bfa7b1c2a1f592dd766ab9
md5sum = 4
b0f08b2d8efa506d6165f8b4e0d9578
[software.cfg.html]
_update_hash_filename_ = gadget/software.cfg.html
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
0957d73b
...
...
@@ -26,8 +26,11 @@
{%- endif %}
{# instantiate radio units #}
{%- if ors %}
{{ slaplte.ru_config(iru_dict, slapparameter_dict, False) }}
{%- else %}
{{ slaplte.ru_config(iru_dict, slapparameter_dict, True) }}
{%- endif %}
cell_groups: [{
// LTE cells
...
...
@@ -116,7 +119,11 @@
{%- else %}
{%- do bug('unreachable') %}
{%- endif %}
{%- if ors %}
tun_setup_script: "{{ ue_ifup }}",
{%- else %}
tun_setup_script: "ue_ifup",
{%- endif %}
apn: "internet",
},
{%- endfor %}
...
...
software/ors-amarisoft/slaplte.jinja2
View file @
0957d73b
...
...
@@ -411,11 +411,8 @@
{%- for ishared in qshared_instance_list %}
{%- set ref = J(jref_of_shared(ishared)) %}
{%- set _ = ishared['_'] %}
{%- if 'ue_type' in _
or (ors and 'imsi' in _)
%}
{%- if 'ue_type' in _ %}
{%- set iue = ishared %}
{%- if ors %}
{%- do _.update({'ue_type': 'lte'}) %}
{%- endif %}
{%- for k, v in defaults['ue'].items() %}
{%- do _.setdefault(k, v) %}
{%- 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