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

Base-config cleanup

General and validation-related cleanup
parent 4b566e9f
Branches
Tags
1 merge request!151use of defaults inside role
Pipeline #87560 failed
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
- name: Fail if there is any diff - name: Fail if there is any diff
ansible.builtin.fail: ansible.builtin.fail:
msg: There are diffs!!!! msg: Base config drift detected!!!
when: > when: >
output.changed | ansible.builtin.bool output.changed | ansible.builtin.bool
and and
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<contact alu:operation="replace">{{ nokia_system_contact }}</contact> <contact alu:operation="replace">{{ nokia_system_contact }}</contact>
<name alu:operation="replace">{{ short_hostname}}</name> <name alu:operation="replace">{{ short_hostname}}</name>
<location alu:operation="replace">{{ nokia_snmp_location }}</location> <location alu:operation="replace">{{ nokia_snmp_location }}</location>
<load-balancing> <load-balancing alu:operation="replace">
<l4-load-balancing>true</l4-load-balancing> <l4-load-balancing>true</l4-load-balancing>
<lsr-load-balancing>lbl-ip-l4-teid</lsr-load-balancing> <lsr-load-balancing>lbl-ip-l4-teid</lsr-load-balancing>
<system-ip-load-balancing>true</system-ip-load-balancing> <system-ip-load-balancing>true</system-ip-load-balancing>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</network-queue> </network-queue>
<network alu:operation="replace"> <network alu:operation="replace">
{% for net_pol in nokia_qos_network_policies %} {% for net_pol in nokia_qos_network_policies %}
<network-policy-name>{{ net_pol.name }}</network-policy-name> <network-policy-name>{{ net_pol.name }}</network-policy-name>
<description>{{ net_pol.description }}</description> <description>{{ net_pol.description }}</description>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<dscp> <dscp>
<dscp-name>{{ dscp.name}}</dscp-name> <dscp-name>{{ dscp.name}}</dscp-name>
<fc>{{ dscp.fc }}</fc> <fc>{{ dscp.fc }}</fc>
<profile>{{ dscp.profile }}</profile> <profile>{{ dscp.profile }}</profile>
</dscp> </dscp>
{% endfor %} {% endfor %}
{% for lsp_exp in net_pol.ingress.lsp_exp %} {% for lsp_exp in net_pol.ingress.lsp_exp %}
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
</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" alu:operation="replace"> <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> <sr-labels>
<start>10000</start> <start>{{ mpls_labels.sr_label_start }}</start>
<end>19999</end> <end>{{ mpls_labels.sr_label_end }}</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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment