testexecmgmt/ucc/Source/Uccs.v2/TestScripts/PrivateScripts/script.0004.ucd
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 #
       
     2 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #   USE-CASE-17: Setup multiple PPP connections
       
    16 #   NOT UP-TO-DATE
       
    17 #   Testing multiple PPP connections
       
    18 #
       
    19 runcmd svcid=6 svchost="penuu"	methodid=10
       
    20 
       
    21 #######################################################################################
       
    22 #
       
    23 # Create an two MTs on the PDSN and the MN
       
    24 #
       
    25 #######################################################################################
       
    26 runcmd svcid=5 svchost="penmn"		methodid=3 CHANNEL_TYPE=1 CHANNEL_ADDR="localhost" CHANNEL_PORT=4000 AIR_OUTADDR="192.169.10.11" AIR_OUTPORT=5000 AIR_INPORT=5000 DATALINKCONFIG=2 FILTERCONFIG=1
       
    27 runcmd svcid=5 svchost="penpdsn"	methodid=3 CHANNEL_TYPE=1 CHANNEL_ADDR="localhost" CHANNEL_PORT=4000 AIR_OUTADDR="10.22.1.6" AIR_OUTPORT=5000 AIR_INPORT=5000 DATALINKCONFIG=2 FILTERCONFIG=1
       
    28 runcmd svcid=5 svchost="penmn"		methodid=3 CHANNEL_TYPE=1 CHANNEL_ADDR="localhost" CHANNEL_PORT=4001 AIR_OUTADDR="192.169.10.11" AIR_OUTPORT=5001 AIR_INPORT=5001 DATALINKCONFIG=2 FILTERCONFIG=1
       
    29 runcmd svcid=5 svchost="penpdsn"	methodid=3 CHANNEL_TYPE=1 CHANNEL_ADDR="localhost" CHANNEL_PORT=4001 AIR_OUTADDR="10.22.1.6" AIR_OUTPORT=5001 AIR_INPORT=5001 DATALINKCONFIG=2 FILTERCONFIG=1
       
    30 
       
    31 #######################################################################################
       
    32 #
       
    33 # Create a PPP session on the MN and PDSN
       
    34 #
       
    35 #######################################################################################
       
    36 runcmd svcid=7 svchost="penmn"		methodid=3 MADDR="localhost" MPORT=4000 CONFIG="nodeflate noaccomp defaultroute noauth debug nodetach"
       
    37 runcmd svcid=7 svchost="penpdsn"	methodid=3 MADDR="localhost" MPORT=4000 CONFIG="plugin dynip.so nodeflate noaccomp noauth 192.168.200.20:192.168.200.0 debug nodetach"
       
    38 runcmd svcid=7 svchost="penmn"		methodid=3 MADDR="localhost" MPORT=4001 CONFIG="nodeflate noaccomp defaultroute noauth debug nodetach"
       
    39 runcmd svcid=7 svchost="penpdsn"	methodid=3 MADDR="localhost" MPORT=4001 CONFIG="plugin dynip.so nodeflate noaccomp noauth 192.168.200.20:192.168.200.0 debug nodetach"
       
    40 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    41 signal
       
    42 
       
    43 #######################################################################################
       
    44 #
       
    45 # The PPP session should now be setup. 
       
    46 #
       
    47 #######################################################################################
       
    48 
       
    49 #######################################################################################
       
    50 #
       
    51 # Cleanup the PPP session (MN and PDSN) (hardcode session ID as zero) retrieving all the logs
       
    52 #
       
    53 #######################################################################################
       
    54 waitforsignal
       
    55 runcmd svcid=7 svchost="penpdsn"	methodid=4 SID=0
       
    56 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    57 runcmd svcid=7 svchost="penpdsn"	methodid=6 SID=0
       
    58 runcmd svcid=7 svchost="penpdsn"	methodid=4 SID=1
       
    59 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    60 runcmd svcid=7 svchost="penpdsn"	methodid=6 SID=1
       
    61 signal
       
    62 
       
    63 waitforsignal
       
    64 runcmd svcid=7 svchost="penmn"		methodid=4 SID=1
       
    65 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    66 runcmd svcid=7 svchost="penmn"		methodid=6 SID=1
       
    67 runcmd svcid=7 svchost="penmn"		methodid=4 SID=0
       
    68 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    69 runcmd svcid=7 svchost="penmn"		methodid=6 SID=0
       
    70 signal
       
    71 
       
    72 #######################################################################################
       
    73 #
       
    74 # Cleanup mobster -- retrieving the logs (MN and PDSN)
       
    75 #
       
    76 #######################################################################################
       
    77 runcmd svcid=5  svchost="penpdsn"	methodid=6 DEVICEID=0
       
    78 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    79 runcmd svcid=5  svchost="penpdsn"	methodid=7 DEVICEID=0
       
    80 runcmd svcid=5  svchost="penmn"		methodid=6 DEVICEID=0
       
    81 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    82 runcmd svcid=5  svchost="penmn"		methodid=7 DEVICEID=0
       
    83 
       
    84 runcmd svcid=5  svchost="penpdsn"	methodid=6 DEVICEID=1
       
    85 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    86 runcmd svcid=5  svchost="penpdsn"	methodid=7 DEVICEID=1
       
    87 runcmd svcid=5  svchost="penmn"		methodid=6 DEVICEID=1
       
    88 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    89 runcmd svcid=5  svchost="penmn"		methodid=7 DEVICEID=1
       
    90 
       
    91 
       
    92 #######################################################################################
       
    93 #
       
    94 # We should be back to our original state now -- quit
       
    95 #
       
    96 #######################################################################################
       
    97 rendezvous