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
Joanne Hugé
slapos
Commits
e1200595
Commit
e1200595
authored
Sep 13, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: add iperf3 server
parent
381e90b7
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
92 additions
and
1 deletion
+92
-1
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
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/software.cfg
software/ors-amarisoft/software.cfg
+2
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
e1200595
...
@@ -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 =
067dd86656e73cd98ab0cbac53973259
[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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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 @
e1200595
...
@@ -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/software.cfg
View file @
e1200595
...
@@ -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