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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
f2ab981d
Commit
f2ab981d
authored
Jul 10, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
56ba7695
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
2 deletions
+42
-2
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/config/ue_db.jinja2.cfg
software/ors-amarisoft/config/ue_db.jinja2.cfg
+16
-1
software/ors-amarisoft/instance-core-network-input-schema.json
...are/ors-amarisoft/instance-core-network-input-schema.json
+6
-0
software/ors-amarisoft/sim/input-schema.json
software/ors-amarisoft/sim/input-schema.json
+19
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
f2ab981d
...
...
@@ -112,7 +112,7 @@ md5sum = c5f581ba01654b2aec46000abf8d0e35
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
md5sum =
116843e5d84316ff3821c5fd577ed0be
md5sum =
29cacd22b4242d12192ec61f3a44ea46
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
...
...
software/ors-amarisoft/config/ue_db.jinja2.cfg
View file @
f2ab981d
...
...
@@ -14,7 +14,7 @@ ue_db: [
K: "{{ s.get('k', '') }}",
impu: "{{ s.get('impu', '') }}",
impi: "{{ s.get('impi', '') }}",
{%- if "ip" in s or slapparameter_dict.get('enable_multicast', False) %}
{%- if "ip" in s or slapparameter_dict.get('enable_multicast', False)
or slapparameter_dict.get('enable_ipv6_multicast', False) or "routes" in s
%}
pdn_list:[{
access_point_name: "internet",
default: true,
...
...
@@ -24,8 +24,23 @@ ue_db: [
{%- if slapparameter_dict.get('enable_multicast', False) %}
multicast: True,
{%- endif %}
{%- if slapparameter_dict.get('enable_ipv6_multicast', False) %}
ipv6_multicast: True,
{%- endif %}
{%- if slapparameter_dict.get('enable_broadcast', False) %}
broadcast: True,
{%- endif %}
{%- if "routes" in s %}
routes: [
{%- for route in s['routes'] %}
[
{
ipv6_remote_addr_prefix: s['routes']['ipv6_remote_addr_prefix'],
prefix_len: s['routes']['prefix_len'],
}
],
{%- endfor -%}
],
{%- endif %}
}]
{%- endif %}
...
...
software/ors-amarisoft/instance-core-network-input-schema.json
View file @
f2ab981d
...
...
@@ -51,6 +51,12 @@
"description"
:
"Set to true to enable IPv4 multicast"
,
"type"
:
"boolean"
},
"enable_ipv6_multicast"
:
{
"default"
:
false
,
"title"
:
"Enable IPv6 multicast"
,
"description"
:
"Set to true to enable IPv6 multicast"
,
"type"
:
"boolean"
},
"enable_broadcast"
:
{
"default"
:
false
,
"title"
:
"Enable IPv4 broadcast"
,
...
...
software/ors-amarisoft/sim/input-schema.json
View file @
f2ab981d
...
...
@@ -60,6 +60,25 @@
"description"
:
"Defines user IMPI. Must be fully filled with hostname if necessary."
,
"type"
:
"string"
,
"default"
:
""
},
"route_list"
:
{
"title"
:
"Route list"
,
"patternProperties"
:
{
".*"
:
{
"properties"
:
{
"ipv6_remote_addr_prefix"
:
{
"title"
:
"IPv6 remote address prefix"
,
"type"
:
"string"
},
"prefix_len"
:
{
"title"
:
"Prefix length"
,
"type"
:
"number"
}
},
"type"
:
"object"
}
},
"type"
:
"object"
}
}
}
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