# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## EdgeCore.ES.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 19:02:02
##----------------------------------------------------------------------
## 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='ES3510MA'
    version='1.2.4.2'
    input={}
    result={'platform': 'ES3510MA', 'vendor': 'EdgeCore', 'version': '1.2.4.2'}
    motd=' \n\n      CLI session with the ES3510MA is opened.\n      To end the CLI session, enter [Exit].\n\n'
    cli={
## 'show version'
'show version': """show version
Unit 1
 Serial Number          : 017001485
 Hardware Version       : R01
 EPLD Version           : 0.00
 Number of Ports        : 10
 Main Power Status      : Up
 Role                   : Master
 Loader Version         :  0.0.1.5
 Linux Kernel Version   : 2.6.22.18
 Boot ROM Version       : 0.0.0.1
 Operation Code Version : 1.2.4.2
""",
## 'show system'
'show system': """show system
System Description : ES3510MA
System OID String  : 1.3.6.1.4.1.259.8.1.11
System Information
 System Up Time         : 7 days, 8 hours, 41 minutes, and 51.99 seconds
 System Name            : MilkFactory
 System Location        : 
 System Contact         : 
 MAC Address (Unit 1)   : 70-72-CF-07-9B-00
 Web Server             : Enabled
 Web Server Port        : 80
 Web Secure Server      : Enabled
 Web Secure Server Port : 443
 Telnet Server          : Enabled
 Telnet Server Port     : 23
 Jumbo Frame            : Disabled """,
}
    snmp_get={}
    snmp_getnext={}
