# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-23 19:44:55
##----------------------------------------------------------------------
## 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='C3560'
    version='12.2(52)SE'
    input={}
    result={'attributes': {'image': 'C3560-IPSERVICESK9-M'},
 'platform': 'C3560',
 'vendor': 'Cisco',
 'version': '12.2(52)SE'}
    motd=''
    cli={'terminal length 0': 'terminal length 0\n', 'show version': 'show version\nCisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)\nCopyright (c) 1986-2009 by Cisco Systems, Inc.\nCompiled Fri 25-Sep-09 08:13 by sasyamal\nImage text-base: 0x01000000, data-base: 0x02E00000\n\nROM: Bootstrap program is C3560 boot loader\nBOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)\n\nRouter1 uptime is 3 weeks, 1 hour, 29 minutes\nSystem returned to ROM by bus error at PC 0x155EE08, address 0x0\nSystem restarted at 18:15:49 MSD Thu Sep 2 2010\nSystem image file is "flash:/c3560-ipservicesk9-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-C3560-24TS (PowerPC405) processor (revision E0) with 131072K bytes of memory.\nProcessor board ID CAT1117RJK7\nLast reset from bus error\n29 Virtual Ethernet interfaces\n24 FastEthernet interfaces\n2 Gigabit Ethernet interfaces\nThe password-recovery mechanism is enabled.\n\n512K bytes of flash-simulated non-volatile configuration memory.\nBase ethernet MAC Address       : 00:1C:0E:58:D4:80\nMotherboard assembly number     : 73-9897-06\nPower supply part number        : 341-0097-02\nMotherboard serial number       : CAT11175B8L\nPower supply serial number      : DCA104585SS\nModel revision number           : E0\nMotherboard revision number     : B0\nModel number                    : WS-C3560-24TS-E\nSystem serial number            : CAT1117RJK7\nTop Assembly Part Number        : 800-26386-02\nTop Assembly Revision Number    : E0\nVersion ID                      : V02\nCLEI Code Number                : COMMH00ARB\nHardware Board Revision Number  : 0x01\n\n\nSwitch Ports Model              SW Version            SW Image                 \n------ ----- -----              ----------            ----------               \n*    1 26    WS-C3560-24TS      12.2(52)SE            C3560-IPSERVICESK9-M     \n\n\nConfiguration register is 0xF\n\n'}
    snmp_get={}
    snmp_getnext={}

