ip-neighbor: add api for getting neighbor db config 32/39132/2
authorAlexander Chernavin <achernavin@netgate.com>
Mon, 26 Jun 2023 15:57:57 +0000 (15:57 +0000)
committerNeale Ranns <neale@graphiant.com>
Thu, 29 Jun 2023 05:11:10 +0000 (05:11 +0000)
commite1cc8753605a40b24f132a99e915a2650ce7df51
tree517f4945e1948b691e77e0daf97ccac8d80f7447
parentc8767c42aadb5bd63206e117673991ef799e2d18
ip-neighbor: add api for getting neighbor db config

There is an API call to change neighbor database configuration (i.e.
limit on peer number, aging, and recycling). With this change, make
getting current values of these settings available via the API.

Type: improvement

Change-Id: Ie9394e086b68cf9b28ad98dea162f203f8043cbb
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/vnet/ip-neighbor/ip_neighbor.api
src/vnet/ip-neighbor/ip_neighbor.c
src/vnet/ip-neighbor/ip_neighbor.h
src/vnet/ip-neighbor/ip_neighbor_api.c
test/test_neighbor.py