-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix template for Eltex's command 'show interfaces description' (#1812)
Co-authored-by: Maxim Shpak <[email protected]>
- Loading branch information
1 parent
050173d
commit c5bb744
Showing
5 changed files
with
410 additions
and
260 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
230 changes: 138 additions & 92 deletions
230
tests/eltex/show_interfaces_description/show_interfaces_description_1.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 |
---|---|---|
@@ -1,232 +1,278 @@ | ||
--- | ||
parsed_sample: | ||
- admin_state: "Up" | ||
description: "mirror_te1/0/1" | ||
link_state: "Down" | ||
description: | ||
- "mirror_te1/0/1" | ||
interface: "gi1/0/1" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/2" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/3" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/4" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/5" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/6" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/7" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/8" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/9" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/10" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/11" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/12" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/13" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/14" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/15" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/16" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/17" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/18" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/19" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/20" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/21" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/22" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "gi1/0/23" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "MGMT" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: | ||
- "MGMT" | ||
interface: "gi1/0/24" | ||
interface_mode: "" | ||
link_state: "Down" | ||
- admin_state: "Up" | ||
description: "Eltex3324-1 - Te1/0/4" | ||
link_state: "Up" | ||
description: | ||
- "Eltex3324-1 - Te1/0/4" | ||
interface: "te1/0/1" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "FIORD-10G" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "FIORD-10G" | ||
interface: "te1/0/2" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "MX5-2 - xe-0/0/2" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "MX5-2 - xe-0/0/2" | ||
interface: "te1/0/3" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "Eltex3124-1 - Te1/0/3" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "Eltex3124-1 - Te1/0/3" | ||
interface: "te1/0/4" | ||
interface_mode: "" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
description: | ||
- "None" | ||
interface: "Po1" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po2" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po3" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po4" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po5" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po6" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po7" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po8" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po9" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po10" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po11" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "Po12" | ||
interface_mode: "" | ||
link_state: "Not Present" | ||
- admin_state: "Up" | ||
description: "-" | ||
link_state: "Up" | ||
description: | ||
- "-" | ||
interface: "1" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "Telia" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "Telia" | ||
interface: "2" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "loopback1" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "loopback2" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "loopback3" | ||
interface_mode: "" | ||
- admin_state: "Up" | ||
description: "" | ||
link_state: "Up" | ||
- admin_state: "Up" | ||
description: | ||
- "None" | ||
interface: "loopback4" | ||
interface_mode: "" | ||
link_state: "Up" |
Oops, something went wrong.