Oops sorry my mistake :D
That's why I was not getting it. In fact I am too tired. Thank you so so
much. :)
On Wed, Oct 30, 2013 at 2:36 PM, Murphy McCauley
wrote:
> On Oct 30, 2013, at 2:23 AM, Sayed Qaiser Ali Shah Shah <
> 11msitqs...@seecs.edu.pk> wrote:
>
> Thanks to both of you. I got what
On Oct 30, 2013, at 2:23 AM, Sayed Qaiser Ali Shah Shah
<11msitqs...@seecs.edu.pk> wrote:
> Thanks to both of you. I got what you want to say. Thanks Murphy for
> explaining it clearly. I will try this.
>
> What I have done till now is:
> I sent flow stats request to switch from pox controller
Thanks to both of you. I got what you want to say. Thanks Murphy for
explaining it clearly. I will try this.
What I have done till now is:
I sent flow stats request to switch from pox controller and in response of
that request I got reply from switch. I am sharing the code
def _handle_flowstats
I suggested that you keep track of the entries yourself in a normal Python data
structure. Durga was then nice enough to sketch out this approach. And there
are actually concrete examples in POX's demo components too. l2_learning and
l2_pairs both do something similar.
In l2_learning, each L
Hi Sayed,
My 2 cents as below..
Just to put Murphy's words into examples- please find below
while initialising the controller, create a mac adde dictionary like below
def __init__(self):
# as soon as the module is hooked initialise..
self.macaddrtable = {}
as a
I am using l2_learning switch and as l2 is based on MAC. But I am unable to
get MAC from it. I can get stats from but am unable to get MAC address.
On Wed, Oct 30, 2013 at 1:46 PM, Murphy McCauley
wrote:
> You want to compare to entries in the flow table of a particular switch?
> This seems lik
You want to compare to entries in the flow table of a particular switch? This
seems like a sort of strange thing to want. But the easiest way to do it is to
keep track of what flow entries you installed in a normal Python data structure
like a set or dictionary and check if the MAC is in there
Hello everyone,
Using POX controller I want to compare Mac addresses from packet in and
flow table. As we can get source mac from packet in by using packet.src but
I don't know how can we get source mac and destination MAC from table. What
I want to do is:
Lets say source mac from table is table.s