rtslib/target.py
def delete(self):
        '''
        Recursively deletes a TPG object.
        This will delete all attached LUN, NetworkPortal and Node ACL objects
        and then the TPG itself. Before starting the actual deletion process,
        all sessions will be disconnected.
        '''
        self._check_self()

        self.enable = False

        for acl in self.node_acls:
            acl.delete()
        for lun in self.luns:
            lun.delete()
        for portal in self.network_portals:
            portal.delete()
        super(TPG, self).delete()

        Recursively deletes a TPG object.
        This will delete all attached LUN, NetworkPortal and Node ACL objects
        and then the TPG itself. Before starting the actual deletion process,
        all sessions will be disconnected.
        
Recursively deletes a TPG object.
This will delete all attached LUN, NetworkPortal and Node ACL objects
and then the TPG itself. Before starting the actual deletion process,
all sessions will be disconnected.
Recursively deletes a TPG object . This will delete all attached LUN NetworkPortal and Node ACL objects and then the TPG itself . Before starting the actual deletion process all sessions will be disconnected .
def delete(self):
        self._check_self()
        self.enable = False
        for acl in self.node_acls:
            acl.delete()
        for lun in self.luns:
            lun.delete()
        for portal in self.network_portals:
            portal.delete()
        super(TPG, self).delete()
def delete ( self ) : self . _check_self ( ) self . enable = False for acl in self . node_acls : acl . delete ( ) for lun in self . luns : lun . delete ( ) for portal in self . network_portals : portal . delete ( ) super ( TPG , self ) . delete ( )
Recursively deletes a TPG object.
Recursively deletes a TPG object .
'''
        Recursively deletes a TPG object.
        This will delete all attached LUN, NetworkPortal and Node ACL objects
        and then the TPG itself. Before starting the actual deletion process,
        all sessions will be disconnected.
        '''
self