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
e564070f
Commit
e564070f
authored
Dec 21, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d9ce250a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
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
+15
-11
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
e564070f
...
@@ -88,7 +88,7 @@ md5sum = e71b1d10676e5ffa5dc96db88d6f5bae
...
@@ -88,7 +88,7 @@ md5sum = e71b1d10676e5ffa5dc96db88d6f5bae
[template-ors-enb]
[template-ors-enb]
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
md5sum =
8b8ef94c35e99a0754fa8b8635bc5221
md5sum =
bf3e7f0301c1422b596a83c2cc031390
[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 @
e564070f
{#- XXX automatically load this from schema #}
{#- XXX automatically load this from schema #}
{%- set ors_defaults = {
{%- set ors_
lte_
defaults = {
"bandwidth": "20MHz",
"bandwidth": "20MHz",
"n_antenna_dl": 2,
"n_antenna_dl": 2,
"n_antenna_ul": 2,
"n_antenna_ul": 2,
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
"disable_sdr": false
"disable_sdr": false
} %}
} %}
{%- for k,v in ors_lte_defaults|dictsort %}
{%- do slapparameter_dict.setdefault(k, v) %}
{%- endfor %}
{# inject ru/cell shared instances synthesized from ORS-specific parameters
{# inject ru/cell shared instances synthesized from ORS-specific parameters
make real ru/cell shared instances to be rejected #}
make real ru/cell shared instances to be rejected #}
{%- set ishared_list = slap_configuration.setdefault('slave-instance-list', []) %}
{%- set ishared_list = slap_configuration.setdefault('slave-instance-list', []) %}
...
@@ -33,8 +37,8 @@
...
@@ -33,8 +37,8 @@
'ru_type': 'sdr',
'ru_type': 'sdr',
'ru_link_type': 'sdr',
'ru_link_type': 'sdr',
'sdr_dev_list': [0],
'sdr_dev_list': [0],
'n_antenna_dl': slapparameter_dict.
get('n_antenna_dl', ors_defaults.n_antenna_dl)
,
'n_antenna_dl': slapparameter_dict.
n_antenna_dl
,
'n_antenna_ul': slapparameter_dict.
get('n_antenna_ul', ors_defaults.n_antenna_ul)
,
'n_antenna_ul': slapparameter_dict.
n_antenna_ul
,
'tx_gain': ors_version['current-tx-gain'],
'tx_gain': ors_version['current-tx-gain'],
'rx_gain': ors_version['current-rx-gain'],
'rx_gain': ors_version['current-rx-gain'],
'txrx_active': 'XXX',
'txrx_active': 'XXX',
...
@@ -46,19 +50,19 @@
...
@@ -46,19 +50,19 @@
'slave_title': '%s_CELL' % 'XXX',
'slave_title': '%s_CELL' % 'XXX',
'_': {
'_': {
'cell_type': 'lte',
'cell_type': 'lte',
'rf_mode': slapparameter_dict.
get('rf_mode', ors_defaults.rf_mode)
,
'rf_mode': slapparameter_dict.
rf_mode
,
'pci': slapparameter_dict.
get('pci', ors_defaults.pci)
,
'pci': slapparameter_dict.
pci
,
'cell_id': slapparameter_dict.
get('cell_id', ors_defaults.cell_id)
,
'cell_id': slapparameter_dict.
cell_id
,
'root_sequence_index': slapparameter_dict.
get('root_sequence_index', ors_defaults.root_sequence_index)
,
'root_sequence_index': slapparameter_dict.
root_sequence_index
,
'ru': {
'ru': {
'ru_type': 'ru_ref',
'ru_type': 'ru_ref',
'ru_ref': 'RU',
'ru_ref': 'RU',
},
},
'tdd_ul_dl_config': slapparameter_dict
('tdd_ul_dl_config', ors_defaults.tdd_ul_dl_config)
,
'tdd_ul_dl_config': slapparameter_dict
.tdd_ul_dl_config
,
'bandwidth': slapparameter_dict.
get('bandwidth', ors_defaults.bandwidth)
,
'bandwidth': slapparameter_dict.
bandwidth
,
'dl_earfcn':
slapparameter_dict.get('dl_earfcn', ors_defaults.dl_earfcn)
,
'dl_earfcn':
ors_version['current-earfcn']
,
'tac': slapparameter_dict.
get('tac', ors_defaults.tac)
'tac': slapparameter_dict.
tac,
} |tojson
} |tojson
})
})
%}
%}
...
...
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