Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cisco_xr_show_version.template #442

Merged
merged 3 commits into from
Sep 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/cisco_xr_show_version.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Start
Build_Info
^\s+Built\sBy.+
^\s+Built\sOn.+
^\s+Build\sHost\s+:\s+${BUILD_HOST}
^\s+Buil[dt]\sHost\s+:\s+${BUILD_HOST}
^\s+Workspace\s+:\s\S+
^\s+Version\s+:\s${VERSION}
^\s+Location\s+:\s${LOCATION}
Expand Down
11 changes: 11 additions & 0 deletions tests/cisco_xr/show_version/cisco_xr_show_version2.parsed
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

parsed_sample:


- hardware : 'IOS-XRv'
uptime : '1 minute'
version : '6.5.1'
location : '/opt/cisco/XR/packages/'
build_host : 'iox-ucs-019'

14 changes: 14 additions & 0 deletions tests/cisco_xr/show_version/cisco_xr_show_version2.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Tue Sep 10 11:01:51.930 UTC
Cisco IOS XR Software, Version 6.5.1
Copyright (c) 2013-2018 by Cisco Systems, Inc.

Build Information:
Built By : ahoang
Built On : Wed Aug 8 17:29:38 PDT 2018
Built Host : iox-ucs-019
Workspace : /auto/srcarchive17/prod/6.5.1/xrv9k/ws
Version : 6.5.1
Location : /opt/cisco/XR/packages/

cisco IOS-XRv 9000 () processor
System uptime is 1 minute