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
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 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# XXX core-network - skip - verified by ors
# (*) here we verify only generated configuration because it is not possible to
# run Amarisoft software on the testnodes due to licensing restrictions.
# Unit-tests for generic software for Amarisoft 4G/5G stack.
#
# Here we only verify generated configuration because it is not possible to run
# 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
# for real on dedicated hardware test setup.
# Currently there is no tests for core-network here, because for core-network
# there is no difference in between generic and ors modes and core-network is
# already verified by test_ors.
import
os
...
...
@@ -51,7 +59,7 @@ setUpModule, _AmariTestCase = makeModuleSetUpAndTestCaseClass(
# - BW indicates specified bandwidth.
# - CENB indicates a ENB-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.
# - X2_PEER/XN_PEER indicate an LTE/NR ENB peer.
...
...
@@ -89,7 +97,7 @@ def CENB(cell_id, pci):
# CUE indicates an UE-kind cell.
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
):
return
{
'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