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
36e39abd
Commit
36e39abd
authored
Dec 25, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
972a2d76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/instance-ors-enb.jinja2.cfg
software/ors-amarisoft/instance-ors-enb.jinja2.cfg
+16
-5
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
36e39abd
...
@@ -88,7 +88,7 @@ md5sum = 99e66586605c675fee015c293abf61b0
...
@@ -88,7 +88,7 @@ md5sum = 99e66586605c675fee015c293abf61b0
[template-ors-enb]
[template-ors-enb]
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
md5sum =
5c1e80ba030683169f598946eab89bda
md5sum =
944099492d5fd853d57e77696362f643
[template-ors-gnb]
[template-ors-gnb]
_update_hash_filename_ = instance-ors-gnb.jinja2.cfg
_update_hash_filename_ = instance-ors-gnb.jinja2.cfg
...
...
software/ors-amarisoft/instance-ors-enb.jinja2.cfg
View file @
36e39abd
{#- TODO automatically load ORS/enb
defaults from instance-ors-enb-input-schema.json
#}
{#- TODO automatically load ORS/enb
and ORS/gnb defaults from JSON schema
#}
{%- set ors_enb_defaults = {
{%- set ors_enb_defaults = {
"bandwidth": "20 MHz",
"bandwidth": "20 MHz",
"n_antenna_dl": 2,
"n_antenna_dl": 2,
...
@@ -17,9 +17,20 @@
...
@@ -17,9 +17,20 @@
"disable_sdr": false
"disable_sdr": false
} %}
} %}
{#- TODO automatically load ORS/gnb defaults from instance-ors-gnb-input-schema.json #}
{#- XXX #}
{%- set ors_gnb_defaults = {
{%- set ors_gnb_defaults = {
"nr_bandwidth": 40,
"n_antenna_dl": 2,
"n_antenna_ul": 2,
"rf_mode": "tdd",
"tdd_ul_dl_config": "5ms 2UL 7DL 4/6 (default)",
"pci": 500,
"cell_id": "0x01",
"gnb_id": "0x12345",
"gnb_id_bits": 28,
"nr_handover_a3_offset": 6,
"nr_handover_time_to_trigger": 100,
"inactivity_timer": 10000,
"disable_sdr": false
} %}
} %}
{#- enb_mode indicates with which mode ors' enb is instantiated with - enb | gnb #}
{#- enb_mode indicates with which mode ors' enb is instantiated with - enb | gnb #}
...
@@ -61,7 +72,7 @@
...
@@ -61,7 +72,7 @@
{%- set cell = {
{%- set cell = {
'cell_type': 'lte',
'cell_type': 'lte',
'dl_earfcn': ors_version['current-earfcn'],
'dl_earfcn': ors_version['current-earfcn'],
'bandwidth': slapparameter_dict.bandwidth,
}
}
%}
%}
{%- elif enb_mode == 'gnb' %}
{%- elif enb_mode == 'gnb' %}
...
@@ -69,6 +80,7 @@
...
@@ -69,6 +80,7 @@
'cell_type': 'nr',
'cell_type': 'nr',
'dl_nr_arfcn': ors_version['current-nr-arfcn'],
'dl_nr_arfcn': ors_version['current-nr-arfcn'],
'nr_band': ors_version['current-nr-band'],
'nr_band': ors_version['current-nr-band'],
'bandwidth': slapparameter_dict.nr_bandwidth,
}
}
%}
%}
{%- endif %}
{%- endif %}
...
@@ -79,7 +91,6 @@
...
@@ -79,7 +91,6 @@
'cell_id': slapparameter_dict.cell_id,
'cell_id': slapparameter_dict.cell_id,
'root_sequence_index': slapparameter_dict.root_sequence_index,
'root_sequence_index': slapparameter_dict.root_sequence_index,
'tdd_ul_dl_config': slapparameter_dict.tdd_ul_dl_config,
'tdd_ul_dl_config': slapparameter_dict.tdd_ul_dl_config,
'bandwidth': slapparameter_dict.bandwidth,
'tac': slapparameter_dict.tac,
'tac': slapparameter_dict.tac,
'inactivity_timer': slapparameter_dict.inactivity_timer,
'inactivity_timer': slapparameter_dict.inactivity_timer,
...
...
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