DocumentsDownloadsWikiCommunityBlogAbout

LAVI:Extension

From OpenFlow Wiki

Jump to: navigation, search

Overview

In LAVI, messages from the frontend is received and posted as Book_msg_event. The event contains the message (read doxygen documentation for the exact protocol format), and reference to the socket it is received on. This allows a reply to be sent easily. The following should be done in your component

  1. Register for Book_msg_event
  2. Also put your component in nox.xml, making sure it is in the desired order.
  3. Make sure your component clear any state associated with a connection, when the connection has a BOOKT_DISCONNECT message posted.

Within LAVI, golems can be used to pack (the header part) and send all the packets to/from the frontend. This make sure the length of the packet is correctly packed, which goes a long way in preventing weird behaviors.

Tutorial

(Coming soon...)

Copyright 2008 by the OpenFlow Consortium. All rights reserved. Powered by MediaWiki and WordPress.