summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-10-03 16:12:31 -0700
committerChirag Shah <chirag@nvidia.com>2020-10-05 13:57:54 -0700
commit9bee02322f69e34c54510f8dff245e52794fdfc8 (patch)
tree13d272969c3abf5a94b472fb9312a186df339b1b /python/clidef.py
parentf63f5f1947c3b4a99e97494198520f03fb6b063e (diff)
zebra: display rpc error msg to vtysh
Zebra's clear duplicate detect command is rpc converted. There is condition where cli fails with human readable message. Using northboun's errmsg buffer to display error message to user. Testing: bharat# clear evpn dup-addr vni 1002 ip 2011:11::11 Error type: generic error Error description: Requested IP's associated MAC aa:aa:aa:aa:aa:aa is still in duplicate state 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>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions