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

Merge branch 'fix/sdp-bgp-templates' into 'develop'

PE iBGP/SDP update and backports from v1.0.x

See merge request !177
parents aded48e7 7535b3ba
No related branches found
No related tags found
1 merge request!177PE iBGP/SDP update and backports from v1.0.x
Pipeline #89272 passed
...@@ -16,6 +16,18 @@ ...@@ -16,6 +16,18 @@
- Added role `promote_p_to_pe`. - Added role `promote_p_to_pe`.
- Updates to `ibgp_update` related to the `promote_p_to_pe`. - Updates to `ibgp_update` related to the `promote_p_to_pe`.
1.0.90:
- Fix in TWAMP-light server template (set to replace reflector)
1.0.89:
- Fix in the FW template - corrected duplicated IPV6_ND term.
1.0.88:
- Fix in the FW template - corrected path to `port_list_entries.j2`
1.0.87:
- Update in `iptrunk_twamp` role: role vars moved into inventories.
1.0.86: 1.0.86:
- Update in `iptrunk` vars: `minimum_links` now only come as part of `iptrunk` object from GSO. This will rectify misconfiguration on the Juniper side. - Update in `iptrunk` vars: `minimum_links` now only come as part of `iptrunk` object from GSO. This will rectify misconfiguration on the Juniper side.
......
...@@ -60,28 +60,6 @@ ...@@ -60,28 +60,6 @@
</entry> </entry>
{% set ns3.entry_id = ns3.entry_id + 10 %} {% set ns3.entry_id = ns3.entry_id + 10 %}
{% endif %} {% endif %}
{# This is to cover CPM-ipv6 ND case where dst_prefix_list is defined, but not src_prefix_list #}
{% if term.from.protocol == "ipv6-icmp" and term.from.dst_prefix_list is defined %}
{% for dst_prefix_list_item in term.from.dst_prefix_list %}
<entry>
<entry-id>{{ ns3.entry_id }}</entry-id>
<description>{{ term.name }}</description>
{% if term.log is defined %}
<log>{{ term.log }}</log>
{% endif %}
<match>
<next-header>{{ term.from.protocol }}</next-header>
<dst-ip>
<ipv6-prefix-list>{{term.from.dst_prefix_list[loop.index0]}}</ipv6-prefix-list>
</dst-ip>
</match>
<action>
<{{ term.action }}></{{ term.action }}>
</action>
</entry>
{% set ns3.entry_id = ns3.entry_id + 10 %}
{% endfor %}
{% endif %}
{# Generic ICMP filters with ICMP types #} {# Generic ICMP filters with ICMP types #}
{% if (term.from.protocol == "icmp" or term.from.protocol == "ipv6-icmp") %} {% if (term.from.protocol == "icmp" or term.from.protocol == "ipv6-icmp") %}
{% if term.from.icmp_types is defined %} {% if term.from.icmp_types is defined %}
......
<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"> <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">
{% if pe_router_list|length != 0 %}
{% for pe_fqdn, pe_addr in pe_router_list.items() %} {% for pe_fqdn, pe_addr in pe_router_list.items() %}
{% set sdp_id = pe_addr.lo4 | replace(sdp_prefix_regex, '') | replace('.', '') + sdp_type.id %} {% set sdp_id = pe_addr.lo4 | replace(sdp_prefix_regex, '') | replace('.', '') + sdp_type.id %}
<sdp> <sdp>
...@@ -16,5 +17,6 @@ ...@@ -16,5 +17,6 @@
</far-end> </far-end>
</sdp> </sdp>
{% endfor %} {% endfor %}
{% endif %}
</service> </service>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<group>{{ geant_bgp_groups.p_only.ipv4 }}</group> <group>{{ geant_bgp_groups.p_only.ipv4 }}</group>
</neighbor> </neighbor>
<neighbor 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"> <neighbor 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">
<ip-address>{{ p_ipadd.lo4 }}</ip-address> <ip-address>{{ p_ipadd.lo6 }}</ip-address>
<description>{{ p_fqdn }}</description> <description>{{ p_fqdn }}</description>
<group>{{ geant_bgp_groups.p_only.ipv6 }}</group> <group>{{ geant_bgp_groups.p_only.ipv6 }}</group>
</neighbor> </neighbor>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<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>
<twamp-light> <twamp-light>
<reflector> <reflector alu:operation="replace">
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<udp-port>{{ nokia_twamp_light.udp_port }}</udp-port> <udp-port>{{ nokia_twamp_light.udp_port }}</udp-port>
<prefix> <prefix>
......
...@@ -6,30 +6,6 @@ ...@@ -6,30 +6,6 @@
dry_run: "True" dry_run: "True"
is_verification_workflow: false is_verification_workflow: false
nokia_twamp_server:
max_conn: 1
max_sess: 1
juniper_twamp_client:
destination_port: 862
history_size: 20
test_count: 0
test_interval: 30
data_size: 200
probe_count: 500
probe_interval: 1
nokia_twamp_light:
oam_pm_bin_group: 2
udp_port: 64364
test_id: 1
interval: 1000
pad_size: 10
record_stats: delay-and-loss
trunks_subnet: "10.101.1.0/24"
side_a_ipv4_address: "{{ subscription.iptrunk.iptrunk_ipv4_network | ansible.utils.ipaddr('net') | ansible.utils.ipaddr('address') }}" side_a_ipv4_address: "{{ subscription.iptrunk.iptrunk_ipv4_network | ansible.utils.ipaddr('net') | ansible.utils.ipaddr('address') }}"
side_b_ipv4_address: "{{ subscription.iptrunk.iptrunk_ipv4_network | ansible.utils.ipaddr('net') | ansible.utils.ipaddr('1') | ansible.utils.ipaddr('address') }}" side_b_ipv4_address: "{{ subscription.iptrunk.iptrunk_ipv4_network | ansible.utils.ipaddr('net') | ansible.utils.ipaddr('1') | ansible.utils.ipaddr('address') }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment