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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos
Commits
71b09e2e
Commit
71b09e2e
authored
Oct 13, 2022
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: fixup for ue with test
parent
44d7218f
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
94 additions
and
34 deletions
+94
-34
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/config/ue-lte.jinja2.cfg
software/ors-amarisoft/config/ue-lte.jinja2.cfg
+1
-1
software/ors-amarisoft/config/ue-nr.jinja2.cfg
software/ors-amarisoft/config/ue-nr.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-tdd1900-ue-lte-input-schema.json
...e/ors-amarisoft/instance-tdd1900-ue-lte-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd1900-ue-nr-input-schema.json
...re/ors-amarisoft/instance-tdd1900-ue-nr-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd2600-ue-lte-input-schema.json
...e/ors-amarisoft/instance-tdd2600-ue-lte-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd2600-ue-nr-input-schema.json
...re/ors-amarisoft/instance-tdd2600-ue-nr-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd3500-ue-lte-input-schema.json
...e/ors-amarisoft/instance-tdd3500-ue-lte-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd3500-ue-nr-input-schema.json
...re/ors-amarisoft/instance-tdd3500-ue-nr-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd3700-ue-lte-input-schema.json
...e/ors-amarisoft/instance-tdd3700-ue-lte-input-schema.json
+3
-3
software/ors-amarisoft/instance-tdd3700-ue-nr-input-schema.json
...re/ors-amarisoft/instance-tdd3700-ue-nr-input-schema.json
+3
-3
software/ors-amarisoft/instance-ue-lte-input-schema.json.jinja2
...re/ors-amarisoft/instance-ue-lte-input-schema.json.jinja2
+3
-3
software/ors-amarisoft/instance-ue-nr-input-schema.json.jinja2
...are/ors-amarisoft/instance-ue-nr-input-schema.json.jinja2
+3
-3
software/ors-amarisoft/test/test.jinja2.py
software/ors-amarisoft/test/test.jinja2.py
+12
-0
software/ors-amarisoft/test/testTDD1900.py
software/ors-amarisoft/test/testTDD1900.py
+12
-0
software/ors-amarisoft/test/testTDD2600.py
software/ors-amarisoft/test/testTDD2600.py
+12
-0
software/ors-amarisoft/test/testTDD3500.py
software/ors-amarisoft/test/testTDD3500.py
+12
-0
software/ors-amarisoft/test/testTDD3700.py
software/ors-amarisoft/test/testTDD3700.py
+12
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
71b09e2e
...
...
@@ -80,11 +80,11 @@ md5sum = 36281b03597252cf75169417d02fc28c
[ue-lte.jinja2.cfg]
filename = config/ue-lte.jinja2.cfg
md5sum =
b90ac384eca6fcd4249fbf0b2cf63e1e
md5sum =
31c166f0a1b6d664f92b8f318b233d9a
[ue-nr.jinja2.cfg]
filename = config/ue-nr.jinja2.cfg
md5sum =
a904db3ba9518ae0edf0ddcccfa57485
md5sum =
b3078deab008d7e81ddd88ac02b8b698
[sdr-busy-promise]
_update_hash_filename_ = promise/check_sdr_busy.py
...
...
software/ors-amarisoft/config/ue-lte.jinja2.cfg
View file @
71b09e2e
...
...
@@ -36,7 +36,7 @@ rf_driver: {
impi: "{{ slapparameter_dict.get('impi', '') }}",
imsi: "{{ slapparameter_dict.get('imsi', slap_configuration['configuration.default_lte_imsi']) }}",
K: "{{ slapparameter_dict.get('k', slap_configuration['configuration.default_lte_k']) }}",
rue_addr: "{{ slapparameter_dict.get('rue_addr') }}",
rue_addr: "{{ slapparameter_dict.get('rue_addr'
, ''
) }}",
ue_category: 12,
tun_setup_script: "ue-ifup",
apn: "internet",
...
...
software/ors-amarisoft/config/ue-nr.jinja2.cfg
View file @
71b09e2e
...
...
@@ -37,7 +37,7 @@ rf_driver: {
impi: "{{ slapparameter_dict.get('impi', '') }}",
imsi: "{{ slapparameter_dict.get('imsi', slap_configuration['configuration.default_nr_imsi']) }}",
K: "{{ slapparameter_dict.get('k', slap_configuration['configuration.default_nr_k']) }}",
rue_addr: "{{ slapparameter_dict.get('rue_addr') }}",
rue_addr: "{{ slapparameter_dict.get('rue_addr'
, ''
) }}",
as_release: 15,
ue_category: "nr",
tun_setup_script: "ue-ifup",
...
...
software/ors-amarisoft/instance-tdd1900-ue-lte-input-schema.json
View file @
71b09e2e
...
...
@@ -85,10 +85,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd1900-ue-nr-input-schema.json
View file @
71b09e2e
...
...
@@ -97,10 +97,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd2600-ue-lte-input-schema.json
View file @
71b09e2e
...
...
@@ -85,10 +85,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd2600-ue-nr-input-schema.json
View file @
71b09e2e
...
...
@@ -97,10 +97,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd3500-ue-lte-input-schema.json
View file @
71b09e2e
...
...
@@ -85,10 +85,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd3500-ue-nr-input-schema.json
View file @
71b09e2e
...
...
@@ -97,10 +97,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd3700-ue-lte-input-schema.json
View file @
71b09e2e
...
...
@@ -85,10 +85,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-tdd3700-ue-nr-input-schema.json
View file @
71b09e2e
...
...
@@ -97,10 +97,10 @@
"title"
:
"impu"
,
"description"
:
"Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number."
,
"type"
:
"string"
,
"default"
:
"
000000000000
"
"default"
:
""
},
"imp
u
"
:
{
"title"
:
"imp
u
"
,
"imp
i
"
:
{
"title"
:
"imp
i
"
,
"description"
:
"String. Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
...
...
software/ors-amarisoft/instance-ue-lte-input-schema.json.jinja2
View file @
71b09e2e
...
...
@@ -85,10 +85,10 @@
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": "
000000000000
"
"default": ""
},
"imp
u
": {
"title": "imp
u
",
"imp
i
": {
"title": "imp
i
",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
...
...
software/ors-amarisoft/instance-ue-nr-input-schema.json.jinja2
View file @
71b09e2e
...
...
@@ -97,10 +97,10 @@
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": "
000000000000
"
"default": ""
},
"imp
u
": {
"title": "imp
u
",
"imp
i
": {
"title": "imp
i
",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
...
...
software/ors-amarisoft/test/test.jinja2.py
View file @
71b09e2e
...
...
@@ -328,6 +328,12 @@ class TestUELTEParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
...
...
@@ -353,6 +359,12 @@ class TestUENRParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
software/ors-amarisoft/test/testTDD1900.py
View file @
71b09e2e
...
...
@@ -328,6 +328,12 @@ class TestUELTEParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
...
...
@@ -353,6 +359,12 @@ class TestUENRParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
software/ors-amarisoft/test/testTDD2600.py
View file @
71b09e2e
...
...
@@ -328,6 +328,12 @@ class TestUELTEParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
...
...
@@ -353,6 +359,12 @@ class TestUENRParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
software/ors-amarisoft/test/testTDD3500.py
View file @
71b09e2e
...
...
@@ -328,6 +328,12 @@ class TestUELTEParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
...
...
@@ -353,6 +359,12 @@ class TestUENRParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
software/ors-amarisoft/test/testTDD3700.py
View file @
71b09e2e
...
...
@@ -328,6 +328,12 @@ class TestUELTEParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
...
...
@@ -353,6 +359,12 @@ class TestUENRParameters(ORSTestCase):
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'rue_addr'
],
param_dict
[
'rue_addr'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'imsi'
],
param_dict
[
'imsi'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'K'
],
param_dict
[
'k'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sim_algo'
],
param_dict
[
'sim_algo'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'opc'
],
param_dict
[
'opc'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'amf'
],
int
(
param_dict
[
'amf'
],
16
))
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'sqn'
],
param_dict
[
'sqn'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impu'
],
param_dict
[
'impu'
])
self
.
assertEqual
(
conf
[
'ue_list'
][
0
][
'impi'
],
param_dict
[
'impi'
])
self
.
assertEqual
(
conf
[
'tx_gain'
],
param_dict
[
'tx_gain'
])
self
.
assertEqual
(
conf
[
'rx_gain'
],
param_dict
[
'rx_gain'
])
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