summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_nb.c
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2020-10-30 08:41:19 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2021-03-30 21:58:42 +0200
commite71627cbcb5f7771b78a028815ccdb65c066e00a (patch)
tree22530556d4a248e197737eb300eae68aa45062f8 /zebra/zebra_nb.c
parentlib: Modifications to route-map NB (diff)
downloadfrr-e71627cbcb5f7771b78a028815ccdb65c066e00a.tar.xz
frr-e71627cbcb5f7771b78a028815ccdb65c066e00a.zip
zebra: North-bound implementation for zebra rmaps
This commit introduces the implementation for the north-bound callbacks for the zebra-specific route-map match and set clauses. Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com> Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'zebra/zebra_nb.c')
-rw-r--r--zebra/zebra_nb.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/zebra/zebra_nb.c b/zebra/zebra_nb.c
index bdeb84486..90d4ee7ce 100644
--- a/zebra/zebra_nb.c
+++ b/zebra/zebra_nb.c
@@ -644,48 +644,6 @@ const struct frr_yang_module_info frr_zebra_info = {
}
},
{
- .xpath = "/frr-route-map:lib/route-map/entry/match-condition/frr-zebra:ipv4-prefix-length",
- .cbs = {
- .modify = lib_route_map_entry_match_condition_ipv4_prefix_length_modify,
- .destroy = lib_route_map_entry_match_condition_ipv4_prefix_length_destroy,
- }
- },
- {
- .xpath = "/frr-route-map:lib/route-map/entry/match-condition/frr-zebra:ipv6-prefix-length",
- .cbs = {
- .modify = lib_route_map_entry_match_condition_ipv6_prefix_length_modify,
- .destroy = lib_route_map_entry_match_condition_ipv6_prefix_length_destroy,
- }
- },
- {
- .xpath = "/frr-route-map:lib/route-map/entry/match-condition/frr-zebra:source-protocol",
- .cbs = {
- .modify = lib_route_map_entry_match_condition_source_protocol_modify,
- .destroy = lib_route_map_entry_match_condition_source_protocol_destroy,
- }
- },
- {
- .xpath = "/frr-route-map:lib/route-map/entry/match-condition/frr-zebra:source-instance",
- .cbs = {
- .modify = lib_route_map_entry_match_condition_source_instance_modify,
- .destroy = lib_route_map_entry_match_condition_source_instance_destroy,
- }
- },
- {
- .xpath = "/frr-route-map:lib/route-map/entry/set-action/frr-zebra:source-v4",
- .cbs = {
- .modify = lib_route_map_entry_set_action_source_v4_modify,
- .destroy = lib_route_map_entry_set_action_source_v4_destroy,
- }
- },
- {
- .xpath = "/frr-route-map:lib/route-map/entry/set-action/frr-zebra:source-v6",
- .cbs = {
- .modify = lib_route_map_entry_set_action_source_v6_modify,
- .destroy = lib_route_map_entry_set_action_source_v6_destroy,
- }
- },
- {
.xpath = NULL,
},
}