Changes between Version 13 and Version 14 of GEC21Agenda/ChoiceNet/run_tests_part2


Ignore:
Timestamp:
10/18/14 00:17:49 (5 years ago)
Author:
xinming@umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ChoiceNet/run_tests_part2

    v13 v14  
    11Navigation: [wiki:GEC21Agenda/ChoiceNet/start Up]
    22
    3 After Step 2: Configure and Install ChoiceNet Software, we already have the Choicenet Framework setup. If you want to try the SDN implementation of ChoiceNet, you can follow this part of instructions.
     3After Step 2: Configure and Install !ChoiceNet Software, we already have the !ChoiceNet Framework setup. If you want to try the SDN implementation of !ChoiceNet, you can follow this part of instructions.
    44
    55----
    6 = Start ChoiceNet server and app =
     6= Start !ChoiceNet server and app =
    77
    88
     
    2323this will start both the marketplace and controller.
    2424
    25 Open up two ssh session terminals to the H2 Node ( we can call them '''TERMINAL 2''' and '''TERMINAL 3''' ). First run the Choicenet App on '''TERMINAL 2'''. The Choicenet App will communicate with marketplace to request for path service and deal with payment.
     25Open up two ssh session terminals to the H2 Node ( we can call them '''TERMINAL 2''' and '''TERMINAL 3''' ). First run the !ChoiceNet App on '''TERMINAL 2'''. The !ChoiceNet App will communicate with marketplace to request for path service and deal with payment.
    2626
    2727'''On TERMINAL 2 (H2 node)'''
     
    3333When asked for username and password, please use the following account:
    3434
    35 Username: customer@choicenet.info
     35''' Username ''': !customer@choicenet.info
    3636
    37 Password: customer
     37''' Password ''': customer
    3838
    3939After login, the app will intercept any TCP SYN packets with destination IP 10.0.0.0/8 and destination port 8080 or 443. Once it intercepts a packet, it communicates with the marketplace and requests for a path service with 3-minute duration. This means it is compatible with almost any existing network applications, here we will use wget and mplayer as two examples.
     
    5858}}}
    5959
    60 After executing this command, switch to '''TERMINAL 2''', you will see the ChoiceNet App gives you several options about the forward and revert path. Each path is valid for 3 minutes.
     60After executing this command, switch to '''TERMINAL 2''', you will see the !ChoiceNet App gives you several options about the forward and revert path. Each path is valid for 3 minutes.
    6161
    6262Select one for each, then you will be asked to pay for the path service on a webpage.
     
    6666Copy the link to your browser, and pay for the service using paypal. You can use the test paypal account:
    6767
    68 Username: customer@choicenet.info
     68''' Username ''': !customer@choicenet.info
    6969
    70 Password: customer
     70''' Password ''': customer
    7171
    7272[[Image(screenshot_SDN_03.jpg, 100%)]]
    7373
    74 After you have paid, click the "Return to marketplace@choicenet.info". After the webpage redirection, the marketplace will be notified about this payment, and the download should start. You will see the output on TERMINAL 3:
     74After you have paid, click the "Return to !marketplace@choicenet.info". After the webpage redirection, the marketplace will be notified about this payment, and the download should start. You will see the output on TERMINAL 3:
    7575
    7676
     
    9393= Test 2: mplayer =
    9494
    95 One possible use case of ChoiceNet is the on-demand online video streaming. In this test, we are using mplayer to stream a video from H1 to H2, and print the statistics on H2. You will see the playback quality varies for different choices.
     95One possible use case of !ChoiceNet is the on-demand online video streaming. In this test, we are using mplayer to stream a video from H1 to H2, and print the statistics on H2. You will see the playback quality varies for different choices.
    9696
    9797The steps of testing with mplayer is similar to testing with wget, just repeat the commands in Test 1, but replace the wget command with the following command: