On Mon, Jul 07, 2014 at 04:09:38PM +0200, 'Petr Pudlak' via ganeti-devel wrote: > And add functions for making reservations on a Network object. > > Currently AddressPool is only a thin wrapper for BitArray, because: > > - all operations need information from Network about the allowed address > range; and > - having richer structure in AddressPool would require changes in the > configuration format. > > Signed-off-by: Petr Pudlak <[email protected]> > --- > > As discussed, I kept the AddressPool object, but currently its just a thin > wrapper around BitArray. More refactoring (such as AddressPool containing the > network range) would require configuration changes, and I'd rather leave it > until later, when the new structure of IP addresses wrt subnets and pools is > going to be implemented. > (I can help with this particular Haskell 'Network' module, if needed.)
LGMT -- Klaus Aehlig Google Germany GmbH, Dienerstr. 12, 80331 Muenchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores
