Changes between Version 13 and Version 14 of GEC21Agenda/ChoiceNet/run_tests_part2
- Timestamp:
- 10/18/14 00:17:49 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC21Agenda/ChoiceNet/run_tests_part2
v13 v14 1 1 Navigation: [wiki:GEC21Agenda/ChoiceNet/start Up] 2 2 3 After Step 2: Configure and Install ChoiceNet Software, we already have the Choicenet Framework setup. If you want to try the SDN implementation ofChoiceNet, you can follow this part of instructions.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. 4 4 5 5 ---- 6 = Start ChoiceNet server and app =6 = Start !ChoiceNet server and app = 7 7 8 8 … … 23 23 this will start both the marketplace and controller. 24 24 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.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. 26 26 27 27 '''On TERMINAL 2 (H2 node)''' … … 33 33 When asked for username and password, please use the following account: 34 34 35 Username:customer@choicenet.info35 ''' Username ''': !customer@choicenet.info 36 36 37 Password: customer37 ''' Password ''': customer 38 38 39 39 After 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. … … 58 58 }}} 59 59 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.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. 61 61 62 62 Select one for each, then you will be asked to pay for the path service on a webpage. … … 66 66 Copy the link to your browser, and pay for the service using paypal. You can use the test paypal account: 67 67 68 Username:customer@choicenet.info68 ''' Username ''': !customer@choicenet.info 69 69 70 Password: customer70 ''' Password ''': customer 71 71 72 72 [[Image(screenshot_SDN_03.jpg, 100%)]] 73 73 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: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: 75 75 76 76 … … 93 93 = Test 2: mplayer = 94 94 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.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. 96 96 97 97 The 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: