Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
b0f10c65
Commit
b0f10c65
authored
Jan 03, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
eb953c1f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+1
-1
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+11
-8
software/ors-amarisoft/test/test_ors.py
software/ors-amarisoft/test/test_ors.py
+1
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
b0f10c65
...
...
@@ -28,7 +28,7 @@ md5sum = 8c044b28682940fbca62657c16613157
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum =
4c33145d2b7dd0299d1f64d46dfa3e66
md5sum =
3596f6d581c06c05506120474ef903ca
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
b0f10c65
...
...
@@ -149,7 +149,7 @@ context =
{{ part('dnsmasq-service') }}
recipe = slapos.cookbook:wrapper
port = 5353
ip = ${slap-configuration:tun-ipv4-addr}
#
ip = ${slap-configuration:tun-ipv4-addr}
command-line = {{ dnsmasq_location }}/sbin/dnsmasq --conf-file=${dnsmasq-config:output} -x ${directory:run}/dnsmasq.pid --local-service --keep-in-foreground
wrapper-path = ${directory:service}/dnsmasq
mode = 0775
...
...
software/ors-amarisoft/test/test.py
View file @
b0f10c65
...
...
@@ -139,8 +139,11 @@ class ENBTestCase(AmariTestCase):
@
classmethod
def
getInstanceParameterDict
(
cls
):
return
{
'_'
:
json
.
dumps
({
'testing'
:
True
,
})}
# XXX + enb_id, gnb_id
'testing'
:
True
,
'enb_id'
:
'0x17'
,
'gnb_id'
:
'0x23'
,
'gnb_id_bits'
:
30
,
})}
# XXX + generic test that verifies ^^^ to be rendered into enb.cfg
...
...
@@ -222,9 +225,9 @@ class TestENB_CPRI(ENBTestCase):
'txrx_active'
:
'INACTIVE'
,
}
cls
.
requestShared
(
imain
,
'LO1'
,
LO
(
1
))
cls
.
requestShared
(
imain
,
'LO2'
,
LO
(
2
))
cls
.
requestShared
(
imain
,
'LO3'
,
LO
(
3
))
cls
.
requestShared
(
imain
,
'LO4'
,
LO
(
4
))
#
cls.requestShared(imain, 'LO2', LO(2))
#
cls.requestShared(imain, 'LO3', LO(3))
#
cls.requestShared(imain, 'LO4', LO(4))
def
LO_CELL
(
i
,
ctx
):
cell
=
{
...
...
@@ -238,9 +241,9 @@ class TestENB_CPRI(ENBTestCase):
cls
.
requestShared
(
imain
,
'LO%d.CELL'
%
i
,
cell
)
LO_CELL
(
1
,
FDD
|
LTE
(
100
)
|
BW
(
10
))
LO_CELL
(
2
,
TDD
|
LTE
(
36100
)
|
BW
(
10
))
LO_CELL
(
3
,
FDD
|
NR
(
430100
,
1
)
|
BW
(
10
))
LO_CELL
(
4
,
TDD
|
NR
(
510100
,
41
)
|
BW
(
10
))
#
LO_CELL(2, TDD | LTE( 36100) | BW(10))
#
LO_CELL(3, FDD | NR (430100, 1) | BW(10))
#
LO_CELL(4, TDD | NR (510100,41) | BW(10))
# XXX + sunwave
...
...
software/ors-amarisoft/test/test_ors.py
View file @
b0f10c65
...
...
@@ -65,7 +65,7 @@ param_dict = {
'nr_band'
:
34
,
'nr_bandwidth'
:
50
,
'ssb_nr_arfcn'
:
403520
,
'rue_addr'
:
'192.168.99.88'
,
#
'rue_addr': '192.168.99.88',
'n_antenna_dl'
:
2
,
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
...
...
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