# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-23 00:01:54
##----------------------------------------------------------------------
## 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='C3750'
    version='12.2(53)SE2'
    input={}
    result={'attributes': {'image': 'C3750-IPSERVICESK9-M'},
 'platform': 'C3750',
 'vendor': 'Cisco',
 'version': '12.2(53)SE2'}
    motd=' \nCC\nThe system is a property of Acme Inc.\nPlease disconnect immediately if you are not authorized staff\n\n'
    cli={'show version': 'show version\nCisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Wed 21-Apr-10 04:49 by prod_rel_team\nImage text-base: 0x01000000, data-base: 0x02F00000\n\nROM: Bootstrap program is C3750 boot loader\nBOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)\n\nRouter1 uptime is 15 weeks, 4 days, 15 hours, 26 minutes\nSystem returned to ROM by power-on\nSystem restarted at 08:34:57 MSD Sat Jun 5 2010\nSystem image file is "flash:c3750-ipservicesk9-mz.122-53.SE2/c3750-ipservicesk9-mz.122-53.SE2.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-C3750G-24TS-1U (PowerPC405) processor (revision E0) with 131072K bytes of memory.\nProcessor board ID FOC1213Y0LA\nLast reset from power-on\n12 Virtual Ethernet interfaces\n216 Gigabit Ethernet interfaces\nThe password-recovery mechanism is enabled.\n\n512K bytes of flash-simulated non-volatile configuration memory.\nBase ethernet MAC Address       : 00:21:1B:95:B5:80\nMotherboard assembly number     : 73-10219-07\nPower supply part number        : 341-0098-02\nMotherboard serial number       : FOC12132ZL5\nPower supply serial number      : AZS12081227\nModel revision number           : E0\nMotherboard revision number     : B0\nModel number                    : WS-C3750G-24TS-S1U\nSystem serial number            : FOC1213Y0LA\nTop Assembly Part Number        : 800-26859-01\nTop Assembly Revision Number    : C0\nVersion ID                      : V03\nCLEI Code Number                : CNMWS00ARC\nHardware Board Revision Number  : 0x09\n\n\nSwitch Ports Model              SW Version            SW Image                 \n------ ----- -----              ----------            ----------               \n*    2 28    WS-C3750G-24TS-1U  12.2(53)SE2           C3750-IPSERVICESK9-M     \n\n\nConfiguration register is 0xF\n\n',
 'terminal length 0': 'terminal length 0\n'}
    snmp_get={}
    snmp_getnext={}
        
