Carlos Eduardo Moreira dos Santos

Results 29 comments of Carlos Eduardo Moreira dos Santos

Deleting the /var/run/kytos assures it will be recreated with the correct permissions. About it being deleted after restart, we haven't solved it yet and I'm reopening the issue as you...

It seems that the daemon receives the pidfile path (currently the same as without the daemon) and creates the file with the same owner as the kytosd process. Thus, I...

A possible misled interpretation is that the message sent to the switch was only the header. Besides, we would lose information past 8 bytes that cannot be completely unpacked.

~~I was thinking about adding a class method `from_bytes` like Python `int.from_bytes` to be more pythonic. What do you think?~~ Edit: Some unpack methods rely on instance attributes (e.g. enum_ref)....

@erickvermot, I think the pattern `pack` and `_unpack`, `get_size` and `_get_size`, etc is not the best OOP solution.

There's no need to create extra private methods. We can have only the public ones and children can override them if necessary.

@beraldoleal, as this issue deals with validation, we could move it to the same milestone as #96.

Thanks for the clarification, I haven't noticed the `__ordered__` problem yet. In some issue I think I wrote that if an Enum or Bitmask is changed, we implement it all...

On Wed, Dec 21, 2016 at 3:15 PM, Diego Rabatone Oliveira < [email protected]> wrote: > I've been thinking about this inheritance issue, and I still cannot see an > easy...