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
Paul Graydon
slapos
Commits
f9dedb5d
Commit
f9dedb5d
authored
Jul 27, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Plain Diff
Update Release Candidate
parents
12a9ce63
6d4d70c8
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
170 additions
and
23 deletions
+170
-23
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+10
-10
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+5
-1
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+5
-1
software/ors-amarisoft/config/mme.jinja2.cfg
software/ors-amarisoft/config/mme.jinja2.cfg
+5
-1
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
+3
-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-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+2
-1
software/ors-amarisoft/instance-epc-input-schema.json
software/ors-amarisoft/instance-epc-input-schema.json
+6
-0
software/ors-amarisoft/instance-epc.jinja2.cfg
software/ors-amarisoft/instance-epc.jinja2.cfg
+3
-2
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
+3
-2
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
+6
-0
software/ors-amarisoft/instance-gnb.jinja2.cfg
software/ors-amarisoft/instance-gnb.jinja2.cfg
+2
-1
software/ors-amarisoft/instance-mme.jinja2.cfg
software/ors-amarisoft/instance-mme.jinja2.cfg
+4
-2
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-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-enb-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-tdd1900-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd1900-gnb-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-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-enb-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-tdd2600-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd2600-gnb-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-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-enb-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-tdd3500-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3500-gnb-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-enb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-enb-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-tdd3700-gnb-input-schema.json
...ware/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
+6
-0
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+14
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
f9dedb5d
...
@@ -16,31 +16,31 @@
...
@@ -16,31 +16,31 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
06331958afaaeb200e4d7f48b417cde
8
md5sum =
fc7bccab64e6794b33766ca9925231c
8
[template-lte-enb-epc]
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
md5sum =
946c70155a691e508e934a7ef2e442ba
md5sum =
b10c10a9408a934052fd0960f31a75fc
[template-lte-enb]
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
2b0ba32fb176fead6fb32779fa4d88be
md5sum =
b5a0f5e258fd91573425b00027ca11b4
[template-lte-gnb-epc]
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
md5sum =
4a258326fe571790e07a0e903d94fde0
md5sum =
5f86177e7ef18a6046826f96397ded1d
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
md5sum =
1039c60e2dcb8ef144a8c56e34acce9b
md5sum =
2cfe5679374559ab94478b987d646d83
[template-lte-gnb]
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
md5sum = 7
d25976008c3aa588527db2b461ad72c
md5sum = 7
71c6b550ea558c708f207c75ff00f49
[template-lte-mme]
[template-lte-mme]
_update_hash_filename_ = instance-mme.jinja2.cfg
_update_hash_filename_ = instance-mme.jinja2.cfg
md5sum =
e95761b8670ec8b90694e119a818e684
md5sum =
2c2d2dc4fd6b7a9100642e34812a5140
[ue_db.jinja2.cfg]
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
filename = config/ue_db.jinja2.cfg
...
@@ -48,7 +48,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
...
@@ -48,7 +48,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum =
18a8f16240881dbb87ecb5183d9872e0
md5sum =
cd93c9c7bff2bcdd1cc01ad1cdf0c88c
[sib23.asn]
[sib23.asn]
filename = config/sib23.asn
filename = config/sib23.asn
...
@@ -56,7 +56,7 @@ md5sum = b377dac7f1fcf94fb9ce9ebed617f36a
...
@@ -56,7 +56,7 @@ md5sum = b377dac7f1fcf94fb9ce9ebed617f36a
[gnb.jinja2.cfg]
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
filename = config/gnb.jinja2.cfg
md5sum =
c0d3d042960f5704dd2e3fa7714a4a5f
md5sum =
91005da479a848798d128dbfd407d2c7
[ltelogs.jinja2.sh]
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
filename = ltelogs.jinja2.sh
...
@@ -64,7 +64,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
...
@@ -64,7 +64,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
[mme.jinja2.cfg]
[mme.jinja2.cfg]
filename = config/mme.jinja2.cfg
filename = config/mme.jinja2.cfg
md5sum =
fc073eb6450da95955009a127a33339
6
md5sum =
da10ef4c61532364c758c7845614c4d
6
[ims.jinja2.cfg]
[ims.jinja2.cfg]
filename = config/ims.jinja2.cfg
filename = config/ims.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
f9dedb5d
...
@@ -33,7 +33,11 @@
...
@@ -33,7 +33,11 @@
{% endif %}
{% endif %}
],
],
{% if slapparameter_dict.get('mme_list', '') %}
{% if slapparameter_dict.get('mme_list', '') %}
gtp_addr: "{{ gtp_addr }}",
{% if slapparameter_dict.get('use_ipv4', False) %}
gtp_addr: "{{ gtp_addr_v4 }}",
{% else %}
gtp_addr: "{{ gtp_addr_v6 }}",
{% endif %}
{% else %}
{% else %}
gtp_addr: "127.0.1.1",
gtp_addr: "127.0.1.1",
{% endif %}
{% endif %}
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
f9dedb5d
...
@@ -39,7 +39,11 @@
...
@@ -39,7 +39,11 @@
],
],
{% if slapparameter_dict.get('amf_list', '') %}
{% if slapparameter_dict.get('amf_list', '') %}
gtp_addr: "{{ gtp_addr }}",
{% if slapparameter_dict.get('use_ipv4', False) %}
gtp_addr: "{{ gtp_addr_v4 }}",
{% else %}
gtp_addr: "{{ gtp_addr_v6 }}",
{% endif %}
{% else %}
{% else %}
gtp_addr: "127.0.1.1",
gtp_addr: "127.0.1.1",
{% endif %}
{% endif %}
...
...
software/ors-amarisoft/config/mme.jinja2.cfg
View file @
f9dedb5d
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
log_filename: "{{ directory['log'] }}/mme.log",
log_filename: "{{ directory['log'] }}/mme.log",
{% if slapparameter_dict.get('external_enb_gnb', '') %}
{% if slapparameter_dict.get('external_enb_gnb', '') %}
gtp_addr: "{{ gtp_addr }}",
{% if slapparameter_dict.get('use_ipv4', False) %}
gtp_addr: "{{ gtp_addr_v4 }}",
{% else %}
gtp_addr: "{{ gtp_addr_v6 }}",
{% endif %}
{% else %}
{% else %}
gtp_addr: "127.0.1.100",
gtp_addr: "127.0.1.100",
{% endif %}
{% endif %}
...
...
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
View file @
f9dedb5d
...
@@ -55,7 +55,7 @@ config-name = mme
...
@@ -55,7 +55,7 @@ config-name = mme
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor -%}
{% endfor -%}
config-slave-list = {{ dumps(slave_instance_list) }}
config-slave-list = {{ dumps(slave_instance_list) }}
return = monitor-base-url epc-ip
return = monitor-base-url epc-ip
v6
[lte-enb-request]
[lte-enb-request]
<= request-common-base
<= request-common-base
...
@@ -74,4 +74,5 @@ lte-enb-request = ${lte-enb-request:connection-monitor-base-url}
...
@@ -74,4 +74,5 @@ lte-enb-request = ${lte-enb-request:connection-monitor-base-url}
[publish-connection-information]
[publish-connection-information]
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
<= monitor-publish
<= monitor-publish
epc-ip = ${lte-mme-request:connection-epc-ip}
epc-ipv6 = ${lte-mme-request:connection-epc-ipv6}
epc-ipv4 = {{ epc_ipv4 }}
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
View file @
f9dedb5d
...
@@ -95,6 +95,12 @@
...
@@ -95,6 +95,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
f9dedb5d
...
@@ -105,7 +105,8 @@ context =
...
@@ -105,7 +105,8 @@ context =
section directory directory
section directory directory
section slap_configuration slap-configuration
section slap_configuration slap-configuration
key slapparameter_dict slap-configuration:configuration
key slapparameter_dict slap-configuration:configuration
key gtp_addr slap-configuration:ipv6-random
key gtp_addr_v6 slap-configuration:ipv6-random
raw gtp_addr_v4 {{ epc_ipv4 }}
raw sib23 {{ sib23 }}
raw sib23 {{ sib23 }}
import netaddr netaddr
import netaddr netaddr
...
...
software/ors-amarisoft/instance-epc-input-schema.json
View file @
f9dedb5d
...
@@ -14,6 +14,12 @@
...
@@ -14,6 +14,12 @@
"title"
:
"External eNB / gNB"
,
"title"
:
"External eNB / gNB"
,
"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"
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-epc.jinja2.cfg
View file @
f9dedb5d
...
@@ -44,7 +44,7 @@ cert-file = {{ slap_connection['cert-file'] }}
...
@@ -44,7 +44,7 @@ cert-file = {{ slap_connection['cert-file'] }}
sla-computer_guid = {{ slap_connection['computer-id'] }}
sla-computer_guid = {{ slap_connection['computer-id'] }}
config-monitor-password = ${monitor-htpasswd:passwd}
config-monitor-password = ${monitor-htpasswd:passwd}
return = monitor-base-url epc-ip
return = monitor-base-url epc-ip
v6
[lte-mme-request]
[lte-mme-request]
<= request-common-base
<= request-common-base
...
@@ -62,4 +62,5 @@ lte-mme-request = ${lte-mme-request:connection-monitor-base-url}
...
@@ -62,4 +62,5 @@ lte-mme-request = ${lte-mme-request:connection-monitor-base-url}
[publish-connection-information]
[publish-connection-information]
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
<= monitor-publish
<= monitor-publish
epc-ip = ${lte-mme-request:connection-epc-ip}
epc-ipv6 = ${lte-mme-request:connection-epc-ipv6}
epc-ipv4 = {{ epc_ipv4 }}
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
View file @
f9dedb5d
...
@@ -55,7 +55,7 @@ config-name = mme
...
@@ -55,7 +55,7 @@ config-name = mme
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor -%}
{% endfor -%}
config-slave-list = {{ dumps(slave_instance_list) }}
config-slave-list = {{ dumps(slave_instance_list) }}
return = monitor-base-url epc-ip
return = monitor-base-url epc-ip
v6
[lte-gnb-request]
[lte-gnb-request]
<= request-common-base
<= request-common-base
...
@@ -74,4 +74,5 @@ lte-gnb-request = ${lte-gnb-request:connection-monitor-base-url}
...
@@ -74,4 +74,5 @@ lte-gnb-request = ${lte-gnb-request:connection-monitor-base-url}
[publish-connection-information]
[publish-connection-information]
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
<= monitor-publish
<= monitor-publish
epc-ip = ${lte-mme-request:connection-epc-ip}
epc-ipv6 = ${lte-mme-request:connection-epc-ipv6}
epc-ipv4 = {{ epc_ipv4 }}
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
View file @
f9dedb5d
...
@@ -137,6 +137,12 @@
...
@@ -137,6 +137,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-gnb.jinja2.cfg
View file @
f9dedb5d
...
@@ -106,7 +106,8 @@ context =
...
@@ -106,7 +106,8 @@ context =
section directory directory
section directory directory
section slap_configuration slap-configuration
section slap_configuration slap-configuration
key slapparameter_dict slap-configuration:configuration
key slapparameter_dict slap-configuration:configuration
key gtp_addr slap-configuration:ipv6-random
key gtp_addr_v6 slap-configuration:ipv6-random
raw gtp_addr_v4 {{ epc_ipv4 }}
import netaddr netaddr
import netaddr netaddr
[lte-gnb-config]
[lte-gnb-config]
...
...
software/ors-amarisoft/instance-mme.jinja2.cfg
View file @
f9dedb5d
...
@@ -119,7 +119,8 @@ context =
...
@@ -119,7 +119,8 @@ context =
section directory directory
section directory directory
section slap_configuration slap-configuration
section slap_configuration slap-configuration
key slapparameter_dict slap-configuration:configuration
key slapparameter_dict slap-configuration:configuration
key gtp_addr slap-configuration:ipv6-random
key gtp_addr_v6 slap-configuration:ipv6-random
raw gtp_addr_v4 {{ epc_ipv4 }}
import netaddr netaddr
import netaddr netaddr
key ifup_empty lte-mme-ifup-empty:wrapper-path
key ifup_empty lte-mme-ifup-empty:wrapper-path
...
@@ -148,7 +149,8 @@ password = {{ slapparameter_dict['monitor-password'] | string }}
...
@@ -148,7 +149,8 @@ password = {{ slapparameter_dict['monitor-password'] | string }}
[publish-connection-information]
[publish-connection-information]
<= monitor-publish
<= monitor-publish
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
epc-ip = ${slap-configuration:ipv6-random}
epc-ipv6 = ${slap-configuration:ipv6-random}
epc-ipv4 = {{ epc_ipv4 }}
# Add custom promise to check if /dev/sdr0 is busy
# Add custom promise to check if /dev/sdr0 is busy
[tun-up-promise]
[tun-up-promise]
...
...
software/ors-amarisoft/instance-tdd1900-enb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -93,6 +93,12 @@
...
@@ -93,6 +93,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd1900-enb-input-schema.json
View file @
f9dedb5d
...
@@ -81,6 +81,12 @@
...
@@ -81,6 +81,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd1900-gnb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -135,6 +135,12 @@
...
@@ -135,6 +135,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd1900-gnb-input-schema.json
View file @
f9dedb5d
...
@@ -123,6 +123,12 @@
...
@@ -123,6 +123,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd2600-enb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -93,6 +93,12 @@
...
@@ -93,6 +93,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd2600-enb-input-schema.json
View file @
f9dedb5d
...
@@ -81,6 +81,12 @@
...
@@ -81,6 +81,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd2600-gnb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -135,6 +135,12 @@
...
@@ -135,6 +135,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd2600-gnb-input-schema.json
View file @
f9dedb5d
...
@@ -123,6 +123,12 @@
...
@@ -123,6 +123,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3500-enb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -93,6 +93,12 @@
...
@@ -93,6 +93,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3500-enb-input-schema.json
View file @
f9dedb5d
...
@@ -81,6 +81,12 @@
...
@@ -81,6 +81,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3500-gnb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -135,6 +135,12 @@
...
@@ -135,6 +135,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3500-gnb-input-schema.json
View file @
f9dedb5d
...
@@ -123,6 +123,12 @@
...
@@ -123,6 +123,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3700-enb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -93,6 +93,12 @@
...
@@ -93,6 +93,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3700-enb-input-schema.json
View file @
f9dedb5d
...
@@ -81,6 +81,12 @@
...
@@ -81,6 +81,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3700-gnb-epc-input-schema.json
View file @
f9dedb5d
...
@@ -135,6 +135,12 @@
...
@@ -135,6 +135,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance-tdd3700-gnb-input-schema.json
View file @
f9dedb5d
...
@@ -123,6 +123,12 @@
...
@@ -123,6 +123,12 @@
},
},
"type"
:
"object"
,
"type"
:
"object"
,
"default"
:
{}
"default"
:
{}
},
"use_ipv4"
:
{
"default"
:
false
,
"title"
:
"Use IPv4"
,
"description"
:
"Set to true to use IPv4 for AMF / MME addresses"
,
"type"
:
"boolean"
}
}
}
}
}
}
software/ors-amarisoft/instance.cfg
View file @
f9dedb5d
...
@@ -25,6 +25,7 @@ context =
...
@@ -25,6 +25,7 @@ context =
raw buildout_directory ${buildout:directory}
raw buildout_directory ${buildout:directory}
section slap_connection slap-connection
section slap_connection slap-connection
key slapparameter_dict slap-configuration:configuration
key slapparameter_dict slap-configuration:configuration
key epc_ipv4 ethernet-ip:ipv4
$${:extra-context}
$${:extra-context}
[amarisoft]
[amarisoft]
...
@@ -39,6 +40,19 @@ init =
...
@@ -39,6 +40,19 @@ init =
options['mme'] = path + "/mme"
options['mme'] = path + "/mme"
options['ims'] = path + "/ims"
options['ims'] = path + "/ims"
[ethernet-ip]
recipe = slapos.recipe.build
init =
import netifaces
for i in netifaces.interfaces():
if not (i.startswith("slaptun") or i.startswith("re6stnet") or i == "lo"):
a = netifaces.ifaddresses(i)
if netifaces.AF_INET in a:
try:
options['ipv4'] = a[netifaces.AF_INET][0]['addr']
except:
options['ipv4'] = "0.0.0.0"
[switch-softwaretype]
[switch-softwaretype]
recipe = slapos.cookbook:switch-softwaretype
recipe = slapos.cookbook:switch-softwaretype
enb-epc = dynamic-template-lte-enb-epc:output
enb-epc = dynamic-template-lte-enb-epc:output
...
...
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