diff --git a/geant/gap_ansible/roles/base_config/tasks/deploy_base_config.yaml b/geant/gap_ansible/roles/base_config/tasks/deploy_base_config.yaml index ce174aecc01ffa9e4327691eeab697cbec4e6e6a..8803e4451c0f19c499b00c860b5742affa574d70 100644 --- a/geant/gap_ansible/roles/base_config/tasks/deploy_base_config.yaml +++ b/geant/gap_ansible/roles/base_config/tasks/deploy_base_config.yaml @@ -49,7 +49,7 @@ - name: Fail if there is any diff ansible.builtin.fail: - msg: There are diffs!!!! + msg: Base config drift detected!!! when: > output.changed | ansible.builtin.bool and diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/general.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/general.j2 index 703220a31e809f474c586e706aabf7927f41501f..f237ae55e9857aea7d6855f15e73643d6fd9e81a 100644 --- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/general.j2 +++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/general.j2 @@ -5,7 +5,7 @@ <contact alu:operation="replace">{{ nokia_system_contact }}</contact> <name alu:operation="replace">{{ short_hostname}}</name> <location alu:operation="replace">{{ nokia_snmp_location }}</location> - <load-balancing> + <load-balancing alu:operation="replace"> <l4-load-balancing>true</l4-load-balancing> <lsr-load-balancing>lbl-ip-l4-teid</lsr-load-balancing> <system-ip-load-balancing>true</system-ip-load-balancing> diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/qos/qos.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/qos/qos.j2 index 60e200cf88566a2478b8c3259e6c4a5cbf29c407..c942d4bf9fa574c21e498fb6e667087fe08c3b42 100644 --- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/qos/qos.j2 +++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/qos/qos.j2 @@ -32,7 +32,7 @@ {% endfor %} {% endfor %} </network-queue> - <network alu:operation="replace"> + <network alu:operation="replace"> {% for net_pol in nokia_qos_network_policies %} <network-policy-name>{{ net_pol.name }}</network-policy-name> <description>{{ net_pol.description }}</description> @@ -46,7 +46,7 @@ <dscp> <dscp-name>{{ dscp.name}}</dscp-name> <fc>{{ dscp.fc }}</fc> - <profile>{{ dscp.profile }}</profile> + <profile>{{ dscp.profile }}</profile> </dscp> {% endfor %} {% for lsp_exp in net_pol.ingress.lsp_exp %} diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/router_base.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/router_base.j2 index 3639ef608c6232fe7cabe19df65d28b5902d8627..3bc40fc75ff24c68dafb000144c83c9b6da88e1c 100644 --- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/router_base.j2 +++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/router_base.j2 @@ -20,10 +20,10 @@ </ipv6> </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" alu:operation="replace"> - <static-label-range>9968</static-label-range> + <static-label-range>{{ mpls_labels.static_label_range }}</static-label-range> <sr-labels> - <start>10000</start> - <end>19999</end> + <start>{{ mpls_labels.sr_label_start }}</start> + <end>{{ mpls_labels.sr_label_end }}</end> </sr-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">