def demonstrate(device_name, acl_name): ''' Apply function 'acl_delete' to the specified device/ACL.''' print('\nacl_delete(' + device_name, acl_name, sep=', ', end=')\n') acl_delete(device_name, acl_name)
def delete_acls(acl_list, device_name): for acl in acl_list: acl_delete(device_name, acl.name)