<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">Hi Amer,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300"><br>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#993300">I am not too sure if I understand your question,but to my current learning, all the above fields can be collected as in_port.src (mac ID), event.dpid (switch connection) and event.port( inport).</div>

</div><div class="gmail_extra"><br clear="all"><div>Cheers!<br>Durga<br><br></div>
<br><br><div class="gmail_quote">On Sat, Nov 23, 2013 at 10:47 PM, Amer <span dir="ltr"><<a href="mailto:amer7777@hotmail.com" target="_blank">amer7777@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I want to collect MAC addresses of each host in the network and switch they connect to and port number.<br>
I think about DHCP and openflow discovery, but I do not know how to combine them.<br>
<br>
<br>
Best regards,<br>
Amer<br>
</blockquote></div><br></div>