1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2020 Vmware
9 #include "northbound.h"
11 #include "zebra_routemap_nb.h"
13 /* clang-format off */
14 const struct frr_yang_module_info frr_zebra_route_map_info
= {
15 .name
= "frr-zebra-route-map",
18 .xpath
= "/frr-route-map:lib/route-map/entry/match-condition/rmap-match-condition/frr-zebra-route-map:ipv4-prefix-length",
20 .modify
= lib_route_map_entry_match_condition_rmap_match_condition_ipv4_prefix_length_modify
,
21 .destroy
= lib_route_map_entry_match_condition_rmap_match_condition_ipv4_prefix_length_destroy
,
25 .xpath
= "/frr-route-map:lib/route-map/entry/match-condition/rmap-match-condition/frr-zebra-route-map:ipv6-prefix-length",
27 .modify
= lib_route_map_entry_match_condition_rmap_match_condition_ipv6_prefix_length_modify
,
28 .destroy
= lib_route_map_entry_match_condition_rmap_match_condition_ipv6_prefix_length_destroy
,
32 .xpath
= "/frr-route-map:lib/route-map/entry/match-condition/rmap-match-condition/frr-zebra-route-map:source-instance",
34 .modify
= lib_route_map_entry_match_condition_rmap_match_condition_source_instance_modify
,
35 .destroy
= lib_route_map_entry_match_condition_rmap_match_condition_source_instance_destroy
,
39 .xpath
= "/frr-route-map:lib/route-map/entry/match-condition/rmap-match-condition/frr-zebra-route-map:source-protocol",
41 .modify
= lib_route_map_entry_match_condition_rmap_match_condition_source_protocol_modify
,
42 .destroy
= lib_route_map_entry_match_condition_rmap_match_condition_source_protocol_destroy
,
46 .xpath
= "/frr-route-map:lib/route-map/entry/set-action/rmap-set-action/frr-zebra-route-map:ipv4-src-address",
48 .modify
= lib_route_map_entry_set_action_rmap_set_action_ipv4_src_address_modify
,
49 .destroy
= lib_route_map_entry_set_action_rmap_set_action_ipv4_src_address_destroy
,
53 .xpath
= "/frr-route-map:lib/route-map/entry/set-action/rmap-set-action/frr-zebra-route-map:ipv6-src-address",
55 .modify
= lib_route_map_entry_set_action_rmap_set_action_ipv6_src_address_modify
,
56 .destroy
= lib_route_map_entry_set_action_rmap_set_action_ipv6_src_address_destroy
,