]> git.proxmox.com Git - mirror_frr.git/blob - ospf6d/ospf6_routemap_nb.c
Merge pull request #13284 from isabelladeleon12/fix_adv_high_metrics_ut_warning
[mirror_frr.git] / ospf6d / ospf6_routemap_nb.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright (C) 2020 Vmware
4 * Sarita Patra
5 */
6
7 #include <zebra.h>
8
9 #include "lib/northbound.h"
10 #include "lib/routemap.h"
11 #include "ospf6_routemap_nb.h"
12
13 /* clang-format off */
14 const struct frr_yang_module_info frr_ospf_route_map_info = {
15 .name = "frr-ospf-route-map",
16 .nodes = {
17 {
18 .xpath = "/frr-route-map:lib/route-map/entry/set-action/rmap-set-action/frr-ospf-route-map:metric-type",
19 .cbs = {
20 .modify = lib_route_map_entry_set_action_rmap_set_action_metric_type_modify,
21 .destroy = lib_route_map_entry_set_action_rmap_set_action_metric_type_destroy,
22 }
23 },
24 {
25 .xpath = NULL,
26 },
27 }
28 };
29
30 const struct frr_yang_module_info frr_ospf6_route_map_info = {
31 .name = "frr-ospf6-route-map",
32 .nodes = {
33 {
34 .xpath = "/frr-route-map:lib/route-map/entry/set-action/rmap-set-action/frr-ospf6-route-map:ipv6-address",
35 .cbs = {
36 .modify = lib_route_map_entry_set_action_rmap_set_action_ipv6_address_modify,
37 .destroy = lib_route_map_entry_set_action_rmap_set_action_ipv6_address_destroy,
38 }
39 },
40 {
41 .xpath = NULL,
42 },
43 }
44 };