# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Juniper.JUNOSe.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 18:39:04
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Juniper_JUNOSe_get_version_Test(ScriptTestCase):
    script="Juniper.JUNOSe.get_version"
    vendor="Juniper"
    platform='ERX-310'
    version='10.0.0 release-0.0'
    input={}
    result={'platform': 'ERX-310',
 'vendor': 'Juniper',
 'version': '10.0.0 release-0.0'}
    motd=' ********\nLogged in on vty 0 via telnet.\nCopyright (c) 1999-2009 Juniper Networks, Inc.  All rights reserved.\n\n'
    cli={
## 'show version'
'show version': """show version
Juniper Edge Routing Switch ERX-310
Copyright (c) 1999-2009 Juniper Networks, Inc.  All rights reserved.
System Release: erx310_10-0-0.rel
\tVersion: 10.0.0 release-0.0 [BuildId 10443]   (January 14, 2009  22:15)
System running for: 100 days, 10 hours, 47 minutes, 4 seconds
\t(since WED SEP 15 2010 08:51:55 MSD)

slot state     type     admin  spare  running release    slot uptime  
---- ------ ---------- ------- ----- ----------------- ---------------
0    online SRP310-10G enabled  ---  erx310_10-0-0.rel 100d10h:44m:23s
1     ---      ---       ---    ---         ---              ---      
2    online GE-HDE-8   enabled  ---  erx310_10-0-0.rel 100d10h:44m:03s
""",
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
