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

iptrunk_twamp: update to Nokia server prefix

Prefix should be the whole trunk subnet and not the remote Juniper side
only (according to Eric).
parent 35208805
No related branches found
No related tags found
1 merge request!138iptrunk_twamp
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- name: Get TWAMP client stats - name: Get TWAMP client stats
junipernetworks.junos.junos_command: junipernetworks.junos.junos_command:
commands: commands:
- show services rpm twamp client probe-results control-connection "{{ local_side_short_name }}--{{ remote_side_short_name }}" test-session "{{ local_side_short_name }}--{{ remote_side_short_name }}" | except "Measurement|Samples" - show services rpm twamp client probe-results control-connection "{{ local_side_short_name }}--{{ remote_side_short_name }}" test-session "{{ local_side_short_name }}--{{ remote_side_short_name }}"
register: response register: response
- name: Show stats of TWAMP client - name: Show stats of TWAMP client
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
content: | content: |
<global-operations xmlns="urn:nokia.com:sros:ns:yang:sr:oper-global"> <global-operations xmlns="urn:nokia.com:sros:ns:yang:sr:oper-global">
<md-cli-raw-command> <md-cli-raw-command>
<md-cli-input-line>show test-oam twamp server prefix "{{ remote_side_address }}/32"</md-cli-input-line> <md-cli-input-line>show test-oam twamp server prefix "{{ subscription.iptrunk.iptrunk_ipv4_network }}"</md-cli-input-line>
</md-cli-raw-command> </md-cli-raw-command>
</global-operations> </global-operations>
display: json display: json
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<server> <server>
<admin-state>enable</admin-state> <admin-state>enable</admin-state>
<prefix alu:operation="replace"> <prefix alu:operation="replace">
<ip-prefix>{{ remote_side_address }}/32</ip-prefix> <ip-prefix>{{ subscription.iptrunk.iptrunk_ipv4_network }}</ip-prefix>
<description>{{ remote_side_short_name }}</description> <description>{{ remote_side_short_name }}</description>
<max-connections>{{ nokia_twamp_server.max_conn }}</max-connections> <max-connections>{{ nokia_twamp_server.max_conn }}</max-connections>
<max-sessions>{{ nokia_twamp_server.max_sess }}</max-sessions> <max-sessions>{{ nokia_twamp_server.max_sess }}</max-sessions>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment