summaryrefslogtreecommitdiff
path: root/staticd/static_vrf.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-11-29 14:50:16 +0100
committerGitHub <noreply@github.com>2023-11-29 14:50:16 +0100
commite7064647b9b2a8930e21c1daa2f7bf2ef13eeb8c (patch)
treef8fa7085a50120f75d793e0d8a8f9fcc8421ca71 /staticd/static_vrf.c
parent81ccc5adad98cc0ea21d953e9de053cfa7c08d08 (diff)
parentd532771eaaa6b8f4667389ae92d50236ee606d34 (diff)
Merge pull request #14838 from idryzhov/mgmtd-cli-out
Output configuration of mgmtd-converted daemons from mgmtd
Diffstat (limited to 'staticd/static_vrf.c')
-rw-r--r--staticd/static_vrf.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/staticd/static_vrf.c b/staticd/static_vrf.c
index a67dce200f..7a0ff01d04 100644
--- a/staticd/static_vrf.c
+++ b/staticd/static_vrf.c
@@ -124,26 +124,12 @@ struct static_vrf *static_vrf_lookup_by_name(const char *name)
return NULL;
}
-static int static_vrf_config_write(struct vty *vty)
-{
- struct lyd_node *dnode;
- int written = 0;
-
- dnode = yang_dnode_get(running_config->dnode, "/frr-routing:routing");
- if (dnode) {
- nb_cli_show_dnode_cmds(vty, dnode, false);
- written = 1;
- }
-
- return written;
-}
-
void static_vrf_init(void)
{
vrf_init(static_vrf_new, static_vrf_enable, static_vrf_disable,
static_vrf_delete);
- vrf_cmd_init(static_vrf_config_write);
+ vrf_cmd_init(NULL);
}
void static_vrf_terminate(void)