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
cfb54158
Commit
cfb54158
authored
Oct 06, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
76ced981
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
32 deletions
+31
-32
software/ors-amarisoft/amari/slap.jinja2
software/ors-amarisoft/amari/slap.jinja2
+3
-3
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+3
-5
software/ors-amarisoft/config/ue.cfg
software/ors-amarisoft/config/ue.cfg
+3
-2
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+16
-16
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+6
-6
No files found.
software/ors-amarisoft/amari/slap.jinja2
View file @
cfb54158
...
...
@@ -221,12 +221,12 @@
{%- endmacro %}
{#-
iue_dict keeps ue shared instance: reference -> iue
{#-
load_iue initializes UE registry.
use load_iue to initialize this ue registry.
iue_dict keeps ue shared instance: reference -> iue
#}
{%- set iue_dict = {} %}
{%- macro load_iue(
)
%}
{%- macro load_iue(
iue_dict)
%}
{%- set qother = [] %}
{%- for ishared in qshared_instance_list %}
{%- set ref = J(jref_of_shared(ishared)) %}
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
cfb54158
...
...
@@ -2,14 +2,13 @@
{#- XXX icell vs cell / iru vs ru everyhere + document it #}
{#- XXX TDD check #}
{%- import 'amari_lte.jinja2' as lte with context %}
{%- import 'amari_slap.jinja2' as slaplte with context %}
{%- import 'amari_lte.jinja2' as lte
with context %}
{%- import 'amari_slap.jinja2' as slaplte
with context %}
{%- set J = slaplte.J %}
{%- set jref_of_shared = slaplte.jref_of_shared %}
{%- set jcell_ru_ref = slaplte.jcell_ru_ref %}
{%- set cfg = slaplte.cfg %}
{#- for standalone testing via slapos-render-config.py
NOTE: keep in sync with instance-enb.jinja2.cfg and ru/libinstance.jinja2.cfg #}
{%- if _standalone is defined %}
...
...
@@ -17,13 +16,12 @@
{%- set icell_dict = {} %}
{%- set ipeercell_dict = {} %}
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind='enb') %}
{%- do slaplte.load_ipeercell(ipeercell_dict) %}
{%- do slaplte.load_ipeercell(ipeercell_dict)
%}
{%- do slaplte.check_loaded_everything() %}
{%- endif %}
{#- start of the config -#}
{
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1,x2ap.level=debug,x2ap.max_size=1,rrc.level=debug,rrc.max_size=1,ngap.level=debug,ngap.max_size=1,xnap.level=debug,xnap.max_size=1,
{%- if slapparameter_dict.get('log_phy_debug', False) -%}
...
...
software/ors-amarisoft/config/ue.cfg
View file @
cfb54158
...
...
@@ -34,7 +34,7 @@
n_antenna_ul: 1,
dl_earfcn: 38050,
bandwidth:
2
5,
bandwidth: 5,
global_timing_advance: -1,
},
...
...
@@ -76,7 +76,8 @@
imsi: "001010123456789",
K: "00112233445566778899aabbccddeeff",
rue_addr: "host1",
ue_category: 12,
as_release: 13,
ue_category: 13,
tun_setup_script: "ue-ifup",
apn: "internet",
},
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
cfb54158
{%- import 'amari_lte.jinja2' as lte with context -%}
{%- set iru_dict = lte.iru_dict %}
{%- set icell_dict = lte.icell_dict %}
{%- set iue_dict = lte.iue_dict %}
{%- set J = lte.J %}
{%- set jref_of_shared = lte.jref_of_shared %}
{%- set jcell_ru_ref = lte.jcell_ru_ref %}
{%- set amari = lte %}{#- XXX temp #}
{#- XXX kill: instance does this #}
{#- {%- do lte.load_iru_and_icell(kind='ue') %} #}
{#- {%- do lte.load_iue() %} #}
{#- {%- do lte.check_loaded_everything() %} #}
{%- import 'amari_lte.jinja2' as lte with context %}
{%- import 'amari_slap.jinja2' as slaplte with context %}
{%- set J = slaplte.J %}
{%- set jcell_ru_ref = slaplte.jcell_ru_ref %}
{#- for standalone testing via slapos-render-config.py
NOTE: keep in sync with instance-ue.jinja2.cfg and ru/libinstance.jinja2.cfg #}
{%- if _standalone is defined %}
{%- set iru_dict = {} %}
{%- set icell_dict = {} %}
{%- set iue_dict = {} %}
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind='ue') %}
{%- do slaplte.load_iue(iue_dict) %}
{%- do slaplte.check_loaded_everything() %}
{%- endif %}
{#- start of the config -#}
{
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1,phy.level=info,file.rotate=1G,file.path=/dev/null",
log_filename: "{{ directory['log'] }}/ue.log",
...
...
@@ -24,7 +24,7 @@
com_addr: "{{ pub_info['com_addr'] }}",
{# instantiate radio units #}
{{
amari
.ru_config(iru_dict, slapparameter_dict) }}
{{
lte
.ru_config(iru_dict, slapparameter_dict) }}
cell_groups: [{
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
cfb54158
...
...
@@ -58,12 +58,12 @@ eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
{%- set icell_kind='enb' %}
{%- import 'amari_slap.jinja2'
as slaplte with context
%}
{%- import 'ru_libinstance.jinja2.cfg' as rulib with context %}
{%- set ipeercell_dict = {} %}
{%- do slaplte.load_ipeercell(
)
%}
{%- do slaplte.check_loaded_everything() %}
{%- set icell_kind='enb'
%}
{%- import 'amari_slap.jinja2'
as slaplte with context
%}
{%- import 'ru_libinstance.jinja2.cfg' as rulib with context
%}
{%- set ipeercell_dict = {}
%}
{%- do slaplte.load_ipeercell(
ipeercell_dict)
%}
{%- do slaplte.check_loaded_everything()
%}
[monitor-httpd-conf-parameter]
...
...
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