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
Łukasz Nowak
slapos
Commits
d84ca6c6
Commit
d84ca6c6
authored
Oct 02, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors: support external MBMSGW
parent
2353770d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
3 deletions
+36
-3
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+10
-0
software/ors-amarisoft/instance-enb-input-schema.json
software/ors-amarisoft/instance-enb-input-schema.json
+15
-0
software/ors-amarisoft/instance-ors-enb-input-schema.json
software/ors-amarisoft/instance-ors-enb-input-schema.json
+3
-0
software/ors-amarisoft/instance-ors-gnb-input-schema.json
software/ors-amarisoft/instance-ors-gnb-input-schema.json
+3
-0
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+4
-2
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
d84ca6c6
...
...
@@ -88,7 +88,7 @@ md5sum = dd50b4e4780830ddbde28b84af118f18
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
md5sum =
fd4bb1115aa650b7c1daa3e904ab93b1
md5sum =
2c49e14af6869387880d5e8e1c0ede64
[drb_lte.jinja2.cfg]
filename = config/drb_lte.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
d84ca6c6
...
...
@@ -155,12 +155,19 @@
com_addr: "{{ slapparameter_dict.com_addr }}:{{ slapparameter_dict.com_ws_port }}",
{%- endif %}
{%- if slapparameter_dict.get('mbmsgw_addr', '') %}
mbmsgw_addr: "{{ slapparameter_dict.mbmsgw_addr }}",
{%- endif %}
{% if do_lte %}
// LTE core network
mme_list: [
{%- for _, mme in slapparameter_dict.mme_list |dictsort %}
{
mme_addr: "{{ mme['mme_addr'] }}",
{%- if mme.get('s1ap_bind_addr', '') %}
s1ap_bind_addr: "{{ mme['s1ap_bind_addr'] }}",
{%- endif %}
},
{%- endfor %}
],
...
...
@@ -172,6 +179,9 @@
{%- for _, amf in slapparameter_dict.amf_list |dictsort %}
{
amf_addr: "{{ amf['amf_addr'] }}",
{%- if amf.get('ngap_bind_addr', '') %}
ngap_bind_addr: "{{ amf['ngap_bind_addr'] }}",
{%- endif %}
},
{%- endfor %}
],
...
...
software/ors-amarisoft/instance-enb-input-schema.json
View file @
d84ca6c6
...
...
@@ -20,6 +20,11 @@
"type"
:
"string"
,
"default"
:
"127.0.1.1"
},
"mbmsgw_addr"
:
{
"title"
:
"SGW Address"
,
"description"
:
"Set the IP address (and optional port) of the MBMS Gateway for the M2 connection. The default port is 36443."
,
"type"
:
"string"
},
"mme_list"
:
{
"title"
:
"MME list"
,
"description"
:
"List of MME to which the eNodeB is connected. (must be set if there are LTE cells)"
,
...
...
@@ -30,6 +35,11 @@
"title"
:
"MME Address"
,
"description"
:
"IP address (and optional port) of S1AP SCTP connection to the MME. The default port is 36412."
,
"type"
:
"string"
},
"s1ap_bind_addr"
:
{
"title"
:
"S1AP Bind Address"
,
"description"
:
"Optional String. IP address and optional port on which the S1AP SCTP connection is bound."
,
"type"
:
"string"
}
},
"type"
:
"object"
...
...
@@ -87,6 +97,11 @@
"title"
:
"AMF Address"
,
"description"
:
"IP address (and optional port) of NGAP SCTP connection to the AMF. The default port is 38412."
,
"type"
:
"string"
},
"ngap_bind_addr"
:
{
"title"
:
"NGAP Bind Address"
,
"description"
:
"Optional string. IP address and optional port on which the NGAP SCTP connection is bound."
,
"type"
:
"string"
}
},
"type"
:
"object"
...
...
software/ors-amarisoft/instance-ors-enb-input-schema.json
View file @
d84ca6c6
...
...
@@ -73,6 +73,9 @@
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"default"
:
"127.0.1.1"
},
"mbmsgw_addr"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mbmsgw_addr"
},
"mme_list"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mme_list"
,
"default"
:
{
...
...
software/ors-amarisoft/instance-ors-gnb-input-schema.json
View file @
d84ca6c6
...
...
@@ -54,6 +54,9 @@
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"default"
:
"127.0.1.1"
},
"mbmsgw_addr"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mbmsgw_addr"
},
"amf_list"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/amf_list"
,
"default"
:
{
...
...
software/ors-amarisoft/test/test.py
View file @
d84ca6c6
...
...
@@ -314,12 +314,14 @@ class ENBTestCase4(RFTestCase4):
'enb_id'
:
'0x17'
,
'gnb_id'
:
'0x23'
,
'gnb_id_bits'
:
30
,
'mbmsgw_addr'
:
'1.4.3.2'
,
'gtp_addr'
:
'4.2.3.1'
,
'mme_list'
:
{
'1'
:
{
'mme_addr'
:
'1.2.3.4'
},
'1'
:
{
'mme_addr'
:
'1.2.3.4'
,
's1ap_bind_addr'
:
'2.1.3.4'
},
'2'
:
{
'mme_addr'
:
'[abcd:5::1]:78'
},
},
'amf_list'
:
{
'1'
:
{
'amf_addr'
:
'4.3.2.1:77'
},
'1'
:
{
'amf_addr'
:
'4.3.2.1:77'
,
'ngap_bind_addr'
:
'2.1.3.4'
},
'2'
:
{
'amf_addr'
:
'dcba:5::1'
},
},
'plmn_list'
:
{
...
...
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