Revision 85777c47
ID | 85777c4784e6048dd18d1f27c5b7c30bcbf6ca4f |
Remove mac_prefix from BackendNetwork
mac_prefix has only a Network Object. generate_unique_mac()
takes network and vm and assures that will be unique inside the
network. It add a dummy entry in vm.nics so that future invocations
will produce consistent results. If a network has no mac_prefix then
takes DEFAULT_MAC_PREFIX.
Base mac_prefix is now aa:00:00.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted