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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
a6eaad9a
Commit
a6eaad9a
authored
Oct 04, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: add network_name parameter
parent
2a0b04ee
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
38 additions
and
41 deletions
+38
-41
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+6
-6
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+4
-4
software/ors-amarisoft/config/gnb.jinja2.cfg
software/ors-amarisoft/config/gnb.jinja2.cfg
+4
-4
software/ors-amarisoft/config/mme.jinja2.cfg
software/ors-amarisoft/config/mme.jinja2.cfg
+3
-3
software/ors-amarisoft/instance-core-network-input-schema.json
...are/ors-amarisoft/instance-core-network-input-schema.json
+12
-0
software/ors-amarisoft/instance-core-network.jinja2.cfg
software/ors-amarisoft/instance-core-network.jinja2.cfg
+1
-8
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+4
-8
software/ors-amarisoft/instance-gnb.jinja2.cfg
software/ors-amarisoft/instance-gnb.jinja2.cfg
+4
-8
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
a6eaad9a
...
@@ -56,15 +56,15 @@ md5sum = 63472d5dc9bd46923d3941b5189e2ccd
...
@@ -56,15 +56,15 @@ md5sum = 63472d5dc9bd46923d3941b5189e2ccd
[template-enb]
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
d1111793f54ef444f864a7adf815c822
md5sum =
c93dea774ecd1bf5aafa318f4f63ece5
[template-gnb]
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
md5sum =
e758c9358c49360ef0b3db946ab0f493
md5sum =
9b31059f2636311f06cf66af19819b5e
[template-core-network]
[template-core-network]
_update_hash_filename_ = instance-core-network.jinja2.cfg
_update_hash_filename_ = instance-core-network.jinja2.cfg
md5sum =
eda157219444c3ac10272626dd5cea10
md5sum =
2be8604cb3f007a8750d4ad494d09a58
[template-ue-lte]
[template-ue-lte]
_update_hash_filename_ = instance-ue-lte.jinja2.cfg
_update_hash_filename_ = instance-ue-lte.jinja2.cfg
...
@@ -84,7 +84,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
...
@@ -84,7 +84,7 @@ md5sum = dcaac06553a3222b14c0013a13f4a149
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum =
0251445fc4b1139000b99ff28ef729c9
md5sum =
c1fef7cec616ba3594549090591a56d2
[sib23.jinja2.asn]
[sib23.jinja2.asn]
filename = config/sib23.jinja2.asn
filename = config/sib23.jinja2.asn
...
@@ -92,7 +92,7 @@ md5sum = a1973ba6e43d40e510d61d461c2d13ac
...
@@ -92,7 +92,7 @@ md5sum = a1973ba6e43d40e510d61d461c2d13ac
[gnb.jinja2.cfg]
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
filename = config/gnb.jinja2.cfg
md5sum =
2fdb4812960bec30118e61e61554652b
md5sum =
075df4848e08ef8a595b33164238a0e7
[ltelogs.jinja2.sh]
[ltelogs.jinja2.sh]
filename = ltelogs.jinja2.sh
filename = ltelogs.jinja2.sh
...
@@ -100,7 +100,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
...
@@ -100,7 +100,7 @@ md5sum = 1ba2e065bdf14a6411e95e80db17dcfd
[mme.jinja2.cfg]
[mme.jinja2.cfg]
filename = config/mme.jinja2.cfg
filename = config/mme.jinja2.cfg
md5sum =
48b577daa5b53c2cf7fe2d30ea9c0235
md5sum =
3d7833ddba3242cedcd74c7db52390c6
[dnsmasq.jinja2.cfg]
[dnsmasq.jinja2.cfg]
filename = config/dnsmasq.jinja2.cfg
filename = config/dnsmasq.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
a6eaad9a
...
@@ -118,12 +118,12 @@
...
@@ -118,12 +118,12 @@
rx_gain: {{ rx_gain }},
rx_gain: {{ rx_gain }},
{% endif %}
{% endif %}
{%- if slapparameter_dict.get('websocket_password', '') %}
{%- if slapparameter_dict.get('websocket_password', '') %}
com_addr: "[{{ gtp_addr_v6 }}]:
9001
",
com_addr: "[{{ gtp_addr_v6 }}]:
{{ slap_configuration['configuration.com_ws_port'] }}
",
com_auth: {
com_auth: {
password: "{{ slapparameter_dict['websocket_password'] }}",
password: "{{ slapparameter_dict['websocket_password'] }}",
},
},
{%- else %}
{%- else %}
com_addr: "
127.0.1.2:9001
",
com_addr: "
{{ slap_configuration['configuration.com_addr'] }}:{{ slap_configuration['configuration.com_ws_port'] }}
",
{%- endif %}
{%- endif %}
mme_list: [
mme_list: [
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
{%- endfor -%}
{%- endfor -%}
{% else %}
{% else %}
{
{
mme_addr: "
127.0.1.100
",
mme_addr: "
{{ slap_configuration['configuration.mme_addr'] }}
",
},
},
{% endif %}
{% endif %}
],
],
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% else %}
{% else %}
gtp_addr: "
127.0.1.1
",
gtp_addr: "
{{ slap_configuration['configuration.gtp_addr'] }}
",
{% endif %}
{% endif %}
enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }},
enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }},
...
...
software/ors-amarisoft/config/gnb.jinja2.cfg
View file @
a6eaad9a
...
@@ -54,12 +54,12 @@
...
@@ -54,12 +54,12 @@
rx_gain: {{ rx_gain }},
rx_gain: {{ rx_gain }},
{% endif %}
{% endif %}
{%- if slapparameter_dict.get('websocket_password', '') %}
{%- if slapparameter_dict.get('websocket_password', '') %}
com_addr: "[{{ gtp_addr_v6 }}]:
9001
",
com_addr: "[{{ gtp_addr_v6 }}]:
{{ slap_configuration['configuration.com_ws_port'] }}
",
com_auth: {
com_auth: {
password: "{{ slapparameter_dict['websocket_password'] }}",
password: "{{ slapparameter_dict['websocket_password'] }}",
},
},
{%- else %}
{%- else %}
com_addr: "
127.0.1.2:9001
",
com_addr: "
{{ slap_configuration['configuration.com_addr'] }}:{{ slap_configuration['configuration.com_ws_port'] }}
",
{%- endif %}
{%- endif %}
amf_list: [
amf_list: [
{% if slapparameter_dict.get('amf_list', '') %}
{% if slapparameter_dict.get('amf_list', '') %}
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
{%- endfor -%}
{%- endfor -%}
{% else %}
{% else %}
{
{
amf_addr: "
127.0.1.100
",
amf_addr: "
{{ slap_configuration['configuration.amf_addr'] }}
",
},
},
{% endif %}
{% endif %}
],
],
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
gtp_addr: "{{ gtp_addr_v6 }}",
gtp_addr: "{{ gtp_addr_v6 }}",
{% endif %}
{% endif %}
{% else %}
{% else %}
gtp_addr: "
127.0.1.1
",
gtp_addr: "
{{ slap_configuration['configuration.gtp_addr'] }}
",
{% endif %}
{% endif %}
gnb_id_bits: {{ slapparameter_dict.get('gnb_id_bits', 28) }},
gnb_id_bits: {{ slapparameter_dict.get('gnb_id_bits', 28) }},
...
...
software/ors-amarisoft/config/mme.jinja2.cfg
View file @
a6eaad9a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
gtp_addr: "{{ gtp_addr_v6 }}",
gtp_addr: "{{ gtp_addr_v6 }}",
{% endif %}
{% endif %}
{% else %}
{% else %}
gtp_addr: "
127.0.1.100
",
gtp_addr: "
{{ slap_configuration['configuration.gtp_addr'] }}
",
{% endif %}
{% endif %}
plmn: "{{ slapparameter_dict.get('core_network_plmn', "00101") }}",
plmn: "{{ slapparameter_dict.get('core_network_plmn', "00101") }}",
...
@@ -30,8 +30,8 @@
...
@@ -30,8 +30,8 @@
},
},
network_name: "{{ slap
_configuration['configuration.network_name']
}}",
network_name: "{{ slap
parameter_dict.get('network_name', 'RAPIDSPACE')
}}",
network_short_name: "{{ slap
_configuration['configuration.network_name']
}}",
network_short_name: "{{ slap
parameter_dict.get('network_short_name', 'RAPIDSPACE')
}}",
cp_ciot_opt: true,
cp_ciot_opt: true,
...
...
software/ors-amarisoft/instance-core-network-input-schema.json
View file @
a6eaad9a
...
@@ -27,6 +27,18 @@
...
@@ -27,6 +27,18 @@
"description"
:
"Activates local DNS server serving the given domain name"
,
"description"
:
"Activates local DNS server serving the given domain name"
,
"type"
:
"string"
"type"
:
"string"
},
},
"network_name"
:
{
"title"
:
"Network Name"
,
"description"
:
"Network name displayed on UE"
,
"type"
:
"string"
,
"default"
:
"RAPIDSPACE"
},
"network_short_name"
:
{
"title"
:
"Network Short Name"
,
"description"
:
"Network short name displayed on UE"
,
"type"
:
"string"
,
"default"
:
"RAPIDSPACE"
},
"use_ipv4"
:
{
"use_ipv4"
:
{
"default"
:
false
,
"default"
:
false
,
"title"
:
"Use IPv4"
,
"title"
:
"Use IPv4"
,
...
...
software/ors-amarisoft/instance-core-network.jinja2.cfg
View file @
a6eaad9a
...
@@ -67,16 +67,9 @@ partition = {{ slap_connection['partition-id'] }}
...
@@ -67,16 +67,9 @@ partition = {{ slap_connection['partition-id'] }}
url = {{ slap_connection['server-url'] }}
url = {{ slap_connection['server-url'] }}
key = {{ slap_connection['key-file'] }}
key = {{ slap_connection['key-file'] }}
cert = {{ slap_connection['cert-file'] }}
cert = {{ slap_connection['cert-file'] }}
configuration.network_name = RAPIDSPACE
configuration.gtp_addr = 127.0.1.100
configuration.domain = rapid.space
configuration.log_size = 50M
configuration.mme_ws_port = 9000
configuration.enb_ws_port = 9002
configuration.ims_ws_port = 9003
configuration.mme_addr = 127.0.1.100
configuration.ims_addr = 127.0.0.1
configuration.ims_addr = 127.0.0.1
configuration.ims_bind = 127.0.0.2
configuration.ims_bind = 127.0.0.2
configuration.enb_addr = 127.0.1.1
ue_db_path = {{ ue_db_path }}
ue_db_path = {{ ue_db_path }}
[monitor-httpd-conf-parameter]
[monitor-httpd-conf-parameter]
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
a6eaad9a
...
@@ -77,14 +77,10 @@ url = {{ slap_connection['server-url'] }}
...
@@ -77,14 +77,10 @@ url = {{ slap_connection['server-url'] }}
key = {{ slap_connection['key-file'] }}
key = {{ slap_connection['key-file'] }}
cert = {{ slap_connection['cert-file'] }}
cert = {{ slap_connection['cert-file'] }}
configuration.network_name = RAPIDSPACE
configuration.com_ws_port = 9001
configuration.domain = rapid.space
configuration.com_addr = 127.0.1.2
configuration.mme_ws_port = 9000
configuration.mme_addr = 127.0.1.100
configuration.enb_ws_port = 9002
configuration.gtp_addr = 127.0.1.1
configuration.ims_ws_port = 9003
configuration.ims_addr = 127.0.0.1
configuration.ims_bind = 127.0.0.2
configuration.enb_addr = 127.0.1.1
configuration.default_lte_bandwidth = {{ default_lte_bandwidth }}
configuration.default_lte_bandwidth = {{ default_lte_bandwidth }}
configuration.default_lte_inactivity_timer = {{ default_lte_inactivity_timer }}
configuration.default_lte_inactivity_timer = {{ default_lte_inactivity_timer }}
configuration.default_n_antenna_dl = {{ default_n_antenna_dl }}
configuration.default_n_antenna_dl = {{ default_n_antenna_dl }}
...
...
software/ors-amarisoft/instance-gnb.jinja2.cfg
View file @
a6eaad9a
...
@@ -45,14 +45,10 @@ url = {{ slap_connection['server-url'] }}
...
@@ -45,14 +45,10 @@ url = {{ slap_connection['server-url'] }}
key = {{ slap_connection['key-file'] }}
key = {{ slap_connection['key-file'] }}
cert = {{ slap_connection['cert-file'] }}
cert = {{ slap_connection['cert-file'] }}
configuration.network_name = RAPIDSPACE
configuration.com_ws_port = 9001
configuration.domain = rapid.space
configuration.com_addr = 127.0.1.2
configuration.mme_ws_port = 9000
configuration.amf_addr = 127.0.1.100
configuration.enb_ws_port = 9002
configuration.gtp_addr = 127.0.1.1
configuration.ims_ws_port = 9003
configuration.ims_addr = 127.0.0.1
configuration.ims_bind = 127.0.0.2
configuration.enb_addr = 127.0.1.1
configuration.default_nr_bandwidth = {{ default_nr_bandwidth }}
configuration.default_nr_bandwidth = {{ default_nr_bandwidth }}
configuration.default_nr_inactivity_timer = {{ default_nr_inactivity_timer }}
configuration.default_nr_inactivity_timer = {{ default_nr_inactivity_timer }}
configuration.default_nr_ssb_pos_bitmap = {{ default_nr_ssb_pos_bitmap }}
configuration.default_nr_ssb_pos_bitmap = {{ default_nr_ssb_pos_bitmap }}
...
...
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