# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## EdgeCore.ES.get_version test
## Auto-generated by manage.py debug-script at 2010-11-26 14:27:50
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class EdgeCore_ES_get_version_Test(ScriptTestCase):
    script="EdgeCore.ES.get_version"
    vendor="EdgeCore"
    platform='ES4626-SFP'
    version='6.0.220.33'
    input={}
    result={"version": "6.0.220.33", "platform": "ES4626-SFP", "vendor": "EdgeCore"}
    motd=''
    cli={
## 'show version 1'
'show version 1': """show version 1
  ES4626-SFP Device, Compiled on Apr 23 14:41:49 2010
  SoftWare Version ES4626-SFP_6.0.220.33
  BootRom Version ES4626-SFP_1.7.0
  HardWare Version 3.0
  Copyright (C) 2001-2007 by Accton Technology Corp.
  All rights reserved
  Uptime is 10 weeks, 4 days, 0 hours, 40 minutes""",
## 'show system'
'show system': """show system
                             ^
% Invalid input detected at '^' marker.
""",
}
    snmp_get={}
    snmp_getnext={}
