Open sygibson opened 1 year ago
Can you provide the output of
show version | json
for your virtual device? I believe I may have already fixed this in a branch I am working on
https://github.com/napalm-automation/napalm/commit/2a0e36def89a1a118091b4a20485b45db9971878
@bewing - thank you for the fast response ... here's the output as requested:
{
"imageFormatVersion": "1.0",
"uptime": 87150.18,
"modelName": "vEOS-lab",
"internalVersion": "4.28.3M-28837868.4283M",
"memTotal": 3999888,
"mfgName": "Arista",
"serialNumber": "429F6A1989123487E3409B030A5412B4",
"systemMacAddress": "3a:a4:bd:14:5e:c7",
"bootupTimestamp": 1690830021.0080218,
"memFree": 2737172,
"version": "4.28.3M",
"configMacAddress": "00:00:00:00:00:00",
"isIntlVersion": false,
"imageOptimization": "None",
"internalBuildId": "e950541d-fc75-4ced-a669-6fd2007c17b7",
"hardwareRevision": "",
"hwMacAddress": "00:00:00:00:00:00",
"architecture": "x86_64"
}
Incidentally - I apologize for semi-hijacking this - do you know of any Cisco IOS similar virtual switch/router appliances like the vEOS? NOT the Nexus stuff. I need a pure IOS like device. I build automation for infrastructure, and we're adding in the NAPALM fabulous stuff for general switch/router capabilities.
Commented on line 823 of napalm/eos/eos.py
:
Description of Issue/Question
On a Virtual EOS Arista device, execute
get_environment
fails because the virtual environment does not have any definedpower supplies connected
. Running theget_environment
command results in a Python stack trace as noted below.Expected results
Should not stacktrace barf when running in Virtual EOS environment due to missing Power Supplies.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
Error Traceback