Add a new parameter to be used in OpCodes signalling that the instance to be created is already present as a reserved instance and should now be committed.
Signed-off-by: Klaus Aehlig <[email protected]> --- src/Ganeti/OpParams.hs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Ganeti/OpParams.hs b/src/Ganeti/OpParams.hs index 4c2879e..cb8bfb3 100644 --- a/src/Ganeti/OpParams.hs +++ b/src/Ganeti/OpParams.hs @@ -205,6 +205,7 @@ module Ganeti.OpParams , pSrcPath , pStartInstance , pForthcoming + , pCommit , pInstTags , pMultiAllocInstances , pTempOsParams @@ -1280,6 +1281,11 @@ pForthcoming = withDoc "Whether to only reserve resources" $ defaultFalse "forthcoming" +pCommit :: Field +pCommit = + withDoc "Commit the already reserved instance" $ + defaultFalse "commit" + -- FIXME: unify/simplify with pTags, once that migrates to NonEmpty String" pInstTags :: Field pInstTags = -- 2.2.0.rc0.207.ga3a616c
