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
b6c13439
Commit
b6c13439
authored
Feb 03, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: add gnb_id_bits parameter
parent
51f791cd
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
66 additions
and
2 deletions
+66
-2
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-gnb-input-schema.json.jinja2
software/ors-amarisoft/instance-gnb-input-schema.json.jinja2
+6
-0
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
+6
-0
software/ors-amarisoft/test/test.jinja2.py
software/ors-amarisoft/test/test.jinja2.py
+2
-0
software/ors-amarisoft/test/testTDD1900.py
software/ors-amarisoft/test/testTDD1900.py
+2
-0
software/ors-amarisoft/test/testTDD2600.py
software/ors-amarisoft/test/testTDD2600.py
+2
-0
software/ors-amarisoft/test/testTDD3500.py
software/ors-amarisoft/test/testTDD3500.py
+2
-0
software/ors-amarisoft/test/testTDD3700.py
software/ors-amarisoft/test/testTDD3700.py
+2
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
b6c13439
...
...
@@ -76,7 +76,7 @@ md5sum = b377dac7f1fcf94fb9ce9ebed617f36a
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
md5sum =
2e051b91c39542152bc679ec78cb5926
md5sum =
cbbbdeda9ddaaf5957d91ef31afe6051
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
b6c13439
...
...
@@ -68,7 +68,7 @@
gtp_addr: "127.0.1.1",
{% endif %}
gnb_id_bits:
28
,
gnb_id_bits:
{{ slapparameter_dict.get('gnb_id_bits', 28) }}
,
gnb_id: {{ slapparameter_dict.get('gnb_id', '0x12345') }},
nr_support: true,
...
...
software/ors-amarisoft/instance-gnb-input-schema.json.jinja2
View file @
b6c13439
...
...
@@ -87,6 +87,12 @@
"type": "string",
"default": "0x12345"
},
"gnb_id_bits": {
"title": "gNB ID bits",
"description": "Number of bits for the gNodeB global identifier. (range 22 to 32)",
"type": "number",
"default": 28
},
"pci": {
"title": "Physical Cell ID",
"description": "Physical Cell ID",
...
...
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
b6c13439
...
...
@@ -85,6 +85,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
View file @
b6c13439
...
...
@@ -67,6 +67,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
b6c13439
...
...
@@ -85,6 +85,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
View file @
b6c13439
...
...
@@ -67,6 +67,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
b6c13439
...
...
@@ -85,6 +85,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
View file @
b6c13439
...
...
@@ -67,6 +67,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
b6c13439
...
...
@@ -85,6 +85,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
View file @
b6c13439
...
...
@@ -67,6 +67,12 @@
"type"
:
"string"
,
"default"
:
"0x12345"
},
"gnb_id_bits"
:
{
"title"
:
"gNB ID bits"
,
"description"
:
"Number of bits for the gNodeB global identifier. (range 22 to 32)"
,
"type"
:
"number"
,
"default"
:
28
},
"pci"
:
{
"title"
:
"Physical Cell ID"
,
"description"
:
"Physical Cell ID"
,
...
...
software/ors-amarisoft/test/test.jinja2.py
View file @
b6c13439
...
...
@@ -66,6 +66,7 @@ param_dict = {
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
'gnb_id'
:
"0x17"
,
'gnb_id_bits'
:
30
,
'ssb_pos_bitmap'
:
"10"
,
'amf_list'
:
{
'10.0.0.1'
:
{
'amf_addr'
:
'10.0.0.1'
},
...
...
@@ -133,6 +134,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
conf
[
'nr_cell_list'
][
0
][
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
conf
[
'nr_cell_default'
][
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
self
.
assertEqual
(
conf
[
'gnb_id_bits'
],
gnb_param_dict1
[
'gnb_id_bits'
])
for
p
in
conf
[
'nr_cell_default'
][
'plmn_list'
]:
for
n
in
"plmn ranac reserved tac"
.
split
():
self
.
assertEqual
(
p
[
n
],
gnb_param_dict1
[
'plmn_list'
][
p
[
'plmn'
]][
n
])
...
...
software/ors-amarisoft/test/testTDD1900.py
View file @
b6c13439
...
...
@@ -66,6 +66,7 @@ param_dict = {
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
'gnb_id'
:
"0x17"
,
'gnb_id_bits'
:
30
,
'ssb_pos_bitmap'
:
"10"
,
'amf_list'
:
{
'10.0.0.1'
:
{
'amf_addr'
:
'10.0.0.1'
},
...
...
@@ -133,6 +134,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
conf
[
'nr_cell_list'
][
0
][
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
conf
[
'nr_cell_default'
][
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
self
.
assertEqual
(
conf
[
'gnb_id_bits'
],
gnb_param_dict1
[
'gnb_id_bits'
])
for
p
in
conf
[
'nr_cell_default'
][
'plmn_list'
]:
for
n
in
"plmn ranac reserved tac"
.
split
():
self
.
assertEqual
(
p
[
n
],
gnb_param_dict1
[
'plmn_list'
][
p
[
'plmn'
]][
n
])
...
...
software/ors-amarisoft/test/testTDD2600.py
View file @
b6c13439
...
...
@@ -66,6 +66,7 @@ param_dict = {
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
'gnb_id'
:
"0x17"
,
'gnb_id_bits'
:
30
,
'ssb_pos_bitmap'
:
"10"
,
'amf_list'
:
{
'10.0.0.1'
:
{
'amf_addr'
:
'10.0.0.1'
},
...
...
@@ -133,6 +134,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
conf
[
'nr_cell_list'
][
0
][
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
conf
[
'nr_cell_default'
][
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
self
.
assertEqual
(
conf
[
'gnb_id_bits'
],
gnb_param_dict1
[
'gnb_id_bits'
])
for
p
in
conf
[
'nr_cell_default'
][
'plmn_list'
]:
for
n
in
"plmn ranac reserved tac"
.
split
():
self
.
assertEqual
(
p
[
n
],
gnb_param_dict1
[
'plmn_list'
][
p
[
'plmn'
]][
n
])
...
...
software/ors-amarisoft/test/testTDD3500.py
View file @
b6c13439
...
...
@@ -66,6 +66,7 @@ param_dict = {
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
'gnb_id'
:
"0x17"
,
'gnb_id_bits'
:
30
,
'ssb_pos_bitmap'
:
"10"
,
'amf_list'
:
{
'10.0.0.1'
:
{
'amf_addr'
:
'10.0.0.1'
},
...
...
@@ -133,6 +134,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
conf
[
'nr_cell_list'
][
0
][
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
conf
[
'nr_cell_default'
][
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
self
.
assertEqual
(
conf
[
'gnb_id_bits'
],
gnb_param_dict1
[
'gnb_id_bits'
])
for
p
in
conf
[
'nr_cell_default'
][
'plmn_list'
]:
for
n
in
"plmn ranac reserved tac"
.
split
():
self
.
assertEqual
(
p
[
n
],
gnb_param_dict1
[
'plmn_list'
][
p
[
'plmn'
]][
n
])
...
...
software/ors-amarisoft/test/testTDD3700.py
View file @
b6c13439
...
...
@@ -66,6 +66,7 @@ param_dict = {
'n_antenna_ul'
:
2
,
'inactivity_timer'
:
17
,
'gnb_id'
:
"0x17"
,
'gnb_id_bits'
:
30
,
'ssb_pos_bitmap'
:
"10"
,
'amf_list'
:
{
'10.0.0.1'
:
{
'amf_addr'
:
'10.0.0.1'
},
...
...
@@ -133,6 +134,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
conf
[
'nr_cell_list'
][
0
][
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
conf
[
'nr_cell_default'
][
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
self
.
assertEqual
(
conf
[
'gnb_id_bits'
],
gnb_param_dict1
[
'gnb_id_bits'
])
for
p
in
conf
[
'nr_cell_default'
][
'plmn_list'
]:
for
n
in
"plmn ranac reserved tac"
.
split
():
self
.
assertEqual
(
p
[
n
],
gnb_param_dict1
[
'plmn_list'
][
p
[
'plmn'
]][
n
])
...
...
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