# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-22 23:47:11
##----------------------------------------------------------------------
## 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='CBS31X0'
    version='12.2(50)SE3'
    input={}
    result={'attributes': {'image': 'CBS31X0-UNIVERSALK9-M'},
 'platform': 'CBS31X0',
 'vendor': 'Cisco',
 'version': '12.2(50)SE3'}
    motd=' \nC\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, CBS31X0 Software (CBS31X0-UNIVERSALK9-M), Version 12.2(50)SE3, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2009 by Cisco Systems, Inc.\nCompiled Wed 22-Jul-09 09:10 by prod_rel_team\nImage text-base: 0x00003000, data-base: 0x02400000\n\nROM: Bootstrap program is CBS31X0 boot loader\nBOOTLDR: CBS31X0 Boot Loader (CBS31X0-HBOOT-M) Version 12.2(40r)EX7, RELEASE SOFTWARE (fc1)\n\nRouter1 uptime is 4 weeks, 1 day, 10 hours, 25 minutes\nSystem returned to ROM by power-on\nSystem restarted at 13:22:03 MSD Tue Aug 24 2010\nSystem image file is "flash:cbs31x0-universalk9-mz.122-50.SE3/cbs31x0-universalk9-mz.122-50.SE3.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\nLicense Level: ipbase\nLicense Type: Permanent\nNext reload license Level: ipbase\n\ncisco WS-CBS3120X-S (PowerPC405) processor (revision C0) with 262144K bytes of memory.\nProcessor board ID FOC1241T0ZM\nLast reset from power-on\n2 Virtual Ethernet interfaces\n1 FastEthernet interface\n52 Gigabit Ethernet interfaces\n4 Ten Gigabit Ethernet interfaces\nThe password-recovery mechanism is enabled.\n\n512K bytes of flash-simulated non-volatile configuration memory.\nBase ethernet MAC Address       : 00:23:AB:53:1C:80\nMotherboard assembly number     : 73-10920-08\nMotherboard serial number       : FOC1241133Q\nModel revision number           : C0\nMotherboard revision number     : A0\nModel number                    : WS-CBS3120X-S\nSystem serial number            : FOC1241T0ZM\nTop Assembly Part Number        : 800-28520-01\nTop Assembly Revision Number    : F0\nVersion ID                      : V01\nCLEI Code Number                : COUIAN1CAA\nHardware Board Revision Number  : 0x00\n\n\nSwitch Ports Model              SW Version            SW Image                 \n------ ----- -----              ----------            ----------               \n*    1 28    WS-CBS3120X-S      12.2(50)SE3           CBS31X0-UNIVERSALK9-M    \n     2 28    WS-CBS3120X-S      12.2(50)SE3           CBS31X0-UNIVERSALK9-M    \n\n\nSwitch 02\n---------\nSwitch Uptime                   : 4 weeks, 1 day, 10 hours, 25 minutes \nBase ethernet MAC Address       : 00:23:EA:D6:57:00\nMotherboard assembly number     : 73-10920-08\nMotherboard serial number       : FOC12461YC6\nModel revision number           : C0\nMotherboard revision number     : A0\nModel number                    : WS-CBS3120X-S\nSystem serial number            : FOC1247T06J\nTop assembly part number        : 800-28520-01\nTop assembly revision number    : F0\nVersion ID                      : V01\nCLEI Code Number                : COUIAN1CAA\nLicense Level                   : ipbase\nLicense Type                    : Permanent\nNext reboot licensing Level     : ipbase\n\n\nConfiguration register is 0xF\n\n',
 'terminal length 0': 'terminal length 0\n'}
    snmp_get={}
    snmp_getnext={}
        
