Re: [PATCH 1/3] selftests: Add VRF icmp error route lookup test

2020-08-14 Thread Michael Jeanson
- On 13 Aug, 2020, at 19:13, David Ahern dsah...@gmail.com wrote: ... >> +ipv6_ping() >> +{ >> +log_section "IPv6: VRF ICMP error route lookup ping" >> + >> +setup >> + >> +# verify connectivity >> +if ! check_connectivity6; then >> +echo "Error: Basic connectivity

Re: [PATCH 1/3] selftests: Add VRF icmp error route lookup test

2020-08-13 Thread David Ahern
On 8/11/20 1:50 PM, Mathieu Desnoyers wrote: > +run_cmd() > +{ > + local cmd="$*" > + local out > + local rc > + > + if [ "$VERBOSE" = "1" ]; then > + echo "COMMAND: $cmd" > + fi > + > + out=$(eval $cmd 2>&1) > + rc=$? > + if [ "$VERBOSE" = "1" ] && [ -n

[PATCH 1/3] selftests: Add VRF icmp error route lookup test

2020-08-11 Thread Mathieu Desnoyers
From: Michael Jeanson The objective is to check that the incoming vrf routing table is selected to send an ICMP error back to the source when the ttl of a packet reaches 1 while it is forwarded between different vrfs. The first test sends a ping with a ttl of 1 from h1 to h2 and parses the outpu

Re: [RFC PATCH 1/3] selftests: Add VRF icmp error route lookup test

2020-08-06 Thread David Ahern
On 7/29/20 3:12 PM, Mathieu Desnoyers wrote: > From: Michael Jeanson > > The objective is to check that the incoming vrf routing table is selected > to send an ICMP error back to the source when the ttl of a packet reaches 1 > while it is forwarded between different vrfs. > > The first test send

[RFC PATCH 1/3] selftests: Add VRF icmp error route lookup test

2020-07-29 Thread Mathieu Desnoyers
From: Michael Jeanson The objective is to check that the incoming vrf routing table is selected to send an ICMP error back to the source when the ttl of a packet reaches 1 while it is forwarded between different vrfs. The first test sends a ping with a ttl of 1 from h1 to h2 and parses the outpu