'Creates a ioclass by IOPS.'

def create_ioclass_iops(self, name, max_iops):

    max_iops = int(max_iops)
    ctrl_method = storops.VNXCtrlMethod(method=storops.VNXCtrlMethod.LIMIT_CTRL, metric='tt', value=max_iops)
    ioclass = self.vnx.create_ioclass(name=name, iotype='rw', ctrlmethod=ctrl_method)
    return ioclass
