# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_portchannel test
## Auto-generated by manage.py debug-script at 2010-12-02 12:10:35
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DxS_get_portchannel_Test(ScriptTestCase):
    script="DLink.DxS.get_portchannel"
    vendor="DLink"
    platform='DGS-3627G'
    version='2.55.B10'
    input={}
    result=[{'interface': 'T1', 'members': ['15', '16'], 'type': 'L'}]
    motd=' \n\n                      DGS-3627G Gigabit Ethernet Switch\n                            Command Line Interface\n\n                           Firmware: Build 2.55.B10\n           Copyright(C) 2010 D-Link Corporation. All rights reserved.\n\n'
    cli={
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

Success.                                                          
""",
## 'show link_aggregation'
'show link_aggregation': """show link_aggregation
Command: show link_aggregation

Link Aggregation Algorithm = IP-Source
Group ID      : 1
Type          : LACP
Master Port   : 15
Member Port   : 15-16
Active Port   : 15-16
Status        : Enabled
Flooding Port : 15 

Group ID      : 2
Type          : TRUNK
Master Port   : 5
Member Port   : 5,7-8
Active Port   : 
Status        : Disabled
Flooding Port :  


Total Entries : 2

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