Re: [nox-dev] some explanations about the pyswitch code

2011-03-28 Thread Murphy McCauley
Hi. Hopefully I can shed some light... 1: The least significant bit in the most significant byte of an ethernet address indicates whether it's a multicast address. If it is, we don't attempt to learn it. 2: dst isn't a string. According to something like line 62, dst is… dst = inst.st[dpid

[nox-dev] some explanations about the pyswitch code

2011-03-28 Thread karim torkmen
Hi all, I am starting with openFlow and nox. As starting example I am trying to understand the pyswitch code. However, there are some lines of code that are not very clear to me. Those lines are : 1- if ord(srcaddr[0]) & 1: what is really meant by this condition ? 2- dst[0] != inport: why shou