testexecmgmt/ucc/Source/Uccs.v2/TestScripts/PrivateScripts/script.0005.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-18: Setup multiple MIP Connections
       
    16 #   NOT UP-TO-DATE
       
    17 #
       
    18 runcmd svcid=2	 svchost="penha"		methodid=6 TOKEN="MaxBindings" VALUE="1"
       
    19 quit
       
    20 
       
    21 runcmd svcid=6 svchost="penuu"		methodid=10
       
    22 runcmd svcid=8 svchost="penmn"		methodid=1  CMD="cp --reply=yes /etc/ppp/BACKUP-ip-up.local /etc/ppp/ip-up.local"
       
    23 runcmd svcid=2 svchost="penha"		methodid=13 TIMEOUT=10
       
    24 runcmd svcid=3 svchost="penpdsn"	methodid=13 TIMEOUT=10
       
    25 runcmd svcid=4 svchost="penmn"		methodid=22 TIMEOUT=10
       
    26 
       
    27 #######################################################################################
       
    28 #
       
    29 # Create an MT on the PDSN and the MN
       
    30 #
       
    31 #######################################################################################
       
    32 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
       
    33 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
       
    34 
       
    35 
       
    36 #######################################################################################
       
    37 #
       
    38 # Create a PPP session on the MN and PDSN
       
    39 #
       
    40 #######################################################################################
       
    41 runcmd svcid=7 svchost="penmn"		methodid=3 MADDR="localhost" MPORT=4000 CONFIG="defaultroute noauth 0.0.0.1:192.168.200.20 debug nodetach"
       
    42 runcmd svcid=7 svchost="penpdsn"	methodid=3 MADDR="localhost" MPORT=4000 CONFIG="noauth 192.168.200.20:0.0.0.1 debug nodetach"
       
    43 
       
    44 
       
    45 #######################################################################################
       
    46 #
       
    47 # The PPP session should now be setup.
       
    48 #
       
    49 #######################################################################################
       
    50 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=2000
       
    51 
       
    52 
       
    53 #######################################################################################
       
    54 #
       
    55 # Start the home agent and the foreign agent running, wait a bit, then start the mobile 
       
    56 # node. We then rendezvous so that the device knows that we have completed, and a 
       
    57 # second rendezvous tells when the device is ready for us to continue.
       
    58 #
       
    59 #######################################################################################
       
    60 runcmd svcid=2	 svchost="penha"		methodid=6 TOKEN="MaxBindings" VALUE="0"
       
    61 runcmd svcid=2   svchost="penha"		methodid=3
       
    62 runcmd svcid=3   svchost="penpdsn"		methodid=3
       
    63 runcmd svcid=9   svchost="localhost"	methodid=1 PERIOD=3000
       
    64 runcmd svcid=4	 svchost="penmn"		methodid=3
       
    65 signal 
       
    66 
       
    67 
       
    68 #######################################################################################
       
    69 #
       
    70 # Stop the MN (deregister MIP)
       
    71 #
       
    72 #######################################################################################
       
    73 waitforsignal
       
    74 runcmd svcid=4	svchost="penmn"			methodid=4
       
    75 runcmd svcid=9	svchost="localhost"		methodid=1 PERIOD=2000
       
    76 runcmd svcid=3	svchost="penpdsn"		methodid=4
       
    77 runcmd svcid=2	svchost="penha"			methodid=4
       
    78 runcmd svcid=9  svchost="localhost"		methodid=1 PERIOD=1000
       
    79 
       
    80 
       
    81 #######################################################################################
       
    82 #
       
    83 # Now stop the PPP connection between the MN and the PDSN
       
    84 #
       
    85 #######################################################################################
       
    86 runcmd svcid=7 svchost="penpdsn"	methodid=4 SID=0
       
    87 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    88 runcmd svcid=7 svchost="penpdsn"	methodid=6 SID=0
       
    89 runcmd svcid=7 svchost="penmn"		methodid=4 SID=0
       
    90 runcmd svcid=9 svchost="localhost"	methodid=1 PERIOD=1000
       
    91 runcmd svcid=7 svchost="penmn"		methodid=6 SID=0
       
    92 runcmd svcid=5  svchost="penpdsn"	methodid=6 DEVICEID=0
       
    93 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    94 runcmd svcid=5  svchost="penpdsn"	methodid=7 DEVICEID=0
       
    95 runcmd svcid=5  svchost="penmn"		methodid=6 DEVICEID=0
       
    96 runcmd svcid=9	svchost="localhost"	methodid=1 PERIOD=1000
       
    97 runcmd svcid=5  svchost="penmn"		methodid=7 DEVICEID=0
       
    98 
       
    99 
       
   100 #######################################################################################
       
   101 #
       
   102 # Done
       
   103 #
       
   104 #######################################################################################
       
   105 runcmd svcid=8 svchost="penmn"	methodid=1 CMD="rm -f /etc/ppp/ip-up.local"
       
   106 rendezvous