Skip to content

Commit

Permalink
Update Huawei VRP display version template
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ribot committed Oct 13, 2022
1 parent 593294e commit 004224e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ntc_templates/templates/huawei_vrp_display_version.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Value UPTIME (.+)

Start
^.*software,\s+Version\s+${VRP_VERSION}\s+\(${PRODUCT_VERSION}\)
^HUAWEI\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$
^HUAWEI\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$
^Huawei\s+${MODEL}\s+Router\s+uptime\s+is\s+${UPTIME}$$
13 changes: 13 additions & 0 deletions tests/huawei_vrp/display_version/huawei_vrp_display_version3.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AR610 V300R019C13SPC200)
Copyright (C) 2011-2021 HUAWEI TECH CO., LTD
Huawei AR617VW-LTE4EA Router uptime is 0 week, 0 day, 15 hours, 16 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 15 hours, 15 minutes
SDRAM Memory Size : 1024 M bytes
Flash 0 Memory Size : 1024 M bytes
MPU version information :
1. PCB Version : AR-SRU617 VER.C
2. MAB Version : 0
3. Board Type : AR617VW-LTE4EA
4. BootROM Version : 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
parsed_sample:
- vrp_version: "5.170"
product_version: "AR610 V300R019C13SPC200"
model: "AR617VW-LTE4EA"
uptime: "0 week, 0 day, 15 hours, 16 minutes"

0 comments on commit 004224e

Please sign in to comment.