Refactor native plugin a bit, add migration disabled flag support for nodes and VMs and swap/imagesAvailable for VMs