diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2023-02-15 09:42:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-15 09:42:03 +0100 |
| commit | e2b958ecbcd855dbaab6ba2e18550626befd3136 (patch) | |
| tree | 6b2ddd9ed915e0a732c0fc0a4d85e1b9bc232f9d /zebra/zebra_nb.c | |
| parent | 423c8035807d78ad9044068a9f45505d0208e981 (diff) | |
| parent | 66a45dae56e0e70a49168f6750b8342e1edbc5fe (diff) | |
Merge pull request #12494 from louis-6wind/ext_admin_group
lib,zebra,isisd: add support for extended admin group RFC7308
Diffstat (limited to 'zebra/zebra_nb.c')
| -rw-r--r-- | zebra/zebra_nb.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/zebra/zebra_nb.c b/zebra/zebra_nb.c index 90d4ee7ced..5543b3f884 100644 --- a/zebra/zebra_nb.c +++ b/zebra/zebra_nb.c @@ -18,6 +18,7 @@ */ #include <zebra.h> +#include "interface.h" #include "northbound.h" #include "libfrr.h" #include "zebra_nb.h" @@ -351,6 +352,41 @@ const struct frr_yang_module_info frr_zebra_info = { } }, { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/bandwidth", + .cbs = { + .modify = lib_interface_zebra_bandwidth_modify, + .destroy = lib_interface_zebra_bandwidth_destroy, + } + }, + { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params/legacy-admin-group", + .cbs = { + .modify = lib_interface_zebra_legacy_admin_group_modify, + .destroy = lib_interface_zebra_legacy_admin_group_destroy, + .cli_show = cli_show_legacy_admin_group, + }, + }, + { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params/affinities", + .cbs = { + .cli_show = cli_show_affinity, + }, + }, + { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params/affinities/affinity", + .cbs = { + .create = lib_interface_zebra_affinity_create, + .destroy = lib_interface_zebra_affinity_destroy, + }, + }, + { + .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/link-params/affinity-mode", + .cbs = { + .modify = lib_interface_zebra_affinity_mode_modify, + .cli_show = cli_show_affinity_mode, + }, + }, + { .xpath = "/frr-interface:lib/interface/frr-zebra:zebra/state/up-count", .cbs = { .get_elem = lib_interface_zebra_state_up_count_get_elem, |
