# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-23 19:44:20
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Cisco_IOS_get_version_Test(ScriptTestCase):
    script="Cisco.IOS.get_version"
    vendor="Cisco"
    platform='C2960'
    version='12.2(52)SE'
    input={}
    result={'attributes': {'image': 'C2960-LANBASEK9-M'},
 'platform': 'C2960',
 'vendor': 'Cisco',
 'version': '12.2(52)SE'}
    cli={'terminal length 0': 'terminal length 0\n', 'show version': 'show version\nCisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)\nCopyright (c) 1986-2009 by Cisco Systems, Inc.\nCompiled Fri 25-Sep-09 08:49 by sasyamal\nImage text-base: 0x00003000, data-base: 0x01500000\n\nROM: Bootstrap program is C2960 boot loader\nBOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)\n\nRouter1 uptime is 41 weeks, 6 days, 8 hours, 26 minutes\nSystem returned to ROM by power-on\nSystem restarted at 10:16:28 MSK Fri Dec 4 2009\nSystem image file is "flash:c2960-lanbasek9-mz.122-52.SE.bin"\n\n\nThis product contains cryptographic features and is subject to United\nStates and local country laws governing import, export, transfer and\nuse. Delivery of Cisco cryptographic products does not imply\nthird-party authority to import, export, distribute or use encryption.\nImporters, exporters, distributors and users are responsible for\ncompliance with U.S. and local country laws. By using this product you\nagree to comply with applicable laws and regulations. If you are unable\nto comply with U.S. and local laws, return this product immediately.\n\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\n\nIf you require further assistance please contact us by sending email to\nexport@cisco.com.\n\ncisco WS-C2960-24TT-L (PowerPC405) processor (revision B0) with 65536K bytes of memory.\nProcessor board ID FOC1105Z94U\nLast reset from power-on\n4 Virtual Ethernet interfaces\n24 FastEthernet interfaces\n2 Gigabit Ethernet interfaces\nThe password-recovery mechanism is enabled.\n\n64K bytes of flash-simulated non-volatile configuration memory.\nBase ethernet MAC Address       : 00:1B:2A:43:96:00\nMotherboard assembly number     : 73-10390-03\nPower supply part number        : 341-0097-02\nMotherboard serial number       : FOC11051L5B\nPower supply serial number      : DCA1101883S\nModel revision number           : B0\nMotherboard revision number     : C0\nModel number                    : WS-C2960-24TT-L\nSystem serial number            : FOC1105Z94U\nTop Assembly Part Number        : 800-27221-02\nTop Assembly Revision Number    : C0\nVersion ID                      : V02\nCLEI Code Number                : COM3L00BRA\nHardware Board Revision Number  : 0x01\n\n\nSwitch Ports Model              SW Version            SW Image                 \n------ ----- -----              ----------            ----------               \n*    1 26    WS-C2960-24TT-L    12.2(52)SE            C2960-LANBASEK9-M        \n\n\nConfiguration register is 0xF\n\n'}
    snmp_get={}
    snmp_getnext={}

