Add types, parameters and the opcodes for networks
This completes the last missing opcode group. The only difficulty was with the ip addresses, where we used simple strings to represent them and (for IPv4) a few helpers to generate arbitrary instances; otherwise, the patch is trivial. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Showing
- htest/Test/Ganeti/OpCodes.hs 42 additions, 0 deletionshtest/Test/Ganeti/OpCodes.hs
- htest/Test/Ganeti/Types.hs 15 additions, 0 deletionshtest/Test/Ganeti/Types.hs
- htools/Ganeti/OpCodes.hs 41 additions, 0 deletionshtools/Ganeti/OpCodes.hs
- htools/Ganeti/OpParams.hs 73 additions, 0 deletionshtools/Ganeti/OpParams.hs
- htools/Ganeti/Types.hs 9 additions, 0 deletionshtools/Ganeti/Types.hs
Loading
Please register or sign in to comment