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
Xiaowu Zhang
slapos
Commits
b1615a7d
Commit
b1615a7d
authored
May 25, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: change default gain, log level, and promise parameters
parent
94c16470
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
59 additions
and
59 deletions
+59
-59
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+3
-3
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd1900-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-enb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd2600-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-enb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3500-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-enb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3700-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-enb-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
+2
-2
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
+2
-2
software/ors-amarisoft/promise/check_sdr_busy.py
software/ors-amarisoft/promise/check_sdr_busy.py
+2
-2
software/ors-amarisoft/render-templates
software/ors-amarisoft/render-templates
+4
-4
software/ors-amarisoft/software-tdd1900.cfg
software/ors-amarisoft/software-tdd1900.cfg
+4
-4
software/ors-amarisoft/software-tdd2600.cfg
software/ors-amarisoft/software-tdd2600.cfg
+4
-4
software/ors-amarisoft/software-tdd3500.cfg
software/ors-amarisoft/software-tdd3500.cfg
+4
-4
software/ors-amarisoft/software-tdd3700.cfg
software/ors-amarisoft/software-tdd3700.cfg
+4
-4
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
b1615a7d
...
...
@@ -44,11 +44,11 @@ md5sum = d33163012d6c98efc59161974c649557
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
md5sum =
890642570bb905033d88c8ef7426850b
md5sum =
aeb1e8ff149db6ecaf2734cf7dc326aa
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
md5sum =
f90764f76dcc707da55aa91db847d2bb
md5sum =
2830e108184cca7740e5373e9bc4920a
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
...
...
@@ -64,7 +64,7 @@ md5sum = e561ec26a70943c61557def1781cf65f
[sdr-busy-promise]
_update_hash_filename_ = promise/check_sdr_busy.py
md5sum =
9e867282d7dd80c4255e87a82a47a19d
md5sum =
f7436ff76fea58e37a401d4712275422
[interface-up-promise]
_update_hash_filename_ = promise/check_interface_up.py
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
b1615a7d
...
...
@@ -23,7 +23,7 @@
- 'max_size': set the maximum size of the hex dump. 0 means no
hex dump. -1 means no limit.
*/
log_options: "all.level=
info
,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}",
log_options: "all.level=
debug
,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}",
log_filename: "{{ directory['log'] }}/enb.log",
/* Enable remote API and Web interface */
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
b1615a7d
...
...
@@ -17,7 +17,7 @@
#define USE_SRS 0
{
log_options: "all.level=
info
,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}",
log_options: "all.level=
debug
,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}",
log_filename: "{{ directory['log'] }}/gnb.log",
/* Enable remote API and Web interface */
...
...
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd1900-enb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd2600-enb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3500-enb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3700-enb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
3
0
"default"
:
4
0
},
"dl_earfcn"
:
{
"title"
:
"DL EARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
View file @
b1615a7d
...
...
@@ -7,13 +7,13 @@
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
7
0
"default"
:
7
8
},
"rx_gain"
:
{
"title"
:
"Rx gain"
,
"description"
:
"Rx gain (in dB)"
,
"type"
:
"number"
,
"default"
:
5
0
"default"
:
4
0
},
"dl_nr_arfcn"
:
{
"title"
:
"DL NR ARFCN"
,
...
...
software/ors-amarisoft/promise/check_sdr_busy.py
View file @
b1615a7d
...
...
@@ -17,7 +17,7 @@ class RunPromise(GenericPromise):
Sets the configuration and the periodicity.
"""
super
(
RunPromise
,
self
).
__init__
(
config
)
self
.
setPeriodicity
(
minute
=
2
)
self
.
setPeriodicity
(
minute
=
1
)
def
sense
(
self
):
...
...
@@ -53,4 +53,4 @@ class RunPromise(GenericPromise):
In this case, fail if two out of the last three results are negative.
"""
return
self
.
_anomaly
(
result_count
=
3
,
failure_amount
=
2
)
return
self
.
_anomaly
(
result_count
=
1
,
failure_amount
=
1
)
software/ors-amarisoft/render-templates
View file @
b1615a7d
...
...
@@ -5,12 +5,12 @@ import os
# Values: 6 (1.4 MHz), 15 (3MHz), 25 (5MHz), 50 (10MHz), 75 (15MHz), 100 (20MHz)
LTE_N_RB_DL
=
100
LTE_TX_GAIN
=
7
0
LTE_RX_GAIN
=
3
0
LTE_TX_GAIN
=
7
8
LTE_RX_GAIN
=
4
0
NR_BANDWIDTH
=
40
NR_TX_GAIN
=
7
0
NR_RX_GAIN
=
5
0
NR_TX_GAIN
=
7
8
NR_RX_GAIN
=
4
0
global_context
=
{
'generated_file_message'
:
"This file was generated using a jinja2 template and the render-templates script, don't modify directly."
...
...
software/ors-amarisoft/software-tdd1900.cfg
View file @
b1615a7d
...
...
@@ -8,15 +8,15 @@ default-dl-earfcn = 38350
default-lte-dl-freq = 1890.0
default-lte-band = 39
default-lte-n-rb-dl = 100
default-lte-tx-gain = 7
0
default-lte-rx-gain =
3
0
default-lte-tx-gain = 7
8
default-lte-rx-gain =
4
0
default-dl-nr-arfcn = 378000
default-nr-band = 39
default-nr-dl-freq = 1890.0
default-nr-bandwidth = 40
default-nr-tx-gain = 7
0
default-nr-rx-gain =
5
0
default-nr-tx-gain = 7
8
default-nr-rx-gain =
4
0
default-nr-ssb-pos-bitmap = 1000
min-frequency = 1880.0
...
...
software/ors-amarisoft/software-tdd2600.cfg
View file @
b1615a7d
...
...
@@ -8,15 +8,15 @@ default-dl-earfcn = 38050
default-lte-dl-freq = 2600.0
default-lte-band = 38
default-lte-n-rb-dl = 100
default-lte-tx-gain = 7
0
default-lte-rx-gain =
3
0
default-lte-tx-gain = 7
8
default-lte-rx-gain =
4
0
default-dl-nr-arfcn = 520000
default-nr-band = 38
default-nr-dl-freq = 2600.0
default-nr-bandwidth = 40
default-nr-tx-gain = 7
0
default-nr-rx-gain =
5
0
default-nr-tx-gain = 7
8
default-nr-rx-gain =
4
0
default-nr-ssb-pos-bitmap = 10000000
min-frequency = 2570
...
...
software/ors-amarisoft/software-tdd3500.cfg
View file @
b1615a7d
...
...
@@ -8,15 +8,15 @@ default-dl-earfcn = 42590
default-lte-dl-freq = 3500.0
default-lte-band = 42
default-lte-n-rb-dl = 100
default-lte-tx-gain = 7
0
default-lte-rx-gain =
3
0
default-lte-tx-gain = 7
8
default-lte-rx-gain =
4
0
default-dl-nr-arfcn = 632628
default-nr-band = 78
default-nr-dl-freq = 3489.42
default-nr-bandwidth = 40
default-nr-tx-gain = 7
0
default-nr-rx-gain =
5
0
default-nr-tx-gain = 7
8
default-nr-rx-gain =
4
0
default-nr-ssb-pos-bitmap = 10000000
min-frequency = 3400
...
...
software/ors-amarisoft/software-tdd3700.cfg
View file @
b1615a7d
...
...
@@ -8,15 +8,15 @@ default-dl-earfcn = 44590
default-lte-dl-freq = 3700.0
default-lte-band = 43
default-lte-n-rb-dl = 100
default-lte-tx-gain = 7
0
default-lte-rx-gain =
3
0
default-lte-tx-gain = 7
8
default-lte-rx-gain =
4
0
default-dl-nr-arfcn = 646666
default-nr-band = 78
default-nr-dl-freq = 3699.99
default-nr-bandwidth = 40
default-nr-tx-gain = 7
0
default-nr-rx-gain =
5
0
default-nr-tx-gain = 7
8
default-nr-rx-gain =
4
0
default-nr-ssb-pos-bitmap = 10000000
min-frequency = 3600
...
...
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