Comment #7 on issue 584 by [email protected]: gnt-backup import fails
with 'VLAN is given, but network mode is not openvswitch'
http://code.google.com/p/ganeti/issues/detail?id=584
IMHO we should try to achieve a "good" on-disk format rather than an easy
implementation. The configuration remains easier to read and process (for
humans and by other tools/languages), and I think we shouldn't give that
away just because of shortcomings in a given library.
BTW, I thought we can already read Maybe's (from src/Ganeti/JSON.hs):
-- | Reads the value of an optional key in a JSON object. Missing
-- keys, or keys that have a \'null\' value, will be returned as
-- 'Nothing', otherwise we attempt deserialisation and return a 'Just'
-- value.
maybeFromObj :: (J.JSON a, Monad m) =>
JSRecord -> String -> m (Maybe a)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings