def create(self, volume):
        # XXX Consider changing the type of volume to a volume model object.
        # FLOC-1062
        d = self.pool.create(volume)

        def created(filesystem):
            self._make_public(filesystem)
            return volume
        d.addCallback(created)
        return d
Create a new volume.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/service.py/VolumeService.create