Revision 1dbceab9
b/htest/Test/Ganeti/OpCodes.hs | ||
---|---|---|
317 | 317 |
OpCodes.OpNetworkAdd <$> genNameNE <*> arbitrary <*> genIp4Net <*> |
318 | 318 |
genMaybe genIp4Addr <*> pure Nothing <*> pure Nothing <*> |
319 | 319 |
genMaybe genMacPrefix <*> genMaybe (listOf genIp4Addr) <*> |
320 |
(genTags >>= mapM mkNonEmpty) |
|
320 |
arbitrary <*> (genTags >>= mapM mkNonEmpty)
|
|
321 | 321 |
"OP_NETWORK_REMOVE" -> |
322 | 322 |
OpCodes.OpNetworkRemove <$> genNameNE <*> arbitrary |
323 | 323 |
"OP_NETWORK_SET_PARAMS" -> |
b/htools/Ganeti/OpCodes.hs | ||
---|---|---|
492 | 492 |
, pNetworkGateway6 |
493 | 493 |
, pNetworkMacPrefix |
494 | 494 |
, pNetworkAddRsvdIps |
495 |
, pIpConflictsCheck |
|
495 | 496 |
, pInstTags |
496 | 497 |
]) |
497 | 498 |
, ("OpNetworkRemove", |
Also available in: Unified diff