Class GlusterVolumesServiceImpl

    • Constructor Detail

      • GlusterVolumesServiceImpl

        public GlusterVolumesServiceImpl​(HttpConnection connection,
                                         String path)
    • Method Detail

      • add

        public GlusterVolumesService.AddRequest add()
        Description copied from interface: GlusterVolumesService
        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 ----
        Specified by:
        add in interface GlusterVolumesService
      • list

        public GlusterVolumesService.ListRequest list()
        Description copied from interface: GlusterVolumesService
        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.
        Specified by:
        list in interface GlusterVolumesService