Also add the corresponding infrastructure needed for all similar reservations.
Petr Pudlak (11): Structure Ganeti.Config a bit Add a function for traversing over a composition of functors Add a lens for Set that works with 'Bool -> Bool' Add an implementation for multi-maps Improve the RPC Python function argument names generator Add a function for looking up a value in a container Add a function for listing all MAC addresses in a cluster Add functions for reserving MAC addresses Expose MAC reservations to WConfd's RPC interface Forward MAC reservations from ConfigWriter to WConfD Add the old MAC reservation code to ConfigMock Makefile.am | 1 + lib/config.py | 59 +++----------- src/Ganeti/Config.hs | 46 +++++++---- src/Ganeti/JSON.hs | 9 +++ src/Ganeti/Lens.hs | 31 +++++++ src/Ganeti/THH/PyRPC.hs | 6 ++ src/Ganeti/Utils/MultiMap.hs | 115 ++++++++++++++++++++++++++ src/Ganeti/WConfd/Core.hs | 29 ++++++- src/Ganeti/WConfd/Monad.hs | 5 +- src/Ganeti/WConfd/TempRes.hs | 129 +++++++++++++++++++++++++++++- test/py/cmdlib/testsupport/config_mock.py | 58 ++++++++++++++ 11 files changed, 420 insertions(+), 68 deletions(-) create mode 100644 src/Ganeti/Utils/MultiMap.hs -- 1.9.1.423.g4596e3a
