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
109
Merge Requests
109
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
a97d44d1
Commit
a97d44d1
authored
Sep 13, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: add iperf3 server
parent
74054163
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
94 additions
and
2 deletions
+94
-2
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
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
+23
-0
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/software.cfg
software/ors-amarisoft/software.cfg
+2
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
a97d44d1
...
...
@@ -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 =
19166c4a4ecf6b744aac36a068248d85
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
View file @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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
...
...
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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 @
a97d44d1
...
...
@@ -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/software.cfg
View file @
a97d44d1
...
...
@@ -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
...
...
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