# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-12-15 12:44:22
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Cisco_IOS_get_chassis_id_Test(ScriptTestCase):
    script="Cisco.IOS.get_chassis_id"
    vendor="Cisco"
    platform='C3750'
    version='12.2(35)SE2'
    input={}
    result='00:1B:2B:78:17:80'
    motd=' \n\n'
    cli={
## 'show version'
'show version': """show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(35)SE2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 06-Feb-07 05:07 by antonino
Image text-base: 0x00003000, data-base: 0x013D0448

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)

sw-24-ti uptime is 29 weeks, 1 day, 21 hours, 15 minutes
System returned to ROM by power-on
System restarted at 16:24:21 MSD Mon May 24 2010
System image file is "flash:c3750-advipservicesk9-mz.122-35.SE2/c3750-advipservicesk9-mz.122-35.SE2.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C3750-48TS (PowerPC405) processor (revision M0) with 118784K/12280K bytes of memory.
Processor board ID CAT1110NJ0Z
Last reset from power-on
3 Virtual Ethernet interfaces
96 FastEthernet interfaces
8 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1B:2B:78:17:80
Motherboard assembly number     : 73-9680-10
Power supply part number        : 341-0028-02
Motherboard serial number       : CAT1110507D
Power supply serial number      : DTH1050B1NS
Model revision number           : M0
Motherboard revision number     : A0
Model number                    : WS-C3750-48TS-S
System serial number            : CAT1110NJ0Z
SFP Module assembly part number : 73-7757-03
SFP Module revision Number      : A0
SFP Module serial number        : CAT11085SYV
Top Assembly Part Number        : 800-25854-02
Top Assembly Revision Number    : D0
Version ID                      : V05
CLEI Code Number                : CNMV300CRE
Hardware Board Revision Number  : 0x01


Switch   Ports  Model              SW Version              SW Image            
------   -----  -----              ----------              ----------          
*    1   52     WS-C3750-48TS      12.2(35)SE2             C3750-ADVIPSERVICESK


Configuration register is 0xF
""",
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
