Commit f2ab981d authored by Joanne Hugé's avatar Joanne Hugé

wip

parent 56ba7695
...@@ -112,7 +112,7 @@ md5sum = c5f581ba01654b2aec46000abf8d0e35 ...@@ -112,7 +112,7 @@ md5sum = c5f581ba01654b2aec46000abf8d0e35
[ue_db.jinja2.cfg] [ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg filename = config/ue_db.jinja2.cfg
md5sum = 116843e5d84316ff3821c5fd577ed0be md5sum = 29cacd22b4242d12192ec61f3a44ea46
[enb.jinja2.cfg] [enb.jinja2.cfg]
filename = config/enb.jinja2.cfg filename = config/enb.jinja2.cfg
......
...@@ -14,7 +14,7 @@ ue_db: [ ...@@ -14,7 +14,7 @@ ue_db: [
K: "{{ s.get('k', '') }}", K: "{{ s.get('k', '') }}",
impu: "{{ s.get('impu', '') }}", impu: "{{ s.get('impu', '') }}",
impi: "{{ s.get('impi', '') }}", 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:[{ pdn_list:[{
access_point_name: "internet", access_point_name: "internet",
default: true, default: true,
...@@ -24,8 +24,23 @@ ue_db: [ ...@@ -24,8 +24,23 @@ ue_db: [
{%- if slapparameter_dict.get('enable_multicast', False) %} {%- if slapparameter_dict.get('enable_multicast', False) %}
multicast: True, multicast: True,
{%- endif %} {%- endif %}
{%- if slapparameter_dict.get('enable_ipv6_multicast', False) %}
ipv6_multicast: True,
{%- endif %}
{%- if slapparameter_dict.get('enable_broadcast', False) %} {%- if slapparameter_dict.get('enable_broadcast', False) %}
broadcast: True, 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 %}
}] }]
{%- endif %} {%- endif %}
......
...@@ -51,6 +51,12 @@ ...@@ -51,6 +51,12 @@
"description": "Set to true to enable IPv4 multicast", "description": "Set to true to enable IPv4 multicast",
"type": "boolean" "type": "boolean"
}, },
"enable_ipv6_multicast": {
"default": false,
"title": "Enable IPv6 multicast",
"description": "Set to true to enable IPv6 multicast",
"type": "boolean"
},
"enable_broadcast": { "enable_broadcast": {
"default": false, "default": false,
"title": "Enable IPv4 broadcast", "title": "Enable IPv4 broadcast",
......
...@@ -60,6 +60,25 @@ ...@@ -60,6 +60,25 @@
"description": "Defines user IMPI. Must be fully filled with hostname if necessary.", "description": "Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string", "type": "string",
"default": "" "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"
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment