# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_interface_status test
## Auto-generated by manage.py debug-script at 2011-04-12 10:16:49
##----------------------------------------------------------------------
## 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='DGS-3120-24TC'
    version='1.00.028'
    input={}
    result=[{'interface': '1:1', 'status': False},
 {'interface': '1:2', 'status': False},
 {'interface': '1:3', 'status': False},
 {'interface': '1:4', 'status': False},
 {'interface': '1:5', 'status': False},
 {'interface': '1:6', 'status': False},
 {'interface': '1:7', 'status': False},
 {'interface': '1:8', 'status': False},
 {'interface': '1:9', 'status': False},
 {'interface': '1:10', 'status': False},
 {'interface': '1:11', 'status': False},
 {'interface': '1:12', 'status': False},
 {'interface': '1:13', 'status': False},
 {'interface': '1:14', 'status': False},
 {'interface': '1:15', 'status': False},
 {'interface': '1:16', 'status': False},
 {'interface': '1:17', 'status': False},
 {'interface': '1:18', 'status': False},
 {'interface': '1:19', 'status': False},
 {'interface': '1:20', 'status': False},
 {'interface': '1:21', 'status': False},
 {'interface': '1:22', 'status': False},
 {'interface': '1:23', 'status': False},
 {'interface': '1:24', 'status': True}]
    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:1      GE        Link Down     No Cable                          -
 1:2      GE        Link Down     No Cable                          -
 1:3      GE        Link Down     No Cable                          -
 1:4      GE        Link Down     No Cable                          -
 1:5      GE        Link Down     No Cable                          -
 1:6      GE        Link Down     No Cable                          -
 1:7      GE        Link Down     No Cable                          -
 1:8      GE        Link Down     No Cable                          -
 1:9      GE        Link Down     No Cable                          -
 1:10     GE        Link Down     No Cable                          -
 1:11     GE        Link Down     No Cable                          -
 1:12     GE        Link Down     No Cable                          -
 1:13     GE        Link Down     No Cable                          -
 1:14     GE        Link Down     No Cable                          -
 1:15     GE        Link Down     No Cable                          -
 1:16     GE        Link Down     No Cable                          -
 1:17     GE        Link Down     No Cable                          -
 1:18     GE        Link Down     No Cable                          -
 1:19     GE        Link Down     No Cable                          -
 1:20     GE        Link Down     No Cable                          -
 1:21     GE        Link Down     No Cable                          -
 1:22     GE        Link Down     No Cable                          -
 1:23     GE        Link Down     No Cable                          -
 1:24     GE        Link Up       OK                                2

""", 
}
    snmp_get={}
    snmp_getnext={}
