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
a323b131
Commit
a323b131
authored
Sep 28, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9e0cb47a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+2
-4
No files found.
software/ors-amarisoft/slapos-render-config.py
View file @
a323b131
...
...
@@ -3,7 +3,7 @@
# It mimics the way config files are generated during the build but runs much
# faster compared to full `slapos node software` + `slapos node instance` runs.
import
zc.buildout.buildout
# XXX workaround
for
bug in vvv
import
zc.buildout.buildout
# XXX workaround
import
bug in vvv
from
slapos.recipe.template
import
jinja2_template
import
json
,
copy
,
sys
,
pprint
...
...
@@ -41,7 +41,7 @@ def j2render(config, jcfg):
f
.
write
(
r
.
_render
().
decode
())
# Instance
..
.
# Instance
simulates configuration for an instance on SlapOS Master
.
class
Instance
:
def
__init__
(
self
):
self
.
shared_instance_list
=
[]
...
...
@@ -58,7 +58,6 @@ class Instance:
return
ishared
# ---- eNB ----
# 3 cells sharing SDR-based RU consisting of 2 SDR boards (4tx + 4rx ports max)
...
...
@@ -241,7 +240,6 @@ def do_enb():
j2render
(
'enb'
,
json_params
)
# ---- UE ----
def
do_ue
():
...
...
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