Advertisement
Guest User

Untitled

a guest
Mar 7th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. ##----------------------------------------------------------------------
  3. ## Cisco.IOS.get_version test
  4. ## Auto-generated by ./noc debug-script at 07.03.2012 14:29:21
  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 Cisco_IOS_get_version_Test(ScriptTestCase):
  15. script = "Cisco.IOS.get_version"
  16. vendor = "Cisco"
  17. platform = "3700"
  18. version = "12.3(14)T7"
  19. input = {}
  20. result = {'attributes': {'image': 'C3745-ADVENTERPRISEK9-M'},
  21. 'platform': '3700',
  22. 'vendor': 'Cisco',
  23. 'version': '12.3(14)T7'}
  24. motd = ''
  25. cli = {
  26. ## 'show version'
  27. 'show version': """show version
  28. Cisco IOS Software, 3700 Software (C3745-ADVENTERPRISEK9-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
  29. Technical Support: http://www.cisco.com/techsupport
  30. Copyright (c) 1986-2006 by Cisco Systems, Inc.
  31. Compiled Thu 23-Mar-06 00:27 by pwade
  32.  
  33. ROM: System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)
  34.  
  35. crt01-koz-ltc uptime is 1 year, 17 weeks, 4 hours, 21 minutes
  36. System returned to ROM by power-on
  37. System image file is "flash:c3745-adventerprisek9-mz.123-14.T7.bin"
  38.  
  39.  
  40. This product contains cryptographic features and is subject to United
  41. States and local country laws governing import, export, transfer and
  42. use. Delivery of Cisco cryptographic products does not imply
  43. third-party authority to import, export, distribute or use encryption.
  44. Importers, exporters, distributors and users are responsible for
  45. compliance with U.S. and local country laws. By using this product you
  46. agree to comply with applicable laws and regulations. If you are unable
  47. to comply with U.S. and local laws, return this product immediately.
  48.  
  49. A summary of U.S. laws governing Cisco cryptographic products may be found at:
  50. http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
  51.  
  52. If you require further assistance please contact us by sending email to
  53. export@cisco.com.
  54.  
  55. Cisco 3745 (R7000) processor (revision 2.0) with 180224K/16384K bytes of memory.
  56. Processor board ID JHY0739K0R2
  57. R7000 CPU at 350MHz, Implementation 39, Rev 3.3, 256KB L2, 2048KB L3 Cache
  58. 2 FastEthernet interfaces
  59. 16 Serial interfaces
  60. DRAM configuration is 64 bits wide with parity disabled.
  61. 151K bytes of NVRAM.
  62. 62592K bytes of ATA System CompactFlash (Read/Write)
  63.  
  64. Configuration register is 0x2102
  65. """,
  66. 'terminal length 0': 'terminal length 0\n',
  67. }
  68. snmp_get = {}
  69. snmp_getnext = {}
  70. http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement