Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- ##----------------------------------------------------------------------
- ## Cisco.IOS.get_version test
- ## Auto-generated by ./noc debug-script at 07.03.2012 14:29:21
- ##----------------------------------------------------------------------
- ## Copyright (C) 2007-2012 The NOC Project
- ## See LICENSE for details
- ##----------------------------------------------------------------------
- ## NOC modules
- from noc.lib.test import ScriptTestCase
- class Cisco_IOS_get_version_Test(ScriptTestCase):
- script = "Cisco.IOS.get_version"
- vendor = "Cisco"
- platform = "3700"
- version = "12.3(14)T7"
- input = {}
- result = {'attributes': {'image': 'C3745-ADVENTERPRISEK9-M'},
- 'platform': '3700',
- 'vendor': 'Cisco',
- 'version': '12.3(14)T7'}
- motd = ''
- cli = {
- ## 'show version'
- 'show version': """show version
- Cisco IOS Software, 3700 Software (C3745-ADVENTERPRISEK9-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
- Technical Support: http://www.cisco.com/techsupport
- Copyright (c) 1986-2006 by Cisco Systems, Inc.
- Compiled Thu 23-Mar-06 00:27 by pwade
- ROM: System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)
- crt01-koz-ltc uptime is 1 year, 17 weeks, 4 hours, 21 minutes
- System returned to ROM by power-on
- System image file is "flash:c3745-adventerprisek9-mz.123-14.T7.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 3745 (R7000) processor (revision 2.0) with 180224K/16384K bytes of memory.
- Processor board ID JHY0739K0R2
- R7000 CPU at 350MHz, Implementation 39, Rev 3.3, 256KB L2, 2048KB L3 Cache
- 2 FastEthernet interfaces
- 16 Serial interfaces
- DRAM configuration is 64 bits wide with parity disabled.
- 151K bytes of NVRAM.
- 62592K bytes of ATA System CompactFlash (Read/Write)
- Configuration register is 0x2102
- """,
- 'terminal length 0': 'terminal length 0\n',
- }
- snmp_get = {}
- snmp_getnext = {}
- http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement