-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces (#918)
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 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,5 @@ | ||
Name Default RD Protocols Interfaces | ||
OOB-MGMT <not set> ipv4 Gi0/3 | ||
vpn21 65201:21 ipv4,ipv6 Gi0/0.21 | ||
Gi0/1.21 | ||
vpn22 65201:22 ipv4 |
17 changes: 17 additions & 0 deletions
17
tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.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,17 @@ | ||
--- | ||
parsed_sample: | ||
- default_rd: "<not set>" | ||
interfaces: | ||
- "Gi0/3" | ||
name: "OOB-MGMT" | ||
protocols: "ipv4" | ||
- default_rd: "65201:21" | ||
interfaces: | ||
- "Gi0/0.21" | ||
- "Gi0/1.21" | ||
name: "vpn21" | ||
protocols: "ipv4,ipv6" | ||
- default_rd: "65201:22" | ||
interfaces: [] | ||
name: "vpn22" | ||
protocols: "ipv4" |