summaryrefslogtreecommitdiff
path: root/lib/if_rmap.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2023-04-12 17:17:03 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2023-04-12 17:17:03 +0300
commit1d1f77b60d0c804af23f9b813fb6b26a303e8c05 (patch)
tree6cf0c1a31933995c85c13b0b9cb1e06305a2527f /lib/if_rmap.h
parent4150fc5399f41884c5fd0f732b40d397b525c580 (diff)
lib: convert if_rmap config output to northbound
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/if_rmap.h')
-rw-r--r--lib/if_rmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if_rmap.h b/lib/if_rmap.h
index 6f5fb578f0..a9f811e221 100644
--- a/lib/if_rmap.h
+++ b/lib/if_rmap.h
@@ -56,6 +56,8 @@ extern void if_rmap_yang_modify_cb(struct if_rmap_ctx *ctx,
extern void if_rmap_yang_destroy_cb(struct if_rmap_ctx *ctx,
const struct lyd_node *dnode);
extern int config_write_if_rmap(struct vty *, struct if_rmap_ctx *ctx);
+void cli_show_if_route_map(struct vty *vty, const struct lyd_node *dnode,
+ bool show_defaults);
#ifdef __cplusplus
}