'Snapshot create.'

def snapshot_create(self, bvname, svname, poolnumber):

    cmd = ('iSMcfg    generationadd    -bvname    %(bvname)s    -poolnumber    %(poolnumber)d    -count    1    -svname    %(svname)s' % {'bvname': bvname, 'poolnumber': poolnumber, 'svname': svname})
    self._execute(cmd)
    cmd = ('iSMsc_create    -bv    %(bv)s    -bvflg    ld    -sv    %(sv)s    -svflg    ld' % {'bv': bvname[3:], 'sv': svname})
    self._execute(cmd)
