mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +00:00
zebra: add weight to nb conversion
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
d9d6232fb6
commit
7225e61cca
@ -679,6 +679,12 @@ const struct frr_yang_module_info frr_zebra_info = {
|
|||||||
.destroy = lib_route_map_entry_set_action_source_v6_destroy,
|
.destroy = lib_route_map_entry_set_action_source_v6_destroy,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.xpath = "/frr-vrf:lib/vrf/frr-zebra:ribs/rib/route/route-entry/nexthop-group/frr-nexthops/nexthop/weight",
|
||||||
|
.cbs = {
|
||||||
|
.get_elem = lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_weight_get_elem,
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.xpath = NULL,
|
.xpath = NULL,
|
||||||
},
|
},
|
||||||
|
@ -481,5 +481,8 @@ lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_active_get
|
|||||||
struct yang_data *
|
struct yang_data *
|
||||||
lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_fib_get_elem(
|
lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_fib_get_elem(
|
||||||
const char *xpath, const void *list_entry);
|
const char *xpath, const void *list_entry);
|
||||||
|
struct yang_data *
|
||||||
|
lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_weight_get_elem(
|
||||||
|
const char *xpath, const void *list_entry);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -623,3 +623,15 @@ lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_fib_get_el
|
|||||||
/* TODO: implement me. */
|
/* TODO: implement me. */
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* XPath:
|
||||||
|
* /frr-vrf:lib/vrf/frr-zebra:ribs/rib/route/route-entry/nexthop-group/frr-nexthops/nexthop/weight
|
||||||
|
*/
|
||||||
|
struct yang_data *
|
||||||
|
lib_vrf_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_weight_get_elem(
|
||||||
|
const char *xpath, const void *list_entry)
|
||||||
|
{
|
||||||
|
/* TODO: implement me. */
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user