# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_interface_status test
## Auto-generated by manage.py debug-script at 2011-01-14 11:49:14
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DxS_get_interface_status_Test(ScriptTestCase):
    script="DLink.DxS.get_interface_status"
    vendor="DLink"
    platform='DES-3010G'
    version='4.30.B23'
    input={}
    result=[{'interface': '1', 'status': True},
 {'interface': '2', 'status': False},
 {'interface': '3', 'status': False},
 {'interface': '4', 'status': False},
 {'interface': '5', 'status': False},
 {'interface': '6', 'status': False},
 {'interface': '7', 'status': True},
 {'interface': '8', 'status': True},
 {'interface': '9', 'status': False},
 {'interface': '10', 'status': False}]
    motd='******\n\n'
    cli={
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

Success   
""",
## 'cable_diag ports all'
'cable_diag ports all': """cable_diag ports all
Command: cable_diag ports all

 Perform Cable Diagnostics ...

 Port   Type      Link Status          Test Result          Cable Length (M)
 ----  -------  --------------  -------------------------  -----------------
  1      FE        Link Up       OK                                71
  2      FE        Link Down     No Cable                          -
  3      FE        Link Down     No Cable                          -
  4      FE        Link Down     No Cable                          -
  5      FE        Link Down     No Cable                          -
  6      FE        Link Down     No Cable                          -
  7      FE        Link Up       OK                                1
  8      FE        Link Up       OK                                3
  9      GE        Link Down     Not Support                       -
  10    Fiber      Link Down     Not Support                       -
""",
}
    snmp_get={}
    snmp_getnext={}
