Revision f5766d33
ID | f5766d33b7503889be1038c157bc62455fb2ae29 |
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 <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted
- lib
- bootstrap.py (diff)
- cmdlib.py (diff)
- config.py (diff)
- objects.py (diff)