Beispiel #1
0
def deleteIscsiPortal(iface, portal):
    discoverType = "sendtargets"
    portalStr = "%s:%d" % (portal.hostname, portal.port)
    iscsiadm.discoverydb_delete(discoverType, iface.name, portalStr)
Beispiel #2
0
def deleteIscsiPortal(iface, portal):
    discoverType = "sendtargets"
    portalStr = "%s:%d" % (portal.hostname, portal.port)
    iscsiadm.discoverydb_delete(discoverType, iface.name, portalStr)
Beispiel #3
0
def deleteIscsiPortal(iface, portal):
    discoverType = "sendtargets"
    iscsiadm.discoverydb_delete(discoverType, iface.name, str(portal))