X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/75f2ff7ddcbaf1b1dc2a7b6cc303d0f880d5d12a..5b0ec49463b063d238e70b2f3110b9c7eb071ecf:/src/Ganeti/OpParams.hs diff --git a/src/Ganeti/OpParams.hs b/src/Ganeti/OpParams.hs index a1e445c..ba56d5f 100644 --- a/src/Ganeti/OpParams.hs +++ b/src/Ganeti/OpParams.hs @@ -94,6 +94,7 @@ module Ganeti.OpParams , pHvState , pDiskState , pIgnoreIpolicy + , pHotplug , pAllowRuntimeChgs , pInstDisks , pDiskTemplate @@ -702,6 +703,10 @@ pDiskParams = optionalField $ simpleField "diskparams" [t| GenericContainer DiskTemplate UncheckedDict |] +-- | Whether to hotplug device. +pHotplug :: Field +pHotplug = defaultFalse "hotplug" + -- * Parameters for node resource model -- | Set hypervisor states.