« Previous | Next » 

Revision f5766d33

IDf5766d33b7503889be1038c157bc62455fb2ae29

Added by Dimitris Aragiorgis almost 10 years ago

Support mac prefix pool for networks

Just like tcpudp_port pool keep maintain a mac prefix pool for
networks.

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences