In order to have a simple traffic redirection using intents, we will create a simple topology that consists of three hosts and one OpenFlow switch. We will use commands using the MAC address.
Traffic redirection with intents
Getting ready
The sample code for this recipe is available at:
https://github.com/jgoodyear/OpenDaylightCookbook/tree/master/chapter9/chapter9-recipe3
This demo requires an OpenFlow switch. If you don't have any, you can use a Mininet-VM with OvS installed.
How to do it...
Perform the following steps:
- Start the OpenDaylight distribution using...