Support "show routes" monitoring request
authorJennifer Richards <jennifer@painless-security.com>
Thu, 19 Apr 2018 15:51:28 +0000 (11:51 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Thu, 19 Apr 2018 15:51:28 +0000 (11:51 -0400)
commit58b2b02987b9258df50b95f9741140bf382a703a
treedcac84d24c05dc841421e13f0a324d453b91fce1
parent32112416992e9619622b5e9b7a6a7fe4eda992c2
Support "show routes" monitoring request

  * Separate _to_string and _to_json functions into _encoders.c files
    for trp_rtable and trp_route
  * Add monitoring handler to call trp_rtable_to_json()
13 files changed:
CMakeLists.txt
Makefile.am
include/tr_trp.h
include/trp_route.h
include/trp_rtable.h
tr/tr_main.c
tr/tr_trp_mons.c [new file with mode: 0644]
trp/test/rtbl_test.c
trp/trp_route.c
trp/trp_route_encoders.c [new file with mode: 0644]
trp/trp_rtable.c
trp/trp_rtable_encoders.c [new file with mode: 0644]
trp/trps.c