# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Alcatel.TIMOS.get_version test
## Auto-generated by manage.py debug-script at 2011-01-22 19:32:06
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Alcatel_TIMOS_get_version_Test(ScriptTestCase):
    script="Alcatel.TIMOS.get_version"
    vendor="Alcatel"
    platform='Alcatel.TIMOS'
    version='C-8.0.R3'
    input={}
    result={'platform': '7750 SR-7', 'vendor': 'Alcatel', 'version': 'C-8.0.R3'}
    motd='\n\n-- Access only for authorised users. Any other attempts of the access will be logged.\n\n'
    cli={
'environment no more':  ' environment no more \n',
## 'show system information'
'show system information': """ show system information 

===============================================================================
System Information
===============================================================================
System Name            : 
System Type            : 7750 SR-7
System Version         : C-8.0.R3
System Contact         : 
System Location        : 
System Coordinates     : 
System Active Slot     : A
System Up Time         : 47 days, 00:19:18.51 (hr:min:sec)
 
SNMP Port              : 161
SNMP Engine ID         : 0000197f00008c90d343e401
SNMP Max Message Size  : 1500
SNMP Admin State       : Enabled
SNMP Oper State        : Enabled
SNMP Index Boot Status : Not Persistent
SNMP Sync State        : OK
 
Tel/Tel6/SSH/FTP Admin : Enabled/Disabled/Enabled/Enabled
Tel/Tel6/SSH/FTP Oper  : Up/Down/Up/Up
 
BOF Source             : cf3:
Image Source           : primary
Config Source          : primary
Last Booted Config File: cf3:\\config.cfg
Last Boot Cfg Version  : WED OCT 27 06:48:29 2010 UTC
Last Boot Config Header: # TiMOS-C-8.0.R3 cpm/hops ALCATEL SR 7750 Copyright
                         (c) 2000-2010 Alcatel-Lucent. # All rights reserved.
                         All use subject to applicable license agreements. #
                         Built on Mon May 10 16:13:14 PDT 2010 by builder in
                         /rel8.0/b1/R3/panos/main # Generated WED OCT 27
                         06:48:29 2010 UTC
Last Boot Index Version: N/A
Last Boot Index Header : # TiMOS-C-8.0.R3 cpm/hops ALCATEL SR 7750 Copyright
                         (c) 2000-2010 Alcatel-Lucent. # All rights reserved.
                         All use subject to applicable license agreements. #
                         Built on Mon May 10 16:13:14 PDT 2010 by builder in
                         /rel8.0/b1/R3/panos/main # Generated WED OCT 27
                         06:48:29 2010 UTC
Last Saved Config      : cf3:\\config.cfg
Time Last Saved        : 2011/01/21 12:55:44
Changes Since Last Save: Yes
User Last Modified     : some
Time Last Modified     : 2011/01/22 12:03:24
Max Cfg/BOF Backup Rev : 5
Cfg-OK Script          : N/A
Cfg-OK Script Status   : not used
Cfg-Fail Script        : N/A
Cfg-Fail Script Status : not used
 
Management IP Addr     : 
Primary DNS Server     : 
Secondary DNS Server   : 
Tertiary DNS Server    : N/A
DNS Domain             : 
DNS Resolve Preference : ipv4-only
BOF Static Routes      :  
  To                   Next Hop            
ATM Location ID        : 01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
ATM OAM Retry Up       : 2
ATM OAM Retry Down     : 4
ATM OAM Loopback Period: 10
 
ICMP Vendor Enhancement: Disabled
===============================================================================""",
}
    snmp_get={}
    snmp_getnext={}
