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
Thomas Leymonerie
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
Show 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 @@
...
@@ -16,7 +16,7 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum = f
c7bccab64e6794b33766ca9925231c8
md5sum = f
0a12f3abc25713f5c79c9bf13290340
[template-lte-enb-epc]
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
...
@@ -40,7 +40,7 @@ md5sum = 9732653a0e2c7fe91d80da80762430d2
...
@@ -40,7 +40,7 @@ md5sum = 9732653a0e2c7fe91d80da80762430d2
[template-lte-mme]
[template-lte-mme]
_update_hash_filename_ = instance-mme.jinja2.cfg
_update_hash_filename_ = instance-mme.jinja2.cfg
md5sum =
51b8762d4691f525d0228fa1f286e772
md5sum =
19166c4a4ecf6b744aac36a068248d85
[ue_db.jinja2.cfg]
[ue_db.jinja2.cfg]
filename = config/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 @@
...
@@ -16,6 +16,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
{
%-
endif
%
}
{
%-
endif
%
}
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
...
...
software/ors-amarisoft/instance-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"use_ipv4"
:
{
"use_ipv4"
:
{
"default"
:
false
,
"default"
:
false
,
"title"
:
"Use IPv4"
,
"title"
:
"Use IPv4"
,
...
...
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
View file @
a97d44d1
...
@@ -16,6 +16,12 @@
...
@@ -16,6 +16,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
{
%-
endif
%
}
{
%-
endif
%
}
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
...
...
software/ors-amarisoft/instance-mme.jinja2.cfg
View file @
a97d44d1
...
@@ -7,6 +7,10 @@ parts =
...
@@ -7,6 +7,10 @@ parts =
tun-up-promise
tun-up-promise
monitor-base
monitor-base
publish-connection-information
publish-connection-information
{% if slapparameter_dict.get("iperf3", None) %}
iperf-service
port-listening-promise
{% endif %}
extends = {{ monitor_template }}
extends = {{ monitor_template }}
...
@@ -114,6 +118,25 @@ wrapper-path = ${directory:bin}/mme-ifup-empty
...
@@ -114,6 +118,25 @@ wrapper-path = ${directory:bin}/mme-ifup-empty
command-line = echo Using interface
command-line = echo Using interface
mode = 775
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]
[config-base]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
extensions = jinja2.ext.do
...
...
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
a97d44d1
...
@@ -15,6 +15,12 @@
...
@@ -15,6 +15,12 @@
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"description"
:
"Set to true if external eNB / gNB will need to connect to this core network."
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"iperf3"
:
{
"default"
:
false
,
"title"
:
"iperf3 UDP server"
,
"description"
:
"Activate iperf3 UDP server"
,
"type"
:
"boolean"
},
"tx_gain"
:
{
"tx_gain"
:
{
"title"
:
"Tx gain"
,
"title"
:
"Tx gain"
,
"description"
:
"Tx gain (in dB)"
,
"description"
:
"Tx gain (in dB)"
,
...
...
software/ors-amarisoft/instance.cfg
View file @
a97d44d1
...
@@ -148,6 +148,7 @@ extra-context =
...
@@ -148,6 +148,7 @@ extra-context =
raw ltelogs_template ${ltelogs.jinja2.sh:target}
raw ltelogs_template ${ltelogs.jinja2.sh:target}
raw openssl_location ${openssl:location}
raw openssl_location ${openssl:location}
raw nghttp2_location ${nghttp2:location}
raw nghttp2_location ${nghttp2:location}
raw iperf3_location ${iperf3:location}
key ue_db_path ue-db-config:output
key ue_db_path ue-db-config:output
[ue-db-config]
[ue-db-config]
...
...
software/ors-amarisoft/software.cfg
View file @
a97d44d1
...
@@ -5,6 +5,7 @@ extends =
...
@@ -5,6 +5,7 @@ extends =
../../stack/monitor/buildout.cfg
../../stack/monitor/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/nghttp2/buildout.cfg
../../component/nghttp2/buildout.cfg
../../component/iperf3/buildout.cfg
parts +=
parts +=
template
template
...
@@ -17,6 +18,7 @@ parts +=
...
@@ -17,6 +18,7 @@ parts +=
gnb.jinja2.cfg
gnb.jinja2.cfg
ue_db.jinja2.cfg
ue_db.jinja2.cfg
sib23.asn
sib23.asn
iperf3
# unimplemented parts - the http monitor and better log handling using logrotate
# unimplemented parts - the http monitor and better log handling using logrotate
# apache-php
# apache-php
# logrotate
# 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