def deletesubtree(dn): """Delete a subtree in the IMM. Prerequisites: An admin owner and CCB must have been initiated. WARNING: This can be a very destructive command! """ immombin.saImmOmAdminOwnerSet('SA_IMM_SUBTREE', [dn]) immombin.saImmOmCcbObjectDelete(dn)
def deleteobjects(dn_list): """Delete IMM objects. Prerequisites: An admin owner and CCB must have been initiated. """ immombin.saImmOmAdminOwnerSet('SA_IMM_ONE', dn_list) for dn in dn_list: immombin.saImmOmCcbObjectDelete(dn)