# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-12-15 13:07:09
##----------------------------------------------------------------------
## 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(37)SE'
    input={}
    result='00:1A:2F:8C:A4:00'
    motd=' \n\n'
    cli={
## 'show version'
'show version': """show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 10-May-07 16:31 by antonino
Image text-base: 0x00003000, data-base: 0x01480000

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

catstackx uptime is 2 years, 13 weeks, 23 hours, 23 minutes
System returned to ROM by power-on
System restarted at 10:35:10 UTC Sun Sep 14 2008
System image file is "flash:c3750-advipservicesk9-mz.122-37.SE/c3750-advipservicesk9-mz.122-37.SE.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-C3750G-48TS (PowerPC405) processor (revision C0) with 118784K/12280K bytes of memory.
Processor board ID FCZ1052Y025
Last reset from power-on
2 Virtual Ethernet interfaces
120 Gigabit Ethernet interfaces
1 Ten Gigabit Ethernet interface
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1A:2F:8C:A4:00
Motherboard assembly number     : 73-10218-08
Power supply part number        : 341-0107-01
Motherboard serial number       : FOC10460DA7
Power supply serial number      : AZS103702JN
Model revision number           : C0
Motherboard revision number     : B0
Model number                    : WS-C3750G-48TS-S
System serial number            : FCZ1052Y025
Top Assembly Part Number        : 800-26857-01
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : CNMWU00ARC
Hardware Board Revision Number  : 0x09


Switch   Ports  Model              SW Version              SW Image            
------   -----  -----              ----------              ----------          
*    1   52     WS-C3750G-48TS     12.2(37)SE              C3750-ADVIPSERVICESK
     2   17     WS-C3750G-16TD     12.2(37)SE              C3750-ADVIPSERVICESK
     3   52     WS-C3750G-48TS     12.2(37)SE              C3750-ADVIPSERVICESK


Switch 02
---------
Switch Uptime                   : 2 years, 13 weeks, 23 hours, 31 minutes 
Base ethernet MAC Address       : 00:1A:6C:29:CA:80
Motherboard assembly number     : 73-9143-09
Power supply part number        : 341-0045-01
Motherboard serial number       : CAT10475D7Z
Power supply serial number      : PHI1034L1NX
Model revision number           : H0
Motherboard revision number     : C0
Model number                    : WS-C3750G-16TD-S
System serial number            : CAT1047RLCY
Top assembly part number        : 800-24591-05
Top assembly revision number    : B0
Version ID                      : V01
CLEI Code Number                : COM3Y10BRA

Switch 03
---------
Switch Uptime                   : 2 years, 13 weeks, 23 hours, 31 minutes 
Base ethernet MAC Address       : 00:1A:A1:C4:B0:00
Motherboard assembly number     : 73-10218-08
Power supply part number        : 341-0107-01
Motherboard serial number       : FOC10510Y20
Power supply serial number      : AZS104100FJ
Model revision number           : C0
Motherboard revision number     : C0
Model number                    : WS-C3750G-48TS-S
System serial number            : FCZ1103X02G
Top assembly part number        : 800-26857-01
Top assembly revision number    : B0
Version ID                      : V03
CLEI Code Number                : CNMWU00ARC

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