<div dir="ltr">Thanks for all the hints. Looking at openflow.of_service. Looks interesting.<div><br></div><div>--Sulabh Bista</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 9:49 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im">On Nov 14, 2013, at 6:15 PM, Sulabh Bista <<a href="mailto:sul4bh@gmail.com" target="_blank">sul4bh@gmail.com</a>> wrote:<br>
</div><div><div class="im"><br><blockquote type="cite"><div dir="ltr">Hello everybody.<div><br></div><div>I am learning to use the messenger component. I referenced POXDesk to see some examples on how this could be used (together with the messenger.js library).</div>
<div><br></div>
<div>Now, where do I look for commands (eg, list_switches, get_flow_stats, set_table) that we can use with messenger.js? Do we have a reference for that or where are they derived from?</div></div></blockquote><div><br></div>
</div><div>So those commands are provided by what messenger would call a messenger service. The services are generally a POX component of their own (or possibly as part of another component). In the pox.messenger package, there's the log_service which provides functionality for remotely interacting with the log. There's also some little example services.</div>
<div><br></div><div>The things you mentioned, for working with OpenFlow, are in openflow.of_service.</div><div class="im"><br><blockquote type="cite"><div dir="ltr"><div>Also the wiki mentions " The messenger by itself is really just an API, actual communication is implemented by <i>transports</i> ". What is transports here?</div>
</div></blockquote><br></div></div><div>Transports are how data is actually communicated. See the messenger package in the source code... it contains ajax_transport, web_transport, and tcp_transport modules (the tcp_transport module in dart actually has two transports -- a passive/listening one and an active/connecting one).</div>
<br><div>The messenger package has a fair amount of documentation in it. I've also just expanded the messenger section of the manual (mostly with information in this email).</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-- Murphy</div></font></span></div></blockquote></div><br></div>