]> git.puffer.fish Git - mirror/frr.git/commit
*: add errmsg to nb rpc
authorChirag Shah <chirag@nvidia.com>
Sat, 3 Oct 2020 22:34:33 +0000 (15:34 -0700)
committerChirag Shah <chirag@nvidia.com>
Mon, 5 Oct 2020 20:15:59 +0000 (13:15 -0700)
commitf63f5f1947c3b4a99e97494198520f03fb6b063e
tree8c1071614c685dc9d8a68322ecd6cf0ce85b7e37
parent002bac8b5bc229f892c66e3c13c4c058a2b10e27
*: add errmsg to nb rpc

Display human readable error message in northbound rpc
transaction failure. In case of vtysh nb client, the error
message will be displayed to user.

Testing:

bharat# clear evpn dup-addr vni 1002 ip 11.11.11.11
Error type: generic error
Error description: Requested IP's associated MAC aa:aa:aa:aa:aa:aa is still
in duplicate state

Signed-off-by: Chirag Shah <chirag@nvidia.com>
lib/northbound.c
lib/northbound.h
lib/northbound_cli.c
lib/northbound_cli.h
lib/northbound_confd.c
lib/northbound_grpc.cpp
lib/northbound_sysrepo.c
ripd/rip_cli.c
ripngd/ripng_cli.c
zebra/zebra_vty.c