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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Niget
slapos
Commits
7f86b207
Commit
7f86b207
authored
Sep 19, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Plain Diff
Update Release Candidate
parents
73ea2571
65426514
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
125 additions
and
22 deletions
+125
-22
component/iperf3/buildout.cfg
component/iperf3/buildout.cfg
+16
-0
software/caddy-frontend/buildout.hash.cfg
software/caddy-frontend/buildout.hash.cfg
+1
-1
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
.../caddy-frontend/templates/apache-custom-slave-list.cfg.in
+0
-1
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+4
-4
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
+6
-0
software/ors-amarisoft/instance-epc-input-schema.json
software/ors-amarisoft/instance-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
+6
-0
software/ors-amarisoft/instance-mme.jinja2.cfg
software/ors-amarisoft/instance-mme.jinja2.cfg
+31
-10
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
+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-tdd2600-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd2600-enb-epc-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-tdd3500-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3500-enb-epc-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-tdd3700-enb-epc-input-schema.json
.../ors-amarisoft/instance-tdd3700-enb-epc-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.cfg
software/ors-amarisoft/instance.cfg
+1
-0
software/ors-amarisoft/promise/check_interface_up.py
software/ors-amarisoft/promise/check_interface_up.py
+2
-2
software/ors-amarisoft/software.cfg
software/ors-amarisoft/software.cfg
+2
-0
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-4
No files found.
component/iperf3/buildout.cfg
0 → 100644
View file @
7f86b207
[buildout]
extends =
../autoconf/buildout.cfg
../automake/buildout.cfg
../pkgconfig/buildout.cfg
parts =
iperf3
[iperf3]
recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/esnet/iperf/archive/3.11.tar.gz
md5sum = 28ecd352b3433e5d46b669c4289ad544
environment =
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:%(PATH)s
software/caddy-frontend/buildout.hash.cfg
View file @
7f86b207
...
...
@@ -30,7 +30,7 @@ md5sum = e7209d9c66fd30e1fa950d2d07957b95
[profile-slave-list]
_update_hash_filename_ = templates/apache-custom-slave-list.cfg.in
md5sum =
8028eff10acbc6e3415a50ffe534d424
md5sum =
421e2de58c0d5c41a00cd5d32355fc70
[profile-replicate-publish-slave-information]
_update_hash_filename_ = templates/replicate-publish-slave-information.cfg.in
...
...
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
View file @
7f86b207
...
...
@@ -223,7 +223,6 @@ context =
{# websocket style needs http 1.1 max #}
{%- do slave_instance.__setitem__('enable_h2', False) %}
{%- endif %}
{%- do slave_instance.__setitem__('default-path', slave_instance.get('default-path', '').strip('/') | urlencode) %}
[slave-log-directory-dict]
{{slave_reference}} = {{ slave_log_folder }}
...
...
software/ors-amarisoft/buildout.hash.cfg
View file @
7f86b207
...
...
@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = f
c7bccab64e6794b33766ca9925231c8
md5sum = f
0a12f3abc25713f5c79c9bf13290340
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
...
...
@@ -40,7 +40,7 @@ md5sum = 9732653a0e2c7fe91d80da80762430d2
[template-lte-mme]
_update_hash_filename_ = instance-mme.jinja2.cfg
md5sum =
51b8762d4691f525d0228fa1f286e772
md5sum =
728f4d3ae248710c23e4b73eea4d628e
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
...
...
@@ -75,5 +75,5 @@ _update_hash_filename_ = promise/check_sdr_busy.jinja2.py
md5sum = 93dacb1da15310eb70d0815711a06cdf
[interface-up-promise]
_update_hash_filename_ = promise/check_interface_up.
jinja2.
py
md5sum =
63d3bbac7b6f480ee0c510e80aa1ccf7
_update_hash_filename_ = promise/check_interface_up.py
md5sum =
cbe3ac5d123e38cc6adf168f39cc8189
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
View file @
7f86b207
...
...
@@ -16,6 +16,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
{
%-
endif
%
}
"tx_gain"
:
{
"title"
:
"Tx gain"
,
...
...
software/ors-amarisoft/instance-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
...
...
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
View file @
7f86b207
...
...
@@ -16,6 +16,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
{
%-
endif
%
}
"tx_gain"
:
{
"title"
:
"Tx gain"
,
...
...
software/ors-amarisoft/instance-mme.jinja2.cfg
View file @
7f86b207
...
...
@@ -7,6 +7,10 @@ parts =
tun-up-promise
monitor-base
publish-connection-information
{% if slapparameter_dict.get("iperf3", None) %}
iperf-service
port-listening-promise
{% endif %}
extends = {{ monitor_template }}
...
...
@@ -114,6 +118,25 @@ wrapper-path = ${directory:bin}/mme-ifup-empty
command-line = echo Using interface
mode = 775
{% if slapparameter_dict.get("iperf3", None) %}
### iperf3
[iperf-service]
recipe = slapos.cookbook:wrapper
port = 5001
ip = ${slap-configuration:tun-ipv4-addr}
command-line = {{ iperf3_location }}/bin/iperf3 --server --interval 1 --port ${:port} --bind ${:ip}
wrapper-path = ${directory:service}/iperf3
mode = 0775
pidfile = ${directory:run}/iperf3.pid
[port-listening-promise]
<= monitor-promise-base
promise = check_socket_listening
name = iperf3-port-listening.py
config-host = ${iperf-service:ip}
config-port = ${iperf-service:port}
{% endif %}
[config-base]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
...
...
@@ -154,17 +177,15 @@ recipe = slapos.cookbook:publish.serialised
epc-ipv6 = ${slap-configuration:ipv6-random}
epc-ipv4 = {{ epc_ipv4 }}
[tun-up-promise-template]
recipe = slapos.recipe.template:jinja2
url = {{ interface_up_promise }}
output = ${directory:etc}/check-tun-up.py
extensions = jinja2.ext.do
context =
key slapparameter_dict slap-configuration:configuration
# Add custom promise to check if tun is up
# Add custom promise to check if /dev/sdr0 is busy
[tun-up-promise]
recipe = slapos.cookbook:promise.plugin
eggs = slapos.core
file =
${tun-up-promise-template:output
}
file =
{{ interface_up_promise }
}
output = ${directory:plugins}/check-tun-up.py
{% if not slapparameter_dict.get("testing", False) %}
config-ifname = ${slap-configuration:tun-name}
{% else %}
config-ifname =
{% endif %}
config-testing = {{ slapparameter_dict.get("testing", False) }}
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
7f86b207
...
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance.cfg
View file @
7f86b207
...
...
@@ -148,6 +148,7 @@ extra-context =
raw ltelogs_template ${ltelogs.jinja2.sh:target}
raw openssl_location ${openssl:location}
raw nghttp2_location ${nghttp2:location}
raw iperf3_location ${iperf3:location}
key ue_db_path ue-db-config:output
[ue-db-config]
...
...
software/ors-amarisoft/promise/check_interface_up.
jinja2.
py
→
software/ors-amarisoft/promise/check_interface_up.py
View file @
7f86b207
...
...
@@ -27,8 +27,8 @@ class RunPromise(GenericPromise):
In this case, check whether the file exists.
"""
ifname
=
"{{ slapparameter_dict.get('tun-name', '') }}"
testing
=
{{
slapparameter_dict
.
get
(
'testing'
,
False
)
}}
ifname
=
self
.
getConfig
(
'ifname'
)
testing
=
self
.
getConfig
(
'testing'
)
if
testing
:
self
.
logger
.
info
(
"skipping promise"
)
...
...
software/ors-amarisoft/software.cfg
View file @
7f86b207
...
...
@@ -5,6 +5,7 @@ extends =
../../stack/monitor/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/nghttp2/buildout.cfg
../../component/iperf3/buildout.cfg
parts +=
template
...
...
@@ -17,6 +18,7 @@ parts +=
gnb.jinja2.cfg
ue_db.jinja2.cfg
sib23.asn
iperf3
# unimplemented parts - the http monitor and better log handling using logrotate
# apache-php
# logrotate
...
...
stack/erp5/buildout.cfg
View file @
7f86b207
...
...
@@ -462,7 +462,6 @@ eggs = ${neoppod:eggs}
astor
APacheDEX
PyStemmer
PyXML
Pympler
SOAPpy
chardet
...
...
@@ -681,11 +680,10 @@ Products.PluginRegistry = 1.4
Products.TIDStorage = 5.5.0
pyPdf = 1.13
PyStemmer = 1.3.0
PyXML = 0.8.5
Pympler = 0.4.3
StructuredText = 2.11.1
WSGIUtils = 0.7
erp5diff = 0.8.1.
7
erp5diff = 0.8.1.
8
five.formlib = 1.0.4
five.localsitemanager = 2.0.5
google-api-python-client = 1.6.1
...
...
@@ -717,7 +715,7 @@ urlnorm = 1.1.4
uuid = 1.30
validictory = 1.1.0
xfw = 0.10
xupdate-processor = 0.
4
xupdate-processor = 0.
5
selenium = 3.14.1
scikit-image = 0.14.0
PyWavelets = 0.5.2
...
...
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