Changes between Version 22 and Version 23 of GENIExperimenter/Tutorials/OpenFlowRyu/Execute
- Timestamp:
- 05/22/17 10:23:52 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowRyu/Execute
v22 v23 210 210 i. '''myDuplicateTraffic.py''' : This is the file that has instructions about how to complete the missing information. Go ahead and try to implement your first controller. 211 211 ii. '''!DuplicateTraffic.py''' : This has the actual solution. You can just run this if you don't want to bother with writing a controller. 212 iii. '''duplicate.config''' : in this file, you need to specify which port you want to duplicate traffic to. We will be duplicating host2 traffic and send ing it to host3. To figure out which port maps to which interface, use "sudo ovs-ofctl show br0". (You can use any editor to edit the file, e.g. use nano by typing sudo nano duplicate.config)212 iii. '''duplicate.config''' : in this file, you need to specify which port you want to duplicate traffic to. We will be duplicating host2 traffic and send it to host3, so put host3 port number here. We noted down port numbers in section 2a. To figure out which port maps to which interface, use can also use "sudo ovs-ofctl show br0" on ovs node. (You can use any editor to edit the file, e.g. use nano by typing "sudo nano duplicate.config") 213 213 214 214 3. Run your newly written controller to duplicate traffic on the <data_interface_name> that corresponds to ''OVS:if2'' (which is connected to `host3`. We also noted it down in section 2a ):