Interface GlusterVolumesService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    GlusterVolumesServiceImpl

    public interface GlusterVolumesService
    extends Service
    This service manages a collection of gluster volumes available in a cluster.
    • Method Detail

      • add

        GlusterVolumesService.AddRequest add()
        Creates a new gluster volume. The volume is created based on properties of the `volume` parameter. The properties `name`, `volume_type` and `bricks` are required. For example, to add a volume with name `myvolume` to the cluster `123`, send the following request: [source] ---- POST /ovirt-engine/api/clusters/123/glustervolumes ---- With the following request body: [source,xml] ---- myvolume replicate 3 server1 /exp1 server2 /exp1 server3 /exp1 ----
      • list

        GlusterVolumesService.ListRequest list()
        Lists all gluster volumes in the cluster. For example, to list all Gluster Volumes in cluster `456`, send a request like this: [source] ---- GET /ovirt-engine/api/clusters/456/glustervolumes ---- The order of the returned list of volumes isn't guaranteed.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.