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
bf93746a
Commit
bf93746a
authored
Jan 10, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a0376d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+6
-5
No files found.
software/ors-amarisoft/test/test.py
View file @
bf93746a
...
@@ -226,8 +226,8 @@ class ENBTestCase(AmariTestCase):
...
@@ -226,8 +226,8 @@ class ENBTestCase(AmariTestCase):
RU
(
1
);
CELL
(
1
,
FDD
|
LTE
(
100
)
|
BW
(
5
)
|
TAC
(
0x101
))
RU
(
1
);
CELL
(
1
,
FDD
|
LTE
(
100
)
|
BW
(
5
)
|
TAC
(
0x101
))
RU
(
2
);
CELL
(
2
,
TDD
|
LTE
(
40200
)
|
BW
(
10
)
|
TAC
(
0x102
))
RU
(
2
);
CELL
(
2
,
TDD
|
LTE
(
40200
)
|
BW
(
10
)
|
TAC
(
0x102
))
RU
(
3
);
CELL
(
3
,
FDD
|
NR
(
430300
,
1
)
|
BW
(
15
))
RU
(
3
);
CELL
(
3
,
FDD
|
NR
(
300300
,
74
)
|
BW
(
15
))
RU
(
4
);
CELL
(
4
,
TDD
|
NR
(
510400
,
41
)
|
BW
(
20
))
RU
(
4
);
CELL
(
4
,
TDD
|
NR
(
470400
,
40
)
|
BW
(
20
))
# requestShared requests one shared instance over imain with specified subreference and parameters.
# requestShared requests one shared instance over imain with specified subreference and parameters.
@
classmethod
@
classmethod
...
@@ -287,7 +287,7 @@ class ENBTestCase(AmariTestCase):
...
@@ -287,7 +287,7 @@ class ENBTestCase(AmariTestCase):
assertMatch
(
t
,
t
.
enb_cfg
[
'nr_cell_list'
],
[
assertMatch
(
t
,
t
.
enb_cfg
[
'nr_cell_list'
],
[
dict
(
# CELL3
dict
(
# CELL3
tdd_ul_dl_config
=
NO
,
rf_port
=
2
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
tdd_ul_dl_config
=
NO
,
rf_port
=
2
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
dl_nr_arfcn
=
430300
,
ul_nr_arfcn
=
392300
,
ssb_nr_arfcn
=
43033
0
,
band
=
1
,
dl_nr_arfcn
=
300300
,
ul_nr_arfcn
=
290700
,
ssb_nr_arfcn
=
30027
0
,
band
=
1
,
bandwidth
=
15
,
bandwidth
=
15
,
cell_id
=
0x3
,
n_id_cell
=
0x13
,
tac
=
NO
,
cell_id
=
0x3
,
n_id_cell
=
0x13
,
tac
=
NO
,
root_sequence_index
=
103
,
inactivity_timer
=
1003
,
root_sequence_index
=
103
,
inactivity_timer
=
1003
,
...
@@ -298,7 +298,7 @@ class ENBTestCase(AmariTestCase):
...
@@ -298,7 +298,7 @@ class ENBTestCase(AmariTestCase):
period
=
5
,
dl_slots
=
7
,
dl_symbols
=
6
,
ul_slots
=
2
,
ul_symbols
=
4
,
period
=
5
,
dl_slots
=
7
,
dl_symbols
=
6
,
ul_slots
=
2
,
ul_symbols
=
4
,
)},
)},
rf_port
=
3
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
rf_port
=
3
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
dl_nr_arfcn
=
510400
,
ul_nr_arfcn
=
510400
,
ssb_nr_arfcn
=
51049
0
,
band
=
41
,
dl_nr_arfcn
=
470400
,
ul_nr_arfcn
=
470400
,
ssb_nr_arfcn
=
47043
0
,
band
=
41
,
bandwidth
=
20
,
bandwidth
=
20
,
cell_id
=
0x4
,
n_id_cell
=
0x14
,
tac
=
NO
,
cell_id
=
0x4
,
n_id_cell
=
0x14
,
tac
=
NO
,
root_sequence_index
=
104
,
inactivity_timer
=
1004
,
root_sequence_index
=
104
,
inactivity_timer
=
1004
,
...
@@ -449,7 +449,8 @@ class TestENB_Lopcomm(ENBTestCase):
...
@@ -449,7 +449,8 @@ class TestENB_Lopcomm(ENBTestCase):
# rf_mode ctype dl_arfcn ul_arfcn bw dl_freq ul_freq txg rxg
# rf_mode ctype dl_arfcn ul_arfcn bw dl_freq ul_freq txg rxg
_
(
1
,
uctx
(
'FDD'
,
'LTE'
,
100
,
18100
,
5000000
,
2120000000
,
1930000000
,
11
,
21
))
_
(
1
,
uctx
(
'FDD'
,
'LTE'
,
100
,
18100
,
5000000
,
2120000000
,
1930000000
,
11
,
21
))
_
(
2
,
uctx
(
'TDD'
,
'LTE'
,
40200
,
40200
,
10000000
,
2551000000
,
2551000000
,
12
,
22
))
_
(
2
,
uctx
(
'TDD'
,
'LTE'
,
40200
,
40200
,
10000000
,
2551000000
,
2551000000
,
12
,
22
))
_
(
3
,
uctx
(
'FDD'
,
'NR'
,
430300
,
392300
,
15000000
,
2151500000
,
1961500000
,
13
,
23
))
_
(
3
,
uctx
(
'FDD'
,
'NR'
,
300300
,
392300
,
15000000
,
2151500000
,
1961500000
,
13
,
23
))
# _(4, uctx('TDD', 'NR', 470400, 470400, 20000000
def
_test_ru_cu_cfg
(
t
,
i
,
uctx
):
def
_test_ru_cu_cfg
(
t
,
i
,
uctx
):
...
...
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