End-to-end intents
In order to ensure the connectivity between two nodes using intents, we will create a simple topology that consists of two hosts and one OpenFlow switch. You can create commands using endpoint groups.
Getting ready
The ingredients of this recipe require an OpenFlow switch. If you don't have any, you can use a Mininet-VM with OvS installed. You can download Mininet-VM from the website https://github.com/mininet/mininet/wiki/Mininet-VM-Images. Any version should work.
The following recipe will be presented using a Mininet-VM with OvS 2.3.2.
The sample code for this recipe is available at:
https://github.com/jgoodyear/OpenDaylightCookbook/tree/master/chapter1
How to do it...
Perform the following steps:
- Start the OpenDaylight distribution using the
karaf
script. Using this client will give you access to the Karaf CLI:
$ ./bin/karaf
- Install the user-facing feature responsible for pulling in all dependencies needed to connect an OpenFlow switch:
opendaylight-user@root>feature:install...