Package org.ovirt.engine.sdk4.services
Interface GlusterBricksService.MigrateRequest
-
- All Superinterfaces:
Request<GlusterBricksService.MigrateRequest,GlusterBricksService.MigrateResponse>
- Enclosing interface:
- GlusterBricksService
public static interface GlusterBricksService.MigrateRequest extends Request<GlusterBricksService.MigrateRequest,GlusterBricksService.MigrateResponse>
Start migration of data prior to removing bricks. Removing bricks is a two-step process, where the data on bricks to be removed, is first migrated to remaining bricks. Once migration is completed the removal of bricks is confirmed via the API <>. If at any point, the action needs to be cancelled < > has to be called. For instance, to delete a brick from a gluster volume with id `123`, send a request: [source] ---- POST /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks/migrate ---- With a request body like this: [source,xml] ---- host1:/rhgs/brick1 > and steps in job using < >
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlusterBricksService.MigrateRequest
async(Boolean async)
Indicates if the migration should be performed asynchronously.GlusterBricksService.MigrateRequest
bricks(List<GlusterBrick> bricks)
GlusterBricksService.MigrateRequest
bricks(GlusterBrickBuilder... bricks)
List of bricks for which data migration needs to be started.GlusterBricksService.MigrateRequest
bricks(GlusterBrick... bricks)
List of bricks for which data migration needs to be started.
-
-
-
Method Detail
-
async
GlusterBricksService.MigrateRequest async(Boolean async)
Indicates if the migration should be performed asynchronously.
-
bricks
GlusterBricksService.MigrateRequest bricks(List<GlusterBrick> bricks)
-
bricks
GlusterBricksService.MigrateRequest bricks(GlusterBrick... bricks)
List of bricks for which data migration needs to be started.
-
bricks
GlusterBricksService.MigrateRequest bricks(GlusterBrickBuilder... bricks)
List of bricks for which data migration needs to be started.
-
-