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
60cd9df3
Commit
60cd9df3
authored
Sep 13, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6a6145c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
5 deletions
+37
-5
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+11
-1
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+26
-4
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
60cd9df3
{
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,phy.level=info,file.rotate=1G,file.path=/dev/null",
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,
phy.level=info,file.rotate=1G,file.path=/dev/null",
log_filename: "log/enb.log",
...
...
@@ -22,12 +22,22 @@
rx_gain: 50,
com_addr: "127.0.1.2:9001",
// XXX only if slapparameter_dict.get('mme_list') || has LTE cell ?
mme_list: [
{
mme_addr: "127.0.1.100",
},
],
// XXX only if slapparameter_dict.get('afm_list') || has NR cell ?
afm_list: [
{
afm_addr: "127.0.1.100",
},
],
gtp_addr: "127.0.1.1",
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
60cd9df3
...
...
@@ -152,7 +152,7 @@
{#- 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,
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) -%}
phy.level=debug
{%- else -%}
...
...
@@ -246,16 +246,38 @@
com_addr: "127.0.1.2:9001",
{%- endif %}
// XXX only if slapparameter_dict.get('mme_list') || has LTE cell ?
mme_list: [
{%- for _, mme in slapparameter_dict.get('mme_list',
{'1':{'mme_addr': '127.0.1.100'}})
{%- for _, mme in slapparameter_dict.get('mme_list', {'1':{'mme_addr': '127.0.1.100'}})
| dictsort %}
{
mme_addr: "{{ mme['mme_addr'] }}",
},
{%- endfor %}
],
{% if slapparameter_dict.get('mme_list', '') %}
// XXX only if slapparameter_dict.get('afm_list') || has NR cell ?
afm_list: [
{%- for _, afm in slapparameter_dict.get('afm_list', {'1':{'afm_addr': '127.0.1.100'}})
| dictsort %}
{
afm_addr: "{{ afm['afm_addr'] }}",
},
{%- endfor %}
],
{#- X2/Xn TODO: add info about neighbours as shared instances - one instance per neigh *ENB*.
then query SlapOS Master about cells configured on that neigh ENB and
depending on whether LTE and/or NR cells are there add X2 and/or Xn peers #}
{% if slapparameter_dict.get('xn_peers', '') %}
xn_peers: [
{%- for k in slapparameter_dict['xn_peers'] -%}
"{{ slapparameter_dict['xn_peers'][k]['xn_addr'] }}",
{%- endfor -%}
],
{% endif %}
{% if slapparameter_dict.get('mme_list', '') or slapparameter_dict.get('afm_list', '') %}
{% if slapparameter_dict.get('use_ipv4', False) %}
gtp_addr: "{{ gtp_addr_v4 }}",
{% else %}
...
...
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