Commit b1615a7d authored by Joanne Hugé's avatar Joanne Hugé

ors-amarisoft: change default gain, log level, and promise parameters

parent 94c16470
...@@ -44,11 +44,11 @@ md5sum = d33163012d6c98efc59161974c649557 ...@@ -44,11 +44,11 @@ md5sum = d33163012d6c98efc59161974c649557
[enb.jinja2.cfg] [enb.jinja2.cfg]
filename = config/enb.jinja2.cfg filename = config/enb.jinja2.cfg
md5sum = 890642570bb905033d88c8ef7426850b md5sum = aeb1e8ff149db6ecaf2734cf7dc326aa
[gnb.jinja2.cfg] [gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg filename = config/gnb.jinja2.cfg
md5sum = f90764f76dcc707da55aa91db847d2bb md5sum = 2830e108184cca7740e5373e9bc4920a
[ltelogs.jinja2.sh] [ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh filename = ltelogs.jinja2.sh
...@@ -64,7 +64,7 @@ md5sum = e561ec26a70943c61557def1781cf65f ...@@ -64,7 +64,7 @@ md5sum = e561ec26a70943c61557def1781cf65f
[sdr-busy-promise] [sdr-busy-promise]
_update_hash_filename_ = promise/check_sdr_busy.py _update_hash_filename_ = promise/check_sdr_busy.py
md5sum = 9e867282d7dd80c4255e87a82a47a19d md5sum = f7436ff76fea58e37a401d4712275422
[interface-up-promise] [interface-up-promise]
_update_hash_filename_ = promise/check_interface_up.py _update_hash_filename_ = promise/check_interface_up.py
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
- 'max_size': set the maximum size of the hex dump. 0 means no - 'max_size': set the maximum size of the hex dump. 0 means no
hex dump. -1 means no limit. 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", log_filename: "{{ directory['log'] }}/enb.log",
/* Enable remote API and Web interface */ /* Enable remote API and Web interface */
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#define USE_SRS 0 #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", log_filename: "{{ directory['log'] }}/gnb.log",
/* Enable remote API and Web interface */ /* Enable remote API and Web interface */
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 30 "default": 40
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number", "type": "number",
"default": 70 "default": 78
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number", "type": "number",
"default": 50 "default": 40
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
......
...@@ -17,7 +17,7 @@ class RunPromise(GenericPromise): ...@@ -17,7 +17,7 @@ class RunPromise(GenericPromise):
Sets the configuration and the periodicity. Sets the configuration and the periodicity.
""" """
super(RunPromise, self).__init__(config) super(RunPromise, self).__init__(config)
self.setPeriodicity(minute=2) self.setPeriodicity(minute=1)
def sense(self): def sense(self):
...@@ -53,4 +53,4 @@ class RunPromise(GenericPromise): ...@@ -53,4 +53,4 @@ class RunPromise(GenericPromise):
In this case, fail if two out of the last three results are negative. 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)
...@@ -5,12 +5,12 @@ import os ...@@ -5,12 +5,12 @@ import os
# Values: 6 (1.4 MHz), 15 (3MHz), 25 (5MHz), 50 (10MHz), 75 (15MHz), 100 (20MHz) # Values: 6 (1.4 MHz), 15 (3MHz), 25 (5MHz), 50 (10MHz), 75 (15MHz), 100 (20MHz)
LTE_N_RB_DL=100 LTE_N_RB_DL=100
LTE_TX_GAIN=70 LTE_TX_GAIN=78
LTE_RX_GAIN=30 LTE_RX_GAIN=40
NR_BANDWIDTH=40 NR_BANDWIDTH=40
NR_TX_GAIN=70 NR_TX_GAIN=78
NR_RX_GAIN=50 NR_RX_GAIN=40
global_context = { global_context = {
'generated_file_message': "This file was generated using a jinja2 template and the render-templates script, don't modify directly." 'generated_file_message': "This file was generated using a jinja2 template and the render-templates script, don't modify directly."
......
...@@ -8,15 +8,15 @@ default-dl-earfcn = 38350 ...@@ -8,15 +8,15 @@ default-dl-earfcn = 38350
default-lte-dl-freq = 1890.0 default-lte-dl-freq = 1890.0
default-lte-band = 39 default-lte-band = 39
default-lte-n-rb-dl = 100 default-lte-n-rb-dl = 100
default-lte-tx-gain = 70 default-lte-tx-gain = 78
default-lte-rx-gain = 30 default-lte-rx-gain = 40
default-dl-nr-arfcn = 378000 default-dl-nr-arfcn = 378000
default-nr-band = 39 default-nr-band = 39
default-nr-dl-freq = 1890.0 default-nr-dl-freq = 1890.0
default-nr-bandwidth = 40 default-nr-bandwidth = 40
default-nr-tx-gain = 70 default-nr-tx-gain = 78
default-nr-rx-gain = 50 default-nr-rx-gain = 40
default-nr-ssb-pos-bitmap = 1000 default-nr-ssb-pos-bitmap = 1000
min-frequency = 1880.0 min-frequency = 1880.0
......
...@@ -8,15 +8,15 @@ default-dl-earfcn = 38050 ...@@ -8,15 +8,15 @@ default-dl-earfcn = 38050
default-lte-dl-freq = 2600.0 default-lte-dl-freq = 2600.0
default-lte-band = 38 default-lte-band = 38
default-lte-n-rb-dl = 100 default-lte-n-rb-dl = 100
default-lte-tx-gain = 70 default-lte-tx-gain = 78
default-lte-rx-gain = 30 default-lte-rx-gain = 40
default-dl-nr-arfcn = 520000 default-dl-nr-arfcn = 520000
default-nr-band = 38 default-nr-band = 38
default-nr-dl-freq = 2600.0 default-nr-dl-freq = 2600.0
default-nr-bandwidth = 40 default-nr-bandwidth = 40
default-nr-tx-gain = 70 default-nr-tx-gain = 78
default-nr-rx-gain = 50 default-nr-rx-gain = 40
default-nr-ssb-pos-bitmap = 10000000 default-nr-ssb-pos-bitmap = 10000000
min-frequency = 2570 min-frequency = 2570
......
...@@ -8,15 +8,15 @@ default-dl-earfcn = 42590 ...@@ -8,15 +8,15 @@ default-dl-earfcn = 42590
default-lte-dl-freq = 3500.0 default-lte-dl-freq = 3500.0
default-lte-band = 42 default-lte-band = 42
default-lte-n-rb-dl = 100 default-lte-n-rb-dl = 100
default-lte-tx-gain = 70 default-lte-tx-gain = 78
default-lte-rx-gain = 30 default-lte-rx-gain = 40
default-dl-nr-arfcn = 632628 default-dl-nr-arfcn = 632628
default-nr-band = 78 default-nr-band = 78
default-nr-dl-freq = 3489.42 default-nr-dl-freq = 3489.42
default-nr-bandwidth = 40 default-nr-bandwidth = 40
default-nr-tx-gain = 70 default-nr-tx-gain = 78
default-nr-rx-gain = 50 default-nr-rx-gain = 40
default-nr-ssb-pos-bitmap = 10000000 default-nr-ssb-pos-bitmap = 10000000
min-frequency = 3400 min-frequency = 3400
......
...@@ -8,15 +8,15 @@ default-dl-earfcn = 44590 ...@@ -8,15 +8,15 @@ default-dl-earfcn = 44590
default-lte-dl-freq = 3700.0 default-lte-dl-freq = 3700.0
default-lte-band = 43 default-lte-band = 43
default-lte-n-rb-dl = 100 default-lte-n-rb-dl = 100
default-lte-tx-gain = 70 default-lte-tx-gain = 78
default-lte-rx-gain = 30 default-lte-rx-gain = 40
default-dl-nr-arfcn = 646666 default-dl-nr-arfcn = 646666
default-nr-band = 78 default-nr-band = 78
default-nr-dl-freq = 3699.99 default-nr-dl-freq = 3699.99
default-nr-bandwidth = 40 default-nr-bandwidth = 40
default-nr-tx-gain = 70 default-nr-tx-gain = 78
default-nr-rx-gain = 50 default-nr-rx-gain = 40
default-nr-ssb-pos-bitmap = 10000000 default-nr-ssb-pos-bitmap = 10000000
min-frequency = 3600 min-frequency = 3600
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment