{%- if "ip" in s or slapparameter_dict.get('enable_multicast', False) %}
{%- if "ip" in s or s.get('enable_multicast', False) or s.get('enable_ipv6_multicast', False) or s.get('enable_broadcast') or s.get('route_list', False) %}
pdn_list:[{
pdn_list:[{
access_point_name: "internet",
access_point_name: "internet",
default: true,
default: true,
{%- if "ip" in s %}
{%- if "ip" in s %}
ipv4_addr: "{{ s['ip'] }}"
ipv4_addr: "{{ s['ip'] }}"
{%- endif %}
{%- endif %}
{%- if slapparameter_dict.get('enable_multicast', False) %}
{%- if s.get('enable_multicast', False) %}
multicast: True,
multicast: True,
{%- endif %}
{%- endif %}
{%- if slapparameter_dict.get('enable_broadcast', False) %}