Re: [pox-dev] switch disconnecting

2014-07-15 Thread farshad tajedin
On Tue, Jul 15, 2014 at 11:30 AM, Murphy McCauley wrote: > This appears to be an infinite loop or an incomplete snippet. > > On Jul 14, 2014, at 11:56 PM, farshad tajedin > wrote: > > this is my code: > / > > for i in range (0,5): > while(j<5): >self.requ

Re: [pox-dev] w.r.t _parse_data in lldp.system_capabilities() module

2014-07-15 Thread durga
not a problem! glad to contribute! Cheers! Durga On Wed, Jul 16, 2014 at 1:31 PM, Murphy McCauley wrote: > Sure looks like a bug to me. Thanks for the report; I've added it to the > tracker on github. > > -- Murphy > > > On Jul 15, 2014, at 8:25 PM, durga wrote: > > Hi Murphy, > > Just a qu

Re: [pox-dev] w.r.t _parse_data in lldp.system_capabilities() module

2014-07-15 Thread Murphy McCauley
Sure looks like a bug to me. Thanks for the report; I've added it to the tracker on github. -- Murphy On Jul 15, 2014, at 8:25 PM, durga wrote: > Hi Murphy, > > Just a quick check. > > the def _parse_data(self,data) method of system_capabilities module always > returns true. after a little

[pox-dev] w.r.t _parse_data in lldp.system_capabilities() module

2014-07-15 Thread durga
Hi Murphy, Just a quick check. the def _parse_data(self,data) method of system_capabilities module always returns true. after a little checking, I think the module should be bitwise & : def _parse_data (self, data): (cap,en) = struct.unpack("!HH", data) del self.caps[:] del self.en

[pox-dev] lib/addresses.py is quite broken

2014-07-15 Thread Peter Peresini
Hi Murphy. TLDR: addresses.py should be rerwitten from scratch I come up against a following problem: cd pox/lib && python >>> import addresses >>> print addresses.IPAddr("255.255.255.0") == addresses.IPAddr6("::1") ... File "addresses.py", line 634, in __cmp__ return -cmp(other,self) F