Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/crm/crm_test_ipv4_route.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- set_fact: crm_stats_ipv4_route_available={{out.stdout}}

- name: Get NH IP
command: ip -4 neigh show dev {{crm_intf}}
command: ip -4 neigh show dev {{crm_intf}} nud reachable
register: out
- set_fact: nh_ip="{{out.stdout.split()[0]}}"

Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/test/tasks/crm/crm_test_nexthop_group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
- set_fact: crm_stats_nexthop_group_available={{out.stdout}}

- name: Get NH IP 1
command: ip -4 neigh show dev {{crm_intf}}
command: ip -4 neigh show dev {{crm_intf}} nud reachable
register: out
- set_fact: nh_ip1="{{out.stdout.split()[0]}}"

- name: Get NH IP 2
command: ip -4 neigh show dev {{crm_intf1}}
command: ip -4 neigh show dev {{crm_intf1}} nud reachable
register: out
- set_fact: nh_ip2="{{out.stdout.split()[0]}}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
- set_fact: crm_stats_nexthop_group_member_available={{out.stdout}}

- name: Get NH IP 1
command: ip -4 neigh show dev {{crm_intf}}
command: ip -4 neigh show dev {{crm_intf}} nud reachable
register: out
- set_fact: nh_ip1="{{out.stdout.split()[0]}}"

- name: Get NH IP 2
command: ip -4 neigh show dev {{crm_intf1}}
command: ip -4 neigh show dev {{crm_intf1}} nud reachable
register: out
- set_fact: nh_ip2="{{out.stdout.split()[0]}}"

Expand Down