Skip to content

Commit d8de796

Browse files
gsnider2195mjbear
andauthored
Fix arista eos show version for containerlab ceos (#2169)
* Fix arista eos show version for containerlab ceos * Add arista ceos containerlab test data --------- Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com>
1 parent 04d2df4 commit d8de796

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

ntc_templates/templates/arista_eos_show_version.textfsm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Start
1717
^Architecture:\s+\S+
1818
^Internal\s+build\s+(version|ID):\s+\S+
1919
^Image\s+(format\s+version|optimization):\s+\S+
20+
^Kernel\s+version:\s+\S+
2021
^Uptime:\s+${UPTIME}
2122
^Total\s+memory:\s+${TOTAL_MEMORY}
2223
^Free\s+memory:\s+${FREE_MEMORY} -> Record
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Arista cEOSLab
2+
Hardware version:
3+
Serial number:
4+
Hardware MAC address: 001c.7312.b056
5+
System MAC address: 001c.7312.b056
6+
7+
Software image version: 4.32.1F-37265360.4321F (engineering build)
8+
Architecture: x86_64
9+
Internal build version: 4.32.1F-37265360.4321F
10+
Internal build ID: 5cc97ff0-08f5-438e-9b7c-c94dea3f44a6
11+
Image format version: 1.0
12+
Image optimization: None
13+
14+
Kernel version: 6.6.87.2-microsoft-standard-WSL2
15+
16+
Uptime: 1 hour and 16 minutes
17+
Total memory: 16378596 kB
18+
Free memory: 8609248 kB
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
parsed_sample:
3+
- free_memory: "8609248"
4+
hw_version: ""
5+
image: "4.32.1F-37265360.4321F"
6+
model: "cEOSLab"
7+
serial_number: ""
8+
sys_mac: "001c.7312.b056"
9+
total_memory: "16378596"
10+
uptime: "1 hour and 16 minutes"

0 commit comments

Comments
 (0)