'Creates a snapshot of a volume.
Snapshot name: snapshot[\'name\']
Volume name: snapshot[\'volume_name\']'

def create_snapshot(self, snapshot):

    LOG.debug('zfssa.create_snapshot:    snapshot=%s', snapshot['name'])
    lcfg = self.configuration
    self.zfssa.create_snapshot(lcfg.zfssa_pool, lcfg.zfssa_project, snapshot['volume_name'], snapshot['name'])
