Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/x/c/xcp-storage-managers-HEAD/drivers/mpathutil.py   xcp-storage-managers(Download)
def remove(scsi_id):
    paths=mpath_cli.list_paths(scsi_id)
    mpath_cli.remove_map(scsi_id)
    for path in paths:
        mpath_cli.remove_path(path)

src/x/c/xcp-storage-managers-HEAD/drivers/mpath_dmp.py   xcp-storage-managers(Download)
 
        try:
            mpath_cli.remove_map(sid)
        except:
            util.SMlog("Warning: Removing the path failed")

src/x/c/xcp-storage-managers-HEAD/drivers/LVHDoHBASR.py   xcp-storage-managers(Download)
            if self.dconf['SCSIid'] in maps:
                if (mpp_luncheck.is_RdacLun(self.dconf['SCSIid'])):
                    mpath_cli.remove_map(self.dconf['SCSIid'])
                else:
                    raise xs_errors.XenError('SRInUse')