# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Force10.FTOS.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-22 14:24:26
##----------------------------------------------------------------------
## 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='S50N'
    version='8.3.2.0'
    input={}
    result='00:01:E8:D6:2F:7A'
    motd=' \n'
    cli={
## 'show system brief'
'show system brief': """show system brief

Stack MAC : 00:01:e8:d6:2f:7a

--  Stack Info  --
Unit  UnitType     Status         ReqTyp      CurTyp      Version     Ports
---------------------------------------------------------------------------
  0   Management   online         S50N        S50N        8.3.2.0     52     
  1   Member       not present                
  2   Member       not present                
  3   Member       not present                
  4   Member       not present                
  5   Member       not present                
  6   Member       not present                
  7   Member       not present                

--  Module Info  --
Unit  Module No   Status        Module Type        Ports
---------------------------------------------------------------------------
  0   0           not present   No Module           0  
  0   1           not present   No Module           0  

--  Power Supplies  --
Unit   Bay   Status       Type
---------------------------------------------------------------------------
  0     0     up            AC 
  0     1     absent          

--  Fan  Status  --
Unit   TrayStatus  Speed    Fan0    Fan1    Fan2    Fan3    Fan4    Fan5    
--------------------------------------------------------------------------------
 0     up          low      up      up      up      up      up      up      
""",
## '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.2.0
Copyright (c) 1999-2010 by Force10 Networks, Inc.
Build Time: Wed Jul 7 18:35:25 PDT 2010
Build Path: /sites/sjc/work/build/buildSpaces/build12/E8-3-2/SW/SRC
sw-18 uptime is 14 week(s), 2 day(s), 2 hour(s), 50 minute(s)

System Type: S50N 
Control Processor: Freescale MPC8541E with 268435456 bytes of memory.

32M bytes of boot flash memory.

  1 48-port E/FE/GE (SB)
 48 GigabitEthernet/IEEE 802.3 interface(s)""",
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
