From 89daeff92b142f64609b7948278e7390df1015a2 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Wed, 12 Feb 2025 17:46:32 +0000 Subject: [PATCH] Add static dsc.0 interface config in IES template --- .../roles/bc_templates/routers/nokia/router/ies.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/ies.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/ies.j2 index 2a024feb..50418786 100644 --- a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/ies.j2 +++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/ies.j2 @@ -7,5 +7,16 @@ {% endif %} <service-id>{{ ies.service_id }}</service-id> <customer>{{ ies.customer_id }}</customer> + <interface 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" alu:operation="replace"> + <interface-name>dsc.0</interface-name> + <admin-state>enable</admin-state> + <loopback>true</loopback> + <ipv4> + <primary> + <address>192.0.2.112</address> + <prefix-length>32</prefix-length> + </primary> + </ipv4> +</interface> </ies> {% endfor %} -- GitLab