# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## EdgeCore.ES.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-26 18:36:17
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class EdgeCore_ES_get_chassis_id_Test(ScriptTestCase):
    script="EdgeCore.ES.get_chassis_id"
    vendor="EdgeCore"
    platform='ES4626-SFP'
    version='5.4.156.0'
    input={}
    result='00:12:CF:A3:CB:46'
    motd='********\n'
    cli={
## 'show version 1'
'show version 1': """show version 1
  ES4626-SFP Device, Compiled Mar 19 13:40:24 2009
  SoftWare Package Version ES4626-SFP_5.4.156.0
  BootRom Version ES4626-SFP_1.6.5
  HardWare Version 3.0
  Copyright (C) 2001-2007 by Accton Technology Corp.
  All rights reserved.
  Last reboot is cold reset.
  Uptime is 64 weeks, 3 days, 2 hours, 27 minutes.""",
## 'show mac-address-table static'
'show mac-address-table static': """show mac-address-table static
Read mac address table....
Vlan Mac Address                 Type    Creator   Ports
---- --------------------------- ------- -------------------------------------
101  00-12-cf-a3-cb-46           STATIC  System   CPU
102  00-12-cf-a3-cb-46           STATIC  System   CPU
103  00-12-cf-a3-cb-46           STATIC  System   CPU
104  00-12-cf-a3-cb-46           STATIC  System   CPU
105  00-12-cf-a3-cb-46           STATIC  System   CPU
106  00-12-cf-a3-cb-46           STATIC  System   CPU
107  00-12-cf-a3-cb-46           STATIC  System   CPU
108  00-12-cf-a3-cb-46           STATIC  System   CPU
109  00-12-cf-a3-cb-46           STATIC  System   CPU
110  00-12-cf-a3-cb-46           STATIC  System   CPU
111  00-12-cf-a3-cb-46           STATIC  System   CPU
112  00-12-cf-a3-cb-46           STATIC  System   CPU
802  00-12-cf-a3-cb-46           STATIC  System   CPU
803  00-12-cf-a3-cb-46           STATIC  System   CPU
805  00-12-cf-a3-cb-46           STATIC  System   CPU
900  00-12-cf-a3-cb-46           STATIC  System   CPU
901  00-12-cf-a3-cb-46           STATIC  System   CPU
902  00-12-cf-a3-cb-46           STATIC  System   CPU
1006 00-12-cf-a3-cb-46           STATIC  System   CPU""",
## 'show system'
'show system': """show system
                   ^
% Invalid input detected at '^' marker.
""",
}
    snmp_get={}
    snmp_getnext={}
