« Previous | Next » 

Revision 85777c47

ID85777c4784e6048dd18d1f27c5b7c30bcbf6ca4f

Added by Dimitris Aragiorgis over 11 years ago

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences