Skip to content
Snippets Groups Projects
Commit f750068d authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

SDP mesh template

parent 5477c716
Branches
Tags
1 merge request!167PE base config - integrated into `base_config` role.
Pipeline #88992 passed
<service xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
{% for pe_fqdn, pe_addr in pe_router_list.items() %}
{% set sdp_id = pe_addr.lo4 | replace(sdp_prefix_regex, '') | replace('.', '') + sdp_type.id %}
<sdp>
<sdp-id>{{ sdp_id }}</sdp-id>
<admin-state>enable</admin-state>
<description>SDP_{{ sdp_id }}</description>
<delivery-type>mpls</delivery-type>
<path-mtu>{{ sdp_type.path_mtu }}</path-mtu>
{% if sdp_type.signaling is defined %}
<signaling>{{ sdp_type.signaling}}</signaling>
{% endif %}
<sr-isis>{{ sdp_type.sr_isis | lower }}</sr-isis>
<far-end>
<ip-address>{{ pe_addr.lo4 }}</ip-address>
</far-end>
</sdp>
{% endfor %}
</service>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment