← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/marionnet/trunk] Rev 359: Bug about VLAN's port numbering really fixed (I hope). The previous patch was not sufficient beca...

 

------------------------------------------------------------
revno: 359
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: marionnet
timestamp: Mon 2012-01-23 13:14:56 +0100
message:
  Bug about VLAN's port numbering really fixed (I hope). The previous patch was not sufficient because vde_switch always answers with the same "Numports" value (9 for a 8 port switch!) to the question "port/showinfo". So, we ask now another question, "port/print", and we count the lines in the form "Port %d %s ACTIVE" contained in the answer. The 0.5'' per-port delay is replaced now by a 0.1'' per-port delay (8 ports switch => 0.8 seconds instead of 4).
modified:
  simulation_level.ml
  switch.ml


--
lp:marionnet
https://code.launchpad.net/~marionnet-drivers/marionnet/trunk

Your team marionnet-dev is subscribed to branch lp:marionnet.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/marionnet/trunk/+edit-subscription