Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. ##----------------------------------------------------------------------
  3. ## Qtech.QSW.get_arp test
  4. ## Auto-generated by ./noc debug-script at 22.10.2012 17:48:37
  5. ##----------------------------------------------------------------------
  6. ## Copyright (C) 2007-2012 The NOC Project
  7. ## See LICENSE for details
  8. ##----------------------------------------------------------------------
  9.  
  10. ## NOC modules
  11. from noc.lib.test import ScriptTestCase
  12.  
  13.  
  14. class Qtech_QSW_get_arp_Test(ScriptTestCase):
  15. script = "Qtech.QSW.get_arp"
  16. vendor = "Qtech"
  17. platform = "<<<INSERT YOUR PLATFORM HERE>>>"
  18. version = "<<<INSERT YOUR VERSION HERE>>>"
  19. input = {}
  20. result = [{'interface': 'e1/1', 'ip': '172.20.0.1', 'mac': '00:1F:CE:10:39:4C'}]
  21. motd = ''
  22. cli = {
  23. ## 'show arp all'
  24. 'show arp all': """show arp all
  25. Informations of ARP
  26. IpAddress Mac_Address VLAN ID Port Type expireTime Status
  27. 172.20.0.1 00:1f:ce:10:39:4c 201 e1/1 Dynamic 18min57sec valid
  28. 172.20.0.2 00:1f:ce:10:33:e2 N/A N/A Static 00sec valid
  29.  
  30. Total entries:2
  31. """,
  32. }
  33. snmp_get = {}
  34. snmp_getnext = {}
  35. http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement