Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Links to Static Entry Pusher code are provided throughout this tutorial to the master branch implementation. Excerpts from these links are provided to facilitate talking points.


  On a high-level, there are four steps to implementing a REST API in Floodlight: 

...

Note that this should not go in init(), since we need IRestApi's startup() function to be called (fully setting up the service). As we can see, an instance of your RestletRoutable implementation is created. The great news is that the IRestApiService and Restlet take it from here. Nothing more to do other than issue commands to our new REST API and enjoy :-)

Questions, comments? Shoot us an email at floodlight-dev@openflowhub.org Write to our email list.