Changes between Version 30 and Version 31 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute
- Timestamp:
- 09/23/13 10:37:37 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowOVS/Execute
v30 v31 265 265 }}} 266 266 267 2. On your OVS host open the myProxy.py file, and edit it to implement a controller that will diverge traffic destined for `host2` to `host3`. Before you start implementing think about what are the side effects of diverging traffic to a different host.267 2. On your OVS host open the /local/pox/ext/P/myProxy.py file, and edit it to implement a controller that will diverge traffic destined for `host2` to `host3`. Before you start implementing think about what are the side effects of diverging traffic to a different host. 268 268 * Is it enough to just change the IP address? 269 269 * Is it enough to just modify the TCP packets? 270 If you want to see the solution, its in file Proxy.py file. 271 272 3. To test your controller run: 270 271 3. If you want to see the solution, it's available in file /local/pox/ext/Proxy.py file. 272 273 4. To test your proxy controller run: 273 274 {{{ 274 275 ./pox.py --verbose myProxy 275 276 }}} 276 4. Go back to the terminal of `host1` and try to connect to `host2` port 5000 277 278 5. Go back to the terminal of `host1` and try to connect to `host2` port 5000 277 279 {{{ 278 280 nc 10.10.1.2 5000 279 281 }}} 280 If your controller works correctly you should see your text showing up on the terminal of `host3`. 282 283 6. If your controller works correctly, you should see your text showing up on the terminal of `host3`. 281 284 282 285 ----