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
Léo-Paul Géneau
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
Show 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
...
@@ -88,7 +88,7 @@ md5sum = dd50b4e4780830ddbde28b84af118f18
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum =
fd4bb1115aa650b7c1daa3e904ab93b1
md5sum =
2c49e14af6869387880d5e8e1c0ede64
[drb_lte.jinja2.cfg]
[drb_lte.jinja2.cfg]
filename = config/drb_lte.jinja2.cfg
filename = config/drb_lte.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
d84ca6c6
...
@@ -155,12 +155,19 @@
...
@@ -155,12 +155,19 @@
com_addr: "{{ slapparameter_dict.com_addr }}:{{ slapparameter_dict.com_ws_port }}",
com_addr: "{{ slapparameter_dict.com_addr }}:{{ slapparameter_dict.com_ws_port }}",
{%- endif %}
{%- endif %}
{%- if slapparameter_dict.get('mbmsgw_addr', '') %}
mbmsgw_addr: "{{ slapparameter_dict.mbmsgw_addr }}",
{%- endif %}
{% if do_lte %}
{% if do_lte %}
// LTE core network
// LTE core network
mme_list: [
mme_list: [
{%- for _, mme in slapparameter_dict.mme_list |dictsort %}
{%- for _, mme in slapparameter_dict.mme_list |dictsort %}
{
{
mme_addr: "{{ mme['mme_addr'] }}",
mme_addr: "{{ mme['mme_addr'] }}",
{%- if mme.get('s1ap_bind_addr', '') %}
s1ap_bind_addr: "{{ mme['s1ap_bind_addr'] }}",
{%- endif %}
},
},
{%- endfor %}
{%- endfor %}
],
],
...
@@ -172,6 +179,9 @@
...
@@ -172,6 +179,9 @@
{%- for _, amf in slapparameter_dict.amf_list |dictsort %}
{%- for _, amf in slapparameter_dict.amf_list |dictsort %}
{
{
amf_addr: "{{ amf['amf_addr'] }}",
amf_addr: "{{ amf['amf_addr'] }}",
{%- if amf.get('ngap_bind_addr', '') %}
ngap_bind_addr: "{{ amf['ngap_bind_addr'] }}",
{%- endif %}
},
},
{%- endfor %}
{%- endfor %}
],
],
...
...
software/ors-amarisoft/instance-enb-input-schema.json
View file @
d84ca6c6
...
@@ -20,6 +20,11 @@
...
@@ -20,6 +20,11 @@
"type"
:
"string"
,
"type"
:
"string"
,
"default"
:
"127.0.1.1"
"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"
:
{
"mme_list"
:
{
"title"
:
"MME list"
,
"title"
:
"MME list"
,
"description"
:
"List of MME to which the eNodeB is connected. (must be set if there are LTE cells)"
,
"description"
:
"List of MME to which the eNodeB is connected. (must be set if there are LTE cells)"
,
...
@@ -30,6 +35,11 @@
...
@@ -30,6 +35,11 @@
"title"
:
"MME Address"
,
"title"
:
"MME Address"
,
"description"
:
"IP address (and optional port) of S1AP SCTP connection to the MME. The default port is 36412."
,
"description"
:
"IP address (and optional port) of S1AP SCTP connection to the MME. The default port is 36412."
,
"type"
:
"string"
"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"
"type"
:
"object"
...
@@ -87,6 +97,11 @@
...
@@ -87,6 +97,11 @@
"title"
:
"AMF Address"
,
"title"
:
"AMF Address"
,
"description"
:
"IP address (and optional port) of NGAP SCTP connection to the AMF. The default port is 38412."
,
"description"
:
"IP address (and optional port) of NGAP SCTP connection to the AMF. The default port is 38412."
,
"type"
:
"string"
"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"
"type"
:
"object"
...
...
software/ors-amarisoft/instance-ors-enb-input-schema.json
View file @
d84ca6c6
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"default"
:
"127.0.1.1"
"default"
:
"127.0.1.1"
},
},
"mbmsgw_addr"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mbmsgw_addr"
},
"mme_list"
:
{
"mme_list"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mme_list"
,
"$ref"
:
"instance-enb-input-schema.json#/properties/mme_list"
,
"default"
:
{
"default"
:
{
...
...
software/ors-amarisoft/instance-ors-gnb-input-schema.json
View file @
d84ca6c6
...
@@ -54,6 +54,9 @@
...
@@ -54,6 +54,9 @@
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"$ref"
:
"instance-enb-input-schema.json#/properties/gtp_addr"
,
"default"
:
"127.0.1.1"
"default"
:
"127.0.1.1"
},
},
"mbmsgw_addr"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/mbmsgw_addr"
},
"amf_list"
:
{
"amf_list"
:
{
"$ref"
:
"instance-enb-input-schema.json#/properties/amf_list"
,
"$ref"
:
"instance-enb-input-schema.json#/properties/amf_list"
,
"default"
:
{
"default"
:
{
...
...
software/ors-amarisoft/test/test.py
View file @
d84ca6c6
...
@@ -314,12 +314,14 @@ class ENBTestCase4(RFTestCase4):
...
@@ -314,12 +314,14 @@ class ENBTestCase4(RFTestCase4):
'enb_id'
:
'0x17'
,
'enb_id'
:
'0x17'
,
'gnb_id'
:
'0x23'
,
'gnb_id'
:
'0x23'
,
'gnb_id_bits'
:
30
,
'gnb_id_bits'
:
30
,
'mbmsgw_addr'
:
'1.4.3.2'
,
'gtp_addr'
:
'4.2.3.1'
,
'mme_list'
:
{
'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'
},
'2'
:
{
'mme_addr'
:
'[abcd:5::1]:78'
},
},
},
'amf_list'
:
{
'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'
},
'2'
:
{
'amf_addr'
:
'dcba:5::1'
},
},
},
'plmn_list'
:
{
'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