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
a05343bb
Commit
a05343bb
authored
Jan 10, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2c0f770d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+16
-8
No files found.
software/ors-amarisoft/test/test.py
View file @
a05343bb
...
@@ -16,13 +16,21 @@
...
@@ -16,13 +16,21 @@
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
# XXX core-network - skip - verified by ors
# Unit-tests for generic software for Amarisoft 4G/5G stack.
#
# (*) here we verify only generated configuration because it is not possible to
# Here we only verify generated configuration because it is not possible to run
# run Amarisoft software on the testnodes due to licensing restrictions.
# Amarisoft software on testnodes due to licensing restrictions. End-to-end
# testing complements unit-testing by verifying how LTE works for real on
# dedicated hardware test setup.
#
# Here we test:
#
# - enb (see TestENB_*)
# - uesim (see TestUEsim_*)
#
#
# end-to-end testing complements unit-testing by verifying how LTE works
# Currently there is no tests for core-network here, because for core-network
# for real on dedicated hardware test setup.
# there is no difference in between generic and ors modes and core-network is
# already verified by test_ors.
import
os
import
os
...
@@ -51,7 +59,7 @@ setUpModule, _AmariTestCase = makeModuleSetUpAndTestCaseClass(
...
@@ -51,7 +59,7 @@ setUpModule, _AmariTestCase = makeModuleSetUpAndTestCaseClass(
# - BW indicates specified bandwidth.
# - BW indicates specified bandwidth.
# - CENB indicates a ENB-kind cell.
# - CENB indicates a ENB-kind cell.
# - CUE indicates an UE-kind cell.
# - CUE indicates an UE-kind cell.
# - TAC indicates specified Traking Area Code.
# - TAC indicates specified Tra
c
king Area Code.
# - LTE_PEER/NR_PEER indicate an LTE/NR ENB-PEER-kind cell.
# - LTE_PEER/NR_PEER indicate an LTE/NR ENB-PEER-kind cell.
# - X2_PEER/XN_PEER indicate an LTE/NR ENB peer.
# - X2_PEER/XN_PEER indicate an LTE/NR ENB peer.
...
@@ -89,7 +97,7 @@ def CENB(cell_id, pci):
...
@@ -89,7 +97,7 @@ def CENB(cell_id, pci):
# CUE indicates an UE-kind cell.
# CUE indicates an UE-kind cell.
CUE
=
{
'cell_kind'
:
'ue'
}
CUE
=
{
'cell_kind'
:
'ue'
}
# TAC returns basic parameters to indicate specified Traking Area Code.
# TAC returns basic parameters to indicate specified Tra
c
king Area Code.
def
TAC
(
tac
):
def
TAC
(
tac
):
return
{
return
{
'tac'
:
'0x%x'
%
tac
,
'tac'
:
'0x%x'
%
tac
,
...
...
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