diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-10-07 11:50:52 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 11:50:52 -0300 |
| commit | 9cfb2747adc875a7aaa7f99a45a65f65234a2004 (patch) | |
| tree | 2f1528432631a32fb22d98826a2ebb5ffd23246d /lib/northbound_cli.h | |
| parent | 0ed866fd217079d7d7739b6f78fb01f3fd6533fd (diff) | |
| parent | 9bee02322f69e34c54510f8dff245e52794fdfc8 (diff) | |
Merge pull request #7241 from chiragshah6/evpn_dev1
lib: add errmsg to nb rpc
Diffstat (limited to 'lib/northbound_cli.h')
| -rw-r--r-- | lib/northbound_cli.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/northbound_cli.h b/lib/northbound_cli.h index 112d62efda..2290a76b8d 100644 --- a/lib/northbound_cli.h +++ b/lib/northbound_cli.h @@ -75,6 +75,9 @@ extern int nb_cli_apply_changes(struct vty *vty, const char *xpath_base_fmt, /* * Execute a YANG RPC or Action. * + * vty + * The vty terminal to dump any error. + * * xpath * XPath of the YANG RPC or Action node. * @@ -90,7 +93,7 @@ extern int nb_cli_apply_changes(struct vty *vty, const char *xpath_base_fmt, * Returns: * CMD_SUCCESS on success, CMD_WARNING otherwise. */ -extern int nb_cli_rpc(const char *xpath, struct list *input, +extern int nb_cli_rpc(struct vty *vty, const char *xpath, struct list *input, struct list *output); /* |
