Skip to content

Commit

Permalink
New CLI and Old CLI format lines (#1620)
Browse files Browse the repository at this point in the history
allow existing template to work with the new CLI format, still only parses ipv4 format
  • Loading branch information
forrejam authored Mar 27, 2024
1 parent cc4fc73 commit 32b223d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ntc_templates/templates/cisco_ios_show_vrf_detail.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Start
^\s*No\sglobal.*\s*$$
^\s*VRF\slabel.*\s*$$
^\s*Address\sfamily.*\s*$$
^\s*New\sCLI\sformat.*\s*$$
^\s*Old\sCLI\sformat.*\s*$$
^. -> Error

Interfaces
Expand All @@ -37,4 +39,4 @@ Rt_Export
Rt_Import
^\s*RT:${RT_IMPORT}\s*$$
^\s*No\simport\sroute-map\s*$$ -> Start


0 comments on commit 32b223d

Please sign in to comment.