# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Juniper.JUNOSe.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 18:37:06
##----------------------------------------------------------------------
## 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.3.0 release-0.0'
    input={}
    result={'platform': 'ERX-310',
 'vendor': 'Juniper',
 'version': '10.3.0 release-0.0'}
    motd=' ********\nLogged in on vty 1 via SSH.\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-3-0.rel
\tVersion: 10.3.0 release-0.0 [BuildId 11492]   (October 16, 2009  12:14)
System running for: 373 days, 17 hours, 22 minutes, 16 seconds
\t(since WED DEC 16 2009 01:14:46 MSD)

slot state     type     admin  spare  running release    slot uptime  
---- ------ ---------- ------- ----- ----------------- ---------------
0    online SRP310-10G enabled  ---  erx310_10-3-0.rel 373d17h:19m:28s
1     ---      ---       ---    ---         ---              ---      
2    online GE-HDE-8   enabled  ---  erx310_10-3-0.rel 373d17h:19m:02s
""",
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
