Support integrating instance information in the DRBD parser
This commit modifies the DRBD parser and its data structures to include information about the instance a DRBD minor belongs to. Test files have been updated as well, to support the new field in the data structures. Signed-off-by:Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- src/Ganeti/Block/Drbd/Parser.hs 9 additions, 6 deletionssrc/Ganeti/Block/Drbd/Parser.hs
- src/Ganeti/Block/Drbd/Types.hs 49 additions, 12 deletionssrc/Ganeti/Block/Drbd/Types.hs
- src/Ganeti/DataCollectors/Drbd.hs 1 addition, 1 deletionsrc/Ganeti/DataCollectors/Drbd.hs
- test/hs/Test/Ganeti/Block/Drbd/Parser.hs 31 additions, 7 deletionstest/hs/Test/Ganeti/Block/Drbd/Parser.hs
- test/hs/Test/Ganeti/Block/Drbd/Types.hs 3 additions, 0 deletionstest/hs/Test/Ganeti/Block/Drbd/Types.hs
Loading
Please register or sign in to comment