# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Force10.FTOS.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-22 14:23:47
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Force10_FTOS_get_chassis_id_Test(ScriptTestCase):
    script="Force10.FTOS.get_chassis_id"
    vendor="Force10"
    platform='E600i'
    version='8.3.1.3e'
    input={}
    result='00:01:E8:6D:1C:5C'
    motd=' \n'
    cli={
## 'show version'
'show version': """show version
Force10 Networks Real Time Operating System Software
Force10 Operating System Version: 1.0
Force10 Application Software Version: 8.3.1.3e
Copyright (c) 1999-2010 by Force10 Networks, Inc.
Build Time: Mon Sep 27 04:13:59 PDT 2010
Build Path: /sites/sjc/work/build/buildSpaces/build12/E8-3-1/SW/SRC
sw-1 uptime is 7 week(s), 6 day(s), 4 hour(s), 31 minute(s)

System image file is "flash://FTOS-EH-8.3.1.3e.bin"

Chassis Type: E600i 
Control Processor: IBM PowerPC 750FX (Rev D2.2) with 1090519040 bytes of memory.
Route Processor 1: IBM PowerPC 750FX (Rev D2.2) with 1090519040 bytes of memory.
Route Processor 2: IBM PowerPC 750FX (Rev D2.2) with 1090519040 bytes of memory.

128K bytes of non-volatile configuration memory.

  2 Route Processor Module
  5 Switch Fabric Module
  2 90-port 10/100/1000Base-T line card with mini RJ-21 interfaces 10M CAM (EH)
  4 10-port 10GE LAN/WAN PHY line card with SFP+ options 10M CAM (EH)
  2 FastEthernet/IEEE 802.3 interface(s)
180 GigabitEthernet/IEEE 802.3 interface(s)
 40 Ten GigabitEthernet/IEEE 802.3 interface(s)""",
'terminal length 0':  'terminal length 0\n',
## 'show chassis brief'
'show chassis brief': """show chassis brief
Chassis Type  : E600i     
Chassis Mode  : ExaScale  
Chassis Epoch : 10.4 micro-seconds
Chassis MAC   : 00:01:e8:6d:1c:5c 

--  Line cards  --
Slot  Status        NxtBoot    ReqTyp   CurTyp   Version     Ports
---------------------------------------------------------------------------
  0   online        online     E90MH    E90MH    8.3.1.3e    90     
  1   online        online     EXW10SH  EXW10SH  8.3.1.3e    10     
  2   online        online     EXW10SH  EXW10SH  8.3.1.3e    10     
  3   online        online     EXW10SH  EXW10SH  8.3.1.3e    10     
  4   online        online     EXW10SH  EXW10SH  8.3.1.3e    10     
  5   not present                     
  6   online        online     E90MH    E90MH    8.3.1.3e    90     

--  Route Processor Modules --
Slot  Status        NxtBoot    Version          
---------------------------------------------------------------------------
  0   active        online     8.3.1.3e
  1   standby       online     8.3.1.3e

Switch Fabric State: up
Switch Mode: SFM3

--  Switch Fabric Modules  --
Slot  Status                     
---------------------------------------------------------------------------
  0   active               
  1   active               
  2   active               
  3   active               
  4   active               

--  Power Supplies  --
Bay   Status
---------------------------------------------------------------------------
  0   up              
  1   up              
  2   up              
  3   up              

--  Fan Status  --
Status  Temp   Fan1      Fan2      Fan3     Serial Num    Version   
---------------------------------------------------------------------------
  up    n/a      n/a  RPM  n/a  RPM  n/a  RPM  
""",
}
    snmp_get={}
    snmp_getnext={}
