-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update arista_eos_show_ip_route for message of no ip routing
- Loading branch information
1 parent
e158213
commit 275a887
Showing
3 changed files
with
50 additions
and
1 deletion.
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
19 changes: 19 additions & 0 deletions
19
tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.raw
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,19 @@ | ||
VRF: MGMT | ||
Codes: C - connected, S - static, K - kernel, | ||
O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, | ||
E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, | ||
N2 - OSPF NSSA external type2, B - Other BGP Routes, | ||
B I - iBGP, B E - eBGP, R - RIP, I L1 - IS-IS level 1, | ||
I L2 - IS-IS level 2, O3 - OSPFv3, A B - BGP Aggregate, | ||
A O - OSPF Summary, NG - Nexthop Group Static Route, | ||
V - VXLAN Control Service, M - Martian, | ||
DH - DHCP client installed default route, | ||
DP - Dynamic Policy Route, L - VRF Leaked, | ||
G - gRIBI, RC - Route Cache Route | ||
|
||
Gateway of last resort: | ||
S 0.0.0.0/0 [1/0] via 172.20.20.1, Management0 | ||
|
||
C 172.20.20.0/24 is directly connected, Management0 | ||
|
||
! IP routing not enabled |
24 changes: 24 additions & 0 deletions
24
tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml
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,24 @@ | ||
--- | ||
parsed_sample: | ||
- direct: "" | ||
distance: "1" | ||
interface: | ||
- "Management0" | ||
mask: "0" | ||
metric: "0" | ||
network: "0.0.0.0" | ||
next_hop: | ||
- "172.20.20.1" | ||
protocol: "S" | ||
vrf: "MGMT" | ||
- direct: "directly" | ||
distance: "" | ||
interface: | ||
- "Management0" | ||
mask: "24" | ||
metric: "" | ||
network: "172.20.20.0" | ||
next_hop: | ||
- "connected" | ||
protocol: "C" | ||
vrf: "MGMT" |