'Creates an rbd snapshot.'

def create_snapshot(self, snapshot):

    with RBDVolumeProxy(self, snapshot.volume_name) as volume:
        snap = utils.convert_str(snapshot.name)
        volume.create_snap(snap)
        volume.protect_snap(snap)
