Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- ##----------------------------------------------------------------------
- ## Qtech.QSW.get_arp test
- ## Auto-generated by ./noc debug-script at 22.10.2012 17:48:37
- ##----------------------------------------------------------------------
- ## Copyright (C) 2007-2012 The NOC Project
- ## See LICENSE for details
- ##----------------------------------------------------------------------
- ## NOC modules
- from noc.lib.test import ScriptTestCase
- class Qtech_QSW_get_arp_Test(ScriptTestCase):
- script = "Qtech.QSW.get_arp"
- vendor = "Qtech"
- platform = "<<<INSERT YOUR PLATFORM HERE>>>"
- version = "<<<INSERT YOUR VERSION HERE>>>"
- input = {}
- result = [{'interface': 'e1/1', 'ip': '172.20.0.1', 'mac': '00:1F:CE:10:39:4C'}]
- motd = ''
- cli = {
- ## 'show arp all'
- 'show arp all': """show arp all
- Informations of ARP
- IpAddress Mac_Address VLAN ID Port Type expireTime Status
- 172.20.0.1 00:1f:ce:10:39:4c 201 e1/1 Dynamic 18min57sec valid
- 172.20.0.2 00:1f:ce:10:33:e2 N/A N/A Static 00sec valid
- Total entries:2
- """,
- }
- snmp_get = {}
- snmp_getnext = {}
- http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement