ip-neighbor: add api for getting neighbor db config