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
38100623
Commit
38100623
authored
1 year ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c1a7d5ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+2
-0
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+9
-7
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
38100623
...
...
@@ -41,6 +41,8 @@
"00101",
],
# XXX -> rrh_ors ?
manual_ref_signal_power: true,
cyclic_prefix: "normal",
...
...
This diff is collapsed.
Click to expand it.
software/ors-amarisoft/slapos-render-config.py
View file @
38100623
...
...
@@ -92,12 +92,13 @@ CELL2_b['ru']['ru_ref'] = 'RU2_b'
# XXX CELL3 FDD NR
jCELL1_a
=
json
.
dumps
(
CELL1_a
)
jCELL1_b
=
json
.
dumps
(
CELL1_b
)
jCELL2_a
=
json
.
dumps
(
CELL2_a
)
jCELL2_b
=
json
.
dumps
(
CELL2_b
)
jRU2_a
=
json
.
dumps
(
RU2_a
)
jRU2_b
=
json
.
dumps
(
RU2_b
)
jjdumps
=
lambda
obj
:
json
.
dumps
(
json
.
dumps
(
obj
))
jCELL1_a
=
jjdumps
(
CELL1_a
)
jCELL1_b
=
jjdumps
(
CELL1_b
)
jCELL2_a
=
jjdumps
(
CELL2_a
)
jCELL2_b
=
jjdumps
(
CELL2_b
)
jRU2_a
=
jjdumps
(
RU2_a
)
jRU2_b
=
jjdumps
(
RU2_b
)
json_params
=
"""{
"earfcn": 126357,
"tx_gain": 50,
...
...
@@ -161,9 +162,10 @@ json_params = """{
"slap_software_type": "enb",
"_": %(jRU2_b)s
}
]
,
]
}
}"""
%
globals
()
import
os
from
jinja2
import
Environment
,
StrictUndefined
,
\
BaseLoader
,
TemplateNotFound
,
PrefixLoader
...
...
This diff is collapsed.
Click to expand it.
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