# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-23 19:42:42
##----------------------------------------------------------------------
## 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(25)SEE'
    input={}
    result={'attributes': {'image': 'C3750-ADVIPSERVICESK9-M'},
 'platform': 'C3750',
 'vendor': 'Cisco',
 'version': '12.2(25)SEE'}
    motd=''
    cli={'terminal length 0': 'terminal length 0\n', 'show version': 'show version\nCisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)SEE, RELEASE SOFTWARE (fc2)\nCopyright (c) 1986-2006 by Cisco Systems, Inc.\nCompiled Fri 03-Feb-06 07:59 by antonino\nImage text-base: 0x00003000, data-base: 0x0123D8D4\n\nROM: Bootstrap program is C3750 boot loader\nBOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)\n\nRouter1 uptime is 1 year, 15 weeks, 2 days, 11 hours, 53 minutes\nSystem returned to ROM by power-on\nSystem restarted at 07:40:15 MSD Mon Jun 8 2009\nSystem image file is "flash:c3750-advipservicesk9-mz.122-25.SEE.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-C3750-24TS (PowerPC405) processor (revision L0) with 118784K/12280K bytes of memory.\nProcessor board ID CAT1001Z069\nLast reset from power-on\n113 Virtual Ethernet interfaces\n72 FastEthernet interfaces\n6 Gigabit Ethernet interfaces\nThe password-recovery mechanism is enabled.\n\n512K bytes of flash-simulated non-volatile configuration memory.\nBase ethernet MAC Address       : 00:16:C7:62:8F:00\nMotherboard assembly number     : 73-9677-09\nPower supply part number        : 341-0034-01\nMotherboard serial number       : CAT10010B3Y\nPower supply serial number      : DAB09510RK5\nModel revision number           : L0\nMotherboard revision number     : A0\nModel number                    : WS-C3750-24TS-S\nSystem serial number            : CAT1001Z069\nTop Assembly Part Number        : 800-25857-02\nTop Assembly Revision Number    : C0\nVersion ID                      : V05\nCLEI Code Number                : CNMV100CRE\nHardware Board Revision Number  : 0x01\n\n\nSwitch   Ports  Model              SW Version              SW Image            \n------   -----  -----              ----------              ----------          \n*    1   26     WS-C3750-24TS      12.2(25)SEE             C3750-ADVIPSERVICESK\n     2   26     WS-C3750-24TS      12.2(25)SEE             C3750-ADVIPSERVICESK\n     3   26     WS-C3750-24TS      12.2(25)SEE             C3750-ADVIPSERVICESK\n\n\nSwitch 02\n---------\nSwitch Uptime                   : 1 year, 15 weeks, 2 days, 11 hours, 49 minutes \nBase ethernet MAC Address       : 00:18:B9:96:A3:80\nMotherboard assembly number     : 73-9677-10\nPower supply part number        : 341-0034-01\nMotherboard serial number       : CAT10285D6M\nPower supply serial number      : PHI1022B2GL\nModel revision number           : L0\nMotherboard revision number     : A0\nModel number                    : WS-C3750-24TS-S\nSystem serial number            : CAT1028ZM8B\nTop assembly part number        : 800-25857-02\nTop assembly revision number    : D0\nVersion ID                      : V05\nCLEI Code Number                : CNMV100CRE\n\nSwitch 03\n---------\nSwitch Uptime                   : 32 weeks, 6 days, 7 hours, 30 minutes \nBase ethernet MAC Address       : 00:17:59:99:CB:00\nMotherboard assembly number     : 73-9677-09\nPower supply part number        : 341-0034-01\nMotherboard serial number       : CAT10080YF1\nPower supply serial number      : DAB09510PUL\nModel revision number           : L0\nMotherboard revision number     : A0\nModel number                    : WS-C3750-24TS-S\nSystem serial number            : CAT1008N54S\nTop assembly part number        : 800-25857-02\nTop assembly revision number    : C0\nVersion ID                      : V05\nCLEI Code Number                : CNMV100CRE\n\nConfiguration register is 0xF\n\n'}
    snmp_get={}
    snmp_getnext={}
