Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64df160
commit 267efd9
Showing
10 changed files
with
1,265 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Value Filldown PROTOCOL (\S+\s\S+?|\w?) | ||
Value Filldown NETWORK (\d+.\d+.\d+.\d+) | ||
Value Filldown MASK (\d+) | ||
Value DISTANCE (\d+) | ||
Value METRIC (\d+) | ||
Value DIRECT (directly) | ||
Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) | ||
Value INTERFACE (\S+) | ||
|
||
Start | ||
^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Next.Record |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
155 changes: 155 additions & 0 deletions
155
tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
--- | ||
parsed_sample: | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.1.31.100 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.1.31.101 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: directly | ||
distance: '' | ||
interface: Loopback100 | ||
mask: '32' | ||
metric: '' | ||
network: 10.1.31.102 | ||
next_hop: connected | ||
protocol: C | ||
- direct: directly | ||
distance: '' | ||
interface: Loopback10 | ||
mask: '32' | ||
metric: '' | ||
network: 10.1.31.200 | ||
next_hop: connected | ||
protocol: C | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.1.31.254 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: directly | ||
distance: '' | ||
interface: Ethernet20 | ||
mask: '30' | ||
metric: '' | ||
network: 10.63.255.8 | ||
next_hop: connected | ||
protocol: C | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '30' | ||
metric: '0' | ||
network: 10.100.22.52 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '30' | ||
metric: '0' | ||
network: 10.100.22.56 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.11 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.12 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.15 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: directly | ||
distance: '' | ||
interface: Loopback0 | ||
mask: '32' | ||
metric: '' | ||
network: 10.100.233.32 | ||
next_hop: connected | ||
protocol: C | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet21 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.34 | ||
next_hop: 192.168.38.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.50 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.64 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.66 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.67 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet18 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.68 | ||
next_hop: 192.168.17.5 | ||
protocol: B E | ||
- direct: '' | ||
distance: '200' | ||
interface: Ethernet20 | ||
mask: '32' | ||
metric: '0' | ||
network: 10.100.233.192 | ||
next_hop: 10.63.255.10 | ||
protocol: B E | ||
|
Oops, something went wrong.