← Back to team overview

maas-devel team mailing list archive

Re: Merging MACAddress and Interface

 

On Tue, Aug 25, 2015 at 01:44:10PM +0100, Mark Shuttleworth wrote:
> Bonds would be interfaces that either have a unique MAC assigned or a
> flag saying which member they take their MAC from.
> 
> VLAN and ALIAS interfaces would need pointers to their parent interface
> and use its MAC.

The other approach, which may lead to simpler code, is to repeat the MAC
but ensure through a database invariant that the MAC is what it should
be. It is often easier to program the invariant than to maintain it
through fields in the table, but check what works best in this case.
-- 
Christian Robottom Reis   | [+1] 612 888 4935    | http://launchpad.net/~kiko
Canonical VP Hyperscale   | [+55 16] 9 9112 6430


References