Skip to content
Snippets Groups Projects
Commit ff79bc42 authored by Simone Spinelli's avatar Simone Spinelli
Browse files

Repositioning replace to be more safe when redeploying base-config, use...

Repositioning replace to be more safe when redeploying base-config, use variable geant_re_as_number everywhere
parent f3b6e4e1
Branches
Tags
1 merge request!69Repositioning replace to be more safe when redeploying base-config, use...
Pipeline #85262 passed
<bgp 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"> <bgp 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">
<error-handling> <error-handling alu:operation="replace">
<update-fault-tolerance>true</update-fault-tolerance> <update-fault-tolerance>true</update-fault-tolerance>
</error-handling> </error-handling>
<local-as> <local-as alu:operation="replace">
<as-number>{{ geant_re_as_number }}</as-number> <as-number>{{ geant_re_as_number }}</as-number>
</local-as> </local-as>
<group> <group alu:operation="replace">
<group-name>iGEANT-P-ONLY</group-name> <group-name>iGEANT-P-ONLY</group-name>
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<next-hop-self>true</next-hop-self> <next-hop-self>true</next-hop-self>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<mcast-ipv4>true</mcast-ipv4> <mcast-ipv4>true</mcast-ipv4>
</family> </family>
</group> </group>
<group> <group alu:operation="replace">
<group-name>iGEANT6-P-ONLY</group-name> <group-name>iGEANT6-P-ONLY</group-name>
<authentication-key>aX1kndQNDTAHyJttsnoyKQiLcy8euS8do68= hash2</authentication-key> <authentication-key>aX1kndQNDTAHyJttsnoyKQiLcy8euS8do68= hash2</authentication-key>
<next-hop-self>true</next-hop-self> <next-hop-self>true</next-hop-self>
......
<router 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"> <router 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">
<router-name>Base</router-name> <router-name>Base</router-name>
<autonomous-system xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">20965</autonomous-system> <autonomous-system xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes" alu:operation="replace">{{ geant_re_as_number }}<</autonomous-system>
<router-id xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">{{ lo_ipv4_address }}</router-id> <router-id xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes" alu:operation="replace">{{ lo_ipv4_address }}</router-id>
<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"> <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>system</interface-name> <interface-name>system</interface-name>
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
{# <mac>02:01:ff:00:00:01</mac> #} {# <mac>02:01:ff:00:00:01</mac> #}
...@@ -19,20 +19,20 @@ ...@@ -19,20 +19,20 @@
</address> </address>
</ipv6> </ipv6>
</interface> </interface>
<mpls-labels 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"> <mpls-labels 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">
<static-label-range>9968</static-label-range> <static-label-range>9968</static-label-range>
<sr-labels> <sr-labels>
<start>10000</start> <start>10000</start>
<end>19999</end> <end>19999</end>
</sr-labels> </sr-labels>
</mpls-labels> </mpls-labels>
<mpls 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"> <mpls 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">
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<interface> <interface>
<interface-name>system</interface-name> <interface-name>system</interface-name>
</interface> </interface>
</mpls> </mpls>
<rsvp 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"> <rsvp 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">
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<interface> <interface>
<interface-name>system</interface-name> <interface-name>system</interface-name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment