diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-19 13:06:53 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 23:28:39 +0200 |
| commit | b688eb7e9e565abd37b9cd95f2035d25612e2a3f (patch) | |
| tree | 8831ead389b2684c270f4b85adf36d6326406df1 /zebra/zebra_nb.c | |
| parent | 7fc02c462cf16877440755c00bce931f9f2a6eb5 (diff) | |
zebra: convert interface link-params command to NB
Make link-params a presence container and activate it when entering the
node. The "enable" command is not necessary anymore but kept hidden for
backwards compatibility.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'zebra/zebra_nb.c')
| -rw-r--r-- | zebra/zebra_nb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zebra_nb.c b/zebra/zebra_nb.c index ddb2e8f325..a62f6b4280 100644 --- a/zebra/zebra_nb.c +++ b/zebra/zebra_nb.c @@ -359,6 +359,13 @@ const struct frr_yang_module_info frr_zebra_info = { } }, { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params", + .cbs = { + .create = lib_interface_zebra_link_params_create, + .destroy = lib_interface_zebra_link_params_destroy, + } + }, + { .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params/legacy-admin-group", .cbs = { .modify = lib_interface_zebra_legacy_admin_group_modify, |
