In cisco 4500s, running show memory statistics does not contain a line about IO so the io_used_mem variable is never populated and used/total memory are not able to be calculated.
It only shows:
(Paste verbatim output from pip freeze | grep napalm-ios between quotes below)
napalm-ios==0.7.0
IOS version
(Paste verbatim output from show version between quotes below)
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 12.2(53)SG, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Thu 16-Jul-09 22:44 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x12793690
ROM: 12.2(44r)SG3
Darkside Revision 4, Jawa Revision 20, Tatooine Revision 140, Forerunner Revision 1.74
switch uptime is 6 years, 48 weeks, 5 days, 54 minutes
Uptime for this control processor is 6 years, 48 weeks, 4 days, 20 hours, 54 minutes
System returned to ROM by reload
System restarted at 16:23:34 PST Tue Aug 31 2010
System image file is "bootflash:cat4500e-entservicesk9-mz.122-53.SG.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C4510R-E (MPC8548) processor (revision 6) with 524288K bytes of memory.
Processor board ID XXXXXXXXXXX
MPC8548 CPU at 1.33GHz, Supervisor 6-E
Last reset from Reload
5 Virtual Ethernet interfaces
388 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.
Configuration register is 0x2101
Steps to Reproduce the Issue
running from netbox which does a get_environment call from napalm-ios
Error Traceback
(Paste the complete traceback of the exception between quotes below)
io_mem_used referenced before assignment. This is being done from net box so no trace available
Description of Issue/Question
In cisco 4500s, running show memory statistics does not contain a line about IO so the io_used_mem variable is never populated and used/total memory are not able to be calculated. It only shows:
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
Setup
napalm-ios version
(Paste verbatim output from
pip freeze | grep napalm-ios
between quotes below)IOS version
(Paste verbatim output from
show version
between quotes below)Steps to Reproduce the Issue
running from netbox which does a get_environment call from napalm-ios
Error Traceback
(Paste the complete traceback of the exception between quotes below)