« Previous | Next » 

Revision f5766d33


Added by Dimitris Aragiorgis over 11 years ago

Support mac prefix pool for networks

Just like tcpudp_port pool keep maintain a mac prefix pool for

Modify existing GenerateMAC so that it takes network as an argument.

Substitute _GenerateOneMAC with a decorator _GenerateMACPrefix
that chooses the prefix (network's or cluster's) and wraps
_GenerateMACSuffix that generates the three remaining bytes.

Signed-off-by: Dimitris Aragiorgis <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences