Class LiveMigrateOptions


  • public class LiveMigrateOptions
    extends BaseActionOptions
    Options to live-migrate a server to a new host without rebooting
    Author:
    Jeremy Unruh
    • Method Detail

      • host

        public LiveMigrateOptions host​(String host)
        Name of the new host (Optional)
        Parameters:
        host - the name of the new host
        Returns:
        LiveMigrateOptions
      • blockMigration

        public LiveMigrateOptions blockMigration​(boolean blocked)
        Block Migration
        Parameters:
        blocked - if true, migration is blocked
        Returns:
        LiveMigrateOptions
      • diskOverCommit

        public LiveMigrateOptions diskOverCommit​(boolean enabled)
        Disk over commit
        Parameters:
        enabled - if enabled, disk over commit is allowed
        Returns:
        LiveMigrateOptions
      • getHost

        public String getHost()
      • getBlockMigration

        public boolean getBlockMigration()
      • getDiskOverCommit

        public boolean getDiskOverCommit()