flowprobe: add api messages to obtain current state 29/36129/6
authorAlexander Chernavin <achernavin@netgate.com>
Thu, 12 May 2022 14:56:24 +0000 (14:56 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Mon, 16 May 2022 20:53:19 +0000 (20:53 +0000)
commit86c7856edae44483e7303fb4cf4efdec626716c8
treefb30caa5131691d52b610543b9b7815d8e7489a0
parent99b96398452ac13114d54f47a163dc06f7c23f12
flowprobe: add api messages to obtain current state

Type: improvement

With this change:
 - add dump/details messages to obtain interfaces for which IPFIX flow
   record generation is enabled;
 - add get message to obtain parameters;
 - add a new message to set parameters with validation present and to
   correspond with get/set naming;
 - add tests for get/set parameters and dump/details interfaces.

Change-Id: I09f6ec990171ac8bcb9d2f5c92629803b8ab6c28
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
src/plugins/flowprobe/flowprobe.api
src/plugins/flowprobe/flowprobe.c
src/plugins/flowprobe/flowprobe_test.c
test/test_flowprobe.py