2 * Bgp northbound config callbacks
3 * Copyright (C) 2020 Nvidia
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #include "northbound.h"
24 #include "bgpd/bgp_nb.h"
25 #include "bgpd/bgp_nb.h"
26 #include "bgpd/bgpd.h"
27 #include "bgpd/bgp_vty.h"
28 #include "bgpd/bgp_mplsvpn.h"
29 #include "bgpd/bgp_fsm.h"
30 #include "bgpd/bgp_addpath.h"
31 #include "bgpd/bgp_updgrp.h"
32 #include "bgpd/bgp_io.h"
33 #include "bgpd/bgp_damp.h"
35 FRR_CFG_DEFAULT_ULONG(BGP_CONNECT_RETRY
,
36 { .val_ulong
= 10, .match_profile
= "datacenter", },
39 FRR_CFG_DEFAULT_ULONG(BGP_HOLDTIME
,
40 { .val_ulong
= 9, .match_profile
= "datacenter", },
43 FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE
,
44 { .val_ulong
= 3, .match_profile
= "datacenter", },
48 int routing_control_plane_protocols_name_validate(
49 struct nb_cb_create_args
*args
)
53 name
= yang_dnode_get_string(args
->dnode
, "./name");
54 if (!strmatch(name
, "bgp")) {
55 snprintf(args
->errmsg
, args
->errmsg_len
,
56 "per vrf only one bgp instance is supported.");
57 return NB_ERR_VALIDATION
;
64 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp
66 int bgp_router_create(struct nb_cb_create_args
*args
)
68 const struct lyd_node
*vrf_dnode
;
71 const char *name
= NULL
;
73 enum bgp_instance_type inst_type
;
74 bool is_view_inst
= false;
78 inst_type
= BGP_INSTANCE_TYPE_DEFAULT
;
80 switch (args
->event
) {
86 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
87 "control-plane-protocol");
88 vrf
= nb_running_get_entry(vrf_dnode
, NULL
, true);
90 if (strmatch(vrf
->name
, VRF_DEFAULT_NAME
)) {
94 inst_type
= BGP_INSTANCE_TYPE_VRF
;
97 as
= yang_dnode_get_uint32(args
->dnode
, "./global/local-as");
99 is_view_inst
= yang_dnode_get_bool(
100 args
->dnode
, "./global/instance-type-view");
102 inst_type
= BGP_INSTANCE_TYPE_VIEW
;
104 if (inst_type
== BGP_INSTANCE_TYPE_DEFAULT
)
105 is_new_bgp
= (bgp_lookup(as
, name
) == NULL
);
107 ret
= bgp_get_vty(&bgp
, &as
, name
, inst_type
);
108 if (ret
== BGP_ERR_INSTANCE_MISMATCH
) {
110 args
->errmsg
, args
->errmsg_len
,
111 "BGP instance name and AS number mismatch\nBGP instance is already running; AS is %u, input-as %u",
114 return NB_ERR_INCONSISTENCY
;
117 * If we just instantiated the default instance, complete
118 * any pending VRF-VPN leaking that was configured via
119 * earlier "router bgp X vrf FOO" blocks.
121 if (is_new_bgp
&& inst_type
== BGP_INSTANCE_TYPE_DEFAULT
)
122 vpn_leak_postchange_all();
124 if (inst_type
== BGP_INSTANCE_TYPE_VRF
)
125 bgp_vpn_leak_export(bgp
);
127 UNSET_FLAG(bgp
->vrf_flags
, BGP_VRF_AUTO
);
129 nb_running_set_entry(args
->dnode
, bgp
);
136 int bgp_router_destroy(struct nb_cb_destroy_args
*args
)
140 switch (args
->event
) {
142 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
148 snprintf(args
->errmsg
, args
->errmsg_len
,
149 "Please unconfigure l3vni %u", bgp
->l3vni
);
150 return NB_ERR_VALIDATION
;
153 /* Cannot delete default instance if vrf instances exist */
154 if (bgp
->inst_type
== BGP_INSTANCE_TYPE_DEFAULT
) {
155 struct listnode
*node
;
158 for (ALL_LIST_ELEMENTS_RO(bm
->bgp
, node
, tmp_bgp
)) {
159 if (tmp_bgp
->inst_type
160 == BGP_INSTANCE_TYPE_VRF
) {
162 args
->errmsg
, args
->errmsg_len
,
163 "Cannot delete default BGP instance. Dependent VRF instances exist\n");
164 return NB_ERR_VALIDATION
;
174 bgp
= nb_running_unset_entry(args
->dnode
);
186 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/local-as
188 int bgp_global_local_as_modify(struct nb_cb_modify_args
*args
)
192 const struct lyd_node
*vrf_dnode
;
193 const char *vrf_name
;
194 const char *name
= NULL
;
195 enum bgp_instance_type inst_type
;
197 bool is_view_inst
= false;
199 switch (args
->event
) {
201 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
203 inst_type
= BGP_INSTANCE_TYPE_DEFAULT
;
205 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
206 "control-plane-protocol");
207 vrf_name
= yang_dnode_get_string(vrf_dnode
, "./vrf");
209 if (strmatch(vrf_name
, VRF_DEFAULT_NAME
)) {
213 inst_type
= BGP_INSTANCE_TYPE_VRF
;
216 is_view_inst
= yang_dnode_get_bool(args
->dnode
,
217 "../instance-type-view");
219 inst_type
= BGP_INSTANCE_TYPE_VIEW
;
221 ret
= bgp_lookup_by_as_name_type(&bgp
, &as
, name
, inst_type
);
222 if (ret
== BGP_ERR_INSTANCE_MISMATCH
) {
224 args
->errmsg
, args
->errmsg_len
,
225 "BGP instance name and AS number mismatch\nBGP instance is already running; input-as %u",
228 return NB_ERR_VALIDATION
;
236 /* NOTE: handled in bgp_global_create callback, the as change
237 * will be rejected in validate phase.
239 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
240 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
242 snprintf(args
->errmsg
, args
->errmsg_len
,
243 "BGP instance is already running; AS is %u",
245 return NB_ERR_INCONSISTENCY
;
255 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/router-id
257 int bgp_global_router_id_modify(struct nb_cb_modify_args
*args
)
259 if (args
->event
!= NB_EV_APPLY
)
263 struct in_addr router_id
;
265 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
266 yang_dnode_get_ipv4(&router_id
, args
->dnode
, NULL
);
267 bgp_router_id_static_set(bgp
, router_id
);
272 int bgp_global_router_id_destroy(struct nb_cb_destroy_args
*args
)
274 if (args
->event
!= NB_EV_APPLY
)
278 struct in_addr router_id
;
280 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
282 router_id
.s_addr
= INADDR_ANY
;
283 bgp_router_id_static_set(bgp
, router_id
);
290 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/confederation/identifier
292 int bgp_global_confederation_identifier_modify(struct nb_cb_modify_args
*args
)
297 switch (args
->event
) {
299 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
301 snprintf(args
->errmsg
, args
->errmsg_len
, "Invalid AS.");
302 return NB_ERR_VALIDATION
;
310 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
312 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
314 bgp_confederation_id_set(bgp
, as
);
322 int bgp_global_confederation_identifier_destroy(struct nb_cb_destroy_args
*args
)
324 if (args
->event
!= NB_EV_APPLY
)
329 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
331 bgp_confederation_id_unset(bgp
);
338 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/confederation/member-as
340 int bgp_global_confederation_member_as_create(struct nb_cb_create_args
*args
)
346 switch (args
->event
) {
348 my_as
= yang_dnode_get_uint32(args
->dnode
,
349 "../../../global/local-as");
350 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
353 args
->errmsg
, args
->errmsg_len
,
354 "Local member-AS %u not allowed in confed peer list",
356 return NB_ERR_VALIDATION
;
364 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
365 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
367 ret
= bgp_confederation_peers_add(bgp
, as
);
368 if (ret
== BGP_ERR_INVALID_AS
) {
370 args
->errmsg
, args
->errmsg_len
,
371 "Local member-AS not alloed in confed peer list");
372 return NB_ERR_INCONSISTENCY
;
381 int bgp_global_confederation_member_as_destroy(struct nb_cb_destroy_args
*args
)
383 if (args
->event
!= NB_EV_APPLY
)
389 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
390 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
392 bgp_confederation_peers_remove(bgp
, as
);
399 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config
401 void bgp_global_med_config_apply_finish(struct nb_cb_apply_finish_args
*args
)
405 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
407 bgp_maxmed_update(bgp
);
412 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/enable-med-admin
414 int bgp_global_med_config_enable_med_admin_modify(
415 struct nb_cb_modify_args
*args
)
417 if (args
->event
!= NB_EV_APPLY
)
422 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
424 bgp
->v_maxmed_admin
= yang_dnode_get_bool(args
->dnode
, NULL
);
431 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-admin
433 int bgp_global_med_config_max_med_admin_modify(struct nb_cb_modify_args
*args
)
436 uint32_t med_admin_val
;
438 switch (args
->event
) {
440 med_admin_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
442 /* enable_med_admin is required to be enabled for max-med-admin
445 if (med_admin_val
!= BGP_MAXMED_VALUE_DEFAULT
446 && !yang_dnode_get_bool(args
->dnode
,
447 "../enable-med-admin")) {
448 snprintf(args
->errmsg
, args
->errmsg_len
,
449 "enable med admin is not set");
450 return NB_ERR_VALIDATION
;
458 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
460 med_admin_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
462 bgp
->maxmed_admin_value
= med_admin_val
;
472 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-onstart-up-time
474 int bgp_global_med_config_max_med_onstart_up_time_modify(
475 struct nb_cb_modify_args
*args
)
479 switch (args
->event
) {
485 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
487 bgp
->v_maxmed_onstartup
=
488 yang_dnode_get_uint32(args
->dnode
, NULL
);
496 int bgp_global_med_config_max_med_onstart_up_time_destroy(
497 struct nb_cb_destroy_args
*args
)
501 switch (args
->event
) {
507 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
509 /* Cancel max-med onstartup if its on */
510 if (bgp
->t_maxmed_onstartup
) {
511 THREAD_OFF(bgp
->t_maxmed_onstartup
);
512 bgp
->maxmed_onstartup_over
= 1;
515 bgp
->v_maxmed_onstartup
= BGP_MAXMED_ONSTARTUP_UNCONFIGURED
;
516 /* Resetting onstartup value as part of dependent node is
519 bgp
->maxmed_onstartup_value
= BGP_MAXMED_VALUE_DEFAULT
;
529 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-onstart-up-value
531 int bgp_global_med_config_max_med_onstart_up_value_modify(
532 struct nb_cb_modify_args
*args
)
535 uint32_t onstartup_val
;
537 switch (args
->event
) {
539 onstartup_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
541 if (!yang_dnode_exists(args
->dnode
,
542 "../max-med-onstart-up-time")
543 && onstartup_val
!= BGP_MAXMED_VALUE_DEFAULT
) {
544 snprintf(args
->errmsg
, args
->errmsg_len
,
545 "max-med-onstart-up-time is not set.");
546 return NB_ERR_VALIDATION
;
554 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
556 bgp
->maxmed_onstartup_value
=
557 yang_dnode_get_uint32(args
->dnode
, NULL
);
567 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/route-reflector-cluster-id
569 int bgp_global_route_reflector_route_reflector_cluster_id_modify(
570 struct nb_cb_modify_args
*args
)
572 if (args
->event
!= NB_EV_APPLY
)
576 struct in_addr cluster_id
;
577 const struct lyd_node_leaf_list
*dleaf
;
579 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
581 dleaf
= (const struct lyd_node_leaf_list
*)args
->dnode
;
582 if (dleaf
->value_type
== LY_TYPE_STRING
)
583 yang_dnode_get_ipv4(&cluster_id
, args
->dnode
, NULL
);
585 (void)inet_aton(dleaf
->value_str
, &cluster_id
);
587 bgp_cluster_id_set(bgp
, &cluster_id
);
589 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
590 return NB_ERR_INCONSISTENCY
;
595 int bgp_global_route_reflector_route_reflector_cluster_id_destroy(
596 struct nb_cb_destroy_args
*args
)
598 if (args
->event
!= NB_EV_APPLY
)
603 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
605 bgp_cluster_id_unset(bgp
);
607 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
608 return NB_ERR_INCONSISTENCY
;
615 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/no-client-reflect
617 int bgp_global_route_reflector_no_client_reflect_modify(
618 struct nb_cb_modify_args
*args
)
620 if (args
->event
!= NB_EV_APPLY
)
625 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
627 if (yang_dnode_get_bool(args
->dnode
, NULL
))
628 SET_FLAG(bgp
->flags
, BGP_FLAG_NO_CLIENT_TO_CLIENT
);
630 UNSET_FLAG(bgp
->flags
, BGP_FLAG_NO_CLIENT_TO_CLIENT
);
632 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
633 return NB_ERR_INCONSISTENCY
;
640 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/allow-outbound-policy
642 int bgp_global_route_reflector_allow_outbound_policy_modify(
643 struct nb_cb_modify_args
*args
)
645 if (args
->event
!= NB_EV_APPLY
)
650 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
652 if (yang_dnode_get_bool(args
->dnode
, NULL
))
653 SET_FLAG(bgp
->flags
, BGP_FLAG_RR_ALLOW_OUTBOUND_POLICY
);
655 UNSET_FLAG(bgp
->flags
, BGP_FLAG_RR_ALLOW_OUTBOUND_POLICY
);
657 update_group_announce_rrclients(bgp
);
659 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
660 return NB_ERR_INCONSISTENCY
;
667 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options
669 void bgp_global_route_selection_options_apply_finish(
670 struct nb_cb_apply_finish_args
*args
)
674 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
676 bgp_recalculate_all_bestpaths(bgp
);
681 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/always-compare-med
683 int bgp_global_route_selection_options_always_compare_med_modify(
684 struct nb_cb_modify_args
*args
)
686 if (args
->event
!= NB_EV_APPLY
)
691 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
693 if (yang_dnode_get_bool(args
->dnode
, NULL
))
694 SET_FLAG(bgp
->flags
, BGP_FLAG_ALWAYS_COMPARE_MED
);
696 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ALWAYS_COMPARE_MED
);
704 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/deterministic-med
706 int bgp_global_route_selection_options_deterministic_med_modify(
707 struct nb_cb_modify_args
*args
)
710 int bestpath_per_as_used
;
714 struct listnode
*node
;
716 switch (args
->event
) {
718 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
723 /* for deconfiguring deterministic-med case */
724 if (!yang_dnode_get_bool(args
->dnode
, NULL
)
725 && CHECK_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
)) {
726 bestpath_per_as_used
= 0;
728 for (ALL_LIST_ELEMENTS_RO(bgp
->peer
, node
, peer
)) {
729 FOREACH_AFI_SAFI (afi
, safi
)
730 if (bgp_addpath_dmed_required(
731 peer
->addpath_type
[afi
]
733 bestpath_per_as_used
= 1;
737 if (bestpath_per_as_used
)
741 if (bestpath_per_as_used
) {
743 args
->errmsg
, args
->errmsg_len
,
744 "bgp deterministic-med cannot be disabled while addpath-tx-bestpath-per-AS is in use");
745 return NB_ERR_VALIDATION
;
754 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
756 if (yang_dnode_get_bool(args
->dnode
, NULL
))
757 SET_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
);
759 UNSET_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
);
769 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/confed-med
771 int bgp_global_route_selection_options_confed_med_modify(
772 struct nb_cb_modify_args
*args
)
774 if (args
->event
!= NB_EV_APPLY
)
779 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
781 if (yang_dnode_get_bool(args
->dnode
, NULL
))
782 SET_FLAG(bgp
->flags
, BGP_FLAG_MED_CONFED
);
784 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MED_CONFED
);
791 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/missing-as-worst-med
793 int bgp_global_route_selection_options_missing_as_worst_med_modify(
794 struct nb_cb_modify_args
*args
)
796 if (args
->event
!= NB_EV_APPLY
)
801 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
803 if (yang_dnode_get_bool(args
->dnode
, NULL
))
804 SET_FLAG(bgp
->flags
, BGP_FLAG_MED_MISSING_AS_WORST
);
806 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MED_MISSING_AS_WORST
);
813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/aspath-confed
815 int bgp_global_route_selection_options_aspath_confed_modify(
816 struct nb_cb_modify_args
*args
)
818 switch (args
->event
) {
823 /* TODO: implement me. */
832 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/ignore-as-path-length
834 int bgp_global_route_selection_options_ignore_as_path_length_modify(
835 struct nb_cb_modify_args
*args
)
837 if (args
->event
!= NB_EV_APPLY
)
842 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
844 if (yang_dnode_get_bool(args
->dnode
, NULL
))
845 SET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_IGNORE
);
847 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_IGNORE
);
854 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/external-compare-router-id
856 int bgp_global_route_selection_options_external_compare_router_id_modify(
857 struct nb_cb_modify_args
*args
)
859 if (args
->event
!= NB_EV_APPLY
)
864 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
866 if (yang_dnode_get_bool(args
->dnode
, NULL
))
867 SET_FLAG(bgp
->flags
, BGP_FLAG_COMPARE_ROUTER_ID
);
869 UNSET_FLAG(bgp
->flags
, BGP_FLAG_COMPARE_ROUTER_ID
);
876 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/allow-multiple-as
878 int bgp_global_route_selection_options_allow_multiple_as_modify(
879 struct nb_cb_modify_args
*args
)
883 switch (args
->event
) {
889 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
891 if (yang_dnode_get_bool(args
->dnode
, NULL
)) {
892 SET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_MULTIPATH_RELAX
);
893 if (yang_dnode_get_bool(args
->dnode
,
894 "../multi-path-as-set")) {
896 BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
898 UNSET_FLAG(bgp
->flags
,
899 BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
902 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_MULTIPATH_RELAX
);
904 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
915 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/multi-path-as-set
917 int bgp_global_route_selection_options_multi_path_as_set_modify(
918 struct nb_cb_modify_args
*args
)
922 switch (args
->event
) {
928 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
929 if (yang_dnode_get_bool(args
->dnode
, NULL
))
930 SET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
932 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
939 int bgp_global_route_selection_options_multi_path_as_set_destroy(
940 struct nb_cb_destroy_args
*args
)
944 switch (args
->event
) {
950 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
951 /* Only unset if it set, it is possible allow_multiple_as_modify
954 if (CHECK_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
)) {
955 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
957 bgp_recalculate_all_bestpaths(bgp
);
968 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/dynamic-neighbors-limit
970 int bgp_global_global_neighbor_config_dynamic_neighbors_limit_modify(
971 struct nb_cb_modify_args
*args
)
973 if (args
->event
!= NB_EV_APPLY
)
977 uint32_t listen_limit
;
979 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
981 listen_limit
= yang_dnode_get_uint32(args
->dnode
, NULL
);
983 bgp_listen_limit_set(bgp
, listen_limit
);
988 int bgp_global_global_neighbor_config_dynamic_neighbors_limit_destroy(
989 struct nb_cb_destroy_args
*args
)
991 if (args
->event
!= NB_EV_APPLY
)
996 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
998 bgp_listen_limit_unset(bgp
);
1005 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/log-neighbor-changes
1007 int bgp_global_global_neighbor_config_log_neighbor_changes_modify(
1008 struct nb_cb_modify_args
*args
)
1010 if (args
->event
!= NB_EV_APPLY
)
1015 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1017 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1018 SET_FLAG(bgp
->flags
, BGP_FLAG_LOG_NEIGHBOR_CHANGES
);
1020 UNSET_FLAG(bgp
->flags
, BGP_FLAG_LOG_NEIGHBOR_CHANGES
);
1027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/packet-quanta-config/wpkt-quanta
1029 int bgp_global_global_neighbor_config_packet_quanta_config_wpkt_quanta_modify(
1030 struct nb_cb_modify_args
*args
)
1032 if (args
->event
!= NB_EV_APPLY
)
1038 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1040 quanta
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1042 if (atomic_load_explicit(&bgp
->wpkt_quanta
, memory_order_relaxed
)
1043 == BGP_WRITE_PACKET_MAX
)
1044 bgp_wpkt_quanta_config_vty(bgp
, quanta
, true);
1046 bgp_wpkt_quanta_config_vty(bgp
, quanta
, false);
1053 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/packet-quanta-config/rpkt-quanta
1055 int bgp_global_global_neighbor_config_packet_quanta_config_rpkt_quanta_modify(
1056 struct nb_cb_modify_args
*args
)
1058 if (args
->event
!= NB_EV_APPLY
)
1064 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1066 quanta
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1068 if (atomic_load_explicit(&bgp
->rpkt_quanta
, memory_order_relaxed
)
1069 == BGP_READ_PACKET_MAX
)
1070 bgp_rpkt_quanta_config_vty(bgp
, quanta
, true);
1072 bgp_rpkt_quanta_config_vty(bgp
, quanta
, false);
1079 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/enabled
1081 int bgp_global_graceful_restart_enabled_modify(struct nb_cb_modify_args
*args
)
1083 switch (args
->event
) {
1084 case NB_EV_VALIDATE
:
1088 /* TODO: implement me. */
1095 int bgp_global_graceful_restart_enabled_destroy(struct nb_cb_destroy_args
*args
)
1097 switch (args
->event
) {
1098 case NB_EV_VALIDATE
:
1102 /* TODO: implement me. */
1111 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/graceful-restart-disable
1113 int bgp_global_graceful_restart_graceful_restart_disable_modify(
1114 struct nb_cb_modify_args
*args
)
1116 switch (args
->event
) {
1117 case NB_EV_VALIDATE
:
1121 /* TODO: implement me. */
1128 int bgp_global_graceful_restart_graceful_restart_disable_destroy(
1129 struct nb_cb_destroy_args
*args
)
1131 switch (args
->event
) {
1132 case NB_EV_VALIDATE
:
1136 /* TODO: implement me. */
1145 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/preserve-fw-entry
1147 int bgp_global_graceful_restart_preserve_fw_entry_modify(
1148 struct nb_cb_modify_args
*args
)
1150 switch (args
->event
) {
1151 case NB_EV_VALIDATE
:
1155 /* TODO: implement me. */
1164 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/restart-time
1166 int bgp_global_graceful_restart_restart_time_modify(
1167 struct nb_cb_modify_args
*args
)
1169 switch (args
->event
) {
1170 case NB_EV_VALIDATE
:
1174 /* TODO: implement me. */
1183 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/stale-routes-time
1185 int bgp_global_graceful_restart_stale_routes_time_modify(
1186 struct nb_cb_modify_args
*args
)
1188 switch (args
->event
) {
1189 case NB_EV_VALIDATE
:
1193 /* TODO: implement me. */
1202 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/selection-deferral-time
1204 int bgp_global_graceful_restart_selection_deferral_time_modify(
1205 struct nb_cb_modify_args
*args
)
1207 switch (args
->event
) {
1208 case NB_EV_VALIDATE
:
1212 /* TODO: implement me. */
1221 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/rib-stale-time
1223 int bgp_global_graceful_restart_rib_stale_time_modify(
1224 struct nb_cb_modify_args
*args
)
1226 switch (args
->event
) {
1227 case NB_EV_VALIDATE
:
1231 /* TODO: implement me. */
1240 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-update-group-config/subgroup-pkt-queue-size
1242 int bgp_global_global_update_group_config_subgroup_pkt_queue_size_modify(
1243 struct nb_cb_modify_args
*args
)
1245 if (args
->event
!= NB_EV_APPLY
)
1251 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1253 max_size
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1255 bgp_default_subgroup_pkt_queue_max_set(bgp
, max_size
);
1262 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-update-group-config/coalesce-time
1264 int bgp_global_global_update_group_config_coalesce_time_modify(
1265 struct nb_cb_modify_args
*args
)
1267 if (args
->event
!= NB_EV_APPLY
)
1271 uint32_t coalesce_time
;
1273 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1275 coalesce_time
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1277 if (coalesce_time
!= BGP_DEFAULT_SUBGROUP_COALESCE_TIME
) {
1278 bgp
->heuristic_coalesce
= false;
1279 bgp
->coalesce_time
= coalesce_time
;
1281 bgp
->heuristic_coalesce
= true;
1282 bgp
->coalesce_time
= BGP_DEFAULT_SUBGROUP_COALESCE_TIME
;
1290 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/rmap-delay-time
1292 int bgp_global_global_config_timers_rmap_delay_time_modify(
1293 struct nb_cb_modify_args
*args
)
1295 switch (args
->event
) {
1296 case NB_EV_VALIDATE
:
1300 /* TODO: implement me. */
1309 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/update-delay-time
1311 int bgp_global_global_config_timers_update_delay_time_modify(
1312 struct nb_cb_modify_args
*args
)
1314 switch (args
->event
) {
1315 case NB_EV_VALIDATE
:
1319 /* TODO: implement me. */
1326 int bgp_global_global_config_timers_update_delay_time_destroy(
1327 struct nb_cb_destroy_args
*args
)
1329 switch (args
->event
) {
1330 case NB_EV_VALIDATE
:
1334 /* TODO: implement me. */
1343 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/establish-wait-time
1345 int bgp_global_global_config_timers_establish_wait_time_modify(
1346 struct nb_cb_modify_args
*args
)
1348 switch (args
->event
) {
1349 case NB_EV_VALIDATE
:
1353 /* TODO: implement me. */
1360 int bgp_global_global_config_timers_establish_wait_time_destroy(
1361 struct nb_cb_destroy_args
*args
)
1363 switch (args
->event
) {
1364 case NB_EV_VALIDATE
:
1368 /* TODO: implement me. */
1377 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/connect-retry-interval
1379 int bgp_global_global_config_timers_connect_retry_interval_modify(
1380 struct nb_cb_modify_args
*args
)
1382 switch (args
->event
) {
1383 case NB_EV_VALIDATE
:
1387 /* TODO: implement me. */
1396 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/hold-time
1398 int bgp_global_global_config_timers_hold_time_modify(
1399 struct nb_cb_modify_args
*args
)
1402 unsigned long keepalive
= 0;
1403 unsigned long holdtime
= 0;
1405 switch (args
->event
) {
1406 case NB_EV_VALIDATE
:
1407 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1408 /* Holdtime value check. */
1409 if (holdtime
< 3 && holdtime
!= 0) {
1411 args
->errmsg
, args
->errmsg_len
,
1412 "hold time value must be either 0 or greater than 3");
1413 return NB_ERR_VALIDATION
;
1421 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1423 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
1424 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1426 bgp_timers_set(bgp
, keepalive
, holdtime
, DFLT_BGP_CONNECT_RETRY
,
1427 BGP_DEFAULT_DELAYOPEN
);
1437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/keepalive
1439 int bgp_global_global_config_timers_keepalive_modify(
1440 struct nb_cb_modify_args
*args
)
1443 unsigned long keepalive
= 0;
1444 unsigned long holdtime
= 0;
1446 switch (args
->event
) {
1447 case NB_EV_VALIDATE
:
1448 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
1449 /* Holdtime value check. */
1450 if (holdtime
< 3 && holdtime
!= 0) {
1452 args
->errmsg
, args
->errmsg_len
,
1453 "hold time value must be either 0 or greater than 3");
1454 return NB_ERR_VALIDATION
;
1462 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1464 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1465 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
1467 bgp_timers_set(bgp
, keepalive
, holdtime
, DFLT_BGP_CONNECT_RETRY
,
1468 BGP_DEFAULT_DELAYOPEN
);
1478 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/instance-type-view
1480 int bgp_global_instance_type_view_modify(struct nb_cb_modify_args
*args
)
1482 switch (args
->event
) {
1483 case NB_EV_VALIDATE
:
1487 /* TODO: implement me. */
1496 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/ebgp-multihop-connected-route-check
1498 int bgp_global_ebgp_multihop_connected_route_check_modify(
1499 struct nb_cb_modify_args
*args
)
1501 if (args
->event
!= NB_EV_APPLY
)
1506 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1508 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1509 SET_FLAG(bgp
->flags
, BGP_FLAG_DISABLE_NH_CONNECTED_CHK
);
1511 UNSET_FLAG(bgp
->flags
, BGP_FLAG_DISABLE_NH_CONNECTED_CHK
);
1513 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
1514 return NB_ERR_INCONSISTENCY
;
1521 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/fast-external-failover
1523 int bgp_global_fast_external_failover_modify(struct nb_cb_modify_args
*args
)
1525 if (args
->event
!= NB_EV_APPLY
)
1529 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1530 if (!yang_dnode_get_bool(args
->dnode
, NULL
)) {
1531 SET_FLAG(bgp
->flags
, BGP_FLAG_NO_FAST_EXT_FAILOVER
);
1533 UNSET_FLAG(bgp
->flags
, BGP_FLAG_NO_FAST_EXT_FAILOVER
);
1540 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/local-pref
1542 int bgp_global_local_pref_modify(struct nb_cb_modify_args
*args
)
1544 if (args
->event
!= NB_EV_APPLY
)
1547 uint32_t local_pref
;
1549 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1550 local_pref
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1552 bgp_default_local_preference_set(bgp
, local_pref
);
1554 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
1555 return NB_ERR_INCONSISTENCY
;
1562 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/default-shutdown
1564 int bgp_global_default_shutdown_modify(struct nb_cb_modify_args
*args
)
1566 if (args
->event
!= NB_EV_APPLY
)
1571 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1572 bgp
->autoshutdown
= yang_dnode_get_bool(args
->dnode
, NULL
);
1579 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/ebgp-requires-policy
1581 int bgp_global_ebgp_requires_policy_modify(struct nb_cb_modify_args
*args
)
1583 if (args
->event
!= NB_EV_APPLY
)
1588 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1590 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1591 SET_FLAG(bgp
->flags
, BGP_FLAG_EBGP_REQUIRES_POLICY
);
1593 UNSET_FLAG(bgp
->flags
, BGP_FLAG_EBGP_REQUIRES_POLICY
);
1600 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/suppress-duplicates
1602 int bgp_global_suppress_duplicates_modify(struct nb_cb_modify_args
*args
)
1604 if (args
->event
!= NB_EV_APPLY
)
1609 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1611 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1612 SET_FLAG(bgp
->flags
, BGP_FLAG_SUPPRESS_DUPLICATES
);
1614 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SUPPRESS_DUPLICATES
);
1621 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/show-hostname
1623 int bgp_global_show_hostname_modify(struct nb_cb_modify_args
*args
)
1625 if (args
->event
!= NB_EV_APPLY
)
1630 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1632 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1633 SET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_HOSTNAME
);
1635 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_HOSTNAME
);
1642 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/show-nexthop-hostname
1644 int bgp_global_show_nexthop_hostname_modify(struct nb_cb_modify_args
*args
)
1646 if (args
->event
!= NB_EV_APPLY
)
1651 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1653 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1654 SET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_NEXTHOP_HOSTNAME
);
1656 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_NEXTHOP_HOSTNAME
);
1663 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/import-check
1665 int bgp_global_import_check_modify(struct nb_cb_modify_args
*args
)
1667 if (args
->event
!= NB_EV_APPLY
)
1672 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1674 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1675 SET_FLAG(bgp
->flags
, BGP_FLAG_IMPORT_CHECK
);
1677 UNSET_FLAG(bgp
->flags
, BGP_FLAG_IMPORT_CHECK
);
1679 bgp_static_redo_import_check(bgp
);
1686 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-shutdown/enable
1688 int bgp_global_graceful_shutdown_enable_modify(struct nb_cb_modify_args
*args
)
1692 switch (args
->event
) {
1693 case NB_EV_VALIDATE
:
1694 if (CHECK_FLAG(bm
->flags
, BM_FLAG_GRACEFUL_SHUTDOWN
)) {
1696 args
->errmsg
, args
->errmsg_len
,
1697 "%%Failed: per-vrf graceful-shutdown config not permitted with global graceful-shutdown");
1698 return NB_ERR_VALIDATION
;
1706 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1708 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1709 SET_FLAG(bgp
->flags
, BGP_FLAG_GRACEFUL_SHUTDOWN
);
1711 UNSET_FLAG(bgp
->flags
, BGP_FLAG_GRACEFUL_SHUTDOWN
);
1713 bgp_static_redo_import_check(bgp
);
1714 bgp_redistribute_redo(bgp
);
1716 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
,
1718 return NB_ERR_INCONSISTENCY
;
1720 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
,
1722 return NB_ERR_INCONSISTENCY
;
1732 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list
1734 int bgp_global_bmp_config_target_list_create(struct nb_cb_create_args
*args
)
1736 switch (args
->event
) {
1737 case NB_EV_VALIDATE
:
1741 /* TODO: implement me. */
1748 int bgp_global_bmp_config_target_list_destroy(struct nb_cb_destroy_args
*args
)
1750 switch (args
->event
) {
1751 case NB_EV_VALIDATE
:
1755 /* TODO: implement me. */
1764 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/incoming-session/session-list
1766 int bgp_global_bmp_config_target_list_incoming_session_session_list_create(
1767 struct nb_cb_create_args
*args
)
1769 switch (args
->event
) {
1770 case NB_EV_VALIDATE
:
1774 /* TODO: implement me. */
1781 int bgp_global_bmp_config_target_list_incoming_session_session_list_destroy(
1782 struct nb_cb_destroy_args
*args
)
1784 switch (args
->event
) {
1785 case NB_EV_VALIDATE
:
1789 /* TODO: implement me. */
1798 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list
1800 int bgp_global_bmp_config_target_list_outgoing_session_session_list_create(
1801 struct nb_cb_create_args
*args
)
1803 switch (args
->event
) {
1804 case NB_EV_VALIDATE
:
1808 /* TODO: implement me. */
1815 int bgp_global_bmp_config_target_list_outgoing_session_session_list_destroy(
1816 struct nb_cb_destroy_args
*args
)
1818 switch (args
->event
) {
1819 case NB_EV_VALIDATE
:
1823 /* TODO: implement me. */
1832 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list/min-retry-time
1834 int bgp_global_bmp_config_target_list_outgoing_session_session_list_min_retry_time_modify(
1835 struct nb_cb_modify_args
*args
)
1837 switch (args
->event
) {
1838 case NB_EV_VALIDATE
:
1842 /* TODO: implement me. */
1851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list/max-retry-time
1853 int bgp_global_bmp_config_target_list_outgoing_session_session_list_max_retry_time_modify(
1854 struct nb_cb_modify_args
*args
)
1856 switch (args
->event
) {
1857 case NB_EV_VALIDATE
:
1861 /* TODO: implement me. */
1870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/mirror
1872 int bgp_global_bmp_config_target_list_mirror_modify(
1873 struct nb_cb_modify_args
*args
)
1875 switch (args
->event
) {
1876 case NB_EV_VALIDATE
:
1880 /* TODO: implement me. */
1889 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/stats-time
1891 int bgp_global_bmp_config_target_list_stats_time_modify(
1892 struct nb_cb_modify_args
*args
)
1894 switch (args
->event
) {
1895 case NB_EV_VALIDATE
:
1899 /* TODO: implement me. */
1906 int bgp_global_bmp_config_target_list_stats_time_destroy(
1907 struct nb_cb_destroy_args
*args
)
1909 switch (args
->event
) {
1910 case NB_EV_VALIDATE
:
1914 /* TODO: implement me. */
1923 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/ipv4-access-list
1925 int bgp_global_bmp_config_target_list_ipv4_access_list_modify(
1926 struct nb_cb_modify_args
*args
)
1928 switch (args
->event
) {
1929 case NB_EV_VALIDATE
:
1933 /* TODO: implement me. */
1940 int bgp_global_bmp_config_target_list_ipv4_access_list_destroy(
1941 struct nb_cb_destroy_args
*args
)
1943 switch (args
->event
) {
1944 case NB_EV_VALIDATE
:
1948 /* TODO: implement me. */
1957 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/ipv6-access-list
1959 int bgp_global_bmp_config_target_list_ipv6_access_list_modify(
1960 struct nb_cb_modify_args
*args
)
1962 switch (args
->event
) {
1963 case NB_EV_VALIDATE
:
1967 /* TODO: implement me. */
1974 int bgp_global_bmp_config_target_list_ipv6_access_list_destroy(
1975 struct nb_cb_destroy_args
*args
)
1977 switch (args
->event
) {
1978 case NB_EV_VALIDATE
:
1982 /* TODO: implement me. */
1991 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi
1993 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_create(
1994 struct nb_cb_create_args
*args
)
1996 switch (args
->event
) {
1997 case NB_EV_VALIDATE
:
2001 /* TODO: implement me. */
2008 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_destroy(
2009 struct nb_cb_destroy_args
*args
)
2011 switch (args
->event
) {
2012 case NB_EV_VALIDATE
:
2016 /* TODO: implement me. */
2025 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/mirror-buffer-limit
2027 int bgp_global_bmp_config_mirror_buffer_limit_modify(
2028 struct nb_cb_modify_args
*args
)
2030 switch (args
->event
) {
2031 case NB_EV_VALIDATE
:
2035 /* TODO: implement me. */
2042 int bgp_global_bmp_config_mirror_buffer_limit_destroy(
2043 struct nb_cb_destroy_args
*args
)
2045 switch (args
->event
) {
2046 case NB_EV_VALIDATE
:
2050 /* TODO: implement me. */
2059 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi
2061 int bgp_global_afi_safis_afi_safi_create(struct nb_cb_create_args
*args
)
2063 const struct lyd_node
*vrf_dnode
;
2064 const char *vrf_name
;
2065 const char *af_name
;
2069 switch (args
->event
) {
2070 case NB_EV_VALIDATE
:
2071 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
2072 "control-plane-protocol");
2073 vrf_name
= yang_dnode_get_string(vrf_dnode
, "./vrf");
2074 af_name
= yang_dnode_get_string(args
->dnode
, "./afi-safi-name");
2075 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
2077 if ((!strmatch(vrf_name
, VRF_DEFAULT_NAME
))
2078 && safi
!= SAFI_UNICAST
&& safi
!= SAFI_MULTICAST
2079 && safi
!= SAFI_EVPN
) {
2081 args
->errmsg
, args
->errmsg_len
,
2082 "Only Unicast/Multicast/EVPN SAFIs supported in non-core instances.");
2083 return NB_ERR_VALIDATION
;
2090 /* TODO: implement me. */
2097 int bgp_global_afi_safis_afi_safi_destroy(struct nb_cb_destroy_args
*args
)
2099 switch (args
->event
) {
2100 case NB_EV_VALIDATE
:
2104 /* TODO: implement me. */
2111 static struct peer
*bgp_neighbor_peer_lookup(struct bgp
*bgp
,
2112 const char *peer_str
, char *errmsg
,
2115 struct peer
*peer
= NULL
;
2118 str2sockunion(peer_str
, &su
);
2119 peer
= peer_lookup(bgp
, &su
);
2121 snprintf(errmsg
, errmsg_len
,
2122 "Specify remote-as or peer-group commands first");
2125 if (peer_dynamic_neighbor(peer
)) {
2126 snprintf(errmsg
, errmsg_len
,
2127 "Operation not allowed on a dynamic neighbor\n");
2135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor
2137 int bgp_neighbors_neighbor_create(struct nb_cb_create_args
*args
)
2140 const char *peer_str
;
2143 switch (args
->event
) {
2144 case NB_EV_VALIDATE
:
2147 yang_dnode_get_string(args
->dnode
, "./remote-address");
2149 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
2153 str2sockunion(peer_str
, &su
);
2154 if (peer_address_self_check(bgp
, &su
)) {
2156 args
->errmsg
, args
->errmsg_len
,
2157 "Can not configure the local system as neighbor");
2158 return NB_ERR_VALIDATION
;
2166 /* Once bgp instance available check self peer addr */
2167 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2170 yang_dnode_get_string(args
->dnode
, "./remote-address");
2171 str2sockunion(peer_str
, &su
);
2172 if (peer_address_self_check(bgp
, &su
)) {
2174 args
->errmsg
, args
->errmsg_len
,
2175 "Can not configure the local system as neighbor");
2176 return NB_ERR_INCONSISTENCY
;
2184 int bgp_neighbors_neighbor_destroy(struct nb_cb_destroy_args
*args
)
2188 const char *peer_str
;
2190 struct peer
*peer
= NULL
;
2193 switch (args
->event
) {
2194 case NB_EV_VALIDATE
:
2195 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
2199 yang_dnode_get_string(args
->dnode
, "./remote-address");
2200 str2sockunion(peer_str
, &su
);
2202 peer
= peer_lookup(bgp
, &su
);
2204 if (peer_dynamic_neighbor(peer
)) {
2206 args
->errmsg
, args
->errmsg_len
,
2207 "Operation not allowed on a dynamic neighbor");
2208 return NB_ERR_VALIDATION
;
2217 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2220 yang_dnode_get_string(args
->dnode
, "./remote-address");
2221 str2sockunion(peer_str
, &su
);
2223 peer
= peer_lookup(bgp
, &su
);
2225 if (peer_dynamic_neighbor(peer
)) {
2227 args
->errmsg
, args
->errmsg_len
,
2228 "Operation not allowed on a dynamic neighbor");
2229 return NB_ERR_INCONSISTENCY
;
2232 other
= peer
->doppelganger
;
2234 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
2235 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
2237 peer_notify_unconfig(peer
);
2239 if (other
&& other
->status
!= Deleted
) {
2240 peer_notify_unconfig(other
);
2253 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-interface
2255 int bgp_neighbors_neighbor_local_interface_modify(
2256 struct nb_cb_modify_args
*args
)
2259 const char *peer_str
;
2260 const char *intf_str
;
2263 switch (args
->event
) {
2264 case NB_EV_VALIDATE
:
2269 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2271 yang_dnode_get_string(args
->dnode
, "../remote-address");
2272 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2275 snprintf(args
->errmsg
, args
->errmsg_len
,
2276 "BGP invalid peer %s", peer_str
);
2277 return NB_ERR_INCONSISTENCY
;
2280 if (peer
->conf_if
) {
2281 snprintf(args
->errmsg
, args
->errmsg_len
,
2282 "BGP invalid peer %s", peer_str
);
2283 return NB_ERR_INCONSISTENCY
;
2286 intf_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2288 peer_interface_set(peer
, intf_str
);
2296 int bgp_neighbors_neighbor_local_interface_destroy(
2297 struct nb_cb_destroy_args
*args
)
2300 const char *peer_str
;
2303 switch (args
->event
) {
2304 case NB_EV_VALIDATE
:
2309 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2311 yang_dnode_get_string(args
->dnode
, "../remote-address");
2312 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2315 snprintf(args
->errmsg
, args
->errmsg_len
,
2316 "BGP invalid peer %s", peer_str
);
2317 return NB_ERR_INCONSISTENCY
;
2320 if (peer
->conf_if
) {
2321 snprintf(args
->errmsg
, args
->errmsg_len
,
2322 "BGP invalid peer %s", peer_str
);
2323 return NB_ERR_INCONSISTENCY
;
2326 peer_interface_unset(peer
);
2336 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-port
2338 int bgp_neighbors_neighbor_local_port_modify(struct nb_cb_modify_args
*args
)
2341 const char *peer_str
;
2345 switch (args
->event
) {
2346 case NB_EV_VALIDATE
:
2351 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2353 yang_dnode_get_string(args
->dnode
, "../remote-address");
2354 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2357 snprintf(args
->errmsg
, args
->errmsg_len
,
2358 "BGP invalid peer %s", peer_str
);
2359 return NB_ERR_INCONSISTENCY
;
2362 port
= yang_dnode_get_uint16(args
->dnode
, NULL
);
2363 peer_port_set(peer
, port
);
2371 int bgp_neighbors_neighbor_local_port_destroy(struct nb_cb_destroy_args
*args
)
2374 const char *peer_str
;
2379 switch (args
->event
) {
2380 case NB_EV_VALIDATE
:
2385 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2387 yang_dnode_get_string(args
->dnode
, "../remote-address");
2388 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2391 snprintf(args
->errmsg
, args
->errmsg_len
,
2392 "BGP invalid peer %s", peer_str
);
2393 return NB_ERR_INCONSISTENCY
;
2396 sp
= getservbyname("bgp", "tcp");
2397 port
= (sp
== NULL
) ? BGP_PORT_DEFAULT
: ntohs(sp
->s_port
);
2398 peer_port_set(peer
, port
);
2408 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/peer-group
2410 int bgp_neighbors_neighbor_peer_group_modify(struct nb_cb_modify_args
*args
)
2413 const char *peer_str
;
2414 const char *peer_grp_str
;
2416 struct peer_group
*group
;
2420 char prgrp_xpath
[XPATH_MAXLEN
];
2421 const struct lyd_node
*bgp_dnode
;
2423 switch (args
->event
) {
2424 case NB_EV_VALIDATE
:
2425 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2426 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
2427 snprintf(prgrp_xpath
, sizeof(prgrp_xpath
),
2428 FRR_BGP_PEER_GROUP_XPATH
, peer_grp_str
, "");
2430 if (!yang_dnode_exists(bgp_dnode
, prgrp_xpath
)) {
2431 snprintf(args
->errmsg
, args
->errmsg_len
,
2432 "Configure the peer-group first %s",
2434 return NB_ERR_VALIDATION
;
2442 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2444 yang_dnode_get_string(args
->dnode
, "../remote-address");
2445 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2448 str2sockunion(peer_str
, &su
);
2450 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2451 group
= peer_group_lookup(bgp
, peer_grp_str
);
2453 snprintf(args
->errmsg
, args
->errmsg_len
,
2454 "Configure the peer-group first %s",
2456 return NB_ERR_INCONSISTENCY
;
2459 ret
= peer_group_bind(bgp
, &su
, peer
, group
, &as
);
2461 if (ret
== BGP_ERR_PEER_GROUP_PEER_TYPE_DIFFERENT
) {
2463 args
->errmsg
, args
->errmsg_len
,
2464 "Peer with AS %u cannot be in this peer-group, members must be all internal or all external\n",
2466 return NB_ERR_INCONSISTENCY
;
2469 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2471 return NB_ERR_INCONSISTENCY
;
2479 int bgp_neighbors_neighbor_peer_group_destroy(struct nb_cb_destroy_args
*args
)
2482 const char *peer_str
;
2486 switch (args
->event
) {
2487 case NB_EV_VALIDATE
:
2492 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2494 yang_dnode_get_string(args
->dnode
, "../remote-address");
2495 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2498 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
2499 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
2501 peer_notify_unconfig(peer
);
2502 ret
= peer_delete(peer
);
2504 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2506 return NB_ERR_INCONSISTENCY
;
2516 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/password
2518 int bgp_neighbors_neighbor_password_modify(struct nb_cb_modify_args
*args
)
2521 const char *peer_str
;
2522 const char *passwrd_str
;
2525 switch (args
->event
) {
2526 case NB_EV_VALIDATE
:
2531 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2533 yang_dnode_get_string(args
->dnode
, "../remote-address");
2534 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2537 return NB_ERR_INCONSISTENCY
;
2539 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2541 peer_password_set(peer
, passwrd_str
);
2549 int bgp_neighbors_neighbor_password_destroy(struct nb_cb_destroy_args
*args
)
2552 const char *peer_str
;
2555 switch (args
->event
) {
2556 case NB_EV_VALIDATE
:
2561 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2563 yang_dnode_get_string(args
->dnode
, "../remote-address");
2564 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2567 return NB_ERR_INCONSISTENCY
;
2569 peer_password_unset(peer
);
2579 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/ttl-security
2581 int bgp_neighbors_neighbor_ttl_security_modify(struct nb_cb_modify_args
*args
)
2584 const char *peer_str
;
2589 switch (args
->event
) {
2590 case NB_EV_VALIDATE
:
2595 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2597 yang_dnode_get_string(args
->dnode
, "../remote-address");
2598 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2601 return NB_ERR_INCONSISTENCY
;
2603 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
2605 * If 'neighbor swpX', then this is for directly connected
2606 * peers, we should not accept a ttl-security hops value greater
2609 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
2611 args
->errmsg
, args
->errmsg_len
,
2612 "%d is directly connected peer, hops cannot exceed 1\n",
2614 return NB_ERR_INCONSISTENCY
;
2617 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
2618 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
))
2619 return NB_ERR_INCONSISTENCY
;
2627 int bgp_neighbors_neighbor_ttl_security_destroy(struct nb_cb_destroy_args
*args
)
2630 const char *peer_str
;
2634 switch (args
->event
) {
2635 case NB_EV_VALIDATE
:
2640 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2642 yang_dnode_get_string(args
->dnode
, "../remote-address");
2643 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2646 return NB_ERR_INCONSISTENCY
;
2648 ret
= peer_ttl_security_hops_unset(peer
);
2649 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2651 return NB_ERR_INCONSISTENCY
;
2662 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/solo
2664 int bgp_neighbors_neighbor_solo_modify(struct nb_cb_modify_args
*args
)
2666 switch (args
->event
) {
2667 case NB_EV_VALIDATE
:
2671 /* TODO: implement me. */
2680 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/enforce-first-as
2682 int bgp_neighbors_neighbor_enforce_first_as_modify(
2683 struct nb_cb_modify_args
*args
)
2686 const char *peer_str
;
2688 bool enable
= false;
2690 switch (args
->event
) {
2691 case NB_EV_VALIDATE
:
2696 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2698 yang_dnode_get_string(args
->dnode
, "../remote-address");
2699 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2702 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2704 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2705 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
2706 args
->errmsg
, args
->errmsg_len
);
2715 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/description
2717 int bgp_neighbors_neighbor_description_modify(struct nb_cb_modify_args
*args
)
2720 const char *peer_str
;
2721 const char *desc_str
;
2724 switch (args
->event
) {
2725 case NB_EV_VALIDATE
:
2730 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2732 yang_dnode_get_string(args
->dnode
, "../remote-address");
2734 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2737 return NB_ERR_INCONSISTENCY
;
2739 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2741 peer_description_set(peer
, desc_str
);
2749 int bgp_neighbors_neighbor_description_destroy(struct nb_cb_destroy_args
*args
)
2752 const char *peer_str
;
2755 switch (args
->event
) {
2756 case NB_EV_VALIDATE
:
2761 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2763 yang_dnode_get_string(args
->dnode
, "../remote-address");
2764 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2767 return NB_ERR_INCONSISTENCY
;
2769 peer_description_unset(peer
);
2779 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/passive-mode
2781 int bgp_neighbors_neighbor_passive_mode_modify(struct nb_cb_modify_args
*args
)
2784 const char *peer_str
;
2788 switch (args
->event
) {
2789 case NB_EV_VALIDATE
:
2794 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2796 yang_dnode_get_string(args
->dnode
, "../remote-address");
2797 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2800 return NB_ERR_INCONSISTENCY
;
2802 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
2804 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
2805 set
, args
->errmsg
, args
->errmsg_len
)
2807 return NB_ERR_INCONSISTENCY
;
2817 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/dynamic-capability
2819 int bgp_neighbors_neighbor_capability_options_dynamic_capability_modify(
2820 struct nb_cb_modify_args
*args
)
2823 const char *peer_str
;
2825 bool enable
= false;
2827 switch (args
->event
) {
2828 case NB_EV_VALIDATE
:
2833 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2834 peer_str
= yang_dnode_get_string(args
->dnode
,
2835 "../../remote-address");
2836 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2839 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2841 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2842 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
2843 args
->errmsg
, args
->errmsg_len
);
2853 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/strict-capability
2855 int bgp_neighbors_neighbor_capability_options_strict_capability_modify(
2856 struct nb_cb_modify_args
*args
)
2859 const char *peer_str
;
2861 bool enable
= false;
2863 switch (args
->event
) {
2864 case NB_EV_VALIDATE
:
2869 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2870 peer_str
= yang_dnode_get_string(args
->dnode
,
2871 "../../remote-address");
2872 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2875 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2877 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2878 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
2879 args
->errmsg
, args
->errmsg_len
);
2889 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/extended-nexthop-capability
2891 int bgp_neighbors_neighbor_capability_options_extended_nexthop_capability_modify(
2892 struct nb_cb_modify_args
*args
)
2895 const char *peer_str
;
2897 bool enable
= false;
2899 switch (args
->event
) {
2900 case NB_EV_VALIDATE
:
2905 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2906 peer_str
= yang_dnode_get_string(args
->dnode
,
2907 "../../remote-address");
2908 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2911 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2913 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2914 PEER_FLAG_CAPABILITY_ENHE
, enable
,
2915 args
->errmsg
, args
->errmsg_len
);
2925 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/capability-negotiate
2927 int bgp_neighbors_neighbor_capability_options_capability_negotiate_modify(
2928 struct nb_cb_modify_args
*args
)
2930 switch (args
->event
) {
2931 case NB_EV_VALIDATE
:
2935 /* TODO: implement me. */
2944 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/override-capability
2946 int bgp_neighbors_neighbor_capability_options_override_capability_modify(
2947 struct nb_cb_modify_args
*args
)
2950 const char *peer_str
;
2952 bool enable
= false;
2954 switch (args
->event
) {
2955 case NB_EV_VALIDATE
:
2960 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2961 peer_str
= yang_dnode_get_string(args
->dnode
,
2962 "../../remote-address");
2963 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2966 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2968 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2969 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
2970 args
->errmsg
, args
->errmsg_len
);
2980 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/update-source/ip
2982 int bgp_neighbors_neighbor_update_source_ip_modify(
2983 struct nb_cb_modify_args
*args
)
2986 const char *peer_str
, *source_str
;
2990 switch (args
->event
) {
2991 case NB_EV_VALIDATE
:
2996 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2997 peer_str
= yang_dnode_get_string(args
->dnode
,
2998 "../../remote-address");
2999 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3002 return NB_ERR_INCONSISTENCY
;
3004 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3006 str2sockunion(source_str
, &su
);
3007 peer_update_source_addr_set(peer
, &su
);
3015 int bgp_neighbors_neighbor_update_source_ip_destroy(
3016 struct nb_cb_destroy_args
*args
)
3019 const char *peer_str
;
3022 switch (args
->event
) {
3023 case NB_EV_VALIDATE
:
3028 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3029 peer_str
= yang_dnode_get_string(args
->dnode
,
3030 "../../remote-address");
3031 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3034 return NB_ERR_INCONSISTENCY
;
3036 peer_update_source_unset(peer
);
3046 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/update-source/interface
3048 int bgp_neighbors_neighbor_update_source_interface_modify(
3049 struct nb_cb_modify_args
*args
)
3052 const char *peer_str
, *source_str
;
3056 switch (args
->event
) {
3057 case NB_EV_VALIDATE
:
3058 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3059 if (str2prefix(source_str
, &p
)) {
3060 snprintf(args
->errmsg
, args
->errmsg_len
,
3061 "Invalid update-source, remove prefix length");
3062 return NB_ERR_VALIDATION
;
3069 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3070 peer_str
= yang_dnode_get_string(args
->dnode
,
3071 "../../remote-address");
3072 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3075 return NB_ERR_INCONSISTENCY
;
3077 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3079 peer_update_source_if_set(peer
, source_str
);
3087 int bgp_neighbors_neighbor_update_source_interface_destroy(
3088 struct nb_cb_destroy_args
*args
)
3091 const char *peer_str
;
3094 switch (args
->event
) {
3095 case NB_EV_VALIDATE
:
3100 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3101 peer_str
= yang_dnode_get_string(args
->dnode
,
3102 "../../remote-address");
3103 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3106 return NB_ERR_INCONSISTENCY
;
3108 peer_update_source_unset(peer
);
3118 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/neighbor-remote-as/remote-as-type
3120 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_type_modify(
3121 struct nb_cb_modify_args
*args
)
3124 const char *peer_str
;
3125 int as_type
= AS_SPECIFIED
;
3130 switch (args
->event
) {
3131 case NB_EV_VALIDATE
:
3136 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3138 peer_str
= yang_dnode_get_string(args
->dnode
,
3139 "../../remote-address");
3140 as_type
= yang_dnode_get_enum(args
->dnode
, "../remote-as-type");
3141 /* When remote-as-type is as-specified, the peer will be
3142 * created in remote_as_modify callback */
3143 if (yang_dnode_exists(args
->dnode
, "../remote-as"))
3146 str2sockunion(peer_str
, &su
);
3147 ret
= peer_remote_as(bgp
, &su
, NULL
, &as
, as_type
, AFI_IP
,
3149 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3151 return NB_ERR_INCONSISTENCY
;
3160 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_type_destroy(
3161 struct nb_cb_destroy_args
*args
)
3163 switch (args
->event
) {
3164 case NB_EV_VALIDATE
:
3168 /* TODO: implement me. */
3177 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/neighbor-remote-as/remote-as
3179 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_modify(
3180 struct nb_cb_modify_args
*args
)
3183 const char *peer_str
;
3184 int as_type
= AS_SPECIFIED
;
3189 switch (args
->event
) {
3190 case NB_EV_VALIDATE
:
3195 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3197 peer_str
= yang_dnode_get_string(args
->dnode
,
3198 "../../remote-address");
3199 as_type
= yang_dnode_get_enum(args
->dnode
, "../remote-as-type");
3200 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
3202 str2sockunion(peer_str
, &su
);
3203 ret
= peer_remote_as(bgp
, &su
, NULL
, &as
, as_type
, AFI_IP
,
3205 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3207 return NB_ERR_INCONSISTENCY
;
3216 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_destroy(
3217 struct nb_cb_destroy_args
*args
)
3219 switch (args
->event
) {
3220 case NB_EV_VALIDATE
:
3224 /* TODO: implement me. */
3233 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/ebgp-multihop/enabled
3235 int bgp_neighbors_neighbor_ebgp_multihop_enabled_modify(
3236 struct nb_cb_modify_args
*args
)
3239 const char *peer_str
;
3243 uint8_t ttl
= MAXTTL
;
3245 switch (args
->event
) {
3246 case NB_EV_VALIDATE
:
3251 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3252 peer_str
= yang_dnode_get_string(args
->dnode
,
3253 "../../remote-address");
3254 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3257 return NB_ERR_INCONSISTENCY
;
3259 if (peer
->conf_if
) {
3260 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
3261 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
3263 return NB_ERR_INCONSISTENCY
;
3266 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
3269 ret
= peer_ebgp_multihop_set(peer
, ttl
);
3271 ret
= peer_ebgp_multihop_unset(peer
);
3273 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3275 return NB_ERR_INCONSISTENCY
;
3284 int bgp_neighbors_neighbor_ebgp_multihop_enabled_destroy(
3285 struct nb_cb_destroy_args
*args
)
3288 const char *peer_str
;
3292 switch (args
->event
) {
3293 case NB_EV_VALIDATE
:
3298 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3299 peer_str
= yang_dnode_get_string(args
->dnode
,
3300 "../../remote-address");
3301 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3304 return NB_ERR_INCONSISTENCY
;
3306 ret
= peer_ebgp_multihop_unset(peer
);
3308 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3310 return NB_ERR_INCONSISTENCY
;
3321 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/ebgp-multihop/multihop-ttl
3323 int bgp_neighbors_neighbor_ebgp_multihop_multihop_ttl_modify(
3324 struct nb_cb_modify_args
*args
)
3327 const char *peer_str
;
3330 uint8_t ttl
= MAXTTL
;
3332 switch (args
->event
) {
3333 case NB_EV_VALIDATE
:
3338 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3339 peer_str
= yang_dnode_get_string(args
->dnode
,
3340 "../../remote-address");
3341 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3344 return NB_ERR_INCONSISTENCY
;
3346 if (peer
->conf_if
) {
3347 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
3348 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
3350 return NB_ERR_INCONSISTENCY
;
3353 ttl
= yang_dnode_get_uint8(args
->dnode
, NULL
);
3355 ret
= peer_ebgp_multihop_set(peer
, ttl
);
3357 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
3365 int bgp_neighbors_neighbor_ebgp_multihop_multihop_ttl_destroy(
3366 struct nb_cb_destroy_args
*args
)
3369 const char *peer_str
;
3373 switch (args
->event
) {
3374 case NB_EV_VALIDATE
:
3379 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3380 peer_str
= yang_dnode_get_string(args
->dnode
,
3381 "../../remote-address");
3382 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3385 return NB_ERR_INCONSISTENCY
;
3387 ret
= peer_ebgp_multihop_unset(peer
);
3389 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
3399 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/ebgp-multihop/disable-connected-check
3401 int bgp_neighbors_neighbor_ebgp_multihop_disable_connected_check_modify(
3402 struct nb_cb_modify_args
*args
)
3405 const char *peer_str
;
3409 switch (args
->event
) {
3410 case NB_EV_VALIDATE
:
3415 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3416 peer_str
= yang_dnode_get_string(args
->dnode
,
3417 "../../remote-address");
3418 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3421 return NB_ERR_INCONSISTENCY
;
3423 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
3425 if (peer_flag_modify_nb(bgp
, peer_str
, peer
,
3426 PEER_FLAG_DISABLE_CONNECTED_CHECK
, set
,
3427 args
->errmsg
, args
->errmsg_len
)
3429 return NB_ERR_INCONSISTENCY
;
3439 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as
3441 void bgp_neighbors_neighbor_local_as_apply_finish(
3442 struct nb_cb_apply_finish_args
*args
)
3447 const char *peer_str
;
3448 struct peer
*peer
= NULL
;
3449 bool no_prepend
= 0;
3450 bool replace_as
= 0;
3452 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3453 peer_str
= yang_dnode_get_string(args
->dnode
, "../remote-address");
3454 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3457 if (yang_dnode_exists(args
->dnode
, "./local-as"))
3458 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
3459 if (yang_dnode_exists(args
->dnode
, "./no-prepend"))
3460 no_prepend
= yang_dnode_get_bool(args
->dnode
, "./no-prepend");
3461 if (yang_dnode_exists(args
->dnode
, "./no-replace-as"))
3463 yang_dnode_get_bool(args
->dnode
, "./no-replace-as");
3465 if (!as
&& !no_prepend
&& !replace_as
)
3466 ret
= peer_local_as_unset(peer
);
3468 ret
= peer_local_as_set(peer
, as
, no_prepend
, replace_as
);
3469 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
3474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as/local-as
3476 int bgp_neighbors_neighbor_local_as_local_as_modify(
3477 struct nb_cb_modify_args
*args
)
3479 switch (args
->event
) {
3480 case NB_EV_VALIDATE
:
3484 /* TODO: implement me. */
3491 int bgp_neighbors_neighbor_local_as_local_as_destroy(
3492 struct nb_cb_destroy_args
*args
)
3496 const char *peer_str
;
3499 switch (args
->event
) {
3500 case NB_EV_VALIDATE
:
3505 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3506 peer_str
= yang_dnode_get_string(args
->dnode
,
3507 "../../remote-address");
3510 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3513 ret
= peer_local_as_unset(peer
);
3514 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3516 return NB_ERR_INCONSISTENCY
;
3527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as/no-prepend
3529 int bgp_neighbors_neighbor_local_as_no_prepend_modify(
3530 struct nb_cb_modify_args
*args
)
3532 switch (args
->event
) {
3533 case NB_EV_VALIDATE
:
3537 /* TODO: implement me. */
3544 int bgp_neighbors_neighbor_local_as_no_prepend_destroy(
3545 struct nb_cb_destroy_args
*args
)
3547 switch (args
->event
) {
3548 case NB_EV_VALIDATE
:
3552 /* TODO: implement me. */
3561 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as/no-replace-as
3563 int bgp_neighbors_neighbor_local_as_no_replace_as_modify(
3564 struct nb_cb_modify_args
*args
)
3566 switch (args
->event
) {
3567 case NB_EV_VALIDATE
:
3571 /* TODO: implement me. */
3580 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/enable
3582 int bgp_neighbors_neighbor_bfd_options_enable_modify(
3583 struct nb_cb_modify_args
*args
)
3585 switch (args
->event
) {
3586 case NB_EV_VALIDATE
:
3590 /* TODO: implement me. */
3599 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/detect-multiplier
3601 int bgp_neighbors_neighbor_bfd_options_detect_multiplier_modify(
3602 struct nb_cb_modify_args
*args
)
3604 switch (args
->event
) {
3605 case NB_EV_VALIDATE
:
3609 /* TODO: implement me. */
3616 int bgp_neighbors_neighbor_bfd_options_detect_multiplier_destroy(
3617 struct nb_cb_destroy_args
*args
)
3619 switch (args
->event
) {
3620 case NB_EV_VALIDATE
:
3624 /* TODO: implement me. */
3633 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/required-min-rx
3635 int bgp_neighbors_neighbor_bfd_options_required_min_rx_modify(
3636 struct nb_cb_modify_args
*args
)
3638 switch (args
->event
) {
3639 case NB_EV_VALIDATE
:
3643 /* TODO: implement me. */
3650 int bgp_neighbors_neighbor_bfd_options_required_min_rx_destroy(
3651 struct nb_cb_destroy_args
*args
)
3653 switch (args
->event
) {
3654 case NB_EV_VALIDATE
:
3658 /* TODO: implement me. */
3667 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/desired-min-tx
3669 int bgp_neighbors_neighbor_bfd_options_desired_min_tx_modify(
3670 struct nb_cb_modify_args
*args
)
3672 switch (args
->event
) {
3673 case NB_EV_VALIDATE
:
3677 /* TODO: implement me. */
3684 int bgp_neighbors_neighbor_bfd_options_desired_min_tx_destroy(
3685 struct nb_cb_destroy_args
*args
)
3687 switch (args
->event
) {
3688 case NB_EV_VALIDATE
:
3692 /* TODO: implement me. */
3701 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/session-type
3703 int bgp_neighbors_neighbor_bfd_options_session_type_modify(
3704 struct nb_cb_modify_args
*args
)
3706 switch (args
->event
) {
3707 case NB_EV_VALIDATE
:
3711 /* TODO: implement me. */
3718 int bgp_neighbors_neighbor_bfd_options_session_type_destroy(
3719 struct nb_cb_destroy_args
*args
)
3721 switch (args
->event
) {
3722 case NB_EV_VALIDATE
:
3726 /* TODO: implement me. */
3735 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/bfd-options/check-cp-failure
3737 int bgp_neighbors_neighbor_bfd_options_check_cp_failure_modify(
3738 struct nb_cb_modify_args
*args
)
3740 switch (args
->event
) {
3741 case NB_EV_VALIDATE
:
3745 /* TODO: implement me. */
3752 int bgp_neighbors_neighbor_bfd_options_check_cp_failure_destroy(
3753 struct nb_cb_destroy_args
*args
)
3755 switch (args
->event
) {
3756 case NB_EV_VALIDATE
:
3760 /* TODO: implement me. */
3769 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/admin-shutdown
3771 void bgp_neighbors_neighbor_admin_shutdown_apply_finish(
3772 struct nb_cb_apply_finish_args
*args
)
3775 const char *peer_str
;
3777 bool enable
= false;
3778 const char *message
;
3780 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3781 peer_str
= yang_dnode_get_string(args
->dnode
, "../remote-address");
3782 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3785 if (yang_dnode_exists(args
->dnode
, "./message")) {
3786 message
= yang_dnode_get_string(args
->dnode
, "./message");
3787 peer_tx_shutdown_message_set(peer
, message
);
3789 enable
= yang_dnode_get_bool(args
->dnode
, "./enable");
3791 peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_SHUTDOWN
, enable
,
3792 args
->errmsg
, args
->errmsg_len
);
3797 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/admin-shutdown/enable
3799 int bgp_neighbors_neighbor_admin_shutdown_enable_modify(
3800 struct nb_cb_modify_args
*args
)
3802 switch (args
->event
) {
3803 case NB_EV_VALIDATE
:
3807 /* TODO: implement me. */
3814 int bgp_neighbors_neighbor_admin_shutdown_enable_destroy(
3815 struct nb_cb_destroy_args
*args
)
3817 switch (args
->event
) {
3818 case NB_EV_VALIDATE
:
3822 /* TODO: implement me. */
3831 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/admin-shutdown/message
3833 int bgp_neighbors_neighbor_admin_shutdown_message_modify(
3834 struct nb_cb_modify_args
*args
)
3836 switch (args
->event
) {
3837 case NB_EV_VALIDATE
:
3841 /* TODO: implement me. */
3848 int bgp_neighbors_neighbor_admin_shutdown_message_destroy(
3849 struct nb_cb_destroy_args
*args
)
3851 switch (args
->event
) {
3852 case NB_EV_VALIDATE
:
3856 /* TODO: implement me. */
3865 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/graceful-restart/enable
3867 int bgp_neighbors_neighbor_graceful_restart_enable_modify(
3868 struct nb_cb_modify_args
*args
)
3870 switch (args
->event
) {
3871 case NB_EV_VALIDATE
:
3875 /* TODO: implement me. */
3882 int bgp_neighbors_neighbor_graceful_restart_enable_destroy(
3883 struct nb_cb_destroy_args
*args
)
3885 switch (args
->event
) {
3886 case NB_EV_VALIDATE
:
3890 /* TODO: implement me. */
3899 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/graceful-restart/graceful-restart-helper
3901 int bgp_neighbors_neighbor_graceful_restart_graceful_restart_helper_modify(
3902 struct nb_cb_modify_args
*args
)
3904 switch (args
->event
) {
3905 case NB_EV_VALIDATE
:
3909 /* TODO: implement me. */
3916 int bgp_neighbors_neighbor_graceful_restart_graceful_restart_helper_destroy(
3917 struct nb_cb_destroy_args
*args
)
3919 switch (args
->event
) {
3920 case NB_EV_VALIDATE
:
3924 /* TODO: implement me. */
3933 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/graceful-restart/graceful-restart-disable
3935 int bgp_neighbors_neighbor_graceful_restart_graceful_restart_disable_modify(
3936 struct nb_cb_modify_args
*args
)
3938 switch (args
->event
) {
3939 case NB_EV_VALIDATE
:
3943 /* TODO: implement me. */
3950 int bgp_neighbors_neighbor_graceful_restart_graceful_restart_disable_destroy(
3951 struct nb_cb_destroy_args
*args
)
3953 switch (args
->event
) {
3954 case NB_EV_VALIDATE
:
3958 /* TODO: implement me. */
3967 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/timers/advertise-interval
3969 int bgp_neighbors_neighbor_timers_advertise_interval_modify(
3970 struct nb_cb_modify_args
*args
)
3973 const char *peer_str
;
3978 switch (args
->event
) {
3979 case NB_EV_VALIDATE
:
3984 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3985 peer_str
= yang_dnode_get_string(args
->dnode
,
3986 "../../remote-address");
3987 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3989 routeadv
= yang_dnode_get_uint16(args
->dnode
, NULL
);
3991 ret
= peer_advertise_interval_set(peer
, routeadv
);
3992 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3994 return NB_ERR_INCONSISTENCY
;
4002 int bgp_neighbors_neighbor_timers_advertise_interval_destroy(
4003 struct nb_cb_destroy_args
*args
)
4006 const char *peer_str
;
4010 switch (args
->event
) {
4011 case NB_EV_VALIDATE
:
4016 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4017 peer_str
= yang_dnode_get_string(args
->dnode
,
4018 "../../remote-address");
4019 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
4022 ret
= peer_advertise_interval_unset(peer
);
4023 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4025 return NB_ERR_INCONSISTENCY
;
4035 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/timers/connect-time
4037 int bgp_neighbors_neighbor_timers_connect_time_modify(
4038 struct nb_cb_modify_args
*args
)
4041 const char *peer_str
;
4046 switch (args
->event
) {
4047 case NB_EV_VALIDATE
:
4052 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4053 peer_str
= yang_dnode_get_string(args
->dnode
,
4054 "../../remote-address");
4055 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
4057 connect
= yang_dnode_get_uint16(args
->dnode
, NULL
);
4059 ret
= peer_timers_connect_set(peer
, connect
);
4060 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4062 return NB_ERR_INCONSISTENCY
;
4070 int bgp_neighbors_neighbor_timers_connect_time_destroy(
4071 struct nb_cb_destroy_args
*args
)
4074 const char *peer_str
;
4078 switch (args
->event
) {
4079 case NB_EV_VALIDATE
:
4084 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4085 peer_str
= yang_dnode_get_string(args
->dnode
,
4086 "../../remote-address");
4087 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
4090 ret
= peer_timers_connect_unset(peer
);
4091 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4093 return NB_ERR_INCONSISTENCY
;
4103 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/timers/hold-time
4105 int bgp_neighbors_neighbor_timers_hold_time_modify(
4106 struct nb_cb_modify_args
*args
)
4109 const char *peer_str
;
4111 uint16_t keepalive
= 0;
4112 uint16_t holdtime
= 0;
4115 switch (args
->event
) {
4116 case NB_EV_VALIDATE
:
4121 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4122 peer_str
= yang_dnode_get_string(args
->dnode
,
4123 "../../remote-address");
4124 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
4126 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
4127 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
4129 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
4130 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
4131 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
4133 ret
= peer_timers_unset(peer
);
4135 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4137 return NB_ERR_INCONSISTENCY
;
4147 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/timers/keepalive
4149 int bgp_neighbors_neighbor_timers_keepalive_modify(
4150 struct nb_cb_modify_args
*args
)
4153 const char *peer_str
;
4155 uint16_t keepalive
= 0, curr_keep
= 0;
4156 uint16_t holdtime
= 0;
4159 switch (args
->event
) {
4160 case NB_EV_VALIDATE
:
4165 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4166 peer_str
= yang_dnode_get_string(args
->dnode
,
4167 "../../remote-address");
4168 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
4170 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
4171 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
4173 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
4174 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
4175 if (peer
->holdtime
== holdtime
) {
4176 curr_keep
= (keepalive
< holdtime
/ 3
4179 if (curr_keep
== keepalive
)
4182 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
4184 ret
= peer_timers_unset(peer
);
4186 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4188 return NB_ERR_INCONSISTENCY
;
4198 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi
4200 int bgp_neighbors_neighbor_afi_safis_afi_safi_create(
4201 struct nb_cb_create_args
*args
)
4203 switch (args
->event
) {
4204 case NB_EV_VALIDATE
:
4208 /* TODO: implement me. */
4215 int bgp_neighbors_neighbor_afi_safis_afi_safi_destroy(
4216 struct nb_cb_destroy_args
*args
)
4218 switch (args
->event
) {
4219 case NB_EV_VALIDATE
:
4223 /* TODO: implement me. */
4232 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/enabled
4234 int bgp_neighbors_neighbor_afi_safis_afi_safi_enabled_modify(
4235 struct nb_cb_modify_args
*args
)
4238 const char *peer_str
;
4239 const char *af_name
;
4242 bool activate
= false;
4247 switch (args
->event
) {
4248 case NB_EV_VALIDATE
:
4253 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4255 yang_dnode_get_string(args
->dnode
, "../afi-safi-name");
4256 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
4257 peer_str
= yang_dnode_get_string(args
->dnode
,
4258 "../../../remote-address");
4259 str2sockunion(peer_str
, &su
);
4260 peer
= peer_lookup(bgp
, &su
);
4262 activate
= yang_dnode_get_bool(args
->dnode
, NULL
);
4265 ret
= peer_activate(peer
, afi
, safi
);
4267 ret
= peer_deactivate(peer
, afi
, safi
);
4269 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
4277 int bgp_neighbors_neighbor_afi_safis_afi_safi_enabled_destroy(
4278 struct nb_cb_destroy_args
*args
)
4280 switch (args
->event
) {
4281 case NB_EV_VALIDATE
:
4285 /* TODO: implement me. */
4292 static struct peer
*bgp_unnumbered_neighbor_peer_lookup(struct bgp
*bgp
,
4293 const char *peer_str
,
4297 struct peer
*peer
= NULL
;
4299 /* Not IP, could match either peer configured on interface or a
4301 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
4303 snprintf(errmsg
, errmsg_len
,
4304 "Specify remote-as or peer-group commands first");
4307 if (peer_dynamic_neighbor(peer
)) {
4308 snprintf(errmsg
, errmsg_len
,
4309 "Operation not allowed on a dynamic neighbor\n");
4318 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor
4320 int bgp_neighbors_unnumbered_neighbor_create(struct nb_cb_create_args
*args
)
4323 const char *peer_str
;
4324 const char *peer_grp_str
= NULL
;
4325 bool v6_only
= false;
4326 int as_type
= AS_UNSPECIFIED
;
4328 char prgrp_xpath
[XPATH_MAXLEN
];
4329 const struct lyd_node
*bgp_dnode
;
4331 switch (args
->event
) {
4332 case NB_EV_VALIDATE
:
4333 peer_str
= yang_dnode_get_string(args
->dnode
, "./interface");
4334 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
4335 snprintf(prgrp_xpath
, sizeof(prgrp_xpath
),
4336 FRR_BGP_PEER_GROUP_XPATH
, peer_str
, "");
4338 if (yang_dnode_exists(bgp_dnode
, prgrp_xpath
)) {
4339 snprintf(args
->errmsg
, args
->errmsg_len
,
4340 "Name conflict with peer-group: %s", peer_str
);
4341 return NB_ERR_VALIDATION
;
4349 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4350 peer_str
= yang_dnode_get_string(args
->dnode
, "./interface");
4352 if (yang_dnode_exists(args
->dnode
, "./peer-group"))
4353 peer_grp_str
= yang_dnode_get_string(args
->dnode
,
4356 if (yang_dnode_exists(args
->dnode
, "./v6-only"))
4357 v6_only
= yang_dnode_get_bool(args
->dnode
, "./v6-only");
4359 if (yang_dnode_exists(args
->dnode
,
4360 "./neighbor-remote-as/remote-as-type")) {
4361 as_type
= yang_dnode_get_enum(
4363 "./neighbor-remote-as/remote-as-type");
4364 if (yang_dnode_exists(args
->dnode
,
4365 "./neighbor-remote-as/remote-as"))
4366 as
= yang_dnode_get_uint32(
4368 "./neighbor-remote-as/remote-as");
4371 if (peer_conf_interface_create(bgp
, peer_str
, AFI_IP
,
4372 SAFI_UNICAST
, v6_only
,
4373 peer_grp_str
, as_type
, as
,
4374 args
->errmsg
, args
->errmsg_len
))
4375 return NB_ERR_INCONSISTENCY
;
4383 int bgp_neighbors_unnumbered_neighbor_destroy(struct nb_cb_destroy_args
*args
)
4386 const char *peer_str
;
4389 switch (args
->event
) {
4390 case NB_EV_VALIDATE
:
4395 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4397 peer_str
= yang_dnode_get_string(args
->dnode
, "./interface");
4398 /* look up for neighbor by interface name config. */
4399 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
4401 /* Request zebra to terminate IPv6 RAs on this
4404 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
4405 peer_notify_unconfig(peer
);
4408 snprintf(args
->errmsg
, args
->errmsg_len
,
4409 "Create the peer-group first");
4410 return NB_ERR_INCONSISTENCY
;
4421 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/v6only
4423 int bgp_neighbors_unnumbered_neighbor_v6only_modify(
4424 struct nb_cb_modify_args
*args
)
4427 const char *peer_str
;
4428 bool v6_only
= false;
4430 switch (args
->event
) {
4431 case NB_EV_VALIDATE
:
4436 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4437 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4439 v6_only
= yang_dnode_get_bool(args
->dnode
, NULL
);
4441 if (peer_conf_interface_create(
4442 bgp
, peer_str
, AFI_IP
, SAFI_UNICAST
, v6_only
, NULL
,
4443 AS_UNSPECIFIED
, 0, args
->errmsg
, args
->errmsg_len
))
4444 return NB_ERR_INCONSISTENCY
;
4454 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/peer-group
4456 int bgp_neighbors_unnumbered_neighbor_peer_group_modify(
4457 struct nb_cb_modify_args
*args
)
4460 const char *peer_str
;
4461 const char *peer_grp_str
;
4463 struct peer_group
*group
;
4467 char prgrp_xpath
[XPATH_MAXLEN
];
4468 const struct lyd_node
*bgp_dnode
;
4470 switch (args
->event
) {
4471 case NB_EV_VALIDATE
:
4472 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4473 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
4474 snprintf(prgrp_xpath
, sizeof(prgrp_xpath
),
4475 FRR_BGP_PEER_GROUP_XPATH
, peer_grp_str
, "");
4477 if (!yang_dnode_exists(bgp_dnode
, prgrp_xpath
)) {
4478 snprintf(args
->errmsg
, args
->errmsg_len
,
4479 "Configure the peer-group first %s",
4481 return NB_ERR_VALIDATION
;
4489 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4490 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4491 peer
= bgp_unnumbered_neighbor_peer_lookup(
4492 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4494 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4495 group
= peer_group_lookup(bgp
, peer_grp_str
);
4497 snprintf(args
->errmsg
, args
->errmsg_len
,
4498 "Configure the peer-group first\n");
4499 return NB_ERR_INCONSISTENCY
;
4502 ret
= peer_group_bind(bgp
, &su
, peer
, group
, &as
);
4503 if (ret
== BGP_ERR_PEER_GROUP_PEER_TYPE_DIFFERENT
) {
4505 args
->errmsg
, args
->errmsg_len
,
4506 "Peer with AS %u cannot be in this peer-group, members must be all internal or all external\n",
4508 return NB_ERR_INCONSISTENCY
;
4511 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
4519 int bgp_neighbors_unnumbered_neighbor_peer_group_destroy(
4520 struct nb_cb_destroy_args
*args
)
4523 const char *peer_str
;
4527 switch (args
->event
) {
4528 case NB_EV_VALIDATE
:
4533 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4535 yang_dnode_get_string(args
->dnode
, "../remote-address");
4536 peer
= bgp_unnumbered_neighbor_peer_lookup(
4537 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4539 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
4540 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
4542 peer_notify_unconfig(peer
);
4543 ret
= peer_delete(peer
);
4545 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4547 return NB_ERR_INCONSISTENCY
;
4557 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/password
4559 int bgp_neighbors_unnumbered_neighbor_password_modify(
4560 struct nb_cb_modify_args
*args
)
4563 const char *peer_str
;
4564 const char *passwrd_str
;
4565 struct peer
*peer
= NULL
;
4567 switch (args
->event
) {
4568 case NB_EV_VALIDATE
:
4573 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4574 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4575 peer
= bgp_unnumbered_neighbor_peer_lookup(
4576 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4578 return NB_ERR_INCONSISTENCY
;
4580 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4581 peer_password_set(peer
, passwrd_str
);
4589 int bgp_neighbors_unnumbered_neighbor_password_destroy(
4590 struct nb_cb_destroy_args
*args
)
4593 const char *peer_str
;
4594 struct peer
*peer
= NULL
;
4596 switch (args
->event
) {
4597 case NB_EV_VALIDATE
:
4602 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4603 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4604 peer
= bgp_unnumbered_neighbor_peer_lookup(
4605 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4607 return NB_ERR_INCONSISTENCY
;
4609 peer_password_unset(peer
);
4619 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ttl-security
4621 int bgp_neighbors_unnumbered_neighbor_ttl_security_modify(
4622 struct nb_cb_modify_args
*args
)
4625 const char *peer_str
;
4630 switch (args
->event
) {
4631 case NB_EV_VALIDATE
:
4636 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4637 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4638 peer
= bgp_unnumbered_neighbor_peer_lookup(
4639 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4641 return NB_ERR_INCONSISTENCY
;
4643 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
4645 * If 'neighbor swpX', then this is for directly connected
4646 * peers, we should not accept a ttl-security hops value greater
4649 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
4651 args
->errmsg
, args
->errmsg_len
,
4652 "%d is directly connected peer, hops cannot exceed 1\n",
4654 return NB_ERR_INCONSISTENCY
;
4657 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
4658 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4660 return NB_ERR_INCONSISTENCY
;
4668 int bgp_neighbors_unnumbered_neighbor_ttl_security_destroy(
4669 struct nb_cb_destroy_args
*args
)
4672 const char *peer_str
;
4676 switch (args
->event
) {
4677 case NB_EV_VALIDATE
:
4682 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4683 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4684 peer
= bgp_unnumbered_neighbor_peer_lookup(
4685 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4687 return NB_ERR_INCONSISTENCY
;
4689 ret
= peer_ttl_security_hops_unset(peer
);
4690 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
4700 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/solo
4702 int bgp_neighbors_unnumbered_neighbor_solo_modify(
4703 struct nb_cb_modify_args
*args
)
4705 switch (args
->event
) {
4706 case NB_EV_VALIDATE
:
4710 /* TODO: implement me. */
4719 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/enforce-first-as
4721 int bgp_neighbors_unnumbered_neighbor_enforce_first_as_modify(
4722 struct nb_cb_modify_args
*args
)
4725 const char *peer_str
;
4727 bool enable
= false;
4729 switch (args
->event
) {
4730 case NB_EV_VALIDATE
:
4735 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4736 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4737 peer
= bgp_unnumbered_neighbor_peer_lookup(
4738 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4740 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4742 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4743 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
4744 args
->errmsg
, args
->errmsg_len
);
4754 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/description
4756 int bgp_neighbors_unnumbered_neighbor_description_modify(
4757 struct nb_cb_modify_args
*args
)
4760 const char *peer_str
;
4761 const char *desc_str
;
4762 struct peer
*peer
= NULL
;
4764 switch (args
->event
) {
4765 case NB_EV_VALIDATE
:
4770 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4771 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4773 peer
= bgp_unnumbered_neighbor_peer_lookup(
4774 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4776 return NB_ERR_INCONSISTENCY
;
4778 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4780 peer_description_set(peer
, desc_str
);
4788 int bgp_neighbors_unnumbered_neighbor_description_destroy(
4789 struct nb_cb_destroy_args
*args
)
4792 const char *peer_str
;
4793 struct peer
*peer
= NULL
;
4795 switch (args
->event
) {
4796 case NB_EV_VALIDATE
:
4801 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4802 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4804 peer
= bgp_unnumbered_neighbor_peer_lookup(
4805 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4807 return NB_ERR_INCONSISTENCY
;
4809 peer_description_unset(peer
);
4819 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/passive-mode
4821 int bgp_neighbors_unnumbered_neighbor_passive_mode_modify(
4822 struct nb_cb_modify_args
*args
)
4825 const char *peer_str
;
4829 switch (args
->event
) {
4830 case NB_EV_VALIDATE
:
4835 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4836 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4837 peer
= bgp_unnumbered_neighbor_peer_lookup(
4838 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4840 return NB_ERR_INCONSISTENCY
;
4842 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
4844 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
4845 set
, args
->errmsg
, args
->errmsg_len
)
4847 return NB_ERR_INCONSISTENCY
;
4857 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/dynamic-capability
4859 int bgp_neighbors_unnumbered_neighbor_capability_options_dynamic_capability_modify(
4860 struct nb_cb_modify_args
*args
)
4863 const char *peer_str
;
4865 bool enable
= false;
4867 switch (args
->event
) {
4868 case NB_EV_VALIDATE
:
4873 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4875 yang_dnode_get_string(args
->dnode
, "../../interface");
4876 peer
= bgp_unnumbered_neighbor_peer_lookup(
4877 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4879 return NB_ERR_INCONSISTENCY
;
4881 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4883 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4884 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
4885 args
->errmsg
, args
->errmsg_len
);
4895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/strict-capability
4897 int bgp_neighbors_unnumbered_neighbor_capability_options_strict_capability_modify(
4898 struct nb_cb_modify_args
*args
)
4901 const char *peer_str
;
4903 bool enable
= false;
4905 switch (args
->event
) {
4906 case NB_EV_VALIDATE
:
4911 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4913 yang_dnode_get_string(args
->dnode
, "../../interface");
4914 peer
= bgp_unnumbered_neighbor_peer_lookup(
4915 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4917 return NB_ERR_INCONSISTENCY
;
4919 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4921 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4922 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
4923 args
->errmsg
, args
->errmsg_len
);
4933 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/extended-nexthop-capability
4935 int bgp_neighbors_unnumbered_neighbor_capability_options_extended_nexthop_capability_modify(
4936 struct nb_cb_modify_args
*args
)
4939 const char *peer_str
;
4941 bool enable
= false;
4943 switch (args
->event
) {
4944 case NB_EV_VALIDATE
:
4949 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4951 yang_dnode_get_string(args
->dnode
, "../../interface");
4952 peer
= bgp_unnumbered_neighbor_peer_lookup(
4953 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4955 return NB_ERR_INCONSISTENCY
;
4957 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4959 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4960 PEER_FLAG_CAPABILITY_ENHE
, enable
,
4961 args
->errmsg
, args
->errmsg_len
);
4971 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/capability-negotiate
4973 int bgp_neighbors_unnumbered_neighbor_capability_options_capability_negotiate_modify(
4974 struct nb_cb_modify_args
*args
)
4976 switch (args
->event
) {
4977 case NB_EV_VALIDATE
:
4981 /* TODO: implement me. */
4990 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/override-capability
4992 int bgp_neighbors_unnumbered_neighbor_capability_options_override_capability_modify(
4993 struct nb_cb_modify_args
*args
)
4996 const char *peer_str
;
4998 bool enable
= false;
5000 switch (args
->event
) {
5001 case NB_EV_VALIDATE
:
5006 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5008 yang_dnode_get_string(args
->dnode
, "../../interface");
5009 peer
= bgp_unnumbered_neighbor_peer_lookup(
5010 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5012 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
5014 peer_flag_modify_nb(bgp
, peer_str
, peer
,
5015 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
5016 args
->errmsg
, args
->errmsg_len
);
5026 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/update-source/ip
5028 int bgp_neighbors_unnumbered_neighbor_update_source_ip_modify(
5029 struct nb_cb_modify_args
*args
)
5032 const char *peer_str
, *source_str
;
5036 switch (args
->event
) {
5037 case NB_EV_VALIDATE
:
5042 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5044 yang_dnode_get_string(args
->dnode
, "../../interface");
5045 peer
= bgp_unnumbered_neighbor_peer_lookup(
5046 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5048 return NB_ERR_INCONSISTENCY
;
5050 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5052 str2sockunion(source_str
, &su
);
5053 peer_update_source_addr_set(peer
, &su
);
5061 int bgp_neighbors_unnumbered_neighbor_update_source_ip_destroy(
5062 struct nb_cb_destroy_args
*args
)
5065 const char *peer_str
;
5068 switch (args
->event
) {
5069 case NB_EV_VALIDATE
:
5074 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5076 yang_dnode_get_string(args
->dnode
, "../../interface");
5077 peer
= bgp_unnumbered_neighbor_peer_lookup(
5078 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5080 return NB_ERR_INCONSISTENCY
;
5082 peer_update_source_unset(peer
);
5092 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/update-source/interface
5094 int bgp_neighbors_unnumbered_neighbor_update_source_interface_modify(
5095 struct nb_cb_modify_args
*args
)
5098 const char *peer_str
, *source_str
;
5102 switch (args
->event
) {
5103 case NB_EV_VALIDATE
:
5104 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5105 if (str2prefix(source_str
, &p
)) {
5106 snprintf(args
->errmsg
, args
->errmsg_len
,
5107 "Invalid update-source, remove prefix length");
5108 return NB_ERR_VALIDATION
;
5115 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5117 yang_dnode_get_string(args
->dnode
, "../../interface");
5118 peer
= bgp_unnumbered_neighbor_peer_lookup(
5119 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5121 return NB_ERR_INCONSISTENCY
;
5123 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5125 peer_update_source_if_set(peer
, source_str
);
5133 int bgp_neighbors_unnumbered_neighbor_update_source_interface_destroy(
5134 struct nb_cb_destroy_args
*args
)
5137 const char *peer_str
;
5140 switch (args
->event
) {
5141 case NB_EV_VALIDATE
:
5146 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5148 yang_dnode_get_string(args
->dnode
, "../../interface");
5149 peer
= bgp_unnumbered_neighbor_peer_lookup(
5150 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5152 return NB_ERR_INCONSISTENCY
;
5154 peer_update_source_unset(peer
);
5164 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as
5166 void bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_apply_finish(
5167 struct nb_cb_apply_finish_args
*args
)
5170 const char *peer_str
;
5171 int as_type
= AS_SPECIFIED
;
5174 struct peer
*peer
= NULL
;
5176 safi_t safi
= SAFI_UNICAST
;
5178 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5179 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5180 as_type
= yang_dnode_get_enum(args
->dnode
, "./remote-as-type");
5181 if (yang_dnode_exists(args
->dnode
, "./remote-as"))
5182 as
= yang_dnode_get_uint32(args
->dnode
, "./remote-as");
5184 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5186 ret
= peer_remote_as(bgp
, NULL
, peer_str
, &as
, as_type
, afi
, safi
);
5188 if (ret
< 0 && !peer
) {
5189 snprintf(args
->errmsg
, args
->errmsg_len
,
5190 "Create the peer-group or interface first");
5194 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5199 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as/remote-as-type
5201 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_type_modify(
5202 struct nb_cb_modify_args
*args
)
5204 switch (args
->event
) {
5205 case NB_EV_VALIDATE
:
5209 /* TODO: implement me. */
5216 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_type_destroy(
5217 struct nb_cb_destroy_args
*args
)
5220 const char *peer_str
;
5223 switch (args
->event
) {
5224 case NB_EV_VALIDATE
:
5229 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5231 yang_dnode_get_string(args
->dnode
, "../../interface");
5232 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5234 /* remote-as set to 0 and as_type to unspecified */
5236 peer_as_change(peer
, 0, AS_UNSPECIFIED
);
5246 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as/remote-as
5248 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_modify(
5249 struct nb_cb_modify_args
*args
)
5251 switch (args
->event
) {
5252 case NB_EV_VALIDATE
:
5256 /* TODO: implement me. */
5263 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_destroy(
5264 struct nb_cb_destroy_args
*args
)
5266 switch (args
->event
) {
5267 case NB_EV_VALIDATE
:
5271 /* TODO: implement me. */
5280 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/enabled
5282 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_enabled_modify(
5283 struct nb_cb_modify_args
*args
)
5286 const char *peer_str
;
5290 uint8_t ttl
= MAXTTL
;
5292 switch (args
->event
) {
5293 case NB_EV_VALIDATE
:
5298 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5300 yang_dnode_get_string(args
->dnode
, "../../interface");
5301 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5303 return NB_ERR_INCONSISTENCY
;
5305 if (peer
->conf_if
) {
5306 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
5307 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
5309 return NB_ERR_INCONSISTENCY
;
5312 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
5315 ret
= peer_ebgp_multihop_set(peer
, ttl
);
5317 ret
= peer_ebgp_multihop_unset(peer
);
5319 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5327 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_enabled_destroy(
5328 struct nb_cb_destroy_args
*args
)
5331 const char *peer_str
;
5335 switch (args
->event
) {
5336 case NB_EV_VALIDATE
:
5341 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5343 yang_dnode_get_string(args
->dnode
, "../../interface");
5344 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5346 return NB_ERR_INCONSISTENCY
;
5348 ret
= peer_ebgp_multihop_unset(peer
);
5350 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5360 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/multihop-ttl
5362 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_multihop_ttl_modify(
5363 struct nb_cb_modify_args
*args
)
5366 const char *peer_str
;
5369 uint8_t ttl
= MAXTTL
;
5371 switch (args
->event
) {
5372 case NB_EV_VALIDATE
:
5377 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5379 yang_dnode_get_string(args
->dnode
, "../../interface");
5380 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5382 return NB_ERR_INCONSISTENCY
;
5384 if (peer
->conf_if
) {
5385 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
5386 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
5388 return NB_ERR_INCONSISTENCY
;
5391 ttl
= yang_dnode_get_uint8(args
->dnode
, NULL
);
5393 ret
= peer_ebgp_multihop_set(peer
, ttl
);
5395 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5403 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_multihop_ttl_destroy(
5404 struct nb_cb_destroy_args
*args
)
5407 const char *peer_str
;
5411 switch (args
->event
) {
5412 case NB_EV_VALIDATE
:
5417 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5419 yang_dnode_get_string(args
->dnode
, "../../interface");
5420 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5422 return NB_ERR_INCONSISTENCY
;
5424 ret
= peer_ebgp_multihop_unset(peer
);
5426 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5436 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/disable-connected-check
5438 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_disable_connected_check_modify(
5439 struct nb_cb_modify_args
*args
)
5442 const char *peer_str
;
5446 switch (args
->event
) {
5447 case NB_EV_VALIDATE
:
5452 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5454 yang_dnode_get_string(args
->dnode
, "../../interface");
5455 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5457 return NB_ERR_INCONSISTENCY
;
5459 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
5461 if (peer_flag_modify_nb(bgp
, peer_str
, peer
,
5462 PEER_FLAG_DISABLE_CONNECTED_CHECK
, set
,
5463 args
->errmsg
, args
->errmsg_len
)
5465 return NB_ERR_INCONSISTENCY
;
5475 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as
5477 void bgp_neighbors_unnumbered_neighbor_local_as_apply_finish(
5478 struct nb_cb_apply_finish_args
*args
)
5483 const char *peer_str
;
5484 struct peer
*peer
= NULL
;
5485 bool no_prepend
= 0;
5486 bool replace_as
= 0;
5488 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5489 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5491 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
5494 if (yang_dnode_exists(args
->dnode
, "./local-as"))
5495 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
5496 if (yang_dnode_exists(args
->dnode
, "./no-prepend"))
5497 no_prepend
= yang_dnode_get_bool(args
->dnode
, "./no-prepend");
5498 if (yang_dnode_exists(args
->dnode
, "./no-replace-as"))
5500 yang_dnode_get_bool(args
->dnode
, "./no-replace-as");
5502 if (!as
&& !no_prepend
&& !replace_as
)
5503 ret
= peer_local_as_unset(peer
);
5505 ret
= peer_local_as_set(peer
, as
, no_prepend
, replace_as
);
5507 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5512 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/local-as
5514 int bgp_neighbors_unnumbered_neighbor_local_as_local_as_modify(
5515 struct nb_cb_modify_args
*args
)
5517 switch (args
->event
) {
5518 case NB_EV_VALIDATE
:
5522 /* TODO: implement me. */
5529 int bgp_neighbors_unnumbered_neighbor_local_as_local_as_destroy(
5530 struct nb_cb_destroy_args
*args
)
5532 switch (args
->event
) {
5533 case NB_EV_VALIDATE
:
5537 /* TODO: implement me. */
5546 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/no-prepend
5548 int bgp_neighbors_unnumbered_neighbor_local_as_no_prepend_modify(
5549 struct nb_cb_modify_args
*args
)
5551 switch (args
->event
) {
5552 case NB_EV_VALIDATE
:
5556 /* TODO: implement me. */
5563 int bgp_neighbors_unnumbered_neighbor_local_as_no_prepend_destroy(
5564 struct nb_cb_destroy_args
*args
)
5566 switch (args
->event
) {
5567 case NB_EV_VALIDATE
:
5571 /* TODO: implement me. */
5580 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/no-replace-as
5582 int bgp_neighbors_unnumbered_neighbor_local_as_no_replace_as_modify(
5583 struct nb_cb_modify_args
*args
)
5585 switch (args
->event
) {
5586 case NB_EV_VALIDATE
:
5590 /* TODO: implement me. */
5599 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/enable
5601 int bgp_neighbors_unnumbered_neighbor_bfd_options_enable_modify(
5602 struct nb_cb_modify_args
*args
)
5604 switch (args
->event
) {
5605 case NB_EV_VALIDATE
:
5609 /* TODO: implement me. */
5618 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/detect-multiplier
5620 int bgp_neighbors_unnumbered_neighbor_bfd_options_detect_multiplier_modify(
5621 struct nb_cb_modify_args
*args
)
5623 switch (args
->event
) {
5624 case NB_EV_VALIDATE
:
5628 /* TODO: implement me. */
5635 int bgp_neighbors_unnumbered_neighbor_bfd_options_detect_multiplier_destroy(
5636 struct nb_cb_destroy_args
*args
)
5638 switch (args
->event
) {
5639 case NB_EV_VALIDATE
:
5643 /* TODO: implement me. */
5652 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/required-min-rx
5654 int bgp_neighbors_unnumbered_neighbor_bfd_options_required_min_rx_modify(
5655 struct nb_cb_modify_args
*args
)
5657 switch (args
->event
) {
5658 case NB_EV_VALIDATE
:
5662 /* TODO: implement me. */
5669 int bgp_neighbors_unnumbered_neighbor_bfd_options_required_min_rx_destroy(
5670 struct nb_cb_destroy_args
*args
)
5672 switch (args
->event
) {
5673 case NB_EV_VALIDATE
:
5677 /* TODO: implement me. */
5686 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/desired-min-tx
5688 int bgp_neighbors_unnumbered_neighbor_bfd_options_desired_min_tx_modify(
5689 struct nb_cb_modify_args
*args
)
5691 switch (args
->event
) {
5692 case NB_EV_VALIDATE
:
5696 /* TODO: implement me. */
5703 int bgp_neighbors_unnumbered_neighbor_bfd_options_desired_min_tx_destroy(
5704 struct nb_cb_destroy_args
*args
)
5706 switch (args
->event
) {
5707 case NB_EV_VALIDATE
:
5711 /* TODO: implement me. */
5720 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/session-type
5722 int bgp_neighbors_unnumbered_neighbor_bfd_options_session_type_modify(
5723 struct nb_cb_modify_args
*args
)
5725 switch (args
->event
) {
5726 case NB_EV_VALIDATE
:
5730 /* TODO: implement me. */
5737 int bgp_neighbors_unnumbered_neighbor_bfd_options_session_type_destroy(
5738 struct nb_cb_destroy_args
*args
)
5740 switch (args
->event
) {
5741 case NB_EV_VALIDATE
:
5745 /* TODO: implement me. */
5754 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/check-cp-failure
5756 int bgp_neighbors_unnumbered_neighbor_bfd_options_check_cp_failure_modify(
5757 struct nb_cb_modify_args
*args
)
5759 switch (args
->event
) {
5760 case NB_EV_VALIDATE
:
5764 /* TODO: implement me. */
5771 int bgp_neighbors_unnumbered_neighbor_bfd_options_check_cp_failure_destroy(
5772 struct nb_cb_destroy_args
*args
)
5774 switch (args
->event
) {
5775 case NB_EV_VALIDATE
:
5779 /* TODO: implement me. */
5788 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown
5790 void bgp_neighbors_unnumbered_neighbor_admin_shutdown_apply_finish(
5791 struct nb_cb_apply_finish_args
*args
)
5794 const char *peer_str
;
5796 bool enable
= false;
5797 const char *message
;
5799 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5800 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5801 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
5804 if (yang_dnode_exists(args
->dnode
, "./message")) {
5805 message
= yang_dnode_get_string(args
->dnode
, "./message");
5806 peer_tx_shutdown_message_set(peer
, message
);
5808 enable
= yang_dnode_get_bool(args
->dnode
, "./enable");
5810 peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_SHUTDOWN
, enable
,
5811 args
->errmsg
, args
->errmsg_len
);
5816 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown/enable
5818 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_enable_modify(
5819 struct nb_cb_modify_args
*args
)
5821 switch (args
->event
) {
5822 case NB_EV_VALIDATE
:
5826 /* TODO: implement me. */
5833 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_enable_destroy(
5834 struct nb_cb_destroy_args
*args
)
5836 switch (args
->event
) {
5837 case NB_EV_VALIDATE
:
5841 /* TODO: implement me. */
5850 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown/message
5852 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_message_modify(
5853 struct nb_cb_modify_args
*args
)
5855 switch (args
->event
) {
5856 case NB_EV_VALIDATE
:
5860 /* TODO: implement me. */
5867 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_message_destroy(
5868 struct nb_cb_destroy_args
*args
)
5870 switch (args
->event
) {
5871 case NB_EV_VALIDATE
:
5875 /* TODO: implement me. */
5884 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/enable
5886 int bgp_neighbors_unnumbered_neighbor_graceful_restart_enable_modify(
5887 struct nb_cb_modify_args
*args
)
5889 switch (args
->event
) {
5890 case NB_EV_VALIDATE
:
5894 /* TODO: implement me. */
5901 int bgp_neighbors_unnumbered_neighbor_graceful_restart_enable_destroy(
5902 struct nb_cb_destroy_args
*args
)
5904 switch (args
->event
) {
5905 case NB_EV_VALIDATE
:
5909 /* TODO: implement me. */
5918 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/graceful-restart-helper
5920 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_helper_modify(
5921 struct nb_cb_modify_args
*args
)
5923 switch (args
->event
) {
5924 case NB_EV_VALIDATE
:
5928 /* TODO: implement me. */
5935 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_helper_destroy(
5936 struct nb_cb_destroy_args
*args
)
5938 switch (args
->event
) {
5939 case NB_EV_VALIDATE
:
5943 /* TODO: implement me. */
5952 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/graceful-restart-disable
5954 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_disable_modify(
5955 struct nb_cb_modify_args
*args
)
5957 switch (args
->event
) {
5958 case NB_EV_VALIDATE
:
5962 /* TODO: implement me. */
5969 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_disable_destroy(
5970 struct nb_cb_destroy_args
*args
)
5972 switch (args
->event
) {
5973 case NB_EV_VALIDATE
:
5977 /* TODO: implement me. */
5986 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/advertise-interval
5988 int bgp_neighbors_unnumbered_neighbor_timers_advertise_interval_modify(
5989 struct nb_cb_modify_args
*args
)
5992 const char *peer_str
;
5997 switch (args
->event
) {
5998 case NB_EV_VALIDATE
:
6003 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6005 yang_dnode_get_string(args
->dnode
, "../../interface");
6006 peer
= bgp_unnumbered_neighbor_peer_lookup(
6007 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6008 routeadv
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6010 ret
= peer_advertise_interval_set(peer
, routeadv
);
6011 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6019 int bgp_neighbors_unnumbered_neighbor_timers_advertise_interval_destroy(
6020 struct nb_cb_destroy_args
*args
)
6023 const char *peer_str
;
6027 switch (args
->event
) {
6028 case NB_EV_VALIDATE
:
6033 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6035 yang_dnode_get_string(args
->dnode
, "../../interface");
6036 peer
= bgp_unnumbered_neighbor_peer_lookup(
6037 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6039 ret
= peer_advertise_interval_unset(peer
);
6040 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6050 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/connect-time
6052 int bgp_neighbors_unnumbered_neighbor_timers_connect_time_modify(
6053 struct nb_cb_modify_args
*args
)
6056 const char *peer_str
;
6061 switch (args
->event
) {
6062 case NB_EV_VALIDATE
:
6067 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6069 yang_dnode_get_string(args
->dnode
, "../../interface");
6070 peer
= bgp_unnumbered_neighbor_peer_lookup(
6071 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6072 connect
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6074 ret
= peer_timers_connect_set(peer
, connect
);
6075 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6083 int bgp_neighbors_unnumbered_neighbor_timers_connect_time_destroy(
6084 struct nb_cb_destroy_args
*args
)
6087 const char *peer_str
;
6091 switch (args
->event
) {
6092 case NB_EV_VALIDATE
:
6097 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6099 yang_dnode_get_string(args
->dnode
, "../../interface");
6100 peer
= bgp_unnumbered_neighbor_peer_lookup(
6101 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6102 ret
= peer_timers_connect_unset(peer
);
6103 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6105 return NB_ERR_INCONSISTENCY
;
6115 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/hold-time
6117 int bgp_neighbors_unnumbered_neighbor_timers_hold_time_modify(
6118 struct nb_cb_modify_args
*args
)
6121 const char *peer_str
;
6123 uint16_t keepalive
= 0;
6124 uint16_t holdtime
= 0;
6127 switch (args
->event
) {
6128 case NB_EV_VALIDATE
:
6133 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6135 yang_dnode_get_string(args
->dnode
, "../../interface");
6136 peer
= bgp_unnumbered_neighbor_peer_lookup(
6137 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6139 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
6140 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6142 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
6143 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
6144 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
6146 ret
= peer_timers_unset(peer
);
6148 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6150 return NB_ERR_INCONSISTENCY
;
6160 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/keepalive
6162 int bgp_neighbors_unnumbered_neighbor_timers_keepalive_modify(
6163 struct nb_cb_modify_args
*args
)
6166 const char *peer_str
;
6168 uint16_t keepalive
= 0, curr_keep
= 0;
6169 uint16_t holdtime
= 0;
6172 switch (args
->event
) {
6173 case NB_EV_VALIDATE
:
6178 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6180 yang_dnode_get_string(args
->dnode
, "../../interface");
6181 peer
= bgp_unnumbered_neighbor_peer_lookup(
6182 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6184 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6185 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
6187 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
6188 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
6189 if (peer
->holdtime
== holdtime
) {
6190 curr_keep
= (keepalive
< holdtime
/ 3
6193 if (curr_keep
== keepalive
)
6196 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
6198 ret
= peer_timers_unset(peer
);
6200 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6202 return NB_ERR_INCONSISTENCY
;
6212 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi
6214 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_create(
6215 struct nb_cb_create_args
*args
)
6217 switch (args
->event
) {
6218 case NB_EV_VALIDATE
:
6222 /* TODO: implement me. */
6229 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_destroy(
6230 struct nb_cb_destroy_args
*args
)
6232 switch (args
->event
) {
6233 case NB_EV_VALIDATE
:
6237 /* TODO: implement me. */
6246 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/enabled
6248 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_enabled_modify(
6249 struct nb_cb_modify_args
*args
)
6252 const char *peer_str
;
6253 const char *af_name
;
6256 bool activate
= false;
6260 switch (args
->event
) {
6261 case NB_EV_VALIDATE
:
6266 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6268 yang_dnode_get_string(args
->dnode
, "../afi-safi-name");
6269 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
6270 peer_str
= yang_dnode_get_string(args
->dnode
,
6271 "../../../interface");
6273 peer
= bgp_unnumbered_neighbor_peer_lookup(
6274 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6276 activate
= yang_dnode_get_bool(args
->dnode
, NULL
);
6279 ret
= peer_activate(peer
, afi
, safi
);
6281 ret
= peer_deactivate(peer
, afi
, safi
);
6283 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6285 return NB_ERR_INCONSISTENCY
;
6293 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_enabled_destroy(
6294 struct nb_cb_destroy_args
*args
)
6296 switch (args
->event
) {
6297 case NB_EV_VALIDATE
:
6301 /* TODO: implement me. */
6308 static struct peer
*bgp_peer_group_peer_lookup(struct bgp
*bgp
,
6309 const char *peer_str
)
6311 struct peer_group
*group
= NULL
;
6313 group
= peer_group_lookup(bgp
, peer_str
);
6323 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group
6325 int bgp_peer_groups_peer_group_create(struct nb_cb_create_args
*args
)
6327 const char *peer_grp_str
;
6329 struct peer_group
*group
;
6331 char unnbr_xpath
[XPATH_MAXLEN
];
6332 const struct lyd_node
*bgp_dnode
;
6334 switch (args
->event
) {
6335 case NB_EV_VALIDATE
:
6337 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6338 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
6339 snprintf(unnbr_xpath
, sizeof(unnbr_xpath
),
6340 FRR_BGP_NEIGHBOR_UNNUM_XPATH
, peer_grp_str
, "");
6342 if (yang_dnode_exists(bgp_dnode
, unnbr_xpath
)) {
6343 snprintf(args
->errmsg
, args
->errmsg_len
,
6344 "Name conflict with interface: %s",
6346 return NB_ERR_VALIDATION
;
6354 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6356 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6357 peer
= peer_lookup_by_conf_if(bgp
, peer_grp_str
);
6359 snprintf(args
->errmsg
, args
->errmsg_len
,
6360 "Name conflict with interface:");
6361 return NB_ERR_INCONSISTENCY
;
6364 group
= peer_group_get(bgp
, peer_grp_str
);
6366 snprintf(args
->errmsg
, args
->errmsg_len
,
6367 "BGP failed to find or create peer-group");
6368 return NB_ERR_INCONSISTENCY
;
6376 int bgp_peer_groups_peer_group_destroy(struct nb_cb_destroy_args
*args
)
6378 const char *peer_grp_str
;
6379 struct peer_group
*group
;
6382 switch (args
->event
) {
6383 case NB_EV_VALIDATE
:
6388 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6390 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6392 group
= peer_group_lookup(bgp
, peer_grp_str
);
6394 peer_group_notify_unconfig(group
);
6395 peer_group_delete(group
);
6406 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ipv4-listen-range
6408 int bgp_peer_groups_peer_group_ipv4_listen_range_create(
6409 struct nb_cb_create_args
*args
)
6411 switch (args
->event
) {
6412 case NB_EV_VALIDATE
:
6416 /* TODO: implement me. */
6423 int bgp_peer_groups_peer_group_ipv4_listen_range_destroy(
6424 struct nb_cb_destroy_args
*args
)
6426 switch (args
->event
) {
6427 case NB_EV_VALIDATE
:
6431 /* TODO: implement me. */
6440 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ipv6-listen-range
6442 int bgp_peer_groups_peer_group_ipv6_listen_range_create(
6443 struct nb_cb_create_args
*args
)
6445 switch (args
->event
) {
6446 case NB_EV_VALIDATE
:
6450 /* TODO: implement me. */
6457 int bgp_peer_groups_peer_group_ipv6_listen_range_destroy(
6458 struct nb_cb_destroy_args
*args
)
6460 switch (args
->event
) {
6461 case NB_EV_VALIDATE
:
6465 /* TODO: implement me. */
6474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/password
6476 int bgp_peer_groups_peer_group_password_modify(struct nb_cb_modify_args
*args
)
6479 const char *peer_str
;
6480 const char *passwrd_str
;
6481 struct peer
*peer
= NULL
;
6483 switch (args
->event
) {
6484 case NB_EV_VALIDATE
:
6489 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6490 peer_str
= yang_dnode_get_string(args
->dnode
,
6491 "../peer-group-name");
6492 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6494 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6495 peer_password_set(peer
, passwrd_str
);
6503 int bgp_peer_groups_peer_group_password_destroy(struct nb_cb_destroy_args
*args
)
6506 const char *peer_str
;
6507 struct peer
*peer
= NULL
;
6509 switch (args
->event
) {
6510 case NB_EV_VALIDATE
:
6515 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6516 peer_str
= yang_dnode_get_string(args
->dnode
,
6517 "../peer-group-name");
6518 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6520 peer_password_unset(peer
);
6530 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ttl-security
6532 int bgp_peer_groups_peer_group_ttl_security_modify(
6533 struct nb_cb_modify_args
*args
)
6536 const char *peer_str
;
6541 switch (args
->event
) {
6542 case NB_EV_VALIDATE
:
6547 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6548 peer_str
= yang_dnode_get_string(args
->dnode
,
6549 "../peer-group-name");
6550 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6552 return NB_ERR_INCONSISTENCY
;
6554 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
6556 * If 'neighbor swpX', then this is for directly connected
6557 * peers, we should not accept a ttl-security hops value greater
6560 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
6562 args
->errmsg
, args
->errmsg_len
,
6563 "%d is directly connected peer, hops cannot exceed 1\n",
6565 return NB_ERR_INCONSISTENCY
;
6568 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
6569 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6571 return NB_ERR_INCONSISTENCY
;
6579 int bgp_peer_groups_peer_group_ttl_security_destroy(
6580 struct nb_cb_destroy_args
*args
)
6583 const char *peer_str
;
6587 switch (args
->event
) {
6588 case NB_EV_VALIDATE
:
6593 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6594 peer_str
= yang_dnode_get_string(args
->dnode
,
6595 "../peer-group-name");
6596 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6598 return NB_ERR_INCONSISTENCY
;
6600 ret
= peer_ttl_security_hops_unset(peer
);
6601 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6603 return NB_ERR_INCONSISTENCY
;
6613 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/solo
6615 int bgp_peer_groups_peer_group_solo_modify(struct nb_cb_modify_args
*args
)
6617 switch (args
->event
) {
6618 case NB_EV_VALIDATE
:
6622 /* TODO: implement me. */
6631 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/enforce-first-as
6633 int bgp_peer_groups_peer_group_enforce_first_as_modify(
6634 struct nb_cb_modify_args
*args
)
6637 const char *peer_str
;
6639 bool enable
= false;
6641 switch (args
->event
) {
6642 case NB_EV_VALIDATE
:
6647 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6648 peer_str
= yang_dnode_get_string(args
->dnode
,
6649 "../peer-group-name");
6650 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6652 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6654 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6655 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
6656 args
->errmsg
, args
->errmsg_len
);
6666 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/description
6668 int bgp_peer_groups_peer_group_description_modify(
6669 struct nb_cb_modify_args
*args
)
6672 const char *peer_str
;
6673 const char *desc_str
;
6674 struct peer
*peer
= NULL
;
6676 switch (args
->event
) {
6677 case NB_EV_VALIDATE
:
6682 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6683 peer_str
= yang_dnode_get_string(args
->dnode
,
6684 "../peer-group-name");
6685 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6687 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6689 peer_description_set(peer
, desc_str
);
6697 int bgp_peer_groups_peer_group_description_destroy(
6698 struct nb_cb_destroy_args
*args
)
6701 const char *peer_str
;
6702 struct peer
*peer
= NULL
;
6704 switch (args
->event
) {
6705 case NB_EV_VALIDATE
:
6710 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6711 peer_str
= yang_dnode_get_string(args
->dnode
,
6712 "../peer-group-name");
6713 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6715 return NB_ERR_INCONSISTENCY
;
6717 peer_description_unset(peer
);
6727 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/passive-mode
6729 int bgp_peer_groups_peer_group_passive_mode_modify(
6730 struct nb_cb_modify_args
*args
)
6733 const char *peer_str
;
6737 switch (args
->event
) {
6738 case NB_EV_VALIDATE
:
6743 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6744 peer_str
= yang_dnode_get_string(args
->dnode
,
6745 "../peer-group-name");
6746 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6748 return NB_ERR_INCONSISTENCY
;
6750 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
6752 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
6753 set
, args
->errmsg
, args
->errmsg_len
)
6755 return NB_ERR_INCONSISTENCY
;
6765 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/dynamic-capability
6767 int bgp_peer_groups_peer_group_capability_options_dynamic_capability_modify(
6768 struct nb_cb_modify_args
*args
)
6771 const char *peer_str
;
6773 bool enable
= false;
6775 switch (args
->event
) {
6776 case NB_EV_VALIDATE
:
6781 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6782 peer_str
= yang_dnode_get_string(args
->dnode
,
6783 "../../peer-group-name");
6784 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6786 return NB_ERR_INCONSISTENCY
;
6788 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6790 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6791 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
6792 args
->errmsg
, args
->errmsg_len
);
6802 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/strict-capability
6804 int bgp_peer_groups_peer_group_capability_options_strict_capability_modify(
6805 struct nb_cb_modify_args
*args
)
6808 const char *peer_str
;
6810 bool enable
= false;
6812 switch (args
->event
) {
6813 case NB_EV_VALIDATE
:
6818 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6819 peer_str
= yang_dnode_get_string(args
->dnode
,
6820 "../../peer-group-name");
6821 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6823 return NB_ERR_INCONSISTENCY
;
6825 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6827 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6828 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
6829 args
->errmsg
, args
->errmsg_len
);
6839 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/extended-nexthop-capability
6841 int bgp_peer_groups_peer_group_capability_options_extended_nexthop_capability_modify(
6842 struct nb_cb_modify_args
*args
)
6845 const char *peer_str
;
6847 bool enable
= false;
6849 switch (args
->event
) {
6850 case NB_EV_VALIDATE
:
6855 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6856 peer_str
= yang_dnode_get_string(args
->dnode
,
6857 "../../peer-group-name");
6858 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6860 return NB_ERR_INCONSISTENCY
;
6862 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6864 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6865 PEER_FLAG_CAPABILITY_ENHE
, enable
,
6866 args
->errmsg
, args
->errmsg_len
);
6876 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/capability-negotiate
6878 int bgp_peer_groups_peer_group_capability_options_capability_negotiate_modify(
6879 struct nb_cb_modify_args
*args
)
6881 switch (args
->event
) {
6882 case NB_EV_VALIDATE
:
6886 /* TODO: implement me. */
6895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/override-capability
6897 int bgp_peer_groups_peer_group_capability_options_override_capability_modify(
6898 struct nb_cb_modify_args
*args
)
6901 const char *peer_str
;
6903 bool enable
= false;
6905 switch (args
->event
) {
6906 case NB_EV_VALIDATE
:
6911 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6912 peer_str
= yang_dnode_get_string(args
->dnode
,
6913 "../../peer-group-name");
6914 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6916 return NB_ERR_INCONSISTENCY
;
6918 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6920 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6921 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
6922 args
->errmsg
, args
->errmsg_len
);
6932 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/update-source/ip
6934 int bgp_peer_groups_peer_group_update_source_ip_modify(
6935 struct nb_cb_modify_args
*args
)
6938 const char *peer_str
, *source_str
;
6942 switch (args
->event
) {
6943 case NB_EV_VALIDATE
:
6948 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6949 peer_str
= yang_dnode_get_string(args
->dnode
,
6950 "../../peer-group-name");
6951 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6953 return NB_ERR_INCONSISTENCY
;
6955 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6957 str2sockunion(source_str
, &su
);
6958 peer_update_source_addr_set(peer
, &su
);
6966 int bgp_peer_groups_peer_group_update_source_ip_destroy(
6967 struct nb_cb_destroy_args
*args
)
6970 const char *peer_str
;
6973 switch (args
->event
) {
6974 case NB_EV_VALIDATE
:
6979 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6980 peer_str
= yang_dnode_get_string(args
->dnode
,
6981 "../../peer-group-name");
6982 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6984 return NB_ERR_INCONSISTENCY
;
6986 peer_update_source_unset(peer
);
6996 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/update-source/interface
6998 int bgp_peer_groups_peer_group_update_source_interface_modify(
6999 struct nb_cb_modify_args
*args
)
7002 const char *peer_str
, *source_str
;
7006 switch (args
->event
) {
7007 case NB_EV_VALIDATE
:
7008 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
7009 if (str2prefix(source_str
, &p
)) {
7010 snprintf(args
->errmsg
, args
->errmsg_len
,
7011 "Invalid update-source, remove prefix length");
7012 return NB_ERR_VALIDATION
;
7019 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7020 peer_str
= yang_dnode_get_string(args
->dnode
,
7021 "../../peer-group-name");
7022 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7024 return NB_ERR_INCONSISTENCY
;
7026 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
7028 peer_update_source_if_set(peer
, source_str
);
7036 int bgp_peer_groups_peer_group_update_source_interface_destroy(
7037 struct nb_cb_destroy_args
*args
)
7040 const char *peer_str
;
7043 switch (args
->event
) {
7044 case NB_EV_VALIDATE
:
7049 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7050 peer_str
= yang_dnode_get_string(args
->dnode
,
7051 "../../peer-group-name");
7052 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7054 return NB_ERR_INCONSISTENCY
;
7056 peer_update_source_unset(peer
);
7066 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as
7068 void bgp_peer_group_neighbor_remote_as_apply_finish(
7069 struct nb_cb_apply_finish_args
*args
)
7072 const char *peer_str
;
7073 int as_type
= AS_SPECIFIED
;
7077 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7078 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7079 as_type
= yang_dnode_get_enum(args
->dnode
, "./remote-as-type");
7080 if (yang_dnode_exists(args
->dnode
, "./remote-as"))
7081 as
= yang_dnode_get_uint32(args
->dnode
, "./remote-as");
7083 ret
= peer_group_remote_as(bgp
, peer_str
, &as
, as_type
);
7085 snprintf(args
->errmsg
, args
->errmsg_len
,
7086 "Create the peer-group or interface first");
7093 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as/remote-as-type
7095 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_type_modify(
7096 struct nb_cb_modify_args
*args
)
7098 switch (args
->event
) {
7099 case NB_EV_VALIDATE
:
7103 /* TODO: implement me. */
7110 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_type_destroy(
7111 struct nb_cb_destroy_args
*args
)
7114 const char *peer_str
;
7115 struct peer_group
*group
;
7117 switch (args
->event
) {
7118 case NB_EV_VALIDATE
:
7123 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7124 peer_str
= yang_dnode_get_string(args
->dnode
,
7125 "../../peer-group-name");
7126 group
= peer_group_lookup(bgp
, peer_str
);
7128 peer_group_remote_as_delete(group
);
7138 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as/remote-as
7140 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_modify(
7141 struct nb_cb_modify_args
*args
)
7143 switch (args
->event
) {
7144 case NB_EV_VALIDATE
:
7148 /* TODO: implement me. */
7155 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_destroy(
7156 struct nb_cb_destroy_args
*args
)
7158 switch (args
->event
) {
7159 case NB_EV_VALIDATE
:
7163 /* TODO: implement me. */
7172 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/enabled
7174 int bgp_peer_groups_peer_group_ebgp_multihop_enabled_modify(
7175 struct nb_cb_modify_args
*args
)
7178 const char *peer_str
;
7182 uint8_t ttl
= MAXTTL
;
7184 switch (args
->event
) {
7185 case NB_EV_VALIDATE
:
7190 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7191 peer_str
= yang_dnode_get_string(args
->dnode
,
7192 "../../peer-group-name");
7193 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7195 return NB_ERR_INCONSISTENCY
;
7197 if (peer
->conf_if
) {
7198 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
7199 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
7201 return NB_ERR_INCONSISTENCY
;
7204 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
7207 ret
= peer_ebgp_multihop_set(peer
, ttl
);
7209 ret
= peer_ebgp_multihop_unset(peer
);
7211 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7213 return NB_ERR_INCONSISTENCY
;
7221 int bgp_peer_groups_peer_group_ebgp_multihop_enabled_destroy(
7222 struct nb_cb_destroy_args
*args
)
7225 const char *peer_str
;
7229 switch (args
->event
) {
7230 case NB_EV_VALIDATE
:
7235 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7236 peer_str
= yang_dnode_get_string(args
->dnode
,
7237 "../../peer-group-name");
7238 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7240 return NB_ERR_INCONSISTENCY
;
7242 ret
= peer_ebgp_multihop_unset(peer
);
7244 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7246 return NB_ERR_INCONSISTENCY
;
7256 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/multihop-ttl
7258 int bgp_peer_groups_peer_group_ebgp_multihop_multihop_ttl_modify(
7259 struct nb_cb_modify_args
*args
)
7262 const char *peer_str
;
7265 uint8_t ttl
= MAXTTL
;
7267 switch (args
->event
) {
7268 case NB_EV_VALIDATE
:
7273 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7274 peer_str
= yang_dnode_get_string(args
->dnode
,
7275 "../../peer-group-name");
7276 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7278 return NB_ERR_INCONSISTENCY
;
7280 if (peer
->conf_if
) {
7281 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
7282 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
7284 return NB_ERR_INCONSISTENCY
;
7287 ttl
= yang_dnode_get_uint8(args
->dnode
, NULL
);
7289 ret
= peer_ebgp_multihop_set(peer
, ttl
);
7291 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7293 return NB_ERR_INCONSISTENCY
;
7301 int bgp_peer_groups_peer_group_ebgp_multihop_multihop_ttl_destroy(
7302 struct nb_cb_destroy_args
*args
)
7305 const char *peer_str
;
7309 switch (args
->event
) {
7310 case NB_EV_VALIDATE
:
7315 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7316 peer_str
= yang_dnode_get_string(args
->dnode
,
7317 "../../peer-group-name");
7318 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7320 return NB_ERR_INCONSISTENCY
;
7322 ret
= peer_ebgp_multihop_unset(peer
);
7324 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7326 return NB_ERR_INCONSISTENCY
;
7336 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/disable-connected-check
7338 int bgp_peer_groups_peer_group_ebgp_multihop_disable_connected_check_modify(
7339 struct nb_cb_modify_args
*args
)
7342 const char *peer_str
;
7346 switch (args
->event
) {
7347 case NB_EV_VALIDATE
:
7352 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7353 peer_str
= yang_dnode_get_string(args
->dnode
,
7354 "../../peer-group-name");
7355 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7357 return NB_ERR_INCONSISTENCY
;
7359 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
7361 if (peer_flag_modify_nb(bgp
, peer_str
, peer
,
7362 PEER_FLAG_DISABLE_CONNECTED_CHECK
, set
,
7363 args
->errmsg
, args
->errmsg_len
)
7365 return NB_ERR_INCONSISTENCY
;
7375 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as
7377 void bgp_peer_groups_peer_group_local_as_apply_finish(
7378 struct nb_cb_apply_finish_args
*args
)
7383 const char *peer_str
;
7384 struct peer
*peer
= NULL
;
7385 bool no_prepend
= false;
7386 bool replace_as
= false;
7388 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7389 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7391 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7393 if (yang_dnode_exists(args
->dnode
, "./local-as"))
7394 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
7396 if (yang_dnode_exists(args
->dnode
, "./local-as"))
7397 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
7398 if (yang_dnode_exists(args
->dnode
, "./no-prepend"))
7399 no_prepend
= yang_dnode_get_bool(args
->dnode
, "./no-prepend");
7400 if (yang_dnode_exists(args
->dnode
, "./no-replace-as"))
7402 yang_dnode_get_bool(args
->dnode
, "./no-replace-as");
7404 if (!as
&& !no_prepend
&& !replace_as
)
7405 ret
= peer_local_as_unset(peer
);
7407 ret
= peer_local_as_set(peer
, as
, no_prepend
, replace_as
);
7409 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
7414 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/local-as
7416 int bgp_peer_groups_peer_group_local_as_local_as_modify(
7417 struct nb_cb_modify_args
*args
)
7419 switch (args
->event
) {
7420 case NB_EV_VALIDATE
:
7424 /* TODO: implement me. */
7431 int bgp_peer_groups_peer_group_local_as_local_as_destroy(
7432 struct nb_cb_destroy_args
*args
)
7435 const char *peer_str
;
7439 switch (args
->event
) {
7440 case NB_EV_VALIDATE
:
7445 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7446 peer_str
= yang_dnode_get_string(args
->dnode
,
7447 "../../peer-group-name");
7448 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7450 ret
= peer_local_as_unset(peer
);
7451 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7453 return NB_ERR_INCONSISTENCY
;
7463 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/no-prepend
7465 int bgp_peer_groups_peer_group_local_as_no_prepend_modify(
7466 struct nb_cb_modify_args
*args
)
7468 switch (args
->event
) {
7469 case NB_EV_VALIDATE
:
7473 /* TODO: implement me. */
7480 int bgp_peer_groups_peer_group_local_as_no_prepend_destroy(
7481 struct nb_cb_destroy_args
*args
)
7483 switch (args
->event
) {
7484 case NB_EV_VALIDATE
:
7488 /* TODO: implement me. */
7497 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/no-replace-as
7499 int bgp_peer_groups_peer_group_local_as_no_replace_as_modify(
7500 struct nb_cb_modify_args
*args
)
7502 switch (args
->event
) {
7503 case NB_EV_VALIDATE
:
7507 /* TODO: implement me. */
7516 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/enable
7518 int bgp_peer_groups_peer_group_bfd_options_enable_modify(
7519 struct nb_cb_modify_args
*args
)
7521 switch (args
->event
) {
7522 case NB_EV_VALIDATE
:
7526 /* TODO: implement me. */
7535 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/detect-multiplier
7537 int bgp_peer_groups_peer_group_bfd_options_detect_multiplier_modify(
7538 struct nb_cb_modify_args
*args
)
7540 switch (args
->event
) {
7541 case NB_EV_VALIDATE
:
7545 /* TODO: implement me. */
7552 int bgp_peer_groups_peer_group_bfd_options_detect_multiplier_destroy(
7553 struct nb_cb_destroy_args
*args
)
7555 switch (args
->event
) {
7556 case NB_EV_VALIDATE
:
7560 /* TODO: implement me. */
7569 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/required-min-rx
7571 int bgp_peer_groups_peer_group_bfd_options_required_min_rx_modify(
7572 struct nb_cb_modify_args
*args
)
7574 switch (args
->event
) {
7575 case NB_EV_VALIDATE
:
7579 /* TODO: implement me. */
7586 int bgp_peer_groups_peer_group_bfd_options_required_min_rx_destroy(
7587 struct nb_cb_destroy_args
*args
)
7589 switch (args
->event
) {
7590 case NB_EV_VALIDATE
:
7594 /* TODO: implement me. */
7603 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/desired-min-tx
7605 int bgp_peer_groups_peer_group_bfd_options_desired_min_tx_modify(
7606 struct nb_cb_modify_args
*args
)
7608 switch (args
->event
) {
7609 case NB_EV_VALIDATE
:
7613 /* TODO: implement me. */
7620 int bgp_peer_groups_peer_group_bfd_options_desired_min_tx_destroy(
7621 struct nb_cb_destroy_args
*args
)
7623 switch (args
->event
) {
7624 case NB_EV_VALIDATE
:
7628 /* TODO: implement me. */
7637 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/session-type
7639 int bgp_peer_groups_peer_group_bfd_options_session_type_modify(
7640 struct nb_cb_modify_args
*args
)
7642 switch (args
->event
) {
7643 case NB_EV_VALIDATE
:
7647 /* TODO: implement me. */
7654 int bgp_peer_groups_peer_group_bfd_options_session_type_destroy(
7655 struct nb_cb_destroy_args
*args
)
7657 switch (args
->event
) {
7658 case NB_EV_VALIDATE
:
7662 /* TODO: implement me. */
7671 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/check-cp-failure
7673 int bgp_peer_groups_peer_group_bfd_options_check_cp_failure_modify(
7674 struct nb_cb_modify_args
*args
)
7676 switch (args
->event
) {
7677 case NB_EV_VALIDATE
:
7681 /* TODO: implement me. */
7688 int bgp_peer_groups_peer_group_bfd_options_check_cp_failure_destroy(
7689 struct nb_cb_destroy_args
*args
)
7691 switch (args
->event
) {
7692 case NB_EV_VALIDATE
:
7696 /* TODO: implement me. */
7705 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown
7707 void bgp_peer_groups_peer_group_admin_shutdown_apply_finish(
7708 struct nb_cb_apply_finish_args
*args
)
7711 const char *peer_str
;
7713 bool enable
= false;
7714 const char *message
;
7716 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7717 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7718 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7720 if (yang_dnode_exists(args
->dnode
, "./message")) {
7721 message
= yang_dnode_get_string(args
->dnode
, "./message");
7722 peer_tx_shutdown_message_set(peer
, message
);
7724 enable
= yang_dnode_get_bool(args
->dnode
, "./enable");
7726 peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_SHUTDOWN
, enable
,
7727 args
->errmsg
, args
->errmsg_len
);
7732 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown/enable
7734 int bgp_peer_groups_peer_group_admin_shutdown_enable_modify(
7735 struct nb_cb_modify_args
*args
)
7737 switch (args
->event
) {
7738 case NB_EV_VALIDATE
:
7742 /* TODO: implement me. */
7749 int bgp_peer_groups_peer_group_admin_shutdown_enable_destroy(
7750 struct nb_cb_destroy_args
*args
)
7752 switch (args
->event
) {
7753 case NB_EV_VALIDATE
:
7757 /* TODO: implement me. */
7766 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown/message
7768 int bgp_peer_groups_peer_group_admin_shutdown_message_modify(
7769 struct nb_cb_modify_args
*args
)
7771 switch (args
->event
) {
7772 case NB_EV_VALIDATE
:
7776 /* TODO: implement me. */
7783 int bgp_peer_groups_peer_group_admin_shutdown_message_destroy(
7784 struct nb_cb_destroy_args
*args
)
7786 switch (args
->event
) {
7787 case NB_EV_VALIDATE
:
7791 /* TODO: implement me. */
7800 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/enable
7802 int bgp_peer_groups_peer_group_graceful_restart_enable_modify(
7803 struct nb_cb_modify_args
*args
)
7805 switch (args
->event
) {
7806 case NB_EV_VALIDATE
:
7810 /* TODO: implement me. */
7817 int bgp_peer_groups_peer_group_graceful_restart_enable_destroy(
7818 struct nb_cb_destroy_args
*args
)
7820 switch (args
->event
) {
7821 case NB_EV_VALIDATE
:
7825 /* TODO: implement me. */
7834 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/graceful-restart-helper
7836 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_helper_modify(
7837 struct nb_cb_modify_args
*args
)
7839 switch (args
->event
) {
7840 case NB_EV_VALIDATE
:
7844 /* TODO: implement me. */
7851 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_helper_destroy(
7852 struct nb_cb_destroy_args
*args
)
7854 switch (args
->event
) {
7855 case NB_EV_VALIDATE
:
7859 /* TODO: implement me. */
7868 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/graceful-restart-disable
7870 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_disable_modify(
7871 struct nb_cb_modify_args
*args
)
7873 switch (args
->event
) {
7874 case NB_EV_VALIDATE
:
7878 /* TODO: implement me. */
7885 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_disable_destroy(
7886 struct nb_cb_destroy_args
*args
)
7888 switch (args
->event
) {
7889 case NB_EV_VALIDATE
:
7893 /* TODO: implement me. */
7902 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/advertise-interval
7904 int bgp_peer_groups_peer_group_timers_advertise_interval_modify(
7905 struct nb_cb_modify_args
*args
)
7908 const char *peer_str
;
7913 switch (args
->event
) {
7914 case NB_EV_VALIDATE
:
7919 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7920 peer_str
= yang_dnode_get_string(args
->dnode
,
7921 "../../peer-group-name");
7922 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7923 routeadv
= yang_dnode_get_uint16(args
->dnode
, NULL
);
7925 ret
= peer_advertise_interval_set(peer
, routeadv
);
7926 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7928 return NB_ERR_INCONSISTENCY
;
7936 int bgp_peer_groups_peer_group_timers_advertise_interval_destroy(
7937 struct nb_cb_destroy_args
*args
)
7940 const char *peer_str
;
7944 switch (args
->event
) {
7945 case NB_EV_VALIDATE
:
7950 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7951 peer_str
= yang_dnode_get_string(args
->dnode
,
7952 "../../peer-group-name");
7953 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7955 ret
= peer_advertise_interval_unset(peer
);
7956 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7958 return NB_ERR_INCONSISTENCY
;
7968 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/connect-time
7970 int bgp_peer_groups_peer_group_timers_connect_time_modify(
7971 struct nb_cb_modify_args
*args
)
7974 const char *peer_str
;
7979 switch (args
->event
) {
7980 case NB_EV_VALIDATE
:
7985 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7986 peer_str
= yang_dnode_get_string(args
->dnode
,
7987 "../../peer-group-name");
7988 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7989 connect
= yang_dnode_get_uint16(args
->dnode
, NULL
);
7991 ret
= peer_timers_connect_set(peer
, connect
);
7992 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7994 return NB_ERR_INCONSISTENCY
;
8002 int bgp_peer_groups_peer_group_timers_connect_time_destroy(
8003 struct nb_cb_destroy_args
*args
)
8006 const char *peer_str
;
8010 switch (args
->event
) {
8011 case NB_EV_VALIDATE
:
8016 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8017 peer_str
= yang_dnode_get_string(args
->dnode
,
8018 "../../peer-group-name");
8019 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8021 ret
= peer_timers_connect_unset(peer
);
8022 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8024 return NB_ERR_INCONSISTENCY
;
8034 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/hold-time
8036 int bgp_peer_groups_peer_group_timers_hold_time_modify(
8037 struct nb_cb_modify_args
*args
)
8040 const char *peer_str
;
8042 uint16_t keepalive
= 0;
8043 uint16_t holdtime
= 0;
8046 switch (args
->event
) {
8047 case NB_EV_VALIDATE
:
8052 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8053 peer_str
= yang_dnode_get_string(args
->dnode
,
8054 "../../peer-group-name");
8055 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8057 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
8058 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
8060 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
8061 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
8062 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
8064 ret
= peer_timers_unset(peer
);
8066 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8068 return NB_ERR_INCONSISTENCY
;
8078 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/keepalive
8080 int bgp_peer_groups_peer_group_timers_keepalive_modify(
8081 struct nb_cb_modify_args
*args
)
8084 const char *peer_str
;
8086 uint16_t keepalive
= 0, curr_keep
= 0;
8087 uint16_t holdtime
= 0;
8090 switch (args
->event
) {
8091 case NB_EV_VALIDATE
:
8096 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8097 peer_str
= yang_dnode_get_string(args
->dnode
,
8098 "../../peer-group-name");
8099 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8101 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
8102 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
8104 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
8105 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
8106 if (peer
->holdtime
== holdtime
) {
8107 curr_keep
= (keepalive
< holdtime
/ 3
8110 if (curr_keep
== keepalive
) {
8111 // zlog_debug("%s holdtime %u keepalive
8112 // %u value is already set, skipping
8114 // __func__, holdtime, keepalive);
8118 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
8120 ret
= peer_timers_unset(peer
);
8122 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8124 return NB_ERR_INCONSISTENCY
;
8134 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi
8136 int bgp_peer_groups_peer_group_afi_safis_afi_safi_create(
8137 struct nb_cb_create_args
*args
)
8139 switch (args
->event
) {
8140 case NB_EV_VALIDATE
:
8144 /* TODO: implement me. */
8151 int bgp_peer_groups_peer_group_afi_safis_afi_safi_destroy(
8152 struct nb_cb_destroy_args
*args
)
8154 switch (args
->event
) {
8155 case NB_EV_VALIDATE
:
8159 /* TODO: implement me. */
8168 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/enabled
8170 int bgp_peer_groups_peer_group_afi_safis_afi_safi_enabled_modify(
8171 struct nb_cb_modify_args
*args
)
8174 const char *peer_str
;
8175 const char *af_name
;
8178 bool activate
= false;
8182 switch (args
->event
) {
8183 case NB_EV_VALIDATE
:
8188 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8190 yang_dnode_get_string(args
->dnode
, "../afi-safi-name");
8191 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8192 peer_str
= yang_dnode_get_string(args
->dnode
,
8193 "../../../peer-group-name");
8194 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8196 activate
= yang_dnode_get_bool(args
->dnode
, NULL
);
8198 ret
= peer_activate(peer
, afi
, safi
);
8200 ret
= peer_deactivate(peer
, afi
, safi
);
8202 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8204 return NB_ERR_INCONSISTENCY
;
8212 int bgp_peer_groups_peer_group_afi_safis_afi_safi_enabled_destroy(
8213 struct nb_cb_destroy_args
*args
)
8215 switch (args
->event
) {
8216 case NB_EV_VALIDATE
:
8220 /* TODO: implement me. */
8227 void bgp_global_afi_safis_afi_safi_network_config_apply_finish(
8228 struct nb_cb_apply_finish_args
*args
)
8230 const struct lyd_node
*af_dnode
;
8232 const char *af_name
;
8233 struct prefix prefix
;
8234 bool is_backdoor
= false;
8235 uint32_t label_index
= BGP_INVALID_LABEL_INDEX
;
8236 const char *rmap_name
= NULL
;
8240 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8241 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8242 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8243 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8245 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8247 is_backdoor
= yang_dnode_get_bool(args
->dnode
, "./backdoor");
8249 if (yang_dnode_exists(args
->dnode
, "./label-index"))
8251 yang_dnode_get_uint32(args
->dnode
, "./label-index");
8253 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8254 rmap_name
= yang_dnode_get_string(args
->dnode
,
8255 "./rmap-policy-export");
8257 bgp_static_set(bgp
, NULL
, &prefix
, afi
, safi
, rmap_name
, is_backdoor
,
8258 label_index
, args
->errmsg
, args
->errmsg_len
);
8261 static int bgp_global_afi_safis_afi_safi_network_config_destroy(
8262 struct nb_cb_destroy_args
*args
)
8264 const struct lyd_node
*af_dnode
;
8266 const char *af_name
;
8267 struct prefix prefix
;
8268 uint32_t label_index
= BGP_INVALID_LABEL_INDEX
;
8269 const char *rmap_name
= NULL
;
8270 bool is_backdoor
= false;
8275 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8276 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8277 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8278 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8280 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8282 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8283 rmap_name
= yang_dnode_get_string(args
->dnode
,
8284 "./rmap-policy-export");
8286 if (yang_dnode_exists(args
->dnode
, "./label-index"))
8288 yang_dnode_get_uint32(args
->dnode
, "./label-index");
8290 if (yang_dnode_exists(args
->dnode
, "./backdoor"))
8291 is_backdoor
= yang_dnode_get_bool(args
->dnode
, "./backdoor");
8293 ret
= bgp_static_set(bgp
, "no", &prefix
, afi
, safi
, rmap_name
,
8294 is_backdoor
, label_index
, args
->errmsg
,
8297 return NB_ERR_INCONSISTENCY
;
8304 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config
8306 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_create(
8307 struct nb_cb_create_args
*args
)
8309 /* Handled in network_config_apply_finish callback */
8314 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_destroy(
8315 struct nb_cb_destroy_args
*args
)
8317 switch (args
->event
) {
8318 case NB_EV_VALIDATE
:
8323 return bgp_global_afi_safis_afi_safi_network_config_destroy(
8334 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/backdoor
8336 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_backdoor_modify(
8337 struct nb_cb_modify_args
*args
)
8339 /* Handled in unicast_network_config_apply_finish callback */
8346 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/label-index
8348 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_label_index_modify(
8349 struct nb_cb_modify_args
*args
)
8351 const struct lyd_node
*af_dnode
;
8353 const char *af_name
;
8354 struct prefix prefix
;
8355 uint32_t label_index
;
8358 struct bgp_dest
*dest
;
8359 struct bgp_static
*bgp_static
;
8361 switch (args
->event
) {
8362 case NB_EV_VALIDATE
:
8363 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
8367 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8368 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8369 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8370 yang_dnode_get_prefix(&prefix
, args
->dnode
, "../prefix");
8371 apply_mask(&prefix
);
8373 label_index
= yang_dnode_get_uint32(args
->dnode
, NULL
);
8375 dest
= bgp_node_get(bgp
->route
[afi
][safi
], &prefix
);
8376 bgp_static
= bgp_dest_get_bgp_static_info(dest
);
8378 if (bgp_static
->label_index
!= label_index
) {
8380 args
->errmsg
, args
->errmsg_len
,
8381 "Cannot change label-index: curr %u input %u\n",
8382 bgp_static
->label_index
, label_index
);
8383 return NB_ERR_VALIDATION
;
8397 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_label_index_destroy(
8398 struct nb_cb_destroy_args
*args
)
8400 /* Handled in unicast_network_config_apply_finish callback */
8407 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/rmap-policy-export
8409 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_rmap_policy_export_modify(
8410 struct nb_cb_modify_args
*args
)
8412 /* Handled in unicast_network_config_apply_finish callback */
8417 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_rmap_policy_export_destroy(
8418 struct nb_cb_destroy_args
*args
)
8420 /* rmap destory alone is not supported by backend, the entire network
8421 * config needs to be destroyed.
8423 switch (args
->event
) {
8424 case NB_EV_VALIDATE
:
8428 /* TODO: implement me. */
8435 void bgp_global_afi_safi_aggregate_route_apply_finish(
8436 struct nb_cb_apply_finish_args
*args
)
8438 const struct lyd_node
*af_dnode
;
8440 const char *af_name
;
8441 struct prefix prefix
;
8442 const char *rmap_name
= NULL
;
8446 int summary_only
= 0;
8447 uint8_t origin
= BGP_ORIGIN_UNSPECIFIED
;
8448 bool match_med
= false;
8449 const char *suppress_map
= NULL
;
8451 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8452 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8453 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8454 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8456 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8458 if (yang_dnode_exists(args
->dnode
, "./as-set"))
8459 as_set
= yang_dnode_get_bool(args
->dnode
, "./as-set");
8461 summary_only
= yang_dnode_get_bool(args
->dnode
, "./summary-only");
8463 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8464 rmap_name
= yang_dnode_get_string(args
->dnode
,
8465 "./rmap-policy-export");
8467 origin
= yang_dnode_get_enum(args
->dnode
, "./origin");
8468 match_med
= yang_dnode_get_bool(args
->dnode
, "./match-med");
8469 if (yang_dnode_exists(args
->dnode
, "./suppress-map"))
8471 yang_dnode_get_string(args
->dnode
, "./suppress-map");
8473 bgp_aggregate_set(bgp
, &prefix
, afi
, safi
, rmap_name
, summary_only
,
8474 as_set
, origin
, match_med
, suppress_map
, args
->errmsg
,
8479 bgp_global_afi_safi_aggregate_route_destroy(struct nb_cb_destroy_args
*args
)
8481 const struct lyd_node
*af_dnode
;
8483 const char *af_name
;
8484 struct prefix prefix
;
8489 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8490 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8491 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8492 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8494 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8496 ret
= bgp_aggregate_unset(bgp
, &prefix
, afi
, safi
, args
->errmsg
,
8500 return NB_ERR_INCONSISTENCY
;
8507 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route
8509 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_create(
8510 struct nb_cb_create_args
*args
)
8512 switch (args
->event
) {
8513 case NB_EV_VALIDATE
:
8517 /* TODO: implement me. */
8524 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_destroy(
8525 struct nb_cb_destroy_args
*args
)
8527 switch (args
->event
) {
8528 case NB_EV_VALIDATE
:
8533 return bgp_global_afi_safi_aggregate_route_destroy(args
);
8541 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/as-set
8543 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_as_set_modify(
8544 struct nb_cb_modify_args
*args
)
8546 switch (args
->event
) {
8547 case NB_EV_VALIDATE
:
8551 /* TODO: implement me. */
8560 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/summary-only
8562 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_summary_only_modify(
8563 struct nb_cb_modify_args
*args
)
8565 switch (args
->event
) {
8566 case NB_EV_VALIDATE
:
8570 /* TODO: implement me. */
8579 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/rmap-policy-export
8581 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_rmap_policy_export_modify(
8582 struct nb_cb_modify_args
*args
)
8584 switch (args
->event
) {
8585 case NB_EV_VALIDATE
:
8589 /* TODO: implement me. */
8596 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_rmap_policy_export_destroy(
8597 struct nb_cb_destroy_args
*args
)
8599 switch (args
->event
) {
8600 case NB_EV_VALIDATE
:
8604 /* TODO: implement me. */
8613 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/origin
8615 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_origin_modify(
8616 struct nb_cb_modify_args
*args
)
8618 switch (args
->event
) {
8619 case NB_EV_VALIDATE
:
8623 /* TODO: implement me. */
8632 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/match-med
8634 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_match_med_modify(
8635 struct nb_cb_modify_args
*args
)
8637 switch (args
->event
) {
8638 case NB_EV_VALIDATE
:
8642 /* TODO: implement me. */
8651 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/suppress-map
8653 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_suppress_map_modify(
8654 struct nb_cb_modify_args
*args
)
8656 switch (args
->event
) {
8657 case NB_EV_VALIDATE
:
8661 /* TODO: implement me. */
8668 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_suppress_map_destroy(
8669 struct nb_cb_destroy_args
*args
)
8671 switch (args
->event
) {
8672 case NB_EV_VALIDATE
:
8676 /* TODO: implement me. */
8683 void bgp_global_afi_safi_admin_distance_route_apply_finish(
8684 struct nb_cb_apply_finish_args
*args
)
8686 const struct lyd_node
*af_dnode
;
8687 const char *af_name
;
8688 const char *prefix_str
= NULL
;
8689 const char *access_list_str
= NULL
;
8694 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8695 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8696 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8698 prefix_str
= yang_dnode_get_string(args
->dnode
, "./prefix");
8699 distance
= yang_dnode_get_uint8(args
->dnode
, "./distance");
8700 if (yang_dnode_exists(args
->dnode
, "./access-list-policy-export"))
8701 access_list_str
= yang_dnode_get_string(
8702 args
->dnode
, "./access-list-policy-export");
8704 bgp_distance_set(distance
, prefix_str
, access_list_str
, afi
, safi
,
8705 args
->errmsg
, args
->errmsg_len
);
8708 static int bgp_global_afi_safi_admin_distance_route_destroy(
8709 struct nb_cb_destroy_args
*args
)
8711 const struct lyd_node
*af_dnode
;
8712 const char *af_name
;
8713 const char *prefix_str
= NULL
;
8714 const char *access_list_str
= NULL
;
8719 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8720 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8721 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8723 prefix_str
= yang_dnode_get_string(args
->dnode
, "./prefix");
8724 distance
= yang_dnode_get_uint8(args
->dnode
, "./distance");
8725 if (yang_dnode_exists(args
->dnode
, "./access-list-policy-export"))
8726 access_list_str
= yang_dnode_get_string(
8727 args
->dnode
, "./access-list-policy-export");
8729 if (bgp_distance_unset(distance
, prefix_str
, access_list_str
, afi
, safi
,
8730 args
->errmsg
, args
->errmsg_len
)
8732 return NB_ERR_INCONSISTENCY
;
8739 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance-route
8741 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_create(
8742 struct nb_cb_create_args
*args
)
8744 switch (args
->event
) {
8745 case NB_EV_VALIDATE
:
8749 /* TODO: implement me. */
8756 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_destroy(
8757 struct nb_cb_destroy_args
*args
)
8759 switch (args
->event
) {
8760 case NB_EV_VALIDATE
:
8765 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
8773 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance-route/distance
8775 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_distance_modify(
8776 struct nb_cb_modify_args
*args
)
8778 switch (args
->event
) {
8779 case NB_EV_VALIDATE
:
8783 /* TODO: implement me. */
8792 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance-route/access-list-policy-export
8794 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_access_list_policy_export_modify(
8795 struct nb_cb_modify_args
*args
)
8797 switch (args
->event
) {
8798 case NB_EV_VALIDATE
:
8802 /* TODO: implement me. */
8809 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_access_list_policy_export_destroy(
8810 struct nb_cb_destroy_args
*args
)
8812 switch (args
->event
) {
8813 case NB_EV_VALIDATE
:
8817 /* TODO: implement me. */
8824 void bgp_global_afi_safis_afi_safi_route_flap_dampening_apply_finish(
8825 struct nb_cb_apply_finish_args
*args
)
8827 const struct lyd_node
*af_dnode
;
8829 const char *af_name
;
8832 int half
= DEFAULT_HALF_LIFE
* 60;
8833 int reuse
= DEFAULT_REUSE
;
8834 int suppress
= DEFAULT_SUPPRESS
;
8836 char ab_xpath
[XPATH_MAXLEN
];
8838 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8839 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8840 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8841 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8843 if (!yang_dnode_get_bool(args
->dnode
, "./enable")) {
8844 bgp_damp_disable(bgp
, afi
, safi
);
8846 half
= yang_dnode_get_uint8(args
->dnode
, "./reach-decay");
8848 reuse
= yang_dnode_get_uint16(args
->dnode
, "./reuse-above");
8851 yang_dnode_get_uint16(args
->dnode
, "./suppress-above");
8853 max
= yang_dnode_get_uint8(args
->dnode
, "./unreach-decay");
8854 yang_dnode_get_path(args
->dnode
, ab_xpath
, sizeof(ab_xpath
));
8855 strlcat(ab_xpath
, "/unreach-decay", sizeof(ab_xpath
));
8856 if (yang_get_default_uint8(ab_xpath
) == max
)
8861 bgp_damp_enable(bgp
, afi
, safi
, half
, reuse
, suppress
, max
);
8866 bgp_global_afi_safi_route_flap_validation(struct nb_cb_modify_args
*args
)
8871 if (yang_dnode_exists(args
->dnode
, "../suppress-above")
8872 && yang_dnode_exists(args
->dnode
, "../reuse-above")) {
8874 yang_dnode_get_uint16(args
->dnode
, "../suppress-above");
8875 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
8876 if (suppress
< reuse
) {
8878 args
->errmsg
, args
->errmsg_len
,
8879 "Suppress value cannot be less than reuse value \n");
8880 return NB_ERR_VALIDATION
;
8888 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/enable
8890 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_enable_modify(
8891 struct nb_cb_modify_args
*args
)
8893 switch (args
->event
) {
8894 case NB_EV_VALIDATE
:
8895 return bgp_global_afi_safi_route_flap_validation(args
);
8907 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/reach-decay
8909 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reach_decay_modify(
8910 struct nb_cb_modify_args
*args
)
8912 switch (args
->event
) {
8913 case NB_EV_VALIDATE
:
8917 /* TODO: implement me. */
8924 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reach_decay_destroy(
8925 struct nb_cb_destroy_args
*args
)
8927 switch (args
->event
) {
8928 case NB_EV_VALIDATE
:
8932 /* TODO: implement me. */
8941 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/reuse-above
8943 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reuse_above_modify(
8944 struct nb_cb_modify_args
*args
)
8946 int reuse
= DEFAULT_REUSE
;
8947 int suppress
= DEFAULT_SUPPRESS
;
8949 switch (args
->event
) {
8950 case NB_EV_VALIDATE
:
8951 if (yang_dnode_exists(args
->dnode
, "../suppress-above"))
8952 suppress
= yang_dnode_get_uint16(args
->dnode
,
8953 "../suppress-above");
8954 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
8955 if (suppress
< reuse
) {
8957 args
->errmsg
, args
->errmsg_len
,
8958 "Suppress value cannot be less than reuse value \n");
8959 return NB_ERR_VALIDATION
;
8965 /* TODO: implement me. */
8972 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reuse_above_destroy(
8973 struct nb_cb_destroy_args
*args
)
8975 switch (args
->event
) {
8976 case NB_EV_VALIDATE
:
8980 /* TODO: implement me. */
8989 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/suppress-above
8991 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_suppress_above_modify(
8992 struct nb_cb_modify_args
*args
)
8994 switch (args
->event
) {
8995 case NB_EV_VALIDATE
:
8999 /* TODO: implement me. */
9006 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_suppress_above_destroy(
9007 struct nb_cb_destroy_args
*args
)
9009 switch (args
->event
) {
9010 case NB_EV_VALIDATE
:
9014 /* TODO: implement me. */
9023 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/unreach-decay
9025 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_unreach_decay_modify(
9026 struct nb_cb_modify_args
*args
)
9028 switch (args
->event
) {
9029 case NB_EV_VALIDATE
:
9033 /* TODO: implement me. */
9040 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_unreach_decay_destroy(
9041 struct nb_cb_destroy_args
*args
)
9043 switch (args
->event
) {
9044 case NB_EV_VALIDATE
:
9048 /* TODO: implement me. */
9056 bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9057 struct nb_cb_modify_args
*args
)
9059 const struct lyd_node
*af_dnode
;
9061 const char *af_name
;
9064 uint16_t maxpaths
, default_maxpaths
;
9066 char xpath
[XPATH_MAXLEN
];
9067 char afi_xpath
[XPATH_MAXLEN
];
9069 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9070 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9071 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9072 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9073 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9075 snprintf(xpath
, sizeof(xpath
), FRR_BGP_GLOBAL_XPATH
, "frr-bgp:bgp",
9076 "bgp", bgp
->name
? bgp
->name
: VRF_DEFAULT_NAME
);
9078 afi_xpath
, sizeof(afi_xpath
),
9079 "/global/afi-safis/afi-safi[afi-safi-name='%s']/%s/use-multiple-paths/ebgp/maximum-paths",
9080 yang_afi_safi_value2identity(afi
, safi
),
9081 bgp_afi_safi_get_container_str(afi
, safi
));
9082 strlcat(xpath
, afi_xpath
, sizeof(xpath
));
9083 default_maxpaths
= yang_get_default_uint16(xpath
);
9085 ret
= bgp_maxpaths_config_vty(bgp
, afi
, safi
, BGP_PEER_EBGP
, maxpaths
,
9086 0, maxpaths
!= default_maxpaths
? 1 : 0,
9087 args
->errmsg
, args
->errmsg_len
);
9088 if (ret
!= CMD_SUCCESS
)
9089 return NB_ERR_INCONSISTENCY
;
9096 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/use-multiple-paths/ebgp/maximum-paths
9098 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9099 struct nb_cb_modify_args
*args
)
9103 switch (args
->event
) {
9104 case NB_EV_VALIDATE
:
9105 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9106 if (maxpaths
> multipath_num
) {
9107 snprintf(args
->errmsg
, args
->errmsg_len
,
9108 "maxpaths %u is out of range %u", maxpaths
,
9110 return NB_ERR_VALIDATION
;
9117 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9126 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/use-multiple-paths/ibgp
9128 void bgp_global_afi_safi_ip_unicast_use_multiple_paths_ibgp_maximum_paths_apply_finish(
9129 struct nb_cb_apply_finish_args
*args
)
9131 const struct lyd_node
*af_dnode
;
9133 const char *af_name
;
9136 uint16_t maxpaths
, default_maxpaths
;
9137 char xpath
[XPATH_MAXLEN
];
9138 char afi_xpath
[XPATH_MAXLEN
];
9139 uint16_t options
= 0;
9141 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9142 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9143 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9144 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9146 maxpaths
= yang_dnode_get_uint16(args
->dnode
, "./maximum-paths");
9147 if (yang_dnode_get_bool(args
->dnode
, "./cluster-length-list"))
9148 options
= BGP_FLAG_IBGP_MULTIPATH_SAME_CLUSTERLEN
;
9150 snprintf(xpath
, sizeof(xpath
), FRR_BGP_GLOBAL_XPATH
, "frr-bgp:bgp",
9151 "bgp", bgp
->name
? bgp
->name
: VRF_DEFAULT_NAME
);
9153 afi_xpath
, sizeof(afi_xpath
),
9154 "/global/afi-safis/afi-safi[afi-safi-name='%s']/%s/use-multiple-paths/ibgp/maximum-paths",
9155 yang_afi_safi_value2identity(afi
, safi
),
9156 bgp_afi_safi_get_container_str(afi
, safi
));
9157 strlcat(xpath
, afi_xpath
, sizeof(xpath
));
9158 default_maxpaths
= yang_get_default_uint16(xpath
);
9160 bgp_maxpaths_config_vty(bgp
, afi
, safi
, BGP_PEER_IBGP
, maxpaths
,
9161 options
, maxpaths
!= default_maxpaths
? 1 : 0,
9162 args
->errmsg
, args
->errmsg_len
);
9167 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/use-multiple-paths/ibgp/maximum-paths
9169 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
9170 struct nb_cb_modify_args
*args
)
9174 switch (args
->event
) {
9175 case NB_EV_VALIDATE
:
9176 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9177 if (maxpaths
> multipath_num
) {
9178 snprintf(args
->errmsg
, args
->errmsg_len
,
9179 "maxpaths %u is out of range %u", maxpaths
,
9181 return NB_ERR_VALIDATION
;
9196 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/use-multiple-paths/ibgp/cluster-length-list
9198 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
9199 struct nb_cb_modify_args
*args
)
9201 switch (args
->event
) {
9202 case NB_EV_VALIDATE
:
9206 /* TODO: implement me. */
9213 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
9214 struct nb_cb_destroy_args
*args
)
9216 switch (args
->event
) {
9217 case NB_EV_VALIDATE
:
9221 /* TODO: implement me. */
9228 void bgp_global_afi_safi_ip_unicast_redistribution_list_apply_finish(
9229 struct nb_cb_apply_finish_args
*args
)
9231 const struct lyd_node
*af_dnode
;
9233 const char *af_name
;
9238 struct bgp_redist
*red
;
9239 bool changed
= false;
9240 struct route_map
*route_map
= NULL
;
9241 const char *rmap_name
= NULL
;
9242 uint32_t metric
= 0;
9244 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9245 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9246 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9247 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9249 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
9250 route_instance
= yang_dnode_get_uint16(args
->dnode
, "./route-instance");
9252 red
= bgp_redist_add(bgp
, afi
, route_type
, route_instance
);
9254 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-import")) {
9255 rmap_name
= yang_dnode_get_string(args
->dnode
,
9256 "./rmap-policy-import");
9257 route_map
= route_map_lookup_by_name(rmap_name
);
9259 changed
= bgp_redistribute_rmap_set(red
, rmap_name
, route_map
);
9262 if (yang_dnode_exists(args
->dnode
, "./metric")) {
9263 metric
= yang_dnode_get_uint32(args
->dnode
, "./metric");
9264 changed
|= bgp_redistribute_metric_set(bgp
, red
, afi
,
9265 route_type
, metric
);
9268 bgp_redistribute_set(bgp
, afi
, route_type
, route_instance
, changed
);
9273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list
9275 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_create(
9276 struct nb_cb_create_args
*args
)
9278 switch (args
->event
) {
9279 case NB_EV_VALIDATE
:
9283 /* TODO: implement me. */
9290 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_destroy(
9291 struct nb_cb_destroy_args
*args
)
9293 const struct lyd_node
*af_dnode
;
9295 const char *af_name
;
9301 switch (args
->event
) {
9302 case NB_EV_VALIDATE
:
9307 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9308 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9309 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9310 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9312 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
9314 yang_dnode_get_uint16(args
->dnode
, "./route-instance");
9316 bgp_redistribute_unset(bgp
, afi
, route_type
, route_instance
);
9326 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list/metric
9328 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_metric_modify(
9329 struct nb_cb_modify_args
*args
)
9331 switch (args
->event
) {
9332 case NB_EV_VALIDATE
:
9336 /* TODO: implement me. */
9343 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_metric_destroy(
9344 struct nb_cb_destroy_args
*args
)
9346 switch (args
->event
) {
9347 case NB_EV_VALIDATE
:
9351 /* TODO: implement me. */
9360 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list/rmap-policy-import
9362 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_rmap_policy_import_modify(
9363 struct nb_cb_modify_args
*args
)
9365 switch (args
->event
) {
9366 case NB_EV_VALIDATE
:
9370 /* TODO: implement me. */
9377 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_rmap_policy_import_destroy(
9378 struct nb_cb_destroy_args
*args
)
9380 switch (args
->event
) {
9381 case NB_EV_VALIDATE
:
9385 /* TODO: implement me. */
9393 bgp_global_afi_safis_admin_distance_modify(struct nb_cb_apply_finish_args
*args
)
9396 const struct lyd_node
*af_dnode
;
9397 const char *af_name
;
9400 uint8_t distance_ebgp
, distance_ibgp
, distance_local
;
9402 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9403 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9404 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9405 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9407 distance_ebgp
= yang_dnode_get_uint8(args
->dnode
, "./external");
9408 distance_ibgp
= yang_dnode_get_uint8(args
->dnode
, "./internal");
9409 distance_local
= yang_dnode_get_uint8(args
->dnode
, "./local");
9411 bgp
->distance_ebgp
[afi
][safi
] = distance_ebgp
;
9412 bgp
->distance_ibgp
[afi
][safi
] = distance_ibgp
;
9413 bgp
->distance_local
[afi
][safi
] = distance_local
;
9415 bgp_announce_routes_distance_update(bgp
, afi
, safi
);
9422 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance
9424 void bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_apply_finish(
9425 struct nb_cb_apply_finish_args
*args
)
9427 bgp_global_afi_safis_admin_distance_modify(args
);
9432 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/external
9434 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_external_modify(
9435 struct nb_cb_modify_args
*args
)
9437 /* Handled in admin_distance_apply_finish callback */
9444 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/internal
9446 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_internal_modify(
9447 struct nb_cb_modify_args
*args
)
9449 /* Handled in admin_distance_apply_finish callback */
9456 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/local
9458 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_local_modify(
9459 struct nb_cb_modify_args
*args
)
9461 /* Handled in admin_distance_apply_finish callback */
9468 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
9470 int bgp_global_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
9471 struct nb_cb_modify_args
*args
)
9473 switch (args
->event
) {
9474 case NB_EV_VALIDATE
:
9478 /* TODO: implement me. */
9485 int bgp_global_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
9486 struct nb_cb_destroy_args
*args
)
9488 switch (args
->event
) {
9489 case NB_EV_VALIDATE
:
9493 /* TODO: implement me. */
9500 static int bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
9501 struct nb_cb_modify_args
*args
)
9504 const struct lyd_node
*af_dnode
;
9505 const char *af_name
;
9508 const char *rd_str
= NULL
;
9509 struct prefix_rd prd
;
9511 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
9513 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9514 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9515 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9517 rd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
9518 if (!str2prefix_rd(rd_str
, &prd
)) {
9519 snprintf(args
->errmsg
, args
->errmsg_len
, "Malformed rd %s\n",
9521 return NB_ERR_INCONSISTENCY
;
9525 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9527 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9530 bgp
->vpn_policy
[afi
].tovpn_rd
= prd
;
9531 SET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_RD_SET
);
9533 /* post-change: re-export vpn routes */
9534 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9540 static int bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
9541 struct nb_cb_destroy_args
*args
)
9544 const struct lyd_node
*af_dnode
;
9545 const char *af_name
;
9548 const char *rd_str
= NULL
;
9549 struct prefix_rd prd
;
9551 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9552 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9553 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9554 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9556 rd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
9557 if (!str2prefix_rd(rd_str
, &prd
)) {
9558 snprintf(args
->errmsg
, args
->errmsg_len
, "Malformed rd %s \n",
9560 return NB_ERR_INCONSISTENCY
;
9564 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9566 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9569 UNSET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_RD_SET
);
9571 /* post-change: re-export vpn routes */
9572 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9579 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rd
9581 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rd_modify(
9582 struct nb_cb_modify_args
*args
)
9585 const struct lyd_node
*af_dnode
;
9586 const char *af_name
;
9590 switch (args
->event
) {
9591 case NB_EV_VALIDATE
:
9592 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9596 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9597 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9598 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9600 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
9601 args
->errmsg
, args
->errmsg_len
))
9602 return NB_ERR_VALIDATION
;
9609 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
9618 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rd_destroy(
9619 struct nb_cb_destroy_args
*args
)
9621 switch (args
->event
) {
9622 case NB_EV_VALIDATE
:
9627 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
9636 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/label
9638 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_modify(
9639 struct nb_cb_modify_args
*args
)
9641 switch (args
->event
) {
9642 case NB_EV_VALIDATE
:
9646 /* TODO: implement me. */
9653 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_destroy(
9654 struct nb_cb_destroy_args
*args
)
9656 switch (args
->event
) {
9657 case NB_EV_VALIDATE
:
9661 /* TODO: implement me. */
9670 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/label-auto
9672 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_auto_modify(
9673 struct nb_cb_modify_args
*args
)
9675 switch (args
->event
) {
9676 case NB_EV_VALIDATE
:
9680 /* TODO: implement me. */
9687 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_auto_destroy(
9688 struct nb_cb_destroy_args
*args
)
9690 switch (args
->event
) {
9691 case NB_EV_VALIDATE
:
9695 /* TODO: implement me. */
9702 static int bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
9703 struct nb_cb_modify_args
*args
)
9706 const struct lyd_node
*af_dnode
;
9707 const char *af_name
;
9712 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9713 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9714 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9715 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9717 yang_dnode_get_prefix(&p
, args
->dnode
, NULL
);
9720 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9722 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9725 bgp
->vpn_policy
[afi
].tovpn_nexthop
= p
;
9726 SET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_NEXTHOP_SET
);
9728 /* post-change: re-export vpn routes */
9729 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9735 static int bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
9736 struct nb_cb_destroy_args
*args
)
9739 const struct lyd_node
*af_dnode
;
9740 const char *af_name
;
9745 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9746 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9747 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9748 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9750 yang_dnode_get_prefix(&p
, args
->dnode
, NULL
);
9753 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9755 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9757 UNSET_FLAG(bgp
->vpn_policy
[afi
].flags
,
9758 BGP_VPN_POLICY_TOVPN_NEXTHOP_SET
);
9759 /* post-change: re-export vpn routes */
9760 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9767 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/nexthop
9769 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_nexthop_modify(
9770 struct nb_cb_modify_args
*args
)
9773 const struct lyd_node
*af_dnode
;
9774 const char *af_name
;
9778 switch (args
->event
) {
9779 case NB_EV_VALIDATE
:
9780 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9783 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9784 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9785 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9787 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
9788 args
->errmsg
, args
->errmsg_len
))
9789 return NB_ERR_VALIDATION
;
9796 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
9803 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_nexthop_destroy(
9804 struct nb_cb_destroy_args
*args
)
9806 switch (args
->event
) {
9807 case NB_EV_VALIDATE
:
9812 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
9819 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9820 struct nb_cb_modify_args
*args
, const char *direction_str
,
9824 const struct lyd_node
*af_dnode
;
9825 const char *af_name
;
9830 vpn_policy_direction_t dir
;
9832 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9833 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9834 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9835 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9837 if (!strcmp(direction_str
, "import")) {
9838 flag
= BGP_CONFIG_MPLSVPN_TO_VRF_IMPORT
;
9839 dir
= BGP_VPN_POLICY_DIR_FROMVPN
;
9840 } else if (!strcmp(direction_str
, "export")) {
9841 flag
= BGP_CONFIG_VRF_TO_MPLSVPN_EXPORT
;
9842 dir
= BGP_VPN_POLICY_DIR_TOVPN
;
9844 snprintf(args
->errmsg
, args
->errmsg_len
,
9845 "unknown direction %s\n", direction_str
);
9846 return NB_ERR_INCONSISTENCY
;
9849 previous_state
= CHECK_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9852 SET_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9853 if (!previous_state
) {
9854 /* trigger export current vrf */
9855 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
9858 if (previous_state
) {
9859 /* trigger un-export current vrf */
9860 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
9862 UNSET_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-vpn
9872 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vpn_modify(
9873 struct nb_cb_modify_args
*args
)
9875 bool is_enable
= false;
9878 switch (args
->event
) {
9879 case NB_EV_VALIDATE
:
9880 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9884 if (BGP_INSTANCE_TYPE_VRF
!= bgp
->inst_type
9885 && BGP_INSTANCE_TYPE_DEFAULT
!= bgp
->inst_type
) {
9887 args
->errmsg
, args
->errmsg_len
,
9888 "import|export vpn valid only for bgp vrf or default instance");
9889 return NB_ERR_VALIDATION
;
9897 if (yang_dnode_get_bool(args
->dnode
, NULL
))
9900 return bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9901 args
, "import", is_enable
);
9909 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/export-vpn
9911 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_vpn_modify(
9912 struct nb_cb_modify_args
*args
)
9914 bool is_enable
= false;
9917 switch (args
->event
) {
9918 case NB_EV_VALIDATE
:
9919 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9923 if (BGP_INSTANCE_TYPE_VRF
!= bgp
->inst_type
9924 && BGP_INSTANCE_TYPE_DEFAULT
!= bgp
->inst_type
) {
9926 args
->errmsg
, args
->errmsg_len
,
9927 "import|export vpn valid only for bgp vrf or default instance");
9928 return NB_ERR_VALIDATION
;
9935 if (yang_dnode_get_bool(args
->dnode
, NULL
))
9938 return bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9939 args
, "export", is_enable
);
9946 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
9947 struct nb_cb_create_args
*args
)
9950 const struct lyd_node
*af_dnode
;
9951 const char *af_name
;
9956 struct bgp
*vrf_bgp
, *bgp_default
;
9957 const char *import_name
;
9959 enum bgp_instance_type bgp_type
= BGP_INSTANCE_TYPE_VRF
;
9960 struct listnode
*node
;
9962 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9963 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9964 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9965 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9968 import_name
= yang_dnode_get_string(args
->dnode
, "./vrf");
9970 if (((BGP_INSTANCE_TYPE_DEFAULT
== bgp
->inst_type
)
9971 && (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0))
9972 || (bgp
->name
&& (strcmp(import_name
, bgp
->name
) == 0))) {
9973 snprintf(args
->errmsg
, args
->errmsg_len
,
9974 "Cannot %s vrf %s into itself\n", "import",
9976 return NB_ERR_INCONSISTENCY
;
9979 bgp_default
= bgp_get_default();
9981 /* Auto-create assuming the same AS */
9982 ret
= bgp_get_vty(&bgp_default
, &as
, NULL
,
9983 BGP_INSTANCE_TYPE_DEFAULT
);
9987 args
->errmsg
, args
->errmsg_len
,
9988 "VRF default is not configured as a bgp instance");
9989 return NB_ERR_INCONSISTENCY
;
9993 vrf_bgp
= bgp_lookup_by_name(import_name
);
9995 if (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0)
9996 vrf_bgp
= bgp_default
;
9998 /* Auto-create assuming the same AS */
9999 ret
= bgp_get_vty(&vrf_bgp
, &as
, import_name
, bgp_type
);
10002 snprintf(args
->errmsg
, args
->errmsg_len
,
10003 "VRF %s is not configured as a bgp instance\n",
10005 return NB_ERR_INCONSISTENCY
;
10009 /* Already importing from "import_vrf"? */
10010 for (ALL_LIST_ELEMENTS_RO(bgp
->vpn_policy
[afi
].import_vrf
, node
,
10012 if (strcmp(vname
, import_name
) == 0) {
10013 snprintf(args
->errmsg
, args
->errmsg_len
,
10014 "already importing from vrf %s", import_name
);
10015 return NB_ERR_INCONSISTENCY
;
10019 vrf_import_from_vrf(bgp
, vrf_bgp
, afi
, safi
);
10025 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
10026 struct nb_cb_destroy_args
*args
)
10029 const struct lyd_node
*af_dnode
;
10030 const char *af_name
;
10035 struct bgp
*vrf_bgp
, *bgp_default
;
10036 const char *import_name
;
10037 enum bgp_instance_type bgp_type
= BGP_INSTANCE_TYPE_VRF
;
10039 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10040 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10041 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10042 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10045 import_name
= yang_dnode_get_string(args
->dnode
, "./vrf");
10047 if (((BGP_INSTANCE_TYPE_DEFAULT
== bgp
->inst_type
)
10048 && (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0))
10049 || (bgp
->name
&& (strcmp(import_name
, bgp
->name
) == 0))) {
10050 snprintf(args
->errmsg
, args
->errmsg_len
,
10051 "Cannot %s vrf %s into itself\n", "unimport",
10053 return NB_ERR_INCONSISTENCY
;
10056 bgp_default
= bgp_get_default();
10057 if (!bgp_default
) {
10058 /* Auto-create assuming the same AS */
10059 ret
= bgp_get_vty(&bgp_default
, &as
, NULL
,
10060 BGP_INSTANCE_TYPE_DEFAULT
);
10064 args
->errmsg
, args
->errmsg_len
, "%s",
10065 "VRF default is not configured as a bgp instance");
10066 return NB_ERR_INCONSISTENCY
;
10070 vrf_bgp
= bgp_lookup_by_name(import_name
);
10072 if (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0)
10073 vrf_bgp
= bgp_default
;
10075 /* Auto-create assuming the same AS */
10076 ret
= bgp_get_vty(&vrf_bgp
, &as
, import_name
, bgp_type
);
10079 snprintf(args
->errmsg
, args
->errmsg_len
,
10080 "VRF %s is not configured as a bgp instance\n",
10082 return NB_ERR_INCONSISTENCY
;
10086 vrf_unimport_from_vrf(bgp
, vrf_bgp
, afi
, safi
);
10094 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-vrf-list
10096 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vrf_list_create(
10097 struct nb_cb_create_args
*args
)
10100 const struct lyd_node
*af_dnode
;
10101 const char *af_name
;
10105 switch (args
->event
) {
10106 case NB_EV_VALIDATE
:
10107 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10110 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10111 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10112 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10114 if (!vpn_policy_check_import(bgp
, afi
, safi
, true, args
->errmsg
,
10116 return NB_ERR_VALIDATION
;
10119 case NB_EV_PREPARE
:
10123 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
10130 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vrf_list_destroy(
10131 struct nb_cb_destroy_args
*args
)
10133 switch (args
->event
) {
10134 case NB_EV_VALIDATE
:
10135 case NB_EV_PREPARE
:
10139 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
10146 static int bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10147 struct nb_cb_modify_args
*args
, const char *dstr
)
10150 const struct lyd_node
*af_dnode
;
10151 const char *af_name
;
10154 const char *rmap_str
= NULL
;
10155 int dodir
[BGP_VPN_POLICY_DIR_MAX
] = {0};
10156 vpn_policy_direction_t dir
;
10158 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10159 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10160 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10161 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10163 if (!strcmp(dstr
, "import")) {
10164 rmap_str
= yang_dnode_get_string(args
->dnode
, NULL
);
10165 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10166 } else if (!strcmp(dstr
, "export")) {
10167 rmap_str
= yang_dnode_get_string(args
->dnode
, NULL
);
10168 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10169 } else if (!strcmp(dstr
, "both")) {
10170 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10171 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10174 for (dir
= 0; dir
< BGP_VPN_POLICY_DIR_MAX
; ++dir
) {
10178 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
10180 if (bgp
->vpn_policy
[afi
].rmap_name
[dir
])
10181 XFREE(MTYPE_ROUTE_MAP_NAME
,
10182 bgp
->vpn_policy
[afi
].rmap_name
[dir
]);
10183 bgp
->vpn_policy
[afi
].rmap_name
[dir
] =
10184 XSTRDUP(MTYPE_ROUTE_MAP_NAME
, rmap_str
);
10185 bgp
->vpn_policy
[afi
].rmap
[dir
] =
10186 route_map_lookup_by_name(rmap_str
);
10187 if (!bgp
->vpn_policy
[afi
].rmap
[dir
])
10191 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
10197 static int bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10198 struct nb_cb_destroy_args
*args
, const char *dstr
)
10201 const struct lyd_node
*af_dnode
;
10202 const char *af_name
;
10205 int dodir
[BGP_VPN_POLICY_DIR_MAX
] = {0};
10206 vpn_policy_direction_t dir
;
10208 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10209 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10210 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10211 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10213 if (!strcmp(dstr
, "import")) {
10214 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10215 } else if (!strcmp(dstr
, "export")) {
10216 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10217 } else if (!strcmp(dstr
, "both")) {
10218 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10219 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10222 for (dir
= 0; dir
< BGP_VPN_POLICY_DIR_MAX
; ++dir
) {
10226 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
10228 if (bgp
->vpn_policy
[afi
].rmap_name
[dir
])
10229 XFREE(MTYPE_ROUTE_MAP_NAME
,
10230 bgp
->vpn_policy
[afi
].rmap_name
[dir
]);
10231 bgp
->vpn_policy
[afi
].rmap_name
[dir
] = NULL
;
10232 bgp
->vpn_policy
[afi
].rmap
[dir
] = NULL
;
10234 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
10242 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rmap-import
10244 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_import_modify(
10245 struct nb_cb_modify_args
*args
)
10248 const struct lyd_node
*af_dnode
;
10249 const char *af_name
;
10253 switch (args
->event
) {
10254 case NB_EV_VALIDATE
:
10255 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10258 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10259 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10260 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10262 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
10263 args
->errmsg
, args
->errmsg_len
))
10264 return NB_ERR_VALIDATION
;
10266 case NB_EV_PREPARE
:
10270 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10277 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_import_destroy(
10278 struct nb_cb_destroy_args
*args
)
10281 const struct lyd_node
*af_dnode
;
10282 const char *af_name
;
10286 switch (args
->event
) {
10287 case NB_EV_VALIDATE
:
10288 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10291 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10292 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10293 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10295 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
10296 args
->errmsg
, args
->errmsg_len
))
10297 return NB_ERR_VALIDATION
;
10299 case NB_EV_PREPARE
:
10303 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10312 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rmap-export
10314 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_export_modify(
10315 struct nb_cb_modify_args
*args
)
10317 switch (args
->event
) {
10318 case NB_EV_VALIDATE
:
10319 case NB_EV_PREPARE
:
10323 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10330 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_export_destroy(
10331 struct nb_cb_destroy_args
*args
)
10333 switch (args
->event
) {
10334 case NB_EV_VALIDATE
:
10335 case NB_EV_PREPARE
:
10339 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10349 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/redirect-rt
10351 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_redirect_rt_modify(
10352 struct nb_cb_modify_args
*args
)
10354 switch (args
->event
) {
10355 case NB_EV_VALIDATE
:
10356 case NB_EV_PREPARE
:
10359 /* TODO: implement me. */
10366 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_redirect_rt_destroy(
10367 struct nb_cb_destroy_args
*args
)
10369 switch (args
->event
) {
10370 case NB_EV_VALIDATE
:
10371 case NB_EV_PREPARE
:
10374 /* TODO: implement me. */
10383 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-rt-list
10385 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_rt_list_create(
10386 struct nb_cb_create_args
*args
)
10388 switch (args
->event
) {
10389 case NB_EV_VALIDATE
:
10390 case NB_EV_PREPARE
:
10393 /* TODO: implement me. */
10400 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_rt_list_destroy(
10401 struct nb_cb_destroy_args
*args
)
10403 switch (args
->event
) {
10404 case NB_EV_VALIDATE
:
10405 case NB_EV_PREPARE
:
10408 /* TODO: implement me. */
10417 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/export-rt-list
10419 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_rt_list_create(
10420 struct nb_cb_create_args
*args
)
10422 switch (args
->event
) {
10423 case NB_EV_VALIDATE
:
10424 case NB_EV_PREPARE
:
10427 /* TODO: implement me. */
10434 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_rt_list_destroy(
10435 struct nb_cb_destroy_args
*args
)
10437 switch (args
->event
) {
10438 case NB_EV_VALIDATE
:
10439 case NB_EV_PREPARE
:
10442 /* TODO: implement me. */
10451 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rt-list
10453 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rt_list_create(
10454 struct nb_cb_create_args
*args
)
10456 switch (args
->event
) {
10457 case NB_EV_VALIDATE
:
10458 case NB_EV_PREPARE
:
10461 /* TODO: implement me. */
10468 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rt_list_destroy(
10469 struct nb_cb_destroy_args
*args
)
10471 switch (args
->event
) {
10472 case NB_EV_VALIDATE
:
10473 case NB_EV_PREPARE
:
10476 /* TODO: implement me. */
10485 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config
10487 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_create(
10488 struct nb_cb_create_args
*args
)
10490 /* Handled in network_config_apply_finish callback */
10495 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_destroy(
10496 struct nb_cb_destroy_args
*args
)
10498 switch (args
->event
) {
10499 case NB_EV_VALIDATE
:
10500 case NB_EV_PREPARE
:
10504 return bgp_global_afi_safis_afi_safi_network_config_destroy(
10514 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/backdoor
10516 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_backdoor_modify(
10517 struct nb_cb_modify_args
*args
)
10519 /* Handled in unicast_network_config_apply_finish callback */
10526 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/label-index
10528 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_label_index_modify(
10529 struct nb_cb_modify_args
*args
)
10531 /* Handled in unicast_network_config_apply_finish callback */
10536 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_label_index_destroy(
10537 struct nb_cb_destroy_args
*args
)
10539 switch (args
->event
) {
10540 case NB_EV_VALIDATE
:
10541 case NB_EV_PREPARE
:
10544 /* TODO: implement me. */
10553 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/rmap-policy-export
10555 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_rmap_policy_export_modify(
10556 struct nb_cb_modify_args
*args
)
10558 /* Handled in unicast_network_config_apply_finish callback */
10563 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_rmap_policy_export_destroy(
10564 struct nb_cb_destroy_args
*args
)
10566 switch (args
->event
) {
10567 case NB_EV_VALIDATE
:
10568 case NB_EV_PREPARE
:
10571 /* TODO: implement me. */
10580 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route
10582 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_create(
10583 struct nb_cb_create_args
*args
)
10585 switch (args
->event
) {
10586 case NB_EV_VALIDATE
:
10587 case NB_EV_PREPARE
:
10590 /* TODO: implement me. */
10597 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_destroy(
10598 struct nb_cb_destroy_args
*args
)
10600 switch (args
->event
) {
10601 case NB_EV_VALIDATE
:
10602 case NB_EV_PREPARE
:
10606 return bgp_global_afi_safi_aggregate_route_destroy(args
);
10614 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/as-set
10616 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_as_set_modify(
10617 struct nb_cb_modify_args
*args
)
10619 switch (args
->event
) {
10620 case NB_EV_VALIDATE
:
10621 case NB_EV_PREPARE
:
10624 /* TODO: implement me. */
10633 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/summary-only
10635 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_summary_only_modify(
10636 struct nb_cb_modify_args
*args
)
10638 switch (args
->event
) {
10639 case NB_EV_VALIDATE
:
10640 case NB_EV_PREPARE
:
10643 /* TODO: implement me. */
10652 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/rmap-policy-export
10654 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_rmap_policy_export_modify(
10655 struct nb_cb_modify_args
*args
)
10657 switch (args
->event
) {
10658 case NB_EV_VALIDATE
:
10659 case NB_EV_PREPARE
:
10662 /* TODO: implement me. */
10669 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_rmap_policy_export_destroy(
10670 struct nb_cb_destroy_args
*args
)
10672 switch (args
->event
) {
10673 case NB_EV_VALIDATE
:
10674 case NB_EV_PREPARE
:
10677 /* TODO: implement me. */
10686 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/origin
10688 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_origin_modify(
10689 struct nb_cb_modify_args
*args
)
10691 switch (args
->event
) {
10692 case NB_EV_VALIDATE
:
10693 case NB_EV_PREPARE
:
10696 /* TODO: implement me. */
10705 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/match-med
10707 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_match_med_modify(
10708 struct nb_cb_modify_args
*args
)
10710 switch (args
->event
) {
10711 case NB_EV_VALIDATE
:
10712 case NB_EV_PREPARE
:
10715 /* TODO: implement me. */
10724 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/suppress-map
10726 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_suppress_map_modify(
10727 struct nb_cb_modify_args
*args
)
10729 switch (args
->event
) {
10730 case NB_EV_VALIDATE
:
10731 case NB_EV_PREPARE
:
10734 /* TODO: implement me. */
10741 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_suppress_map_destroy(
10742 struct nb_cb_destroy_args
*args
)
10744 switch (args
->event
) {
10745 case NB_EV_VALIDATE
:
10746 case NB_EV_PREPARE
:
10749 /* TODO: implement me. */
10758 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance-route
10760 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_create(
10761 struct nb_cb_create_args
*args
)
10763 switch (args
->event
) {
10764 case NB_EV_VALIDATE
:
10765 case NB_EV_PREPARE
:
10768 /* TODO: implement me. */
10775 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_destroy(
10776 struct nb_cb_destroy_args
*args
)
10778 switch (args
->event
) {
10779 case NB_EV_VALIDATE
:
10780 case NB_EV_PREPARE
:
10784 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
10792 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance-route/distance
10794 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_distance_modify(
10795 struct nb_cb_modify_args
*args
)
10797 switch (args
->event
) {
10798 case NB_EV_VALIDATE
:
10799 case NB_EV_PREPARE
:
10802 /* TODO: implement me. */
10811 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance-route/access-list-policy-export
10813 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_access_list_policy_export_modify(
10814 struct nb_cb_modify_args
*args
)
10816 switch (args
->event
) {
10817 case NB_EV_VALIDATE
:
10818 case NB_EV_PREPARE
:
10821 /* TODO: implement me. */
10828 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_access_list_policy_export_destroy(
10829 struct nb_cb_destroy_args
*args
)
10831 switch (args
->event
) {
10832 case NB_EV_VALIDATE
:
10833 case NB_EV_PREPARE
:
10836 /* TODO: implement me. */
10845 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/enable
10847 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_enable_modify(
10848 struct nb_cb_modify_args
*args
)
10850 switch (args
->event
) {
10851 case NB_EV_VALIDATE
:
10852 return bgp_global_afi_safi_route_flap_validation(args
);
10853 case NB_EV_PREPARE
:
10864 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/reach-decay
10866 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reach_decay_modify(
10867 struct nb_cb_modify_args
*args
)
10869 switch (args
->event
) {
10870 case NB_EV_VALIDATE
:
10871 case NB_EV_PREPARE
:
10874 /* TODO: implement me. */
10881 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reach_decay_destroy(
10882 struct nb_cb_destroy_args
*args
)
10884 switch (args
->event
) {
10885 case NB_EV_VALIDATE
:
10886 case NB_EV_PREPARE
:
10889 /* TODO: implement me. */
10898 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/reuse-above
10900 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reuse_above_modify(
10901 struct nb_cb_modify_args
*args
)
10903 int reuse
= DEFAULT_REUSE
;
10904 int suppress
= DEFAULT_SUPPRESS
;
10906 switch (args
->event
) {
10907 case NB_EV_VALIDATE
:
10908 if (yang_dnode_exists(args
->dnode
, "../suppress-above"))
10909 suppress
= yang_dnode_get_uint16(args
->dnode
,
10910 "../suppress-above");
10911 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
10912 if (suppress
< reuse
) {
10914 args
->errmsg
, args
->errmsg_len
,
10915 "Suppress value cannot be less than reuse value \n");
10916 return NB_ERR_VALIDATION
;
10919 case NB_EV_PREPARE
:
10922 /* TODO: implement me. */
10929 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reuse_above_destroy(
10930 struct nb_cb_destroy_args
*args
)
10932 switch (args
->event
) {
10933 case NB_EV_VALIDATE
:
10934 case NB_EV_PREPARE
:
10937 /* TODO: implement me. */
10946 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/suppress-above
10948 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_suppress_above_modify(
10949 struct nb_cb_modify_args
*args
)
10951 switch (args
->event
) {
10952 case NB_EV_VALIDATE
:
10953 case NB_EV_PREPARE
:
10956 /* TODO: implement me. */
10963 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_suppress_above_destroy(
10964 struct nb_cb_destroy_args
*args
)
10966 switch (args
->event
) {
10967 case NB_EV_VALIDATE
:
10968 case NB_EV_PREPARE
:
10971 /* TODO: implement me. */
10980 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/unreach-decay
10982 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_unreach_decay_modify(
10983 struct nb_cb_modify_args
*args
)
10985 switch (args
->event
) {
10986 case NB_EV_VALIDATE
:
10987 case NB_EV_PREPARE
:
10990 /* TODO: implement me. */
10997 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_unreach_decay_destroy(
10998 struct nb_cb_destroy_args
*args
)
11000 switch (args
->event
) {
11001 case NB_EV_VALIDATE
:
11002 case NB_EV_PREPARE
:
11005 /* TODO: implement me. */
11014 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/use-multiple-paths/ebgp/maximum-paths
11016 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11017 struct nb_cb_modify_args
*args
)
11021 switch (args
->event
) {
11022 case NB_EV_VALIDATE
:
11023 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
11024 if (maxpaths
> multipath_num
) {
11025 snprintf(args
->errmsg
, args
->errmsg_len
,
11026 "maxpaths %u is out of range %u", maxpaths
,
11028 return NB_ERR_VALIDATION
;
11031 case NB_EV_PREPARE
:
11035 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11044 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/use-multiple-paths/ibgp/maximum-paths
11046 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
11047 struct nb_cb_modify_args
*args
)
11049 switch (args
->event
) {
11050 case NB_EV_VALIDATE
:
11051 case NB_EV_PREPARE
:
11054 /* TODO: implement me. */
11063 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/use-multiple-paths/ibgp/cluster-length-list
11065 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
11066 struct nb_cb_modify_args
*args
)
11068 switch (args
->event
) {
11069 case NB_EV_VALIDATE
:
11070 case NB_EV_PREPARE
:
11073 /* TODO: implement me. */
11080 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
11081 struct nb_cb_destroy_args
*args
)
11083 switch (args
->event
) {
11084 case NB_EV_VALIDATE
:
11085 case NB_EV_PREPARE
:
11088 /* TODO: implement me. */
11097 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list
11099 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_create(
11100 struct nb_cb_create_args
*args
)
11102 switch (args
->event
) {
11103 case NB_EV_VALIDATE
:
11104 case NB_EV_PREPARE
:
11107 /* TODO: implement me. */
11114 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_destroy(
11115 struct nb_cb_destroy_args
*args
)
11117 const struct lyd_node
*af_dnode
;
11119 const char *af_name
;
11123 int route_instance
;
11125 switch (args
->event
) {
11126 case NB_EV_VALIDATE
:
11127 case NB_EV_PREPARE
:
11131 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11132 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11133 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11134 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
11136 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
11138 yang_dnode_get_uint16(args
->dnode
, "./route-instance");
11140 bgp_redistribute_unset(bgp
, afi
, route_type
, route_instance
);
11150 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list/metric
11152 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_metric_modify(
11153 struct nb_cb_modify_args
*args
)
11155 switch (args
->event
) {
11156 case NB_EV_VALIDATE
:
11157 case NB_EV_PREPARE
:
11160 /* TODO: implement me. */
11167 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_metric_destroy(
11168 struct nb_cb_destroy_args
*args
)
11170 switch (args
->event
) {
11171 case NB_EV_VALIDATE
:
11172 case NB_EV_PREPARE
:
11175 /* TODO: implement me. */
11184 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list/rmap-policy-import
11186 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_rmap_policy_import_modify(
11187 struct nb_cb_modify_args
*args
)
11189 switch (args
->event
) {
11190 case NB_EV_VALIDATE
:
11191 case NB_EV_PREPARE
:
11194 /* TODO: implement me. */
11201 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_rmap_policy_import_destroy(
11202 struct nb_cb_destroy_args
*args
)
11204 switch (args
->event
) {
11205 case NB_EV_VALIDATE
:
11206 case NB_EV_PREPARE
:
11209 /* TODO: implement me. */
11218 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance
11220 void bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_apply_finish(
11221 struct nb_cb_apply_finish_args
*args
)
11223 bgp_global_afi_safis_admin_distance_modify(args
);
11228 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/external
11230 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_external_modify(
11231 struct nb_cb_modify_args
*args
)
11233 /* Handled in admin_distance_apply_finish callback */
11240 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/internal
11242 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_internal_modify(
11243 struct nb_cb_modify_args
*args
)
11245 /* Handled in admin_distance_apply_finish callback */
11252 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/local
11254 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_local_modify(
11255 struct nb_cb_modify_args
*args
)
11257 /* Handled in admin_distance_apply_finish callback */
11264 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
11266 int bgp_global_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
11267 struct nb_cb_modify_args
*args
)
11269 switch (args
->event
) {
11270 case NB_EV_VALIDATE
:
11271 case NB_EV_PREPARE
:
11274 /* TODO: implement me. */
11281 int bgp_global_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
11282 struct nb_cb_destroy_args
*args
)
11284 switch (args
->event
) {
11285 case NB_EV_VALIDATE
:
11286 case NB_EV_PREPARE
:
11289 /* TODO: implement me. */
11298 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rd
11300 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rd_modify(
11301 struct nb_cb_modify_args
*args
)
11304 const struct lyd_node
*af_dnode
;
11305 const char *af_name
;
11309 switch (args
->event
) {
11310 case NB_EV_VALIDATE
:
11311 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11315 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11316 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11317 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11319 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
11320 args
->errmsg
, args
->errmsg_len
))
11321 return NB_ERR_VALIDATION
;
11324 case NB_EV_PREPARE
:
11328 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
11335 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rd_destroy(
11336 struct nb_cb_destroy_args
*args
)
11338 switch (args
->event
) {
11339 case NB_EV_VALIDATE
:
11340 case NB_EV_PREPARE
:
11344 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
11353 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/label
11355 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_modify(
11356 struct nb_cb_modify_args
*args
)
11358 switch (args
->event
) {
11359 case NB_EV_VALIDATE
:
11360 case NB_EV_PREPARE
:
11363 /* TODO: implement me. */
11370 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_destroy(
11371 struct nb_cb_destroy_args
*args
)
11373 switch (args
->event
) {
11374 case NB_EV_VALIDATE
:
11375 case NB_EV_PREPARE
:
11378 /* TODO: implement me. */
11387 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/label-auto
11389 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_auto_modify(
11390 struct nb_cb_modify_args
*args
)
11392 switch (args
->event
) {
11393 case NB_EV_VALIDATE
:
11394 case NB_EV_PREPARE
:
11397 /* TODO: implement me. */
11404 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_auto_destroy(
11405 struct nb_cb_destroy_args
*args
)
11407 switch (args
->event
) {
11408 case NB_EV_VALIDATE
:
11409 case NB_EV_PREPARE
:
11412 /* TODO: implement me. */
11421 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/nexthop
11423 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_nexthop_modify(
11424 struct nb_cb_modify_args
*args
)
11427 const struct lyd_node
*af_dnode
;
11428 const char *af_name
;
11432 switch (args
->event
) {
11433 case NB_EV_VALIDATE
:
11434 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11438 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11439 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11440 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11442 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
11443 args
->errmsg
, args
->errmsg_len
))
11444 return NB_ERR_VALIDATION
;
11447 case NB_EV_PREPARE
:
11451 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
11458 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_nexthop_destroy(
11459 struct nb_cb_destroy_args
*args
)
11461 switch (args
->event
) {
11462 case NB_EV_VALIDATE
:
11463 case NB_EV_PREPARE
:
11467 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
11476 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-vpn
11478 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vpn_modify(
11479 struct nb_cb_modify_args
*args
)
11481 switch (args
->event
) {
11482 case NB_EV_VALIDATE
:
11483 case NB_EV_PREPARE
:
11486 /* TODO: implement me. */
11495 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/export-vpn
11497 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_vpn_modify(
11498 struct nb_cb_modify_args
*args
)
11500 switch (args
->event
) {
11501 case NB_EV_VALIDATE
:
11502 case NB_EV_PREPARE
:
11505 /* TODO: implement me. */
11514 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-vrf-list
11516 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vrf_list_create(
11517 struct nb_cb_create_args
*args
)
11520 const struct lyd_node
*af_dnode
;
11521 const char *af_name
;
11525 switch (args
->event
) {
11526 case NB_EV_VALIDATE
:
11527 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11530 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11531 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11532 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11534 if (!vpn_policy_check_import(bgp
, afi
, safi
, true, args
->errmsg
,
11536 return NB_ERR_VALIDATION
;
11539 case NB_EV_PREPARE
:
11543 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
11550 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vrf_list_destroy(
11551 struct nb_cb_destroy_args
*args
)
11553 switch (args
->event
) {
11554 case NB_EV_VALIDATE
:
11555 case NB_EV_PREPARE
:
11559 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
11568 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rmap-import
11570 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_import_modify(
11571 struct nb_cb_modify_args
*args
)
11573 switch (args
->event
) {
11574 case NB_EV_VALIDATE
:
11575 case NB_EV_PREPARE
:
11579 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
11586 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_import_destroy(
11587 struct nb_cb_destroy_args
*args
)
11589 switch (args
->event
) {
11590 case NB_EV_VALIDATE
:
11591 case NB_EV_PREPARE
:
11595 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
11604 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rmap-export
11606 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_export_modify(
11607 struct nb_cb_modify_args
*args
)
11609 switch (args
->event
) {
11610 case NB_EV_VALIDATE
:
11611 case NB_EV_PREPARE
:
11615 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
11622 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_export_destroy(
11623 struct nb_cb_destroy_args
*args
)
11625 switch (args
->event
) {
11626 case NB_EV_VALIDATE
:
11627 case NB_EV_PREPARE
:
11631 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
11640 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/redirect-rt
11642 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_redirect_rt_modify(
11643 struct nb_cb_modify_args
*args
)
11645 switch (args
->event
) {
11646 case NB_EV_VALIDATE
:
11647 case NB_EV_PREPARE
:
11650 /* TODO: implement me. */
11657 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_redirect_rt_destroy(
11658 struct nb_cb_destroy_args
*args
)
11660 switch (args
->event
) {
11661 case NB_EV_VALIDATE
:
11662 case NB_EV_PREPARE
:
11665 /* TODO: implement me. */
11674 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-rt-list
11676 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_rt_list_create(
11677 struct nb_cb_create_args
*args
)
11679 switch (args
->event
) {
11680 case NB_EV_VALIDATE
:
11681 case NB_EV_PREPARE
:
11684 /* TODO: implement me. */
11691 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_rt_list_destroy(
11692 struct nb_cb_destroy_args
*args
)
11694 switch (args
->event
) {
11695 case NB_EV_VALIDATE
:
11696 case NB_EV_PREPARE
:
11699 /* TODO: implement me. */
11708 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/export-rt-list
11710 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_rt_list_create(
11711 struct nb_cb_create_args
*args
)
11713 switch (args
->event
) {
11714 case NB_EV_VALIDATE
:
11715 case NB_EV_PREPARE
:
11718 /* TODO: implement me. */
11725 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_rt_list_destroy(
11726 struct nb_cb_destroy_args
*args
)
11728 switch (args
->event
) {
11729 case NB_EV_VALIDATE
:
11730 case NB_EV_PREPARE
:
11733 /* TODO: implement me. */
11742 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rt-list
11744 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rt_list_create(
11745 struct nb_cb_create_args
*args
)
11747 switch (args
->event
) {
11748 case NB_EV_VALIDATE
:
11749 case NB_EV_PREPARE
:
11752 /* TODO: implement me. */
11759 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rt_list_destroy(
11760 struct nb_cb_destroy_args
*args
)
11762 switch (args
->event
) {
11763 case NB_EV_VALIDATE
:
11764 case NB_EV_PREPARE
:
11767 /* TODO: implement me. */
11776 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/use-multiple-paths/ebgp/maximum-paths
11778 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11779 struct nb_cb_modify_args
*args
)
11783 switch (args
->event
) {
11784 case NB_EV_VALIDATE
:
11785 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
11786 if (maxpaths
> multipath_num
) {
11787 snprintf(args
->errmsg
, args
->errmsg_len
,
11788 "maxpaths %u is out of range %u", maxpaths
,
11790 return NB_ERR_VALIDATION
;
11793 case NB_EV_PREPARE
:
11797 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11806 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/use-multiple-paths/ibgp/maximum-paths
11808 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
11809 struct nb_cb_modify_args
*args
)
11811 switch (args
->event
) {
11812 case NB_EV_VALIDATE
:
11813 case NB_EV_PREPARE
:
11816 /* TODO: implement me. */
11825 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/use-multiple-paths/ibgp/cluster-length-list
11827 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
11828 struct nb_cb_modify_args
*args
)
11830 switch (args
->event
) {
11831 case NB_EV_VALIDATE
:
11832 case NB_EV_PREPARE
:
11835 /* TODO: implement me. */
11842 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
11843 struct nb_cb_destroy_args
*args
)
11845 switch (args
->event
) {
11846 case NB_EV_VALIDATE
:
11847 case NB_EV_PREPARE
:
11850 /* TODO: implement me. */
11859 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/enable
11861 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_enable_modify(
11862 struct nb_cb_modify_args
*args
)
11864 switch (args
->event
) {
11865 case NB_EV_VALIDATE
:
11866 return bgp_global_afi_safi_route_flap_validation(args
);
11867 case NB_EV_PREPARE
:
11878 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/reach-decay
11880 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reach_decay_modify(
11881 struct nb_cb_modify_args
*args
)
11883 switch (args
->event
) {
11884 case NB_EV_VALIDATE
:
11885 case NB_EV_PREPARE
:
11888 /* TODO: implement me. */
11895 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reach_decay_destroy(
11896 struct nb_cb_destroy_args
*args
)
11898 switch (args
->event
) {
11899 case NB_EV_VALIDATE
:
11900 case NB_EV_PREPARE
:
11903 /* TODO: implement me. */
11912 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/reuse-above
11914 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reuse_above_modify(
11915 struct nb_cb_modify_args
*args
)
11917 switch (args
->event
) {
11918 case NB_EV_VALIDATE
:
11919 case NB_EV_PREPARE
:
11922 /* TODO: implement me. */
11929 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reuse_above_destroy(
11930 struct nb_cb_destroy_args
*args
)
11932 switch (args
->event
) {
11933 case NB_EV_VALIDATE
:
11934 case NB_EV_PREPARE
:
11937 /* TODO: implement me. */
11946 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/suppress-above
11948 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_suppress_above_modify(
11949 struct nb_cb_modify_args
*args
)
11951 switch (args
->event
) {
11952 case NB_EV_VALIDATE
:
11953 case NB_EV_PREPARE
:
11956 /* TODO: implement me. */
11963 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_suppress_above_destroy(
11964 struct nb_cb_destroy_args
*args
)
11966 switch (args
->event
) {
11967 case NB_EV_VALIDATE
:
11968 case NB_EV_PREPARE
:
11971 /* TODO: implement me. */
11980 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/unreach-decay
11982 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_unreach_decay_modify(
11983 struct nb_cb_modify_args
*args
)
11985 switch (args
->event
) {
11986 case NB_EV_VALIDATE
:
11987 case NB_EV_PREPARE
:
11990 /* TODO: implement me. */
11997 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_unreach_decay_destroy(
11998 struct nb_cb_destroy_args
*args
)
12000 switch (args
->event
) {
12001 case NB_EV_VALIDATE
:
12002 case NB_EV_PREPARE
:
12005 /* TODO: implement me. */
12014 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/use-multiple-paths/ebgp/maximum-paths
12016 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
12017 struct nb_cb_modify_args
*args
)
12021 switch (args
->event
) {
12022 case NB_EV_VALIDATE
:
12023 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
12024 if (maxpaths
> multipath_num
) {
12025 snprintf(args
->errmsg
, args
->errmsg_len
,
12026 "maxpaths %u is out of range %u", maxpaths
,
12028 return NB_ERR_VALIDATION
;
12031 case NB_EV_PREPARE
:
12035 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
12044 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/use-multiple-paths/ibgp/maximum-paths
12046 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
12047 struct nb_cb_modify_args
*args
)
12051 switch (args
->event
) {
12052 case NB_EV_VALIDATE
:
12053 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
12054 if (maxpaths
> multipath_num
) {
12055 snprintf(args
->errmsg
, args
->errmsg_len
,
12056 "maxpaths %u is out of range %u", maxpaths
,
12058 return NB_ERR_VALIDATION
;
12061 case NB_EV_PREPARE
:
12064 /* TODO: implement me. */
12073 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/use-multiple-paths/ibgp/cluster-length-list
12075 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
12076 struct nb_cb_modify_args
*args
)
12078 switch (args
->event
) {
12079 case NB_EV_VALIDATE
:
12080 case NB_EV_PREPARE
:
12083 /* TODO: implement me. */
12090 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
12091 struct nb_cb_destroy_args
*args
)
12093 switch (args
->event
) {
12094 case NB_EV_VALIDATE
:
12095 case NB_EV_PREPARE
:
12098 /* TODO: implement me. */
12107 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/enable
12109 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_enable_modify(
12110 struct nb_cb_modify_args
*args
)
12112 switch (args
->event
) {
12113 case NB_EV_VALIDATE
:
12114 return bgp_global_afi_safi_route_flap_validation(args
);
12115 case NB_EV_PREPARE
:
12126 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/reach-decay
12128 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reach_decay_modify(
12129 struct nb_cb_modify_args
*args
)
12131 switch (args
->event
) {
12132 case NB_EV_VALIDATE
:
12133 case NB_EV_PREPARE
:
12136 /* TODO: implement me. */
12143 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reach_decay_destroy(
12144 struct nb_cb_destroy_args
*args
)
12146 switch (args
->event
) {
12147 case NB_EV_VALIDATE
:
12148 case NB_EV_PREPARE
:
12151 /* TODO: implement me. */
12160 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/reuse-above
12162 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reuse_above_modify(
12163 struct nb_cb_modify_args
*args
)
12165 switch (args
->event
) {
12166 case NB_EV_VALIDATE
:
12167 case NB_EV_PREPARE
:
12170 /* TODO: implement me. */
12177 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reuse_above_destroy(
12178 struct nb_cb_destroy_args
*args
)
12180 switch (args
->event
) {
12181 case NB_EV_VALIDATE
:
12182 case NB_EV_PREPARE
:
12185 /* TODO: implement me. */
12194 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/suppress-above
12196 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_suppress_above_modify(
12197 struct nb_cb_modify_args
*args
)
12199 switch (args
->event
) {
12200 case NB_EV_VALIDATE
:
12201 case NB_EV_PREPARE
:
12204 /* TODO: implement me. */
12211 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_suppress_above_destroy(
12212 struct nb_cb_destroy_args
*args
)
12214 switch (args
->event
) {
12215 case NB_EV_VALIDATE
:
12216 case NB_EV_PREPARE
:
12219 /* TODO: implement me. */
12228 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/unreach-decay
12230 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_unreach_decay_modify(
12231 struct nb_cb_modify_args
*args
)
12233 switch (args
->event
) {
12234 case NB_EV_VALIDATE
:
12235 case NB_EV_PREPARE
:
12238 /* TODO: implement me. */
12245 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_unreach_decay_destroy(
12246 struct nb_cb_destroy_args
*args
)
12248 switch (args
->event
) {
12249 case NB_EV_VALIDATE
:
12250 case NB_EV_PREPARE
:
12253 /* TODO: implement me. */
12262 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config
12264 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_create(
12265 struct nb_cb_create_args
*args
)
12267 /* Handled in network_config_apply_finish callback */
12272 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_destroy(
12273 struct nb_cb_destroy_args
*args
)
12275 switch (args
->event
) {
12276 case NB_EV_VALIDATE
:
12277 case NB_EV_PREPARE
:
12281 return bgp_global_afi_safis_afi_safi_network_config_destroy(
12291 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/backdoor
12293 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_backdoor_modify(
12294 struct nb_cb_modify_args
*args
)
12296 switch (args
->event
) {
12297 case NB_EV_VALIDATE
:
12298 case NB_EV_PREPARE
:
12301 /* TODO: implement me. */
12310 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/label-index
12312 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_label_index_modify(
12313 struct nb_cb_modify_args
*args
)
12315 switch (args
->event
) {
12316 case NB_EV_VALIDATE
:
12317 case NB_EV_PREPARE
:
12320 /* TODO: implement me. */
12327 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_label_index_destroy(
12328 struct nb_cb_destroy_args
*args
)
12330 switch (args
->event
) {
12331 case NB_EV_VALIDATE
:
12332 case NB_EV_PREPARE
:
12335 /* TODO: implement me. */
12344 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/rmap-policy-export
12346 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_rmap_policy_export_modify(
12347 struct nb_cb_modify_args
*args
)
12349 switch (args
->event
) {
12350 case NB_EV_VALIDATE
:
12351 case NB_EV_PREPARE
:
12354 /* TODO: implement me. */
12361 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_rmap_policy_export_destroy(
12362 struct nb_cb_destroy_args
*args
)
12364 switch (args
->event
) {
12365 case NB_EV_VALIDATE
:
12366 case NB_EV_PREPARE
:
12369 /* TODO: implement me. */
12378 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route
12380 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_create(
12381 struct nb_cb_create_args
*args
)
12383 switch (args
->event
) {
12384 case NB_EV_VALIDATE
:
12385 case NB_EV_PREPARE
:
12388 /* TODO: implement me. */
12395 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_destroy(
12396 struct nb_cb_destroy_args
*args
)
12398 switch (args
->event
) {
12399 case NB_EV_VALIDATE
:
12400 case NB_EV_PREPARE
:
12403 /* TODO: implement me. */
12412 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/as-set
12414 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_as_set_modify(
12415 struct nb_cb_modify_args
*args
)
12417 switch (args
->event
) {
12418 case NB_EV_VALIDATE
:
12419 case NB_EV_PREPARE
:
12422 /* TODO: implement me. */
12431 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/summary-only
12433 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_summary_only_modify(
12434 struct nb_cb_modify_args
*args
)
12436 switch (args
->event
) {
12437 case NB_EV_VALIDATE
:
12438 case NB_EV_PREPARE
:
12441 /* TODO: implement me. */
12450 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/rmap-policy-export
12452 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_rmap_policy_export_modify(
12453 struct nb_cb_modify_args
*args
)
12455 switch (args
->event
) {
12456 case NB_EV_VALIDATE
:
12457 case NB_EV_PREPARE
:
12460 /* TODO: implement me. */
12467 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_rmap_policy_export_destroy(
12468 struct nb_cb_destroy_args
*args
)
12470 switch (args
->event
) {
12471 case NB_EV_VALIDATE
:
12472 case NB_EV_PREPARE
:
12475 /* TODO: implement me. */
12484 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/origin
12486 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_origin_modify(
12487 struct nb_cb_modify_args
*args
)
12489 switch (args
->event
) {
12490 case NB_EV_VALIDATE
:
12491 case NB_EV_PREPARE
:
12494 /* TODO: implement me. */
12503 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/match-med
12505 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_match_med_modify(
12506 struct nb_cb_modify_args
*args
)
12508 switch (args
->event
) {
12509 case NB_EV_VALIDATE
:
12510 case NB_EV_PREPARE
:
12513 /* TODO: implement me. */
12522 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/suppress-map
12524 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_suppress_map_modify(
12525 struct nb_cb_modify_args
*args
)
12527 switch (args
->event
) {
12528 case NB_EV_VALIDATE
:
12529 case NB_EV_PREPARE
:
12532 /* TODO: implement me. */
12539 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_suppress_map_destroy(
12540 struct nb_cb_destroy_args
*args
)
12542 switch (args
->event
) {
12543 case NB_EV_VALIDATE
:
12544 case NB_EV_PREPARE
:
12547 /* TODO: implement me. */
12556 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance-route
12558 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_create(
12559 struct nb_cb_create_args
*args
)
12561 switch (args
->event
) {
12562 case NB_EV_VALIDATE
:
12563 case NB_EV_PREPARE
:
12566 /* TODO: implement me. */
12573 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_destroy(
12574 struct nb_cb_destroy_args
*args
)
12576 switch (args
->event
) {
12577 case NB_EV_VALIDATE
:
12578 case NB_EV_PREPARE
:
12582 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
12590 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance-route/distance
12592 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_distance_modify(
12593 struct nb_cb_modify_args
*args
)
12595 switch (args
->event
) {
12596 case NB_EV_VALIDATE
:
12597 case NB_EV_PREPARE
:
12600 /* TODO: implement me. */
12609 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance-route/access-list-policy-export
12611 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_access_list_policy_export_modify(
12612 struct nb_cb_modify_args
*args
)
12614 switch (args
->event
) {
12615 case NB_EV_VALIDATE
:
12616 case NB_EV_PREPARE
:
12619 /* TODO: implement me. */
12626 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_access_list_policy_export_destroy(
12627 struct nb_cb_destroy_args
*args
)
12629 switch (args
->event
) {
12630 case NB_EV_VALIDATE
:
12631 case NB_EV_PREPARE
:
12634 /* TODO: implement me. */
12643 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance-route/distance
12645 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_distance_modify(
12646 struct nb_cb_modify_args
*args
)
12648 switch (args
->event
) {
12649 case NB_EV_VALIDATE
:
12650 case NB_EV_PREPARE
:
12653 /* TODO: implement me. */
12662 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance-route/access-list-policy-export
12664 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_access_list_policy_export_modify(
12665 struct nb_cb_modify_args
*args
)
12667 switch (args
->event
) {
12668 case NB_EV_VALIDATE
:
12669 case NB_EV_PREPARE
:
12672 /* TODO: implement me. */
12679 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_access_list_policy_export_destroy(
12680 struct nb_cb_destroy_args
*args
)
12682 switch (args
->event
) {
12683 case NB_EV_VALIDATE
:
12684 case NB_EV_PREPARE
:
12687 /* TODO: implement me. */
12696 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/enable
12698 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_enable_modify(
12699 struct nb_cb_modify_args
*args
)
12701 switch (args
->event
) {
12702 case NB_EV_VALIDATE
:
12703 return bgp_global_afi_safi_route_flap_validation(args
);
12704 case NB_EV_PREPARE
:
12715 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/reach-decay
12717 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reach_decay_modify(
12718 struct nb_cb_modify_args
*args
)
12720 switch (args
->event
) {
12721 case NB_EV_VALIDATE
:
12722 case NB_EV_PREPARE
:
12725 /* TODO: implement me. */
12732 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reach_decay_destroy(
12733 struct nb_cb_destroy_args
*args
)
12735 switch (args
->event
) {
12736 case NB_EV_VALIDATE
:
12737 case NB_EV_PREPARE
:
12740 /* TODO: implement me. */
12749 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/reuse-above
12751 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reuse_above_modify(
12752 struct nb_cb_modify_args
*args
)
12754 switch (args
->event
) {
12755 case NB_EV_VALIDATE
:
12756 case NB_EV_PREPARE
:
12759 /* TODO: implement me. */
12766 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reuse_above_destroy(
12767 struct nb_cb_destroy_args
*args
)
12769 switch (args
->event
) {
12770 case NB_EV_VALIDATE
:
12771 case NB_EV_PREPARE
:
12774 /* TODO: implement me. */
12783 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/suppress-above
12785 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_suppress_above_modify(
12786 struct nb_cb_modify_args
*args
)
12788 switch (args
->event
) {
12789 case NB_EV_VALIDATE
:
12790 case NB_EV_PREPARE
:
12793 /* TODO: implement me. */
12800 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_suppress_above_destroy(
12801 struct nb_cb_destroy_args
*args
)
12803 switch (args
->event
) {
12804 case NB_EV_VALIDATE
:
12805 case NB_EV_PREPARE
:
12808 /* TODO: implement me. */
12817 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/unreach-decay
12819 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_unreach_decay_modify(
12820 struct nb_cb_modify_args
*args
)
12822 switch (args
->event
) {
12823 case NB_EV_VALIDATE
:
12824 case NB_EV_PREPARE
:
12827 /* TODO: implement me. */
12834 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_unreach_decay_destroy(
12835 struct nb_cb_destroy_args
*args
)
12837 switch (args
->event
) {
12838 case NB_EV_VALIDATE
:
12839 case NB_EV_PREPARE
:
12842 /* TODO: implement me. */
12851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance
12853 void bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_apply_finish(
12854 struct nb_cb_apply_finish_args
*args
)
12856 bgp_global_afi_safis_admin_distance_modify(args
);
12861 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/external
12863 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_external_modify(
12864 struct nb_cb_modify_args
*args
)
12866 /* Handled in admin_distance_apply_finish callback */
12873 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/internal
12875 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_internal_modify(
12876 struct nb_cb_modify_args
*args
)
12878 /* Handled in admin_distance_apply_finish callback */
12885 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/local
12887 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_local_modify(
12888 struct nb_cb_modify_args
*args
)
12890 /* Handled in admin_distance_apply_finish callback */
12897 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/enable
12899 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_enable_modify(
12900 struct nb_cb_modify_args
*args
)
12902 switch (args
->event
) {
12903 case NB_EV_VALIDATE
:
12904 return bgp_global_afi_safi_route_flap_validation(args
);
12905 case NB_EV_PREPARE
:
12916 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/reach-decay
12918 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reach_decay_modify(
12919 struct nb_cb_modify_args
*args
)
12921 switch (args
->event
) {
12922 case NB_EV_VALIDATE
:
12923 case NB_EV_PREPARE
:
12926 /* TODO: implement me. */
12933 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reach_decay_destroy(
12934 struct nb_cb_destroy_args
*args
)
12936 switch (args
->event
) {
12937 case NB_EV_VALIDATE
:
12938 case NB_EV_PREPARE
:
12941 /* TODO: implement me. */
12950 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/reuse-above
12952 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reuse_above_modify(
12953 struct nb_cb_modify_args
*args
)
12955 switch (args
->event
) {
12956 case NB_EV_VALIDATE
:
12957 case NB_EV_PREPARE
:
12960 /* TODO: implement me. */
12967 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reuse_above_destroy(
12968 struct nb_cb_destroy_args
*args
)
12970 switch (args
->event
) {
12971 case NB_EV_VALIDATE
:
12972 case NB_EV_PREPARE
:
12975 /* TODO: implement me. */
12984 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/suppress-above
12986 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_suppress_above_modify(
12987 struct nb_cb_modify_args
*args
)
12989 switch (args
->event
) {
12990 case NB_EV_VALIDATE
:
12991 case NB_EV_PREPARE
:
12994 /* TODO: implement me. */
13001 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_suppress_above_destroy(
13002 struct nb_cb_destroy_args
*args
)
13004 switch (args
->event
) {
13005 case NB_EV_VALIDATE
:
13006 case NB_EV_PREPARE
:
13009 /* TODO: implement me. */
13018 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/unreach-decay
13020 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_unreach_decay_modify(
13021 struct nb_cb_modify_args
*args
)
13023 switch (args
->event
) {
13024 case NB_EV_VALIDATE
:
13025 case NB_EV_PREPARE
:
13028 /* TODO: implement me. */
13035 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_unreach_decay_destroy(
13036 struct nb_cb_destroy_args
*args
)
13038 switch (args
->event
) {
13039 case NB_EV_VALIDATE
:
13040 case NB_EV_PREPARE
:
13043 /* TODO: implement me. */
13052 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
13054 int bgp_global_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
13055 struct nb_cb_modify_args
*args
)
13057 switch (args
->event
) {
13058 case NB_EV_VALIDATE
:
13059 case NB_EV_PREPARE
:
13062 /* TODO: implement me. */
13069 int bgp_global_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
13070 struct nb_cb_destroy_args
*args
)
13072 switch (args
->event
) {
13073 case NB_EV_VALIDATE
:
13074 case NB_EV_PREPARE
:
13077 /* TODO: implement me. */
13086 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config
13088 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_create(
13089 struct nb_cb_create_args
*args
)
13091 /* Handled in network_config_apply_finish callback */
13096 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_destroy(
13097 struct nb_cb_destroy_args
*args
)
13099 switch (args
->event
) {
13100 case NB_EV_VALIDATE
:
13101 case NB_EV_PREPARE
:
13105 return bgp_global_afi_safis_afi_safi_network_config_destroy(
13116 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/backdoor
13118 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_backdoor_modify(
13119 struct nb_cb_modify_args
*args
)
13121 switch (args
->event
) {
13122 case NB_EV_VALIDATE
:
13123 case NB_EV_PREPARE
:
13126 /* TODO: implement me. */
13135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/label-index
13137 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_label_index_modify(
13138 struct nb_cb_modify_args
*args
)
13140 switch (args
->event
) {
13141 case NB_EV_VALIDATE
:
13142 case NB_EV_PREPARE
:
13145 /* TODO: implement me. */
13152 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_label_index_destroy(
13153 struct nb_cb_destroy_args
*args
)
13155 switch (args
->event
) {
13156 case NB_EV_VALIDATE
:
13157 case NB_EV_PREPARE
:
13160 /* TODO: implement me. */
13169 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/rmap-policy-export
13171 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_rmap_policy_export_modify(
13172 struct nb_cb_modify_args
*args
)
13174 switch (args
->event
) {
13175 case NB_EV_VALIDATE
:
13176 case NB_EV_PREPARE
:
13179 /* TODO: implement me. */
13186 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_rmap_policy_export_destroy(
13187 struct nb_cb_destroy_args
*args
)
13189 switch (args
->event
) {
13190 case NB_EV_VALIDATE
:
13191 case NB_EV_PREPARE
:
13194 /* TODO: implement me. */
13203 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route
13205 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_create(
13206 struct nb_cb_create_args
*args
)
13208 switch (args
->event
) {
13209 case NB_EV_VALIDATE
:
13210 case NB_EV_PREPARE
:
13213 /* TODO: implement me. */
13220 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_destroy(
13221 struct nb_cb_destroy_args
*args
)
13223 switch (args
->event
) {
13224 case NB_EV_VALIDATE
:
13225 case NB_EV_PREPARE
:
13228 /* TODO: implement me. */
13237 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/as-set
13239 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_as_set_modify(
13240 struct nb_cb_modify_args
*args
)
13242 switch (args
->event
) {
13243 case NB_EV_VALIDATE
:
13244 case NB_EV_PREPARE
:
13247 /* TODO: implement me. */
13256 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/summary-only
13258 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_summary_only_modify(
13259 struct nb_cb_modify_args
*args
)
13261 switch (args
->event
) {
13262 case NB_EV_VALIDATE
:
13263 case NB_EV_PREPARE
:
13266 /* TODO: implement me. */
13275 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/rmap-policy-export
13277 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_rmap_policy_export_modify(
13278 struct nb_cb_modify_args
*args
)
13280 switch (args
->event
) {
13281 case NB_EV_VALIDATE
:
13282 case NB_EV_PREPARE
:
13285 /* TODO: implement me. */
13292 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_rmap_policy_export_destroy(
13293 struct nb_cb_destroy_args
*args
)
13295 switch (args
->event
) {
13296 case NB_EV_VALIDATE
:
13297 case NB_EV_PREPARE
:
13300 /* TODO: implement me. */
13309 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/origin
13311 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_origin_modify(
13312 struct nb_cb_modify_args
*args
)
13314 switch (args
->event
) {
13315 case NB_EV_VALIDATE
:
13316 case NB_EV_PREPARE
:
13319 /* TODO: implement me. */
13328 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/match-med
13330 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_match_med_modify(
13331 struct nb_cb_modify_args
*args
)
13333 switch (args
->event
) {
13334 case NB_EV_VALIDATE
:
13335 case NB_EV_PREPARE
:
13338 /* TODO: implement me. */
13347 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/suppress-map
13349 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_suppress_map_modify(
13350 struct nb_cb_modify_args
*args
)
13352 switch (args
->event
) {
13353 case NB_EV_VALIDATE
:
13354 case NB_EV_PREPARE
:
13357 /* TODO: implement me. */
13364 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_suppress_map_destroy(
13365 struct nb_cb_destroy_args
*args
)
13367 switch (args
->event
) {
13368 case NB_EV_VALIDATE
:
13369 case NB_EV_PREPARE
:
13372 /* TODO: implement me. */
13381 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance-route
13383 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_create(
13384 struct nb_cb_create_args
*args
)
13386 switch (args
->event
) {
13387 case NB_EV_VALIDATE
:
13388 case NB_EV_PREPARE
:
13391 /* TODO: implement me. */
13398 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_destroy(
13399 struct nb_cb_destroy_args
*args
)
13401 switch (args
->event
) {
13402 case NB_EV_VALIDATE
:
13403 case NB_EV_PREPARE
:
13407 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
13415 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance
13417 void bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_apply_finish(
13418 struct nb_cb_apply_finish_args
*args
)
13420 bgp_global_afi_safis_admin_distance_modify(args
);
13425 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/external
13427 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_external_modify(
13428 struct nb_cb_modify_args
*args
)
13430 /* Handled in admin_distance_apply_finish callback */
13437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/internal
13439 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_internal_modify(
13440 struct nb_cb_modify_args
*args
)
13442 /* Handled in admin_distance_apply_finish callback */
13449 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/local
13451 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_local_modify(
13452 struct nb_cb_modify_args
*args
)
13454 /* Handled in admin_distance_apply_finish callback */
13461 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-flowspec/flow-spec-config/interface
13463 int bgp_global_afi_safis_afi_safi_ipv4_flowspec_flow_spec_config_interface_modify(
13464 struct nb_cb_modify_args
*args
)
13466 switch (args
->event
) {
13467 case NB_EV_VALIDATE
:
13468 case NB_EV_PREPARE
:
13471 /* TODO: implement me. */
13478 int bgp_global_afi_safis_afi_safi_ipv4_flowspec_flow_spec_config_interface_destroy(
13479 struct nb_cb_destroy_args
*args
)
13481 switch (args
->event
) {
13482 case NB_EV_VALIDATE
:
13483 case NB_EV_PREPARE
:
13486 /* TODO: implement me. */
13495 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config
13497 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_create(
13498 struct nb_cb_create_args
*args
)
13500 switch (args
->event
) {
13501 case NB_EV_VALIDATE
:
13502 case NB_EV_PREPARE
:
13505 /* TODO: implement me. */
13512 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_destroy(
13513 struct nb_cb_destroy_args
*args
)
13515 switch (args
->event
) {
13516 case NB_EV_VALIDATE
:
13517 case NB_EV_PREPARE
:
13520 /* TODO: implement me. */
13529 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config/prefix-list
13531 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_create(
13532 struct nb_cb_create_args
*args
)
13534 switch (args
->event
) {
13535 case NB_EV_VALIDATE
:
13536 case NB_EV_PREPARE
:
13539 /* TODO: implement me. */
13546 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_destroy(
13547 struct nb_cb_destroy_args
*args
)
13549 switch (args
->event
) {
13550 case NB_EV_VALIDATE
:
13551 case NB_EV_PREPARE
:
13554 /* TODO: implement me. */
13563 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config/prefix-list/label-index
13565 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_label_index_modify(
13566 struct nb_cb_modify_args
*args
)
13568 switch (args
->event
) {
13569 case NB_EV_VALIDATE
:
13570 case NB_EV_PREPARE
:
13573 /* TODO: implement me. */
13582 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config/prefix-list/rmap-policy-export
13584 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_rmap_policy_export_modify(
13585 struct nb_cb_modify_args
*args
)
13587 switch (args
->event
) {
13588 case NB_EV_VALIDATE
:
13589 case NB_EV_PREPARE
:
13592 /* TODO: implement me. */
13599 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_rmap_policy_export_destroy(
13600 struct nb_cb_destroy_args
*args
)
13602 switch (args
->event
) {
13603 case NB_EV_VALIDATE
:
13604 case NB_EV_PREPARE
:
13607 /* TODO: implement me. */
13616 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config
13618 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_create(
13619 struct nb_cb_create_args
*args
)
13621 switch (args
->event
) {
13622 case NB_EV_VALIDATE
:
13623 case NB_EV_PREPARE
:
13626 /* TODO: implement me. */
13633 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_destroy(
13634 struct nb_cb_destroy_args
*args
)
13636 switch (args
->event
) {
13637 case NB_EV_VALIDATE
:
13638 case NB_EV_PREPARE
:
13641 /* TODO: implement me. */
13650 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config/prefix-list
13652 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_create(
13653 struct nb_cb_create_args
*args
)
13655 switch (args
->event
) {
13656 case NB_EV_VALIDATE
:
13657 case NB_EV_PREPARE
:
13660 /* TODO: implement me. */
13667 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_destroy(
13668 struct nb_cb_destroy_args
*args
)
13670 switch (args
->event
) {
13671 case NB_EV_VALIDATE
:
13672 case NB_EV_PREPARE
:
13675 /* TODO: implement me. */
13684 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config/prefix-list/label-index
13686 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_label_index_modify(
13687 struct nb_cb_modify_args
*args
)
13689 switch (args
->event
) {
13690 case NB_EV_VALIDATE
:
13691 case NB_EV_PREPARE
:
13694 /* TODO: implement me. */
13703 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config/prefix-list/rmap-policy-export
13705 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_rmap_policy_export_modify(
13706 struct nb_cb_modify_args
*args
)
13708 switch (args
->event
) {
13709 case NB_EV_VALIDATE
:
13710 case NB_EV_PREPARE
:
13713 /* TODO: implement me. */
13720 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_rmap_policy_export_destroy(
13721 struct nb_cb_destroy_args
*args
)
13723 switch (args
->event
) {
13724 case NB_EV_VALIDATE
:
13725 case NB_EV_PREPARE
:
13728 /* TODO: implement me. */
13737 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-unicast/common-config/pre-policy
13739 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_unicast_common_config_pre_policy_modify(
13740 struct nb_cb_modify_args
*args
)
13742 switch (args
->event
) {
13743 case NB_EV_VALIDATE
:
13744 case NB_EV_PREPARE
:
13747 /* TODO: implement me. */
13756 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-unicast/common-config/post-policy
13758 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_unicast_common_config_post_policy_modify(
13759 struct nb_cb_modify_args
*args
)
13761 switch (args
->event
) {
13762 case NB_EV_VALIDATE
:
13763 case NB_EV_PREPARE
:
13766 /* TODO: implement me. */
13775 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-multicast/common-config/pre-policy
13777 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_multicast_common_config_pre_policy_modify(
13778 struct nb_cb_modify_args
*args
)
13780 switch (args
->event
) {
13781 case NB_EV_VALIDATE
:
13782 case NB_EV_PREPARE
:
13785 /* TODO: implement me. */
13794 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv4-multicast/common-config/post-policy
13796 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_multicast_common_config_post_policy_modify(
13797 struct nb_cb_modify_args
*args
)
13799 switch (args
->event
) {
13800 case NB_EV_VALIDATE
:
13801 case NB_EV_PREPARE
:
13804 /* TODO: implement me. */
13813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-unicast/common-config/pre-policy
13815 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_unicast_common_config_pre_policy_modify(
13816 struct nb_cb_modify_args
*args
)
13818 switch (args
->event
) {
13819 case NB_EV_VALIDATE
:
13820 case NB_EV_PREPARE
:
13823 /* TODO: implement me. */
13832 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-unicast/common-config/post-policy
13834 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_unicast_common_config_post_policy_modify(
13835 struct nb_cb_modify_args
*args
)
13837 switch (args
->event
) {
13838 case NB_EV_VALIDATE
:
13839 case NB_EV_PREPARE
:
13842 /* TODO: implement me. */
13851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-multicast/common-config/pre-policy
13853 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_multicast_common_config_pre_policy_modify(
13854 struct nb_cb_modify_args
*args
)
13856 switch (args
->event
) {
13857 case NB_EV_VALIDATE
:
13858 case NB_EV_PREPARE
:
13861 /* TODO: implement me. */
13870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi/ipv6-multicast/common-config/post-policy
13872 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_multicast_common_config_post_policy_modify(
13873 struct nb_cb_modify_args
*args
)
13875 switch (args
->event
) {
13876 case NB_EV_VALIDATE
:
13877 case NB_EV_PREPARE
:
13880 /* TODO: implement me. */
13887 static int bgp_neighbor_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
13888 uint32_t flags
, bool set
)
13891 const char *peer_str
;
13893 const struct lyd_node
*nbr_dnode
;
13894 const struct lyd_node
*nbr_af_dnode
;
13895 const char *af_name
;
13899 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
13900 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
13901 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
13903 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
13904 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
13905 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
13906 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
13909 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
13912 return NB_ERR_INCONSISTENCY
;
13919 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/add-paths/path-type
13921 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
13922 struct nb_cb_modify_args
*args
)
13924 switch (args
->event
) {
13925 case NB_EV_VALIDATE
:
13926 case NB_EV_PREPARE
:
13929 /* TODO: implement me. */
13938 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-as
13940 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
13941 struct nb_cb_modify_args
*args
)
13943 switch (args
->event
) {
13944 case NB_EV_VALIDATE
:
13945 case NB_EV_PREPARE
:
13948 /* TODO: implement me. */
13955 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
13956 struct nb_cb_destroy_args
*args
)
13958 switch (args
->event
) {
13959 case NB_EV_VALIDATE
:
13960 case NB_EV_PREPARE
:
13963 /* TODO: implement me. */
13972 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-origin-as
13974 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
13975 struct nb_cb_modify_args
*args
)
13977 switch (args
->event
) {
13978 case NB_EV_VALIDATE
:
13979 case NB_EV_PREPARE
:
13982 /* TODO: implement me. */
13989 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
13990 struct nb_cb_destroy_args
*args
)
13992 switch (args
->event
) {
13993 case NB_EV_VALIDATE
:
13994 case NB_EV_PREPARE
:
13997 /* TODO: implement me. */
14006 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/replace-peer-as
14008 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
14009 struct nb_cb_modify_args
*args
)
14011 switch (args
->event
) {
14012 case NB_EV_VALIDATE
:
14013 case NB_EV_PREPARE
:
14017 return bgp_neighbor_afi_safi_flag_modify(
14018 args
, PEER_FLAG_AS_OVERRIDE
,
14019 yang_dnode_get_bool(args
->dnode
, NULL
));
14028 bgp_peer_afi_safi_default_originate_apply(struct nb_cb_apply_finish_args
*args
,
14029 struct peer
*peer
, afi_t afi
,
14032 bool originate
= false;
14034 struct route_map
*route_map
= NULL
;
14035 const char *rmap
= NULL
;
14037 originate
= yang_dnode_get_bool(args
->dnode
, "./originate");
14039 if (yang_dnode_exists(args
->dnode
, "./route-map")) {
14040 rmap
= yang_dnode_get_string(args
->dnode
, "./route-map");
14041 route_map
= route_map_lookup_by_name(rmap
);
14043 snprintf(args
->errmsg
, args
->errmsg_len
,
14044 "The route-map '%s' does not exist.", rmap
);
14049 // zlog_debug("%s: originate %u route-map %s", __func__, originate,
14052 ret
= peer_default_originate_set(peer
, afi
, safi
, rmap
,
14055 ret
= peer_default_originate_unset(peer
, afi
, safi
);
14057 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
14062 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
14064 void bgp_neighbor_afi_safi_default_originate_apply_finish(
14065 struct nb_cb_apply_finish_args
*args
)
14068 const char *peer_str
;
14070 const struct lyd_node
*nbr_dnode
;
14071 const struct lyd_node
*nbr_af_dnode
;
14072 const char *af_name
;
14076 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14077 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14078 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14080 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14081 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14082 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14083 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14088 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
14093 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/originate
14095 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
14096 struct nb_cb_modify_args
*args
)
14098 switch (args
->event
) {
14099 case NB_EV_VALIDATE
:
14100 case NB_EV_PREPARE
:
14103 /* TODO: implement me. */
14112 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/route-map
14114 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
14115 struct nb_cb_modify_args
*args
)
14117 switch (args
->event
) {
14118 case NB_EV_VALIDATE
:
14119 case NB_EV_PREPARE
:
14122 /* TODO: implement me. */
14129 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
14130 struct nb_cb_destroy_args
*args
)
14132 switch (args
->event
) {
14133 case NB_EV_VALIDATE
:
14134 case NB_EV_PREPARE
:
14137 /* TODO: implement me. */
14145 bgp_neighbor_afi_safi_prefix_limit_list_destroy(struct nb_cb_destroy_args
*args
)
14148 const char *peer_str
;
14150 const struct lyd_node
*nbr_dnode
;
14151 const struct lyd_node
*nbr_af_dnode
;
14152 const char *af_name
;
14157 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14158 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14159 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14161 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14162 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14163 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14164 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14167 return NB_ERR_INCONSISTENCY
;
14169 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
14171 switch (direction
) {
14173 peer_maximum_prefix_unset(peer
, afi
, safi
);
14176 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
14177 peer
->pmax_out
[afi
][safi
] = 0;
14186 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list
14188 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
14189 struct nb_cb_create_args
*args
)
14191 switch (args
->event
) {
14192 case NB_EV_VALIDATE
:
14193 case NB_EV_PREPARE
:
14196 /* TODO: implement me. */
14203 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
14204 struct nb_cb_destroy_args
*args
)
14206 switch (args
->event
) {
14207 case NB_EV_VALIDATE
:
14208 case NB_EV_PREPARE
:
14212 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
14219 bgp_peer_afi_safi_maximum_prefix_set(struct nb_cb_apply_finish_args
*args
,
14220 struct peer
*peer
, afi_t afi
, safi_t safi
)
14224 uint8_t threshold
= MAXIMUM_PREFIX_THRESHOLD_DEFAULT
;
14225 uint16_t restart
= 0;
14226 bool warning
= false;
14229 max
= yang_dnode_get_uint32(args
->dnode
, "./max-prefixes");
14230 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
14231 switch (direction
) {
14233 force
= yang_dnode_get_bool(args
->dnode
, "./force-check");
14235 if (yang_dnode_exists(args
->dnode
,
14236 "./options/shutdown-threshold-pct"))
14237 threshold
= yang_dnode_get_uint8(
14239 "./options/shutdown-threshold-pct");
14240 if (yang_dnode_exists(args
->dnode
,
14241 "./options/tw-shutdown-threshold-pct"))
14242 threshold
= yang_dnode_get_uint8(
14244 "./options/tw-shutdown-threshold-pct");
14245 if (yang_dnode_exists(args
->dnode
,
14246 "./options/tr-shutdown-threshold-pct"))
14247 threshold
= yang_dnode_get_uint8(
14249 "./options/tr-shutdown-threshold-pct");
14251 if (yang_dnode_exists(args
->dnode
, "./options/warning-only"))
14252 warning
= yang_dnode_get_bool(args
->dnode
,
14253 "./options/warning-only");
14254 if (yang_dnode_exists(args
->dnode
, "./options/tw-warning-only"))
14255 warning
= yang_dnode_get_bool(
14256 args
->dnode
, "./options/tw-warning-only");
14258 if (yang_dnode_exists(args
->dnode
, "./options/restart-timer"))
14259 restart
= yang_dnode_get_uint16(
14260 args
->dnode
, "./options/restart-timer");
14261 if (yang_dnode_exists(args
->dnode
,
14262 "./options/tr-restart-timer"))
14263 restart
= yang_dnode_get_uint16(
14264 args
->dnode
, "./options/tr-restart-timer");
14266 peer_maximum_prefix_set(peer
, afi
, safi
, max
, threshold
,
14267 warning
, restart
, force
);
14271 SET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
14272 peer
->pmax_out
[afi
][safi
] = max
;
14278 void bgp_neighbors_neighbor_afi_safi_prefix_limit_apply_finish(
14279 struct nb_cb_apply_finish_args
*args
)
14282 const char *peer_str
;
14284 const struct lyd_node
*nbr_dnode
;
14285 const struct lyd_node
*nbr_af_dnode
;
14286 const char *af_name
;
14290 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14291 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14292 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14294 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14295 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14296 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14297 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14302 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
14307 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/max-prefixes
14309 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
14310 struct nb_cb_modify_args
*args
)
14312 switch (args
->event
) {
14313 case NB_EV_VALIDATE
:
14314 case NB_EV_PREPARE
:
14317 /* TODO: implement me. */
14326 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/force-check
14328 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
14329 struct nb_cb_modify_args
*args
)
14331 switch (args
->event
) {
14332 case NB_EV_VALIDATE
:
14333 case NB_EV_PREPARE
:
14336 /* TODO: implement me. */
14345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/warning-only
14347 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
14348 struct nb_cb_modify_args
*args
)
14350 switch (args
->event
) {
14351 case NB_EV_VALIDATE
:
14352 case NB_EV_PREPARE
:
14355 /* TODO: implement me. */
14362 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
14363 struct nb_cb_destroy_args
*args
)
14365 switch (args
->event
) {
14366 case NB_EV_VALIDATE
:
14367 case NB_EV_PREPARE
:
14370 /* TODO: implement me. */
14379 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/restart-timer
14381 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
14382 struct nb_cb_modify_args
*args
)
14384 switch (args
->event
) {
14385 case NB_EV_VALIDATE
:
14386 case NB_EV_PREPARE
:
14389 /* TODO: implement me. */
14396 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
14397 struct nb_cb_destroy_args
*args
)
14399 switch (args
->event
) {
14400 case NB_EV_VALIDATE
:
14401 case NB_EV_PREPARE
:
14404 /* TODO: implement me. */
14413 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
14415 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
14416 struct nb_cb_modify_args
*args
)
14418 switch (args
->event
) {
14419 case NB_EV_VALIDATE
:
14420 case NB_EV_PREPARE
:
14423 /* TODO: implement me. */
14430 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
14431 struct nb_cb_destroy_args
*args
)
14433 switch (args
->event
) {
14434 case NB_EV_VALIDATE
:
14435 case NB_EV_PREPARE
:
14438 /* TODO: implement me. */
14447 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
14449 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
14450 struct nb_cb_modify_args
*args
)
14452 switch (args
->event
) {
14453 case NB_EV_VALIDATE
:
14454 case NB_EV_PREPARE
:
14457 /* TODO: implement me. */
14464 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
14465 struct nb_cb_destroy_args
*args
)
14467 switch (args
->event
) {
14468 case NB_EV_VALIDATE
:
14469 case NB_EV_PREPARE
:
14472 /* TODO: implement me. */
14481 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
14483 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
14484 struct nb_cb_modify_args
*args
)
14486 switch (args
->event
) {
14487 case NB_EV_VALIDATE
:
14488 case NB_EV_PREPARE
:
14491 /* TODO: implement me. */
14498 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
14499 struct nb_cb_destroy_args
*args
)
14501 switch (args
->event
) {
14502 case NB_EV_VALIDATE
:
14503 case NB_EV_PREPARE
:
14506 /* TODO: implement me. */
14515 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
14517 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
14518 struct nb_cb_modify_args
*args
)
14520 switch (args
->event
) {
14521 case NB_EV_VALIDATE
:
14522 case NB_EV_PREPARE
:
14525 /* TODO: implement me. */
14532 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
14533 struct nb_cb_destroy_args
*args
)
14535 switch (args
->event
) {
14536 case NB_EV_VALIDATE
:
14537 case NB_EV_PREPARE
:
14540 /* TODO: implement me. */
14549 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
14551 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
14552 struct nb_cb_modify_args
*args
)
14554 switch (args
->event
) {
14555 case NB_EV_VALIDATE
:
14556 case NB_EV_PREPARE
:
14559 /* TODO: implement me. */
14566 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
14567 struct nb_cb_destroy_args
*args
)
14569 switch (args
->event
) {
14570 case NB_EV_VALIDATE
:
14571 case NB_EV_PREPARE
:
14574 /* TODO: implement me. */
14583 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self
14585 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
14586 struct nb_cb_modify_args
*args
)
14588 switch (args
->event
) {
14589 case NB_EV_VALIDATE
:
14590 case NB_EV_PREPARE
:
14594 return bgp_neighbor_afi_safi_flag_modify(
14595 args
, PEER_FLAG_NEXTHOP_SELF
,
14596 yang_dnode_get_bool(args
->dnode
, NULL
));
14606 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self-force
14608 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
14609 struct nb_cb_modify_args
*args
)
14611 switch (args
->event
) {
14612 case NB_EV_VALIDATE
:
14613 case NB_EV_PREPARE
:
14617 return bgp_neighbor_afi_safi_flag_modify(
14618 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
14619 yang_dnode_get_bool(args
->dnode
, NULL
));
14629 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all
14631 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
14632 struct nb_cb_modify_args
*args
)
14634 switch (args
->event
) {
14635 case NB_EV_VALIDATE
:
14636 case NB_EV_PREPARE
:
14640 return bgp_neighbor_afi_safi_flag_modify(
14641 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
14642 yang_dnode_get_bool(args
->dnode
, NULL
));
14652 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all-replace
14654 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
14655 struct nb_cb_modify_args
*args
)
14657 switch (args
->event
) {
14658 case NB_EV_VALIDATE
:
14659 case NB_EV_PREPARE
:
14663 return bgp_neighbor_afi_safi_flag_modify(
14664 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
14665 yang_dnode_get_bool(args
->dnode
, NULL
));
14675 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as
14677 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
14678 struct nb_cb_modify_args
*args
)
14680 switch (args
->event
) {
14681 case NB_EV_VALIDATE
:
14682 case NB_EV_PREPARE
:
14686 return bgp_neighbor_afi_safi_flag_modify(
14687 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
14688 yang_dnode_get_bool(args
->dnode
, NULL
));
14698 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-replace
14700 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
14701 struct nb_cb_modify_args
*args
)
14703 switch (args
->event
) {
14704 case NB_EV_VALIDATE
:
14705 case NB_EV_PREPARE
:
14709 return bgp_neighbor_afi_safi_flag_modify(
14710 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
14711 yang_dnode_get_bool(args
->dnode
, NULL
));
14719 static int bgp_neighbor_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
14722 const char *peer_str
;
14724 const struct lyd_node
*nbr_dnode
;
14725 const struct lyd_node
*nbr_af_dnode
;
14726 const char *af_name
;
14732 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14733 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14734 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14736 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14737 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14738 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14739 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14742 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
14744 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
14745 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
14746 return NB_ERR_INCONSISTENCY
;
14751 static int bgp_neighbor_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
14754 const char *peer_str
;
14756 const struct lyd_node
*nbr_dnode
;
14757 const struct lyd_node
*nbr_af_dnode
;
14758 const char *af_name
;
14763 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14764 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14765 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14767 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14768 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14769 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14770 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14773 ret
= peer_weight_unset(peer
, afi
, safi
);
14774 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
14775 return NB_ERR_INCONSISTENCY
;
14782 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/weight/weight-attribute
14784 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
14785 struct nb_cb_modify_args
*args
)
14787 switch (args
->event
) {
14788 case NB_EV_VALIDATE
:
14789 case NB_EV_PREPARE
:
14793 return bgp_neighbor_afi_safi_weight_modify(args
);
14801 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
14802 struct nb_cb_destroy_args
*args
)
14804 switch (args
->event
) {
14805 case NB_EV_VALIDATE
:
14806 case NB_EV_PREPARE
:
14810 return bgp_neighbor_afi_safi_weight_destroy(args
);
14820 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/route-reflector/route-reflector-client
14822 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
14823 struct nb_cb_modify_args
*args
)
14825 switch (args
->event
) {
14826 case NB_EV_VALIDATE
:
14827 case NB_EV_PREPARE
:
14831 return bgp_neighbor_afi_safi_flag_modify(
14832 args
, PEER_FLAG_REFLECTOR_CLIENT
,
14833 yang_dnode_get_bool(args
->dnode
, NULL
));
14843 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/route-server/route-server-client
14845 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
14846 struct nb_cb_modify_args
*args
)
14848 switch (args
->event
) {
14849 case NB_EV_VALIDATE
:
14850 case NB_EV_PREPARE
:
14854 return bgp_neighbor_afi_safi_flag_modify(
14855 args
, PEER_FLAG_RSERVER_CLIENT
,
14856 yang_dnode_get_bool(args
->dnode
, NULL
));
14866 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-community
14868 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
14869 struct nb_cb_modify_args
*args
)
14871 switch (args
->event
) {
14872 case NB_EV_VALIDATE
:
14873 case NB_EV_PREPARE
:
14877 return bgp_neighbor_afi_safi_flag_modify(
14878 args
, PEER_FLAG_SEND_COMMUNITY
,
14879 yang_dnode_get_bool(args
->dnode
, NULL
));
14889 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-ext-community
14891 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
14892 struct nb_cb_modify_args
*args
)
14894 switch (args
->event
) {
14895 case NB_EV_VALIDATE
:
14896 case NB_EV_PREPARE
:
14900 return bgp_neighbor_afi_safi_flag_modify(
14901 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
14902 yang_dnode_get_bool(args
->dnode
, NULL
));
14912 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-large-community
14914 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
14915 struct nb_cb_modify_args
*args
)
14917 switch (args
->event
) {
14918 case NB_EV_VALIDATE
:
14919 case NB_EV_PREPARE
:
14923 return bgp_neighbor_afi_safi_flag_modify(
14924 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
14925 yang_dnode_get_bool(args
->dnode
, NULL
));
14935 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
14937 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
14938 struct nb_cb_modify_args
*args
)
14940 switch (args
->event
) {
14941 case NB_EV_VALIDATE
:
14942 case NB_EV_PREPARE
:
14946 return bgp_neighbor_afi_safi_flag_modify(
14947 args
, PEER_FLAG_SOFT_RECONFIG
,
14948 yang_dnode_get_bool(args
->dnode
, NULL
));
14958 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/as-path-unchanged
14960 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
14961 struct nb_cb_modify_args
*args
)
14963 switch (args
->event
) {
14964 case NB_EV_VALIDATE
:
14965 case NB_EV_PREPARE
:
14969 return bgp_neighbor_afi_safi_flag_modify(
14970 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
14971 yang_dnode_get_bool(args
->dnode
, NULL
));
14981 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/next-hop-unchanged
14983 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
14984 struct nb_cb_modify_args
*args
)
14986 switch (args
->event
) {
14987 case NB_EV_VALIDATE
:
14988 case NB_EV_PREPARE
:
14992 return bgp_neighbor_afi_safi_flag_modify(
14993 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
14994 yang_dnode_get_bool(args
->dnode
, NULL
));
15004 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/med-unchanged
15006 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
15007 struct nb_cb_modify_args
*args
)
15009 switch (args
->event
) {
15010 case NB_EV_VALIDATE
:
15011 case NB_EV_PREPARE
:
15015 return bgp_neighbor_afi_safi_flag_modify(
15016 args
, PEER_FLAG_MED_UNCHANGED
,
15017 yang_dnode_get_bool(args
->dnode
, NULL
));
15027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-send
15029 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
15030 struct nb_cb_modify_args
*args
)
15032 switch (args
->event
) {
15033 case NB_EV_VALIDATE
:
15034 case NB_EV_PREPARE
:
15037 /* TODO: implement me. */
15044 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
15045 struct nb_cb_destroy_args
*args
)
15047 switch (args
->event
) {
15048 case NB_EV_VALIDATE
:
15049 case NB_EV_PREPARE
:
15052 /* TODO: implement me. */
15061 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-receive
15063 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
15064 struct nb_cb_modify_args
*args
)
15066 switch (args
->event
) {
15067 case NB_EV_VALIDATE
:
15068 case NB_EV_PREPARE
:
15071 /* TODO: implement me. */
15078 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
15079 struct nb_cb_destroy_args
*args
)
15081 switch (args
->event
) {
15082 case NB_EV_VALIDATE
:
15083 case NB_EV_PREPARE
:
15086 /* TODO: implement me. */
15095 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-both
15097 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
15098 struct nb_cb_modify_args
*args
)
15100 switch (args
->event
) {
15101 case NB_EV_VALIDATE
:
15102 case NB_EV_PREPARE
:
15105 /* TODO: implement me. */
15112 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
15113 struct nb_cb_destroy_args
*args
)
15115 switch (args
->event
) {
15116 case NB_EV_VALIDATE
:
15117 case NB_EV_PREPARE
:
15120 /* TODO: implement me. */
15127 static int bgp_neighbor_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
15131 const char *peer_str
;
15133 const struct lyd_node
*nbr_dnode
;
15134 const struct lyd_node
*nbr_af_dnode
;
15135 const char *af_name
;
15138 const char *name_str
;
15139 struct route_map
*route_map
;
15142 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15143 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15144 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15146 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15147 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15148 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15149 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15152 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
15153 route_map
= route_map_lookup_by_name(name_str
);
15154 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
15156 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
15159 static int bgp_neighbor_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
15163 const char *peer_str
;
15165 const struct lyd_node
*nbr_dnode
;
15166 const struct lyd_node
*nbr_af_dnode
;
15167 const char *af_name
;
15172 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15173 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15174 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15176 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15177 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15178 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15179 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15182 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
15184 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
15189 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-import
15191 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
15192 struct nb_cb_modify_args
*args
)
15194 switch (args
->event
) {
15195 case NB_EV_VALIDATE
:
15196 case NB_EV_PREPARE
:
15200 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
15206 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
15207 struct nb_cb_destroy_args
*args
)
15209 switch (args
->event
) {
15210 case NB_EV_VALIDATE
:
15211 case NB_EV_PREPARE
:
15215 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
15223 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
15225 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
15226 struct nb_cb_modify_args
*args
)
15228 switch (args
->event
) {
15229 case NB_EV_VALIDATE
:
15230 case NB_EV_PREPARE
:
15234 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
15240 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
15241 struct nb_cb_destroy_args
*args
)
15243 switch (args
->event
) {
15244 case NB_EV_VALIDATE
:
15245 case NB_EV_PREPARE
:
15249 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
15255 static int bgp_neighbor_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
15259 const char *peer_str
;
15261 const struct lyd_node
*nbr_dnode
;
15262 const struct lyd_node
*nbr_af_dnode
;
15263 const char *af_name
;
15266 const char *name_str
;
15268 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15269 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15270 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15272 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15273 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15274 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15275 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15278 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
15279 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
15280 return NB_ERR_INCONSISTENCY
;
15285 static int bgp_neighbor_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
15289 const char *peer_str
;
15291 const struct lyd_node
*nbr_dnode
;
15292 const struct lyd_node
*nbr_af_dnode
;
15293 const char *af_name
;
15297 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15298 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15299 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15301 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15302 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15303 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15304 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15307 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
15308 return NB_ERR_INCONSISTENCY
;
15315 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-import
15317 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
15318 struct nb_cb_modify_args
*args
)
15320 switch (args
->event
) {
15321 case NB_EV_VALIDATE
:
15322 case NB_EV_PREPARE
:
15326 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
15332 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
15333 struct nb_cb_destroy_args
*args
)
15335 switch (args
->event
) {
15336 case NB_EV_VALIDATE
:
15337 case NB_EV_PREPARE
:
15341 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
15349 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-export
15351 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
15352 struct nb_cb_modify_args
*args
)
15354 switch (args
->event
) {
15355 case NB_EV_VALIDATE
:
15356 case NB_EV_PREPARE
:
15360 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
15366 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
15367 struct nb_cb_destroy_args
*args
)
15369 switch (args
->event
) {
15370 case NB_EV_VALIDATE
:
15371 case NB_EV_PREPARE
:
15375 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
15383 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-import
15385 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
15386 struct nb_cb_modify_args
*args
)
15388 switch (args
->event
) {
15389 case NB_EV_VALIDATE
:
15390 case NB_EV_PREPARE
:
15393 /* TODO: implement me. */
15400 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
15401 struct nb_cb_destroy_args
*args
)
15403 switch (args
->event
) {
15404 case NB_EV_VALIDATE
:
15405 case NB_EV_PREPARE
:
15408 /* TODO: implement me. */
15417 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-export
15419 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
15420 struct nb_cb_modify_args
*args
)
15422 switch (args
->event
) {
15423 case NB_EV_VALIDATE
:
15424 case NB_EV_PREPARE
:
15427 /* TODO: implement me. */
15434 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
15435 struct nb_cb_destroy_args
*args
)
15437 switch (args
->event
) {
15438 case NB_EV_VALIDATE
:
15439 case NB_EV_PREPARE
:
15442 /* TODO: implement me. */
15451 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-import
15453 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
15454 struct nb_cb_modify_args
*args
)
15456 switch (args
->event
) {
15457 case NB_EV_VALIDATE
:
15458 case NB_EV_PREPARE
:
15461 /* TODO: implement me. */
15468 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
15469 struct nb_cb_destroy_args
*args
)
15471 switch (args
->event
) {
15472 case NB_EV_VALIDATE
:
15473 case NB_EV_PREPARE
:
15476 /* TODO: implement me. */
15485 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-export
15487 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
15488 struct nb_cb_modify_args
*args
)
15490 switch (args
->event
) {
15491 case NB_EV_VALIDATE
:
15492 case NB_EV_PREPARE
:
15495 /* TODO: implement me. */
15502 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
15503 struct nb_cb_destroy_args
*args
)
15505 switch (args
->event
) {
15506 case NB_EV_VALIDATE
:
15507 case NB_EV_PREPARE
:
15510 /* TODO: implement me. */
15519 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-import
15521 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
15522 struct nb_cb_modify_args
*args
)
15524 switch (args
->event
) {
15525 case NB_EV_VALIDATE
:
15526 case NB_EV_PREPARE
:
15529 /* TODO: implement me. */
15536 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
15537 struct nb_cb_destroy_args
*args
)
15539 switch (args
->event
) {
15540 case NB_EV_VALIDATE
:
15541 case NB_EV_PREPARE
:
15544 /* TODO: implement me. */
15553 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-export
15555 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
15556 struct nb_cb_modify_args
*args
)
15558 switch (args
->event
) {
15559 case NB_EV_VALIDATE
:
15560 case NB_EV_PREPARE
:
15563 /* TODO: implement me. */
15570 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
15571 struct nb_cb_destroy_args
*args
)
15573 switch (args
->event
) {
15574 case NB_EV_VALIDATE
:
15575 case NB_EV_PREPARE
:
15578 /* TODO: implement me. */
15587 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-local-unchanged
15589 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
15590 struct nb_cb_modify_args
*args
)
15592 switch (args
->event
) {
15593 case NB_EV_VALIDATE
:
15594 case NB_EV_PREPARE
:
15597 /* TODO: implement me. */
15606 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/add-paths/path-type
15608 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
15609 struct nb_cb_modify_args
*args
)
15611 switch (args
->event
) {
15612 case NB_EV_VALIDATE
:
15613 case NB_EV_PREPARE
:
15616 /* TODO: implement me. */
15625 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-as
15627 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
15628 struct nb_cb_modify_args
*args
)
15630 switch (args
->event
) {
15631 case NB_EV_VALIDATE
:
15632 case NB_EV_PREPARE
:
15635 /* TODO: implement me. */
15642 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
15643 struct nb_cb_destroy_args
*args
)
15645 switch (args
->event
) {
15646 case NB_EV_VALIDATE
:
15647 case NB_EV_PREPARE
:
15650 /* TODO: implement me. */
15659 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-origin-as
15661 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
15662 struct nb_cb_modify_args
*args
)
15664 switch (args
->event
) {
15665 case NB_EV_VALIDATE
:
15666 case NB_EV_PREPARE
:
15669 /* TODO: implement me. */
15676 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
15677 struct nb_cb_destroy_args
*args
)
15679 switch (args
->event
) {
15680 case NB_EV_VALIDATE
:
15681 case NB_EV_PREPARE
:
15684 /* TODO: implement me. */
15693 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/replace-peer-as
15695 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
15696 struct nb_cb_modify_args
*args
)
15698 switch (args
->event
) {
15699 case NB_EV_VALIDATE
:
15700 case NB_EV_PREPARE
:
15704 return bgp_neighbor_afi_safi_flag_modify(
15705 args
, PEER_FLAG_AS_OVERRIDE
,
15706 yang_dnode_get_bool(args
->dnode
, NULL
));
15716 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/originate
15718 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
15719 struct nb_cb_modify_args
*args
)
15721 switch (args
->event
) {
15722 case NB_EV_VALIDATE
:
15723 case NB_EV_PREPARE
:
15726 /* TODO: implement me. */
15735 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/route-map
15737 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
15738 struct nb_cb_modify_args
*args
)
15740 switch (args
->event
) {
15741 case NB_EV_VALIDATE
:
15742 case NB_EV_PREPARE
:
15745 /* TODO: implement me. */
15752 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
15753 struct nb_cb_destroy_args
*args
)
15755 switch (args
->event
) {
15756 case NB_EV_VALIDATE
:
15757 case NB_EV_PREPARE
:
15760 /* TODO: implement me. */
15769 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/as-path-unchanged
15771 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
15772 struct nb_cb_modify_args
*args
)
15774 switch (args
->event
) {
15775 case NB_EV_VALIDATE
:
15776 case NB_EV_PREPARE
:
15780 return bgp_neighbor_afi_safi_flag_modify(
15781 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
15782 yang_dnode_get_bool(args
->dnode
, NULL
));
15792 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/next-hop-unchanged
15794 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
15795 struct nb_cb_modify_args
*args
)
15797 switch (args
->event
) {
15798 case NB_EV_VALIDATE
:
15799 case NB_EV_PREPARE
:
15803 return bgp_neighbor_afi_safi_flag_modify(
15804 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
15805 yang_dnode_get_bool(args
->dnode
, NULL
));
15815 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/med-unchanged
15817 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
15818 struct nb_cb_modify_args
*args
)
15820 switch (args
->event
) {
15821 case NB_EV_VALIDATE
:
15822 case NB_EV_PREPARE
:
15826 return bgp_neighbor_afi_safi_flag_modify(
15827 args
, PEER_FLAG_MED_UNCHANGED
,
15828 yang_dnode_get_bool(args
->dnode
, NULL
));
15838 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-send
15840 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
15841 struct nb_cb_modify_args
*args
)
15843 switch (args
->event
) {
15844 case NB_EV_VALIDATE
:
15845 case NB_EV_PREPARE
:
15848 /* TODO: implement me. */
15855 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
15856 struct nb_cb_destroy_args
*args
)
15858 switch (args
->event
) {
15859 case NB_EV_VALIDATE
:
15860 case NB_EV_PREPARE
:
15863 /* TODO: implement me. */
15872 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-receive
15874 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
15875 struct nb_cb_modify_args
*args
)
15877 switch (args
->event
) {
15878 case NB_EV_VALIDATE
:
15879 case NB_EV_PREPARE
:
15882 /* TODO: implement me. */
15889 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
15890 struct nb_cb_destroy_args
*args
)
15892 switch (args
->event
) {
15893 case NB_EV_VALIDATE
:
15894 case NB_EV_PREPARE
:
15897 /* TODO: implement me. */
15906 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-both
15908 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
15909 struct nb_cb_modify_args
*args
)
15911 switch (args
->event
) {
15912 case NB_EV_VALIDATE
:
15913 case NB_EV_PREPARE
:
15916 /* TODO: implement me. */
15923 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
15924 struct nb_cb_destroy_args
*args
)
15926 switch (args
->event
) {
15927 case NB_EV_VALIDATE
:
15928 case NB_EV_PREPARE
:
15931 /* TODO: implement me. */
15940 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list
15942 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
15943 struct nb_cb_create_args
*args
)
15945 switch (args
->event
) {
15946 case NB_EV_VALIDATE
:
15947 case NB_EV_PREPARE
:
15950 /* TODO: implement me. */
15957 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
15958 struct nb_cb_destroy_args
*args
)
15960 switch (args
->event
) {
15961 case NB_EV_VALIDATE
:
15962 case NB_EV_PREPARE
:
15966 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
15974 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/max-prefixes
15976 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
15977 struct nb_cb_modify_args
*args
)
15979 switch (args
->event
) {
15980 case NB_EV_VALIDATE
:
15981 case NB_EV_PREPARE
:
15984 /* TODO: implement me. */
15993 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/force-check
15995 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
15996 struct nb_cb_modify_args
*args
)
15998 switch (args
->event
) {
15999 case NB_EV_VALIDATE
:
16000 case NB_EV_PREPARE
:
16003 /* TODO: implement me. */
16012 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/warning-only
16014 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
16015 struct nb_cb_modify_args
*args
)
16017 switch (args
->event
) {
16018 case NB_EV_VALIDATE
:
16019 case NB_EV_PREPARE
:
16022 /* TODO: implement me. */
16029 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
16030 struct nb_cb_destroy_args
*args
)
16032 switch (args
->event
) {
16033 case NB_EV_VALIDATE
:
16034 case NB_EV_PREPARE
:
16037 /* TODO: implement me. */
16046 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/restart-timer
16048 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
16049 struct nb_cb_modify_args
*args
)
16051 switch (args
->event
) {
16052 case NB_EV_VALIDATE
:
16053 case NB_EV_PREPARE
:
16056 /* TODO: implement me. */
16063 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
16064 struct nb_cb_destroy_args
*args
)
16066 switch (args
->event
) {
16067 case NB_EV_VALIDATE
:
16068 case NB_EV_PREPARE
:
16071 /* TODO: implement me. */
16080 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
16082 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
16083 struct nb_cb_modify_args
*args
)
16085 switch (args
->event
) {
16086 case NB_EV_VALIDATE
:
16087 case NB_EV_PREPARE
:
16090 /* TODO: implement me. */
16097 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
16098 struct nb_cb_destroy_args
*args
)
16100 switch (args
->event
) {
16101 case NB_EV_VALIDATE
:
16102 case NB_EV_PREPARE
:
16105 /* TODO: implement me. */
16114 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
16116 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
16117 struct nb_cb_modify_args
*args
)
16119 switch (args
->event
) {
16120 case NB_EV_VALIDATE
:
16121 case NB_EV_PREPARE
:
16124 /* TODO: implement me. */
16131 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
16132 struct nb_cb_destroy_args
*args
)
16134 switch (args
->event
) {
16135 case NB_EV_VALIDATE
:
16136 case NB_EV_PREPARE
:
16139 /* TODO: implement me. */
16148 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
16150 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
16151 struct nb_cb_modify_args
*args
)
16153 switch (args
->event
) {
16154 case NB_EV_VALIDATE
:
16155 case NB_EV_PREPARE
:
16158 /* TODO: implement me. */
16165 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
16166 struct nb_cb_destroy_args
*args
)
16168 switch (args
->event
) {
16169 case NB_EV_VALIDATE
:
16170 case NB_EV_PREPARE
:
16173 /* TODO: implement me. */
16182 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
16184 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
16185 struct nb_cb_modify_args
*args
)
16187 switch (args
->event
) {
16188 case NB_EV_VALIDATE
:
16189 case NB_EV_PREPARE
:
16192 /* TODO: implement me. */
16199 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
16200 struct nb_cb_destroy_args
*args
)
16202 switch (args
->event
) {
16203 case NB_EV_VALIDATE
:
16204 case NB_EV_PREPARE
:
16207 /* TODO: implement me. */
16216 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
16218 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
16219 struct nb_cb_modify_args
*args
)
16221 switch (args
->event
) {
16222 case NB_EV_VALIDATE
:
16223 case NB_EV_PREPARE
:
16226 /* TODO: implement me. */
16233 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
16234 struct nb_cb_destroy_args
*args
)
16236 switch (args
->event
) {
16237 case NB_EV_VALIDATE
:
16238 case NB_EV_PREPARE
:
16241 /* TODO: implement me. */
16250 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self
16252 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
16253 struct nb_cb_modify_args
*args
)
16255 switch (args
->event
) {
16256 case NB_EV_VALIDATE
:
16257 case NB_EV_PREPARE
:
16261 return bgp_neighbor_afi_safi_flag_modify(
16262 args
, PEER_FLAG_NEXTHOP_SELF
,
16263 yang_dnode_get_bool(args
->dnode
, NULL
));
16273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self-force
16275 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
16276 struct nb_cb_modify_args
*args
)
16278 switch (args
->event
) {
16279 case NB_EV_VALIDATE
:
16280 case NB_EV_PREPARE
:
16284 return bgp_neighbor_afi_safi_flag_modify(
16285 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
16286 yang_dnode_get_bool(args
->dnode
, NULL
));
16296 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all
16298 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
16299 struct nb_cb_modify_args
*args
)
16301 switch (args
->event
) {
16302 case NB_EV_VALIDATE
:
16303 case NB_EV_PREPARE
:
16307 return bgp_neighbor_afi_safi_flag_modify(
16308 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
16309 yang_dnode_get_bool(args
->dnode
, NULL
));
16319 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all-replace
16321 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
16322 struct nb_cb_modify_args
*args
)
16324 switch (args
->event
) {
16325 case NB_EV_VALIDATE
:
16326 case NB_EV_PREPARE
:
16330 return bgp_neighbor_afi_safi_flag_modify(
16331 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
16332 yang_dnode_get_bool(args
->dnode
, NULL
));
16342 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as
16344 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
16345 struct nb_cb_modify_args
*args
)
16347 switch (args
->event
) {
16348 case NB_EV_VALIDATE
:
16349 case NB_EV_PREPARE
:
16353 return bgp_neighbor_afi_safi_flag_modify(
16354 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
16355 yang_dnode_get_bool(args
->dnode
, NULL
));
16365 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-replace
16367 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
16368 struct nb_cb_modify_args
*args
)
16370 switch (args
->event
) {
16371 case NB_EV_VALIDATE
:
16372 case NB_EV_PREPARE
:
16376 return bgp_neighbor_afi_safi_flag_modify(
16377 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
16378 yang_dnode_get_bool(args
->dnode
, NULL
));
16388 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/route-reflector/route-reflector-client
16390 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
16391 struct nb_cb_modify_args
*args
)
16393 switch (args
->event
) {
16394 case NB_EV_VALIDATE
:
16395 case NB_EV_PREPARE
:
16399 return bgp_neighbor_afi_safi_flag_modify(
16400 args
, PEER_FLAG_REFLECTOR_CLIENT
,
16401 yang_dnode_get_bool(args
->dnode
, NULL
));
16411 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/route-server/route-server-client
16413 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
16414 struct nb_cb_modify_args
*args
)
16416 switch (args
->event
) {
16417 case NB_EV_VALIDATE
:
16418 case NB_EV_PREPARE
:
16422 return bgp_neighbor_afi_safi_flag_modify(
16423 args
, PEER_FLAG_RSERVER_CLIENT
,
16424 yang_dnode_get_bool(args
->dnode
, NULL
));
16434 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-community
16436 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
16437 struct nb_cb_modify_args
*args
)
16439 switch (args
->event
) {
16440 case NB_EV_VALIDATE
:
16441 case NB_EV_PREPARE
:
16445 return bgp_neighbor_afi_safi_flag_modify(
16446 args
, PEER_FLAG_SEND_COMMUNITY
,
16447 yang_dnode_get_bool(args
->dnode
, NULL
));
16457 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-ext-community
16459 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
16460 struct nb_cb_modify_args
*args
)
16462 switch (args
->event
) {
16463 case NB_EV_VALIDATE
:
16464 case NB_EV_PREPARE
:
16468 return bgp_neighbor_afi_safi_flag_modify(
16469 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
16470 yang_dnode_get_bool(args
->dnode
, NULL
));
16480 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-large-community
16482 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
16483 struct nb_cb_modify_args
*args
)
16485 switch (args
->event
) {
16486 case NB_EV_VALIDATE
:
16487 case NB_EV_PREPARE
:
16491 return bgp_neighbor_afi_safi_flag_modify(
16492 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
16493 yang_dnode_get_bool(args
->dnode
, NULL
));
16503 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
16505 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
16506 struct nb_cb_modify_args
*args
)
16508 switch (args
->event
) {
16509 case NB_EV_VALIDATE
:
16510 case NB_EV_PREPARE
:
16514 return bgp_neighbor_afi_safi_flag_modify(
16515 args
, PEER_FLAG_SOFT_RECONFIG
,
16516 yang_dnode_get_bool(args
->dnode
, NULL
));
16526 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/weight/weight-attribute
16528 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
16529 struct nb_cb_modify_args
*args
)
16531 switch (args
->event
) {
16532 case NB_EV_VALIDATE
:
16533 case NB_EV_PREPARE
:
16537 return bgp_neighbor_afi_safi_weight_modify(args
);
16545 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
16546 struct nb_cb_destroy_args
*args
)
16548 switch (args
->event
) {
16549 case NB_EV_VALIDATE
:
16550 case NB_EV_PREPARE
:
16554 return bgp_neighbor_afi_safi_weight_destroy(args
);
16564 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-import
16566 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
16567 struct nb_cb_modify_args
*args
)
16569 switch (args
->event
) {
16570 case NB_EV_VALIDATE
:
16571 case NB_EV_PREPARE
:
16575 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
16581 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
16582 struct nb_cb_destroy_args
*args
)
16584 switch (args
->event
) {
16585 case NB_EV_VALIDATE
:
16586 case NB_EV_PREPARE
:
16590 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
16598 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
16600 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
16601 struct nb_cb_modify_args
*args
)
16603 switch (args
->event
) {
16604 case NB_EV_VALIDATE
:
16605 case NB_EV_PREPARE
:
16609 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
16615 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
16616 struct nb_cb_destroy_args
*args
)
16618 switch (args
->event
) {
16619 case NB_EV_VALIDATE
:
16620 case NB_EV_PREPARE
:
16624 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
16632 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-import
16634 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
16635 struct nb_cb_modify_args
*args
)
16637 switch (args
->event
) {
16638 case NB_EV_VALIDATE
:
16639 case NB_EV_PREPARE
:
16643 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
16649 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
16650 struct nb_cb_destroy_args
*args
)
16652 switch (args
->event
) {
16653 case NB_EV_VALIDATE
:
16654 case NB_EV_PREPARE
:
16658 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
16666 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-export
16668 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
16669 struct nb_cb_modify_args
*args
)
16671 switch (args
->event
) {
16672 case NB_EV_VALIDATE
:
16673 case NB_EV_PREPARE
:
16677 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
16683 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
16684 struct nb_cb_destroy_args
*args
)
16686 switch (args
->event
) {
16687 case NB_EV_VALIDATE
:
16688 case NB_EV_PREPARE
:
16692 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
16700 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-import
16702 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
16703 struct nb_cb_modify_args
*args
)
16705 switch (args
->event
) {
16706 case NB_EV_VALIDATE
:
16707 case NB_EV_PREPARE
:
16710 /* TODO: implement me. */
16717 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
16718 struct nb_cb_destroy_args
*args
)
16720 switch (args
->event
) {
16721 case NB_EV_VALIDATE
:
16722 case NB_EV_PREPARE
:
16725 /* TODO: implement me. */
16734 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-export
16736 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
16737 struct nb_cb_modify_args
*args
)
16739 switch (args
->event
) {
16740 case NB_EV_VALIDATE
:
16741 case NB_EV_PREPARE
:
16744 /* TODO: implement me. */
16751 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
16752 struct nb_cb_destroy_args
*args
)
16754 switch (args
->event
) {
16755 case NB_EV_VALIDATE
:
16756 case NB_EV_PREPARE
:
16759 /* TODO: implement me. */
16768 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-import
16770 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
16771 struct nb_cb_modify_args
*args
)
16773 switch (args
->event
) {
16774 case NB_EV_VALIDATE
:
16775 case NB_EV_PREPARE
:
16778 /* TODO: implement me. */
16785 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
16786 struct nb_cb_destroy_args
*args
)
16788 switch (args
->event
) {
16789 case NB_EV_VALIDATE
:
16790 case NB_EV_PREPARE
:
16793 /* TODO: implement me. */
16802 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-export
16804 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
16805 struct nb_cb_modify_args
*args
)
16807 switch (args
->event
) {
16808 case NB_EV_VALIDATE
:
16809 case NB_EV_PREPARE
:
16812 /* TODO: implement me. */
16819 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
16820 struct nb_cb_destroy_args
*args
)
16822 switch (args
->event
) {
16823 case NB_EV_VALIDATE
:
16824 case NB_EV_PREPARE
:
16827 /* TODO: implement me. */
16836 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-import
16838 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
16839 struct nb_cb_modify_args
*args
)
16841 switch (args
->event
) {
16842 case NB_EV_VALIDATE
:
16843 case NB_EV_PREPARE
:
16846 /* TODO: implement me. */
16853 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
16854 struct nb_cb_destroy_args
*args
)
16856 switch (args
->event
) {
16857 case NB_EV_VALIDATE
:
16858 case NB_EV_PREPARE
:
16861 /* TODO: implement me. */
16870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-export
16872 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
16873 struct nb_cb_modify_args
*args
)
16875 switch (args
->event
) {
16876 case NB_EV_VALIDATE
:
16877 case NB_EV_PREPARE
:
16880 /* TODO: implement me. */
16887 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
16888 struct nb_cb_destroy_args
*args
)
16890 switch (args
->event
) {
16891 case NB_EV_VALIDATE
:
16892 case NB_EV_PREPARE
:
16895 /* TODO: implement me. */
16905 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/add-paths/path-type
16907 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
16908 struct nb_cb_modify_args
*args
)
16910 switch (args
->event
) {
16911 case NB_EV_VALIDATE
:
16912 case NB_EV_PREPARE
:
16915 /* TODO: implement me. */
16924 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-as
16926 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
16927 struct nb_cb_modify_args
*args
)
16929 switch (args
->event
) {
16930 case NB_EV_VALIDATE
:
16931 case NB_EV_PREPARE
:
16934 /* TODO: implement me. */
16941 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
16942 struct nb_cb_destroy_args
*args
)
16944 switch (args
->event
) {
16945 case NB_EV_VALIDATE
:
16946 case NB_EV_PREPARE
:
16949 /* TODO: implement me. */
16958 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-origin-as
16960 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
16961 struct nb_cb_modify_args
*args
)
16963 switch (args
->event
) {
16964 case NB_EV_VALIDATE
:
16965 case NB_EV_PREPARE
:
16968 /* TODO: implement me. */
16975 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
16976 struct nb_cb_destroy_args
*args
)
16978 switch (args
->event
) {
16979 case NB_EV_VALIDATE
:
16980 case NB_EV_PREPARE
:
16983 /* TODO: implement me. */
16992 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/replace-peer-as
16994 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
16995 struct nb_cb_modify_args
*args
)
16997 switch (args
->event
) {
16998 case NB_EV_VALIDATE
:
16999 case NB_EV_PREPARE
:
17003 return bgp_neighbor_afi_safi_flag_modify(
17004 args
, PEER_FLAG_AS_OVERRIDE
,
17005 yang_dnode_get_bool(args
->dnode
, NULL
));
17015 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/originate
17017 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
17018 struct nb_cb_modify_args
*args
)
17020 switch (args
->event
) {
17021 case NB_EV_VALIDATE
:
17022 case NB_EV_PREPARE
:
17025 /* TODO: implement me. */
17034 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/route-map
17036 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
17037 struct nb_cb_modify_args
*args
)
17039 switch (args
->event
) {
17040 case NB_EV_VALIDATE
:
17041 case NB_EV_PREPARE
:
17044 /* TODO: implement me. */
17051 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
17052 struct nb_cb_destroy_args
*args
)
17054 switch (args
->event
) {
17055 case NB_EV_VALIDATE
:
17056 case NB_EV_PREPARE
:
17059 /* TODO: implement me. */
17068 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/as-path-unchanged
17070 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
17071 struct nb_cb_modify_args
*args
)
17073 switch (args
->event
) {
17074 case NB_EV_VALIDATE
:
17075 case NB_EV_PREPARE
:
17079 return bgp_neighbor_afi_safi_flag_modify(
17080 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
17081 yang_dnode_get_bool(args
->dnode
, NULL
));
17091 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/next-hop-unchanged
17093 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
17094 struct nb_cb_modify_args
*args
)
17096 switch (args
->event
) {
17097 case NB_EV_VALIDATE
:
17098 case NB_EV_PREPARE
:
17102 return bgp_neighbor_afi_safi_flag_modify(
17103 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
17104 yang_dnode_get_bool(args
->dnode
, NULL
));
17114 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/med-unchanged
17116 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
17117 struct nb_cb_modify_args
*args
)
17119 switch (args
->event
) {
17120 case NB_EV_VALIDATE
:
17121 case NB_EV_PREPARE
:
17125 return bgp_neighbor_afi_safi_flag_modify(
17126 args
, PEER_FLAG_MED_UNCHANGED
,
17127 yang_dnode_get_bool(args
->dnode
, NULL
));
17137 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-send
17139 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
17140 struct nb_cb_modify_args
*args
)
17142 switch (args
->event
) {
17143 case NB_EV_VALIDATE
:
17144 case NB_EV_PREPARE
:
17147 /* TODO: implement me. */
17154 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
17155 struct nb_cb_destroy_args
*args
)
17157 switch (args
->event
) {
17158 case NB_EV_VALIDATE
:
17159 case NB_EV_PREPARE
:
17162 /* TODO: implement me. */
17171 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-receive
17173 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
17174 struct nb_cb_modify_args
*args
)
17176 switch (args
->event
) {
17177 case NB_EV_VALIDATE
:
17178 case NB_EV_PREPARE
:
17181 /* TODO: implement me. */
17188 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
17189 struct nb_cb_destroy_args
*args
)
17191 switch (args
->event
) {
17192 case NB_EV_VALIDATE
:
17193 case NB_EV_PREPARE
:
17196 /* TODO: implement me. */
17205 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-both
17207 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
17208 struct nb_cb_modify_args
*args
)
17210 switch (args
->event
) {
17211 case NB_EV_VALIDATE
:
17212 case NB_EV_PREPARE
:
17215 /* TODO: implement me. */
17222 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
17223 struct nb_cb_destroy_args
*args
)
17225 switch (args
->event
) {
17226 case NB_EV_VALIDATE
:
17227 case NB_EV_PREPARE
:
17230 /* TODO: implement me. */
17239 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list
17241 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
17242 struct nb_cb_create_args
*args
)
17244 switch (args
->event
) {
17245 case NB_EV_VALIDATE
:
17246 case NB_EV_PREPARE
:
17249 /* TODO: implement me. */
17256 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
17257 struct nb_cb_destroy_args
*args
)
17259 switch (args
->event
) {
17260 case NB_EV_VALIDATE
:
17261 case NB_EV_PREPARE
:
17265 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
17273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/max-prefixes
17275 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
17276 struct nb_cb_modify_args
*args
)
17278 switch (args
->event
) {
17279 case NB_EV_VALIDATE
:
17280 case NB_EV_PREPARE
:
17283 /* TODO: implement me. */
17292 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/force-check
17294 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
17295 struct nb_cb_modify_args
*args
)
17297 switch (args
->event
) {
17298 case NB_EV_VALIDATE
:
17299 case NB_EV_PREPARE
:
17302 /* TODO: implement me. */
17311 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/warning-only
17313 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
17314 struct nb_cb_modify_args
*args
)
17316 switch (args
->event
) {
17317 case NB_EV_VALIDATE
:
17318 case NB_EV_PREPARE
:
17321 /* TODO: implement me. */
17328 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
17329 struct nb_cb_destroy_args
*args
)
17331 switch (args
->event
) {
17332 case NB_EV_VALIDATE
:
17333 case NB_EV_PREPARE
:
17336 /* TODO: implement me. */
17345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/restart-timer
17347 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
17348 struct nb_cb_modify_args
*args
)
17350 switch (args
->event
) {
17351 case NB_EV_VALIDATE
:
17352 case NB_EV_PREPARE
:
17355 /* TODO: implement me. */
17362 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
17363 struct nb_cb_destroy_args
*args
)
17365 switch (args
->event
) {
17366 case NB_EV_VALIDATE
:
17367 case NB_EV_PREPARE
:
17370 /* TODO: implement me. */
17379 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
17381 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
17382 struct nb_cb_modify_args
*args
)
17384 switch (args
->event
) {
17385 case NB_EV_VALIDATE
:
17386 case NB_EV_PREPARE
:
17389 /* TODO: implement me. */
17396 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
17397 struct nb_cb_destroy_args
*args
)
17399 switch (args
->event
) {
17400 case NB_EV_VALIDATE
:
17401 case NB_EV_PREPARE
:
17404 /* TODO: implement me. */
17413 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
17415 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
17416 struct nb_cb_modify_args
*args
)
17418 switch (args
->event
) {
17419 case NB_EV_VALIDATE
:
17420 case NB_EV_PREPARE
:
17423 /* TODO: implement me. */
17430 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
17431 struct nb_cb_destroy_args
*args
)
17433 switch (args
->event
) {
17434 case NB_EV_VALIDATE
:
17435 case NB_EV_PREPARE
:
17438 /* TODO: implement me. */
17447 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-restart-timer
17449 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
17450 struct nb_cb_modify_args
*args
)
17452 switch (args
->event
) {
17453 case NB_EV_VALIDATE
:
17454 case NB_EV_PREPARE
:
17457 /* TODO: implement me. */
17464 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
17465 struct nb_cb_destroy_args
*args
)
17467 switch (args
->event
) {
17468 case NB_EV_VALIDATE
:
17469 case NB_EV_PREPARE
:
17472 /* TODO: implement me. */
17481 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
17483 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
17484 struct nb_cb_modify_args
*args
)
17486 switch (args
->event
) {
17487 case NB_EV_VALIDATE
:
17488 case NB_EV_PREPARE
:
17491 /* TODO: implement me. */
17498 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
17499 struct nb_cb_destroy_args
*args
)
17501 switch (args
->event
) {
17502 case NB_EV_VALIDATE
:
17503 case NB_EV_PREPARE
:
17506 /* TODO: implement me. */
17515 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-warning-only
17517 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
17518 struct nb_cb_modify_args
*args
)
17520 switch (args
->event
) {
17521 case NB_EV_VALIDATE
:
17522 case NB_EV_PREPARE
:
17525 /* TODO: implement me. */
17532 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
17533 struct nb_cb_destroy_args
*args
)
17535 switch (args
->event
) {
17536 case NB_EV_VALIDATE
:
17537 case NB_EV_PREPARE
:
17540 /* TODO: implement me. */
17549 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self
17551 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
17552 struct nb_cb_modify_args
*args
)
17554 switch (args
->event
) {
17555 case NB_EV_VALIDATE
:
17556 case NB_EV_PREPARE
:
17560 return bgp_neighbor_afi_safi_flag_modify(
17561 args
, PEER_FLAG_NEXTHOP_SELF
,
17562 yang_dnode_get_bool(args
->dnode
, NULL
));
17572 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self-force
17574 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
17575 struct nb_cb_modify_args
*args
)
17577 switch (args
->event
) {
17578 case NB_EV_VALIDATE
:
17579 case NB_EV_PREPARE
:
17583 return bgp_neighbor_afi_safi_flag_modify(
17584 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
17585 yang_dnode_get_bool(args
->dnode
, NULL
));
17595 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all
17597 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
17598 struct nb_cb_modify_args
*args
)
17600 switch (args
->event
) {
17601 case NB_EV_VALIDATE
:
17602 case NB_EV_PREPARE
:
17606 return bgp_neighbor_afi_safi_flag_modify(
17607 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
17608 yang_dnode_get_bool(args
->dnode
, NULL
));
17618 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all-replace
17620 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
17621 struct nb_cb_modify_args
*args
)
17623 switch (args
->event
) {
17624 case NB_EV_VALIDATE
:
17625 case NB_EV_PREPARE
:
17629 return bgp_neighbor_afi_safi_flag_modify(
17630 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
17631 yang_dnode_get_bool(args
->dnode
, NULL
));
17641 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as
17643 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
17644 struct nb_cb_modify_args
*args
)
17646 switch (args
->event
) {
17647 case NB_EV_VALIDATE
:
17648 case NB_EV_PREPARE
:
17652 return bgp_neighbor_afi_safi_flag_modify(
17653 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
17654 yang_dnode_get_bool(args
->dnode
, NULL
));
17664 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-replace
17666 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
17667 struct nb_cb_modify_args
*args
)
17669 switch (args
->event
) {
17670 case NB_EV_VALIDATE
:
17671 case NB_EV_PREPARE
:
17675 return bgp_neighbor_afi_safi_flag_modify(
17676 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
17677 yang_dnode_get_bool(args
->dnode
, NULL
));
17687 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/route-reflector/route-reflector-client
17689 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
17690 struct nb_cb_modify_args
*args
)
17692 switch (args
->event
) {
17693 case NB_EV_VALIDATE
:
17694 case NB_EV_PREPARE
:
17698 return bgp_neighbor_afi_safi_flag_modify(
17699 args
, PEER_FLAG_REFLECTOR_CLIENT
,
17700 yang_dnode_get_bool(args
->dnode
, NULL
));
17710 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/route-server/route-server-client
17712 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
17713 struct nb_cb_modify_args
*args
)
17715 switch (args
->event
) {
17716 case NB_EV_VALIDATE
:
17717 case NB_EV_PREPARE
:
17721 return bgp_neighbor_afi_safi_flag_modify(
17722 args
, PEER_FLAG_RSERVER_CLIENT
,
17723 yang_dnode_get_bool(args
->dnode
, NULL
));
17733 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-community
17735 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
17736 struct nb_cb_modify_args
*args
)
17738 switch (args
->event
) {
17739 case NB_EV_VALIDATE
:
17740 case NB_EV_PREPARE
:
17744 return bgp_neighbor_afi_safi_flag_modify(
17745 args
, PEER_FLAG_SEND_COMMUNITY
,
17746 yang_dnode_get_bool(args
->dnode
, NULL
));
17756 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-ext-community
17758 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
17759 struct nb_cb_modify_args
*args
)
17761 switch (args
->event
) {
17762 case NB_EV_VALIDATE
:
17763 case NB_EV_PREPARE
:
17767 return bgp_neighbor_afi_safi_flag_modify(
17768 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
17769 yang_dnode_get_bool(args
->dnode
, NULL
));
17779 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-large-community
17781 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
17782 struct nb_cb_modify_args
*args
)
17784 switch (args
->event
) {
17785 case NB_EV_VALIDATE
:
17786 case NB_EV_PREPARE
:
17790 return bgp_neighbor_afi_safi_flag_modify(
17791 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
17792 yang_dnode_get_bool(args
->dnode
, NULL
));
17802 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
17804 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
17805 struct nb_cb_modify_args
*args
)
17807 switch (args
->event
) {
17808 case NB_EV_VALIDATE
:
17809 case NB_EV_PREPARE
:
17813 return bgp_neighbor_afi_safi_flag_modify(
17814 args
, PEER_FLAG_SOFT_RECONFIG
,
17815 yang_dnode_get_bool(args
->dnode
, NULL
));
17825 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/weight/weight-attribute
17827 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
17828 struct nb_cb_modify_args
*args
)
17830 switch (args
->event
) {
17831 case NB_EV_VALIDATE
:
17832 case NB_EV_PREPARE
:
17836 return bgp_neighbor_afi_safi_weight_modify(args
);
17844 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
17845 struct nb_cb_destroy_args
*args
)
17847 switch (args
->event
) {
17848 case NB_EV_VALIDATE
:
17849 case NB_EV_PREPARE
:
17853 return bgp_neighbor_afi_safi_weight_destroy(args
);
17863 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-import
17865 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
17866 struct nb_cb_modify_args
*args
)
17868 switch (args
->event
) {
17869 case NB_EV_VALIDATE
:
17870 case NB_EV_PREPARE
:
17874 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
17880 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
17881 struct nb_cb_destroy_args
*args
)
17883 switch (args
->event
) {
17884 case NB_EV_VALIDATE
:
17885 case NB_EV_PREPARE
:
17889 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
17897 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
17899 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
17900 struct nb_cb_modify_args
*args
)
17902 switch (args
->event
) {
17903 case NB_EV_VALIDATE
:
17904 case NB_EV_PREPARE
:
17908 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
17914 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
17915 struct nb_cb_destroy_args
*args
)
17917 switch (args
->event
) {
17918 case NB_EV_VALIDATE
:
17919 case NB_EV_PREPARE
:
17923 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
17931 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-import
17933 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
17934 struct nb_cb_modify_args
*args
)
17936 switch (args
->event
) {
17937 case NB_EV_VALIDATE
:
17938 case NB_EV_PREPARE
:
17942 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
17948 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
17949 struct nb_cb_destroy_args
*args
)
17951 switch (args
->event
) {
17952 case NB_EV_VALIDATE
:
17953 case NB_EV_PREPARE
:
17957 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
17965 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-export
17967 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
17968 struct nb_cb_modify_args
*args
)
17970 switch (args
->event
) {
17971 case NB_EV_VALIDATE
:
17972 case NB_EV_PREPARE
:
17976 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
17982 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
17983 struct nb_cb_destroy_args
*args
)
17985 switch (args
->event
) {
17986 case NB_EV_VALIDATE
:
17987 case NB_EV_PREPARE
:
17991 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
17999 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-import
18001 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
18002 struct nb_cb_modify_args
*args
)
18004 switch (args
->event
) {
18005 case NB_EV_VALIDATE
:
18006 case NB_EV_PREPARE
:
18009 /* TODO: implement me. */
18016 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
18017 struct nb_cb_destroy_args
*args
)
18019 switch (args
->event
) {
18020 case NB_EV_VALIDATE
:
18021 case NB_EV_PREPARE
:
18024 /* TODO: implement me. */
18033 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-export
18035 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
18036 struct nb_cb_modify_args
*args
)
18038 switch (args
->event
) {
18039 case NB_EV_VALIDATE
:
18040 case NB_EV_PREPARE
:
18043 /* TODO: implement me. */
18050 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
18051 struct nb_cb_destroy_args
*args
)
18053 switch (args
->event
) {
18054 case NB_EV_VALIDATE
:
18055 case NB_EV_PREPARE
:
18058 /* TODO: implement me. */
18067 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-import
18069 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
18070 struct nb_cb_modify_args
*args
)
18072 switch (args
->event
) {
18073 case NB_EV_VALIDATE
:
18074 case NB_EV_PREPARE
:
18077 /* TODO: implement me. */
18084 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
18085 struct nb_cb_destroy_args
*args
)
18087 switch (args
->event
) {
18088 case NB_EV_VALIDATE
:
18089 case NB_EV_PREPARE
:
18092 /* TODO: implement me. */
18101 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-export
18103 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
18104 struct nb_cb_modify_args
*args
)
18106 switch (args
->event
) {
18107 case NB_EV_VALIDATE
:
18108 case NB_EV_PREPARE
:
18111 /* TODO: implement me. */
18118 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
18119 struct nb_cb_destroy_args
*args
)
18121 switch (args
->event
) {
18122 case NB_EV_VALIDATE
:
18123 case NB_EV_PREPARE
:
18126 /* TODO: implement me. */
18135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-import
18137 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
18138 struct nb_cb_modify_args
*args
)
18140 switch (args
->event
) {
18141 case NB_EV_VALIDATE
:
18142 case NB_EV_PREPARE
:
18145 /* TODO: implement me. */
18152 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
18153 struct nb_cb_destroy_args
*args
)
18155 switch (args
->event
) {
18156 case NB_EV_VALIDATE
:
18157 case NB_EV_PREPARE
:
18160 /* TODO: implement me. */
18169 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-export
18171 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
18172 struct nb_cb_modify_args
*args
)
18174 switch (args
->event
) {
18175 case NB_EV_VALIDATE
:
18176 case NB_EV_PREPARE
:
18179 /* TODO: implement me. */
18186 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
18187 struct nb_cb_destroy_args
*args
)
18189 switch (args
->event
) {
18190 case NB_EV_VALIDATE
:
18191 case NB_EV_PREPARE
:
18194 /* TODO: implement me. */
18203 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/add-paths/path-type
18205 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
18206 struct nb_cb_modify_args
*args
)
18208 switch (args
->event
) {
18209 case NB_EV_VALIDATE
:
18210 case NB_EV_PREPARE
:
18213 /* TODO: implement me. */
18222 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-as
18224 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
18225 struct nb_cb_modify_args
*args
)
18227 switch (args
->event
) {
18228 case NB_EV_VALIDATE
:
18229 case NB_EV_PREPARE
:
18232 /* TODO: implement me. */
18239 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
18240 struct nb_cb_destroy_args
*args
)
18242 switch (args
->event
) {
18243 case NB_EV_VALIDATE
:
18244 case NB_EV_PREPARE
:
18247 /* TODO: implement me. */
18256 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-origin-as
18258 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
18259 struct nb_cb_modify_args
*args
)
18261 switch (args
->event
) {
18262 case NB_EV_VALIDATE
:
18263 case NB_EV_PREPARE
:
18266 /* TODO: implement me. */
18273 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
18274 struct nb_cb_destroy_args
*args
)
18276 switch (args
->event
) {
18277 case NB_EV_VALIDATE
:
18278 case NB_EV_PREPARE
:
18281 /* TODO: implement me. */
18290 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/replace-peer-as
18292 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
18293 struct nb_cb_modify_args
*args
)
18295 switch (args
->event
) {
18296 case NB_EV_VALIDATE
:
18297 case NB_EV_PREPARE
:
18301 return bgp_neighbor_afi_safi_flag_modify(
18302 args
, PEER_FLAG_AS_OVERRIDE
,
18303 yang_dnode_get_bool(args
->dnode
, NULL
));
18313 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/originate
18315 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
18316 struct nb_cb_modify_args
*args
)
18318 switch (args
->event
) {
18319 case NB_EV_VALIDATE
:
18320 case NB_EV_PREPARE
:
18323 /* TODO: implement me. */
18332 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/route-map
18334 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
18335 struct nb_cb_modify_args
*args
)
18337 switch (args
->event
) {
18338 case NB_EV_VALIDATE
:
18339 case NB_EV_PREPARE
:
18342 /* TODO: implement me. */
18349 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
18350 struct nb_cb_destroy_args
*args
)
18352 switch (args
->event
) {
18353 case NB_EV_VALIDATE
:
18354 case NB_EV_PREPARE
:
18357 /* TODO: implement me. */
18366 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/as-path-unchanged
18368 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
18369 struct nb_cb_modify_args
*args
)
18371 switch (args
->event
) {
18372 case NB_EV_VALIDATE
:
18373 case NB_EV_PREPARE
:
18377 return bgp_neighbor_afi_safi_flag_modify(
18378 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
18379 yang_dnode_get_bool(args
->dnode
, NULL
));
18389 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/next-hop-unchanged
18391 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
18392 struct nb_cb_modify_args
*args
)
18394 switch (args
->event
) {
18395 case NB_EV_VALIDATE
:
18396 case NB_EV_PREPARE
:
18400 return bgp_neighbor_afi_safi_flag_modify(
18401 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
18402 yang_dnode_get_bool(args
->dnode
, NULL
));
18412 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/med-unchanged
18414 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
18415 struct nb_cb_modify_args
*args
)
18417 switch (args
->event
) {
18418 case NB_EV_VALIDATE
:
18419 case NB_EV_PREPARE
:
18423 return bgp_neighbor_afi_safi_flag_modify(
18424 args
, PEER_FLAG_MED_UNCHANGED
,
18425 yang_dnode_get_bool(args
->dnode
, NULL
));
18435 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-send
18437 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
18438 struct nb_cb_modify_args
*args
)
18440 switch (args
->event
) {
18441 case NB_EV_VALIDATE
:
18442 case NB_EV_PREPARE
:
18445 /* TODO: implement me. */
18452 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
18453 struct nb_cb_destroy_args
*args
)
18455 switch (args
->event
) {
18456 case NB_EV_VALIDATE
:
18457 case NB_EV_PREPARE
:
18460 /* TODO: implement me. */
18469 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-receive
18471 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
18472 struct nb_cb_modify_args
*args
)
18474 switch (args
->event
) {
18475 case NB_EV_VALIDATE
:
18476 case NB_EV_PREPARE
:
18479 /* TODO: implement me. */
18486 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
18487 struct nb_cb_destroy_args
*args
)
18489 switch (args
->event
) {
18490 case NB_EV_VALIDATE
:
18491 case NB_EV_PREPARE
:
18494 /* TODO: implement me. */
18503 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-both
18505 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
18506 struct nb_cb_modify_args
*args
)
18508 switch (args
->event
) {
18509 case NB_EV_VALIDATE
:
18510 case NB_EV_PREPARE
:
18513 /* TODO: implement me. */
18520 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
18521 struct nb_cb_destroy_args
*args
)
18523 switch (args
->event
) {
18524 case NB_EV_VALIDATE
:
18525 case NB_EV_PREPARE
:
18528 /* TODO: implement me. */
18537 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list
18539 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
18540 struct nb_cb_create_args
*args
)
18542 switch (args
->event
) {
18543 case NB_EV_VALIDATE
:
18544 case NB_EV_PREPARE
:
18547 /* TODO: implement me. */
18554 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
18555 struct nb_cb_destroy_args
*args
)
18557 switch (args
->event
) {
18558 case NB_EV_VALIDATE
:
18559 case NB_EV_PREPARE
:
18563 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
18571 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/max-prefixes
18573 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
18574 struct nb_cb_modify_args
*args
)
18576 switch (args
->event
) {
18577 case NB_EV_VALIDATE
:
18578 case NB_EV_PREPARE
:
18581 /* TODO: implement me. */
18590 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/force-check
18592 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
18593 struct nb_cb_modify_args
*args
)
18595 switch (args
->event
) {
18596 case NB_EV_VALIDATE
:
18597 case NB_EV_PREPARE
:
18600 /* TODO: implement me. */
18609 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/warning-only
18611 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
18612 struct nb_cb_modify_args
*args
)
18614 switch (args
->event
) {
18615 case NB_EV_VALIDATE
:
18616 case NB_EV_PREPARE
:
18619 /* TODO: implement me. */
18626 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
18627 struct nb_cb_destroy_args
*args
)
18629 switch (args
->event
) {
18630 case NB_EV_VALIDATE
:
18631 case NB_EV_PREPARE
:
18634 /* TODO: implement me. */
18643 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/restart-timer
18645 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
18646 struct nb_cb_modify_args
*args
)
18648 switch (args
->event
) {
18649 case NB_EV_VALIDATE
:
18650 case NB_EV_PREPARE
:
18653 /* TODO: implement me. */
18660 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
18661 struct nb_cb_destroy_args
*args
)
18663 switch (args
->event
) {
18664 case NB_EV_VALIDATE
:
18665 case NB_EV_PREPARE
:
18668 /* TODO: implement me. */
18677 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
18679 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
18680 struct nb_cb_modify_args
*args
)
18682 switch (args
->event
) {
18683 case NB_EV_VALIDATE
:
18684 case NB_EV_PREPARE
:
18687 /* TODO: implement me. */
18694 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
18695 struct nb_cb_destroy_args
*args
)
18697 switch (args
->event
) {
18698 case NB_EV_VALIDATE
:
18699 case NB_EV_PREPARE
:
18702 /* TODO: implement me. */
18711 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
18713 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
18714 struct nb_cb_modify_args
*args
)
18716 switch (args
->event
) {
18717 case NB_EV_VALIDATE
:
18718 case NB_EV_PREPARE
:
18721 /* TODO: implement me. */
18728 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
18729 struct nb_cb_destroy_args
*args
)
18731 switch (args
->event
) {
18732 case NB_EV_VALIDATE
:
18733 case NB_EV_PREPARE
:
18736 /* TODO: implement me. */
18745 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-restart-timer
18747 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
18748 struct nb_cb_modify_args
*args
)
18750 switch (args
->event
) {
18751 case NB_EV_VALIDATE
:
18752 case NB_EV_PREPARE
:
18755 /* TODO: implement me. */
18762 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
18763 struct nb_cb_destroy_args
*args
)
18765 switch (args
->event
) {
18766 case NB_EV_VALIDATE
:
18767 case NB_EV_PREPARE
:
18770 /* TODO: implement me. */
18779 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
18781 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
18782 struct nb_cb_modify_args
*args
)
18784 switch (args
->event
) {
18785 case NB_EV_VALIDATE
:
18786 case NB_EV_PREPARE
:
18789 /* TODO: implement me. */
18796 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
18797 struct nb_cb_destroy_args
*args
)
18799 switch (args
->event
) {
18800 case NB_EV_VALIDATE
:
18801 case NB_EV_PREPARE
:
18804 /* TODO: implement me. */
18813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-warning-only
18815 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
18816 struct nb_cb_modify_args
*args
)
18818 switch (args
->event
) {
18819 case NB_EV_VALIDATE
:
18820 case NB_EV_PREPARE
:
18823 /* TODO: implement me. */
18830 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
18831 struct nb_cb_destroy_args
*args
)
18833 switch (args
->event
) {
18834 case NB_EV_VALIDATE
:
18835 case NB_EV_PREPARE
:
18838 /* TODO: implement me. */
18847 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self
18849 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
18850 struct nb_cb_modify_args
*args
)
18852 switch (args
->event
) {
18853 case NB_EV_VALIDATE
:
18854 case NB_EV_PREPARE
:
18858 return bgp_neighbor_afi_safi_flag_modify(
18859 args
, PEER_FLAG_NEXTHOP_SELF
,
18860 yang_dnode_get_bool(args
->dnode
, NULL
));
18870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self-force
18872 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
18873 struct nb_cb_modify_args
*args
)
18875 switch (args
->event
) {
18876 case NB_EV_VALIDATE
:
18877 case NB_EV_PREPARE
:
18881 return bgp_neighbor_afi_safi_flag_modify(
18882 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
18883 yang_dnode_get_bool(args
->dnode
, NULL
));
18893 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all
18895 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
18896 struct nb_cb_modify_args
*args
)
18898 switch (args
->event
) {
18899 case NB_EV_VALIDATE
:
18900 case NB_EV_PREPARE
:
18904 return bgp_neighbor_afi_safi_flag_modify(
18905 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
18906 yang_dnode_get_bool(args
->dnode
, NULL
));
18916 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all-replace
18918 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
18919 struct nb_cb_modify_args
*args
)
18921 switch (args
->event
) {
18922 case NB_EV_VALIDATE
:
18923 case NB_EV_PREPARE
:
18927 return bgp_neighbor_afi_safi_flag_modify(
18928 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
18929 yang_dnode_get_bool(args
->dnode
, NULL
));
18939 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as
18941 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
18942 struct nb_cb_modify_args
*args
)
18944 switch (args
->event
) {
18945 case NB_EV_VALIDATE
:
18946 case NB_EV_PREPARE
:
18950 return bgp_neighbor_afi_safi_flag_modify(
18951 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
18952 yang_dnode_get_bool(args
->dnode
, NULL
));
18962 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-replace
18964 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
18965 struct nb_cb_modify_args
*args
)
18967 switch (args
->event
) {
18968 case NB_EV_VALIDATE
:
18969 case NB_EV_PREPARE
:
18973 return bgp_neighbor_afi_safi_flag_modify(
18974 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
18975 yang_dnode_get_bool(args
->dnode
, NULL
));
18985 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/route-reflector/route-reflector-client
18987 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
18988 struct nb_cb_modify_args
*args
)
18990 switch (args
->event
) {
18991 case NB_EV_VALIDATE
:
18992 case NB_EV_PREPARE
:
18996 return bgp_neighbor_afi_safi_flag_modify(
18997 args
, PEER_FLAG_REFLECTOR_CLIENT
,
18998 yang_dnode_get_bool(args
->dnode
, NULL
));
19008 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/route-server/route-server-client
19010 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
19011 struct nb_cb_modify_args
*args
)
19013 switch (args
->event
) {
19014 case NB_EV_VALIDATE
:
19015 case NB_EV_PREPARE
:
19019 return bgp_neighbor_afi_safi_flag_modify(
19020 args
, PEER_FLAG_RSERVER_CLIENT
,
19021 yang_dnode_get_bool(args
->dnode
, NULL
));
19031 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-community
19033 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
19034 struct nb_cb_modify_args
*args
)
19036 switch (args
->event
) {
19037 case NB_EV_VALIDATE
:
19038 case NB_EV_PREPARE
:
19042 return bgp_neighbor_afi_safi_flag_modify(
19043 args
, PEER_FLAG_SEND_COMMUNITY
,
19044 yang_dnode_get_bool(args
->dnode
, NULL
));
19054 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-ext-community
19056 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
19057 struct nb_cb_modify_args
*args
)
19059 switch (args
->event
) {
19060 case NB_EV_VALIDATE
:
19061 case NB_EV_PREPARE
:
19065 return bgp_neighbor_afi_safi_flag_modify(
19066 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
19067 yang_dnode_get_bool(args
->dnode
, NULL
));
19077 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-large-community
19079 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
19080 struct nb_cb_modify_args
*args
)
19082 switch (args
->event
) {
19083 case NB_EV_VALIDATE
:
19084 case NB_EV_PREPARE
:
19088 return bgp_neighbor_afi_safi_flag_modify(
19089 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
19090 yang_dnode_get_bool(args
->dnode
, NULL
));
19100 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
19102 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
19103 struct nb_cb_modify_args
*args
)
19105 switch (args
->event
) {
19106 case NB_EV_VALIDATE
:
19107 case NB_EV_PREPARE
:
19111 return bgp_neighbor_afi_safi_flag_modify(
19112 args
, PEER_FLAG_SOFT_RECONFIG
,
19113 yang_dnode_get_bool(args
->dnode
, NULL
));
19123 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/weight/weight-attribute
19125 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
19126 struct nb_cb_modify_args
*args
)
19128 switch (args
->event
) {
19129 case NB_EV_VALIDATE
:
19130 case NB_EV_PREPARE
:
19134 return bgp_neighbor_afi_safi_weight_modify(args
);
19142 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
19143 struct nb_cb_destroy_args
*args
)
19145 switch (args
->event
) {
19146 case NB_EV_VALIDATE
:
19147 case NB_EV_PREPARE
:
19151 return bgp_neighbor_afi_safi_weight_destroy(args
);
19161 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-import
19163 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
19164 struct nb_cb_modify_args
*args
)
19166 switch (args
->event
) {
19167 case NB_EV_VALIDATE
:
19168 case NB_EV_PREPARE
:
19172 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
19178 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
19179 struct nb_cb_destroy_args
*args
)
19181 switch (args
->event
) {
19182 case NB_EV_VALIDATE
:
19183 case NB_EV_PREPARE
:
19187 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
19195 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-export
19197 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
19198 struct nb_cb_modify_args
*args
)
19200 switch (args
->event
) {
19201 case NB_EV_VALIDATE
:
19202 case NB_EV_PREPARE
:
19206 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
19212 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
19213 struct nb_cb_destroy_args
*args
)
19215 switch (args
->event
) {
19216 case NB_EV_VALIDATE
:
19217 case NB_EV_PREPARE
:
19221 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
19229 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-import
19231 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
19232 struct nb_cb_modify_args
*args
)
19234 switch (args
->event
) {
19235 case NB_EV_VALIDATE
:
19236 case NB_EV_PREPARE
:
19240 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
19246 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
19247 struct nb_cb_destroy_args
*args
)
19249 switch (args
->event
) {
19250 case NB_EV_VALIDATE
:
19251 case NB_EV_PREPARE
:
19255 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
19263 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-export
19265 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
19266 struct nb_cb_modify_args
*args
)
19268 switch (args
->event
) {
19269 case NB_EV_VALIDATE
:
19270 case NB_EV_PREPARE
:
19274 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
19280 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
19281 struct nb_cb_destroy_args
*args
)
19283 switch (args
->event
) {
19284 case NB_EV_VALIDATE
:
19285 case NB_EV_PREPARE
:
19289 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
19297 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-import
19299 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
19300 struct nb_cb_modify_args
*args
)
19302 switch (args
->event
) {
19303 case NB_EV_VALIDATE
:
19304 case NB_EV_PREPARE
:
19307 /* TODO: implement me. */
19314 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
19315 struct nb_cb_destroy_args
*args
)
19317 switch (args
->event
) {
19318 case NB_EV_VALIDATE
:
19319 case NB_EV_PREPARE
:
19322 /* TODO: implement me. */
19331 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-export
19333 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
19334 struct nb_cb_modify_args
*args
)
19336 switch (args
->event
) {
19337 case NB_EV_VALIDATE
:
19338 case NB_EV_PREPARE
:
19341 /* TODO: implement me. */
19348 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
19349 struct nb_cb_destroy_args
*args
)
19351 switch (args
->event
) {
19352 case NB_EV_VALIDATE
:
19353 case NB_EV_PREPARE
:
19356 /* TODO: implement me. */
19365 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-import
19367 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
19368 struct nb_cb_modify_args
*args
)
19370 switch (args
->event
) {
19371 case NB_EV_VALIDATE
:
19372 case NB_EV_PREPARE
:
19375 /* TODO: implement me. */
19382 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
19383 struct nb_cb_destroy_args
*args
)
19385 switch (args
->event
) {
19386 case NB_EV_VALIDATE
:
19387 case NB_EV_PREPARE
:
19390 /* TODO: implement me. */
19399 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-export
19401 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
19402 struct nb_cb_modify_args
*args
)
19404 switch (args
->event
) {
19405 case NB_EV_VALIDATE
:
19406 case NB_EV_PREPARE
:
19409 /* TODO: implement me. */
19416 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
19417 struct nb_cb_destroy_args
*args
)
19419 switch (args
->event
) {
19420 case NB_EV_VALIDATE
:
19421 case NB_EV_PREPARE
:
19424 /* TODO: implement me. */
19433 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-import
19435 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
19436 struct nb_cb_modify_args
*args
)
19438 switch (args
->event
) {
19439 case NB_EV_VALIDATE
:
19440 case NB_EV_PREPARE
:
19443 /* TODO: implement me. */
19450 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
19451 struct nb_cb_destroy_args
*args
)
19453 switch (args
->event
) {
19454 case NB_EV_VALIDATE
:
19455 case NB_EV_PREPARE
:
19458 /* TODO: implement me. */
19467 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-export
19469 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
19470 struct nb_cb_modify_args
*args
)
19472 switch (args
->event
) {
19473 case NB_EV_VALIDATE
:
19474 case NB_EV_PREPARE
:
19477 /* TODO: implement me. */
19484 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
19485 struct nb_cb_destroy_args
*args
)
19487 switch (args
->event
) {
19488 case NB_EV_VALIDATE
:
19489 case NB_EV_PREPARE
:
19492 /* TODO: implement me. */
19501 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/add-paths/path-type
19503 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
19504 struct nb_cb_modify_args
*args
)
19506 switch (args
->event
) {
19507 case NB_EV_VALIDATE
:
19508 case NB_EV_PREPARE
:
19511 /* TODO: implement me. */
19520 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-as
19522 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
19523 struct nb_cb_modify_args
*args
)
19525 switch (args
->event
) {
19526 case NB_EV_VALIDATE
:
19527 case NB_EV_PREPARE
:
19530 /* TODO: implement me. */
19537 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
19538 struct nb_cb_destroy_args
*args
)
19540 switch (args
->event
) {
19541 case NB_EV_VALIDATE
:
19542 case NB_EV_PREPARE
:
19545 /* TODO: implement me. */
19554 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-origin-as
19556 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
19557 struct nb_cb_modify_args
*args
)
19559 switch (args
->event
) {
19560 case NB_EV_VALIDATE
:
19561 case NB_EV_PREPARE
:
19564 /* TODO: implement me. */
19571 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
19572 struct nb_cb_destroy_args
*args
)
19574 switch (args
->event
) {
19575 case NB_EV_VALIDATE
:
19576 case NB_EV_PREPARE
:
19579 /* TODO: implement me. */
19588 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/replace-peer-as
19590 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
19591 struct nb_cb_modify_args
*args
)
19593 switch (args
->event
) {
19594 case NB_EV_VALIDATE
:
19595 case NB_EV_PREPARE
:
19599 return bgp_neighbor_afi_safi_flag_modify(
19600 args
, PEER_FLAG_AS_OVERRIDE
,
19601 yang_dnode_get_bool(args
->dnode
, NULL
));
19611 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/originate
19613 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
19614 struct nb_cb_modify_args
*args
)
19616 switch (args
->event
) {
19617 case NB_EV_VALIDATE
:
19618 case NB_EV_PREPARE
:
19621 /* TODO: implement me. */
19630 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/route-map
19632 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
19633 struct nb_cb_modify_args
*args
)
19635 switch (args
->event
) {
19636 case NB_EV_VALIDATE
:
19637 case NB_EV_PREPARE
:
19640 /* TODO: implement me. */
19647 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
19648 struct nb_cb_destroy_args
*args
)
19650 switch (args
->event
) {
19651 case NB_EV_VALIDATE
:
19652 case NB_EV_PREPARE
:
19655 /* TODO: implement me. */
19664 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/as-path-unchanged
19666 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
19667 struct nb_cb_modify_args
*args
)
19669 switch (args
->event
) {
19670 case NB_EV_VALIDATE
:
19671 case NB_EV_PREPARE
:
19675 return bgp_neighbor_afi_safi_flag_modify(
19676 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
19677 yang_dnode_get_bool(args
->dnode
, NULL
));
19687 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/next-hop-unchanged
19689 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
19690 struct nb_cb_modify_args
*args
)
19692 switch (args
->event
) {
19693 case NB_EV_VALIDATE
:
19694 case NB_EV_PREPARE
:
19698 return bgp_neighbor_afi_safi_flag_modify(
19699 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
19700 yang_dnode_get_bool(args
->dnode
, NULL
));
19710 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/med-unchanged
19712 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
19713 struct nb_cb_modify_args
*args
)
19715 switch (args
->event
) {
19716 case NB_EV_VALIDATE
:
19717 case NB_EV_PREPARE
:
19721 return bgp_neighbor_afi_safi_flag_modify(
19722 args
, PEER_FLAG_MED_UNCHANGED
,
19723 yang_dnode_get_bool(args
->dnode
, NULL
));
19733 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-send
19735 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
19736 struct nb_cb_modify_args
*args
)
19738 switch (args
->event
) {
19739 case NB_EV_VALIDATE
:
19740 case NB_EV_PREPARE
:
19743 /* TODO: implement me. */
19750 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
19751 struct nb_cb_destroy_args
*args
)
19753 switch (args
->event
) {
19754 case NB_EV_VALIDATE
:
19755 case NB_EV_PREPARE
:
19758 /* TODO: implement me. */
19767 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-receive
19769 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
19770 struct nb_cb_modify_args
*args
)
19772 switch (args
->event
) {
19773 case NB_EV_VALIDATE
:
19774 case NB_EV_PREPARE
:
19777 /* TODO: implement me. */
19784 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
19785 struct nb_cb_destroy_args
*args
)
19787 switch (args
->event
) {
19788 case NB_EV_VALIDATE
:
19789 case NB_EV_PREPARE
:
19792 /* TODO: implement me. */
19801 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-both
19803 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
19804 struct nb_cb_modify_args
*args
)
19806 switch (args
->event
) {
19807 case NB_EV_VALIDATE
:
19808 case NB_EV_PREPARE
:
19811 /* TODO: implement me. */
19818 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
19819 struct nb_cb_destroy_args
*args
)
19821 switch (args
->event
) {
19822 case NB_EV_VALIDATE
:
19823 case NB_EV_PREPARE
:
19826 /* TODO: implement me. */
19835 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list
19837 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
19838 struct nb_cb_create_args
*args
)
19840 switch (args
->event
) {
19841 case NB_EV_VALIDATE
:
19842 case NB_EV_PREPARE
:
19845 /* TODO: implement me. */
19852 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
19853 struct nb_cb_destroy_args
*args
)
19855 switch (args
->event
) {
19856 case NB_EV_VALIDATE
:
19857 case NB_EV_PREPARE
:
19861 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
19869 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/max-prefixes
19871 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
19872 struct nb_cb_modify_args
*args
)
19874 switch (args
->event
) {
19875 case NB_EV_VALIDATE
:
19876 case NB_EV_PREPARE
:
19879 /* TODO: implement me. */
19888 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/force-check
19890 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
19891 struct nb_cb_modify_args
*args
)
19893 switch (args
->event
) {
19894 case NB_EV_VALIDATE
:
19895 case NB_EV_PREPARE
:
19898 /* TODO: implement me. */
19907 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/warning-only
19909 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
19910 struct nb_cb_modify_args
*args
)
19912 switch (args
->event
) {
19913 case NB_EV_VALIDATE
:
19914 case NB_EV_PREPARE
:
19917 /* TODO: implement me. */
19924 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
19925 struct nb_cb_destroy_args
*args
)
19927 switch (args
->event
) {
19928 case NB_EV_VALIDATE
:
19929 case NB_EV_PREPARE
:
19932 /* TODO: implement me. */
19941 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/restart-timer
19943 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
19944 struct nb_cb_modify_args
*args
)
19946 switch (args
->event
) {
19947 case NB_EV_VALIDATE
:
19948 case NB_EV_PREPARE
:
19951 /* TODO: implement me. */
19958 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
19959 struct nb_cb_destroy_args
*args
)
19961 switch (args
->event
) {
19962 case NB_EV_VALIDATE
:
19963 case NB_EV_PREPARE
:
19966 /* TODO: implement me. */
19975 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
19977 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
19978 struct nb_cb_modify_args
*args
)
19980 switch (args
->event
) {
19981 case NB_EV_VALIDATE
:
19982 case NB_EV_PREPARE
:
19985 /* TODO: implement me. */
19992 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
19993 struct nb_cb_destroy_args
*args
)
19995 switch (args
->event
) {
19996 case NB_EV_VALIDATE
:
19997 case NB_EV_PREPARE
:
20000 /* TODO: implement me. */
20009 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
20011 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
20012 struct nb_cb_modify_args
*args
)
20014 switch (args
->event
) {
20015 case NB_EV_VALIDATE
:
20016 case NB_EV_PREPARE
:
20019 /* TODO: implement me. */
20026 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
20027 struct nb_cb_destroy_args
*args
)
20029 switch (args
->event
) {
20030 case NB_EV_VALIDATE
:
20031 case NB_EV_PREPARE
:
20034 /* TODO: implement me. */
20043 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
20045 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
20046 struct nb_cb_modify_args
*args
)
20048 switch (args
->event
) {
20049 case NB_EV_VALIDATE
:
20050 case NB_EV_PREPARE
:
20053 /* TODO: implement me. */
20060 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
20061 struct nb_cb_destroy_args
*args
)
20063 switch (args
->event
) {
20064 case NB_EV_VALIDATE
:
20065 case NB_EV_PREPARE
:
20068 /* TODO: implement me. */
20077 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
20079 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
20080 struct nb_cb_modify_args
*args
)
20082 switch (args
->event
) {
20083 case NB_EV_VALIDATE
:
20084 case NB_EV_PREPARE
:
20087 /* TODO: implement me. */
20094 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
20095 struct nb_cb_destroy_args
*args
)
20097 switch (args
->event
) {
20098 case NB_EV_VALIDATE
:
20099 case NB_EV_PREPARE
:
20102 /* TODO: implement me. */
20111 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
20113 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
20114 struct nb_cb_modify_args
*args
)
20116 switch (args
->event
) {
20117 case NB_EV_VALIDATE
:
20118 case NB_EV_PREPARE
:
20121 /* TODO: implement me. */
20128 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
20129 struct nb_cb_destroy_args
*args
)
20131 switch (args
->event
) {
20132 case NB_EV_VALIDATE
:
20133 case NB_EV_PREPARE
:
20136 /* TODO: implement me. */
20145 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self
20147 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
20148 struct nb_cb_modify_args
*args
)
20150 switch (args
->event
) {
20151 case NB_EV_VALIDATE
:
20152 case NB_EV_PREPARE
:
20156 return bgp_neighbor_afi_safi_flag_modify(
20157 args
, PEER_FLAG_NEXTHOP_SELF
,
20158 yang_dnode_get_bool(args
->dnode
, NULL
));
20168 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self-force
20170 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
20171 struct nb_cb_modify_args
*args
)
20173 switch (args
->event
) {
20174 case NB_EV_VALIDATE
:
20175 case NB_EV_PREPARE
:
20179 return bgp_neighbor_afi_safi_flag_modify(
20180 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
20181 yang_dnode_get_bool(args
->dnode
, NULL
));
20191 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all
20193 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
20194 struct nb_cb_modify_args
*args
)
20196 switch (args
->event
) {
20197 case NB_EV_VALIDATE
:
20198 case NB_EV_PREPARE
:
20202 return bgp_neighbor_afi_safi_flag_modify(
20203 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
20204 yang_dnode_get_bool(args
->dnode
, NULL
));
20214 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all-replace
20216 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
20217 struct nb_cb_modify_args
*args
)
20219 switch (args
->event
) {
20220 case NB_EV_VALIDATE
:
20221 case NB_EV_PREPARE
:
20225 return bgp_neighbor_afi_safi_flag_modify(
20226 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
20227 yang_dnode_get_bool(args
->dnode
, NULL
));
20237 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as
20239 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
20240 struct nb_cb_modify_args
*args
)
20242 switch (args
->event
) {
20243 case NB_EV_VALIDATE
:
20244 case NB_EV_PREPARE
:
20248 return bgp_neighbor_afi_safi_flag_modify(
20249 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
20250 yang_dnode_get_bool(args
->dnode
, NULL
));
20260 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-replace
20262 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
20263 struct nb_cb_modify_args
*args
)
20265 switch (args
->event
) {
20266 case NB_EV_VALIDATE
:
20267 case NB_EV_PREPARE
:
20271 return bgp_neighbor_afi_safi_flag_modify(
20272 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
20273 yang_dnode_get_bool(args
->dnode
, NULL
));
20283 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/route-reflector/route-reflector-client
20285 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
20286 struct nb_cb_modify_args
*args
)
20288 switch (args
->event
) {
20289 case NB_EV_VALIDATE
:
20290 case NB_EV_PREPARE
:
20294 return bgp_neighbor_afi_safi_flag_modify(
20295 args
, PEER_FLAG_REFLECTOR_CLIENT
,
20296 yang_dnode_get_bool(args
->dnode
, NULL
));
20306 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/route-server/route-server-client
20308 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
20309 struct nb_cb_modify_args
*args
)
20311 switch (args
->event
) {
20312 case NB_EV_VALIDATE
:
20313 case NB_EV_PREPARE
:
20317 return bgp_neighbor_afi_safi_flag_modify(
20318 args
, PEER_FLAG_RSERVER_CLIENT
,
20319 yang_dnode_get_bool(args
->dnode
, NULL
));
20329 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-community
20331 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
20332 struct nb_cb_modify_args
*args
)
20334 switch (args
->event
) {
20335 case NB_EV_VALIDATE
:
20336 case NB_EV_PREPARE
:
20340 return bgp_neighbor_afi_safi_flag_modify(
20341 args
, PEER_FLAG_SEND_COMMUNITY
,
20342 yang_dnode_get_bool(args
->dnode
, NULL
));
20352 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-ext-community
20354 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
20355 struct nb_cb_modify_args
*args
)
20357 switch (args
->event
) {
20358 case NB_EV_VALIDATE
:
20359 case NB_EV_PREPARE
:
20363 return bgp_neighbor_afi_safi_flag_modify(
20364 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
20365 yang_dnode_get_bool(args
->dnode
, NULL
));
20375 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-large-community
20377 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
20378 struct nb_cb_modify_args
*args
)
20380 switch (args
->event
) {
20381 case NB_EV_VALIDATE
:
20382 case NB_EV_PREPARE
:
20386 return bgp_neighbor_afi_safi_flag_modify(
20387 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
20388 yang_dnode_get_bool(args
->dnode
, NULL
));
20398 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/soft-reconfiguration
20400 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
20401 struct nb_cb_modify_args
*args
)
20403 switch (args
->event
) {
20404 case NB_EV_VALIDATE
:
20405 case NB_EV_PREPARE
:
20409 return bgp_neighbor_afi_safi_flag_modify(
20410 args
, PEER_FLAG_SOFT_RECONFIG
,
20411 yang_dnode_get_bool(args
->dnode
, NULL
));
20421 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/weight/weight-attribute
20423 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
20424 struct nb_cb_modify_args
*args
)
20426 switch (args
->event
) {
20427 case NB_EV_VALIDATE
:
20428 case NB_EV_PREPARE
:
20432 return bgp_neighbor_afi_safi_weight_modify(args
);
20440 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
20441 struct nb_cb_destroy_args
*args
)
20443 switch (args
->event
) {
20444 case NB_EV_VALIDATE
:
20445 case NB_EV_PREPARE
:
20449 return bgp_neighbor_afi_safi_weight_destroy(args
);
20459 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-import
20461 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
20462 struct nb_cb_modify_args
*args
)
20464 switch (args
->event
) {
20465 case NB_EV_VALIDATE
:
20466 case NB_EV_PREPARE
:
20470 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
20476 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
20477 struct nb_cb_destroy_args
*args
)
20479 switch (args
->event
) {
20480 case NB_EV_VALIDATE
:
20481 case NB_EV_PREPARE
:
20485 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
20493 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-export
20495 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
20496 struct nb_cb_modify_args
*args
)
20498 switch (args
->event
) {
20499 case NB_EV_VALIDATE
:
20500 case NB_EV_PREPARE
:
20504 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
20510 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
20511 struct nb_cb_destroy_args
*args
)
20513 switch (args
->event
) {
20514 case NB_EV_VALIDATE
:
20515 case NB_EV_PREPARE
:
20519 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
20527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-import
20529 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
20530 struct nb_cb_modify_args
*args
)
20532 switch (args
->event
) {
20533 case NB_EV_VALIDATE
:
20534 case NB_EV_PREPARE
:
20538 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
20544 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
20545 struct nb_cb_destroy_args
*args
)
20547 switch (args
->event
) {
20548 case NB_EV_VALIDATE
:
20549 case NB_EV_PREPARE
:
20553 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
20561 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-export
20563 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
20564 struct nb_cb_modify_args
*args
)
20566 switch (args
->event
) {
20567 case NB_EV_VALIDATE
:
20568 case NB_EV_PREPARE
:
20572 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
20578 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
20579 struct nb_cb_destroy_args
*args
)
20581 switch (args
->event
) {
20582 case NB_EV_VALIDATE
:
20583 case NB_EV_PREPARE
:
20587 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
20595 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-import
20597 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
20598 struct nb_cb_modify_args
*args
)
20600 switch (args
->event
) {
20601 case NB_EV_VALIDATE
:
20602 case NB_EV_PREPARE
:
20605 /* TODO: implement me. */
20612 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
20613 struct nb_cb_destroy_args
*args
)
20615 switch (args
->event
) {
20616 case NB_EV_VALIDATE
:
20617 case NB_EV_PREPARE
:
20620 /* TODO: implement me. */
20629 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-export
20631 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
20632 struct nb_cb_modify_args
*args
)
20634 switch (args
->event
) {
20635 case NB_EV_VALIDATE
:
20636 case NB_EV_PREPARE
:
20639 /* TODO: implement me. */
20646 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
20647 struct nb_cb_destroy_args
*args
)
20649 switch (args
->event
) {
20650 case NB_EV_VALIDATE
:
20651 case NB_EV_PREPARE
:
20654 /* TODO: implement me. */
20663 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-import
20665 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
20666 struct nb_cb_modify_args
*args
)
20668 switch (args
->event
) {
20669 case NB_EV_VALIDATE
:
20670 case NB_EV_PREPARE
:
20673 /* TODO: implement me. */
20680 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
20681 struct nb_cb_destroy_args
*args
)
20683 switch (args
->event
) {
20684 case NB_EV_VALIDATE
:
20685 case NB_EV_PREPARE
:
20688 /* TODO: implement me. */
20697 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-export
20699 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
20700 struct nb_cb_modify_args
*args
)
20702 switch (args
->event
) {
20703 case NB_EV_VALIDATE
:
20704 case NB_EV_PREPARE
:
20707 /* TODO: implement me. */
20714 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
20715 struct nb_cb_destroy_args
*args
)
20717 switch (args
->event
) {
20718 case NB_EV_VALIDATE
:
20719 case NB_EV_PREPARE
:
20722 /* TODO: implement me. */
20731 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-import
20733 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
20734 struct nb_cb_modify_args
*args
)
20736 switch (args
->event
) {
20737 case NB_EV_VALIDATE
:
20738 case NB_EV_PREPARE
:
20741 /* TODO: implement me. */
20748 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
20749 struct nb_cb_destroy_args
*args
)
20751 switch (args
->event
) {
20752 case NB_EV_VALIDATE
:
20753 case NB_EV_PREPARE
:
20756 /* TODO: implement me. */
20765 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-export
20767 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
20768 struct nb_cb_modify_args
*args
)
20770 switch (args
->event
) {
20771 case NB_EV_VALIDATE
:
20772 case NB_EV_PREPARE
:
20775 /* TODO: implement me. */
20782 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
20783 struct nb_cb_destroy_args
*args
)
20785 switch (args
->event
) {
20786 case NB_EV_VALIDATE
:
20787 case NB_EV_PREPARE
:
20790 /* TODO: implement me. */
20799 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/add-paths/path-type
20801 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
20802 struct nb_cb_modify_args
*args
)
20804 switch (args
->event
) {
20805 case NB_EV_VALIDATE
:
20806 case NB_EV_PREPARE
:
20809 /* TODO: implement me. */
20818 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-as
20820 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
20821 struct nb_cb_modify_args
*args
)
20823 switch (args
->event
) {
20824 case NB_EV_VALIDATE
:
20825 case NB_EV_PREPARE
:
20828 /* TODO: implement me. */
20835 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
20836 struct nb_cb_destroy_args
*args
)
20838 switch (args
->event
) {
20839 case NB_EV_VALIDATE
:
20840 case NB_EV_PREPARE
:
20843 /* TODO: implement me. */
20852 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-origin-as
20854 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
20855 struct nb_cb_modify_args
*args
)
20857 switch (args
->event
) {
20858 case NB_EV_VALIDATE
:
20859 case NB_EV_PREPARE
:
20862 /* TODO: implement me. */
20869 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
20870 struct nb_cb_destroy_args
*args
)
20872 switch (args
->event
) {
20873 case NB_EV_VALIDATE
:
20874 case NB_EV_PREPARE
:
20877 /* TODO: implement me. */
20886 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/replace-peer-as
20888 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
20889 struct nb_cb_modify_args
*args
)
20891 switch (args
->event
) {
20892 case NB_EV_VALIDATE
:
20893 case NB_EV_PREPARE
:
20897 return bgp_neighbor_afi_safi_flag_modify(
20898 args
, PEER_FLAG_AS_OVERRIDE
,
20899 yang_dnode_get_bool(args
->dnode
, NULL
));
20909 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/originate
20911 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
20912 struct nb_cb_modify_args
*args
)
20914 switch (args
->event
) {
20915 case NB_EV_VALIDATE
:
20916 case NB_EV_PREPARE
:
20919 /* TODO: implement me. */
20928 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/route-map
20930 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
20931 struct nb_cb_modify_args
*args
)
20933 switch (args
->event
) {
20934 case NB_EV_VALIDATE
:
20935 case NB_EV_PREPARE
:
20938 /* TODO: implement me. */
20945 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
20946 struct nb_cb_destroy_args
*args
)
20948 switch (args
->event
) {
20949 case NB_EV_VALIDATE
:
20950 case NB_EV_PREPARE
:
20953 /* TODO: implement me. */
20962 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/as-path-unchanged
20964 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
20965 struct nb_cb_modify_args
*args
)
20967 switch (args
->event
) {
20968 case NB_EV_VALIDATE
:
20969 case NB_EV_PREPARE
:
20973 return bgp_neighbor_afi_safi_flag_modify(
20974 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
20975 yang_dnode_get_bool(args
->dnode
, NULL
));
20985 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/next-hop-unchanged
20987 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
20988 struct nb_cb_modify_args
*args
)
20990 switch (args
->event
) {
20991 case NB_EV_VALIDATE
:
20992 case NB_EV_PREPARE
:
20996 return bgp_neighbor_afi_safi_flag_modify(
20997 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
20998 yang_dnode_get_bool(args
->dnode
, NULL
));
21008 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/med-unchanged
21010 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
21011 struct nb_cb_modify_args
*args
)
21013 switch (args
->event
) {
21014 case NB_EV_VALIDATE
:
21015 case NB_EV_PREPARE
:
21019 return bgp_neighbor_afi_safi_flag_modify(
21020 args
, PEER_FLAG_MED_UNCHANGED
,
21021 yang_dnode_get_bool(args
->dnode
, NULL
));
21031 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-send
21033 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
21034 struct nb_cb_modify_args
*args
)
21036 switch (args
->event
) {
21037 case NB_EV_VALIDATE
:
21038 case NB_EV_PREPARE
:
21041 /* TODO: implement me. */
21048 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
21049 struct nb_cb_destroy_args
*args
)
21051 switch (args
->event
) {
21052 case NB_EV_VALIDATE
:
21053 case NB_EV_PREPARE
:
21056 /* TODO: implement me. */
21065 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-receive
21067 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
21068 struct nb_cb_modify_args
*args
)
21070 switch (args
->event
) {
21071 case NB_EV_VALIDATE
:
21072 case NB_EV_PREPARE
:
21075 /* TODO: implement me. */
21082 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
21083 struct nb_cb_destroy_args
*args
)
21085 switch (args
->event
) {
21086 case NB_EV_VALIDATE
:
21087 case NB_EV_PREPARE
:
21090 /* TODO: implement me. */
21099 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-both
21101 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
21102 struct nb_cb_modify_args
*args
)
21104 switch (args
->event
) {
21105 case NB_EV_VALIDATE
:
21106 case NB_EV_PREPARE
:
21109 /* TODO: implement me. */
21116 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
21117 struct nb_cb_destroy_args
*args
)
21119 switch (args
->event
) {
21120 case NB_EV_VALIDATE
:
21121 case NB_EV_PREPARE
:
21124 /* TODO: implement me. */
21133 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list
21135 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
21136 struct nb_cb_create_args
*args
)
21138 switch (args
->event
) {
21139 case NB_EV_VALIDATE
:
21140 case NB_EV_PREPARE
:
21143 /* TODO: implement me. */
21150 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
21151 struct nb_cb_destroy_args
*args
)
21153 switch (args
->event
) {
21154 case NB_EV_VALIDATE
:
21155 case NB_EV_PREPARE
:
21159 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
21167 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/max-prefixes
21169 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
21170 struct nb_cb_modify_args
*args
)
21172 switch (args
->event
) {
21173 case NB_EV_VALIDATE
:
21174 case NB_EV_PREPARE
:
21177 /* TODO: implement me. */
21186 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/force-check
21188 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
21189 struct nb_cb_modify_args
*args
)
21191 switch (args
->event
) {
21192 case NB_EV_VALIDATE
:
21193 case NB_EV_PREPARE
:
21196 /* TODO: implement me. */
21205 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/warning-only
21207 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
21208 struct nb_cb_modify_args
*args
)
21210 switch (args
->event
) {
21211 case NB_EV_VALIDATE
:
21212 case NB_EV_PREPARE
:
21215 /* TODO: implement me. */
21222 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
21223 struct nb_cb_destroy_args
*args
)
21225 switch (args
->event
) {
21226 case NB_EV_VALIDATE
:
21227 case NB_EV_PREPARE
:
21230 /* TODO: implement me. */
21239 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/restart-timer
21241 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
21242 struct nb_cb_modify_args
*args
)
21244 switch (args
->event
) {
21245 case NB_EV_VALIDATE
:
21246 case NB_EV_PREPARE
:
21249 /* TODO: implement me. */
21256 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
21257 struct nb_cb_destroy_args
*args
)
21259 switch (args
->event
) {
21260 case NB_EV_VALIDATE
:
21261 case NB_EV_PREPARE
:
21264 /* TODO: implement me. */
21273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
21275 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
21276 struct nb_cb_modify_args
*args
)
21278 switch (args
->event
) {
21279 case NB_EV_VALIDATE
:
21280 case NB_EV_PREPARE
:
21283 /* TODO: implement me. */
21290 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
21291 struct nb_cb_destroy_args
*args
)
21293 switch (args
->event
) {
21294 case NB_EV_VALIDATE
:
21295 case NB_EV_PREPARE
:
21298 /* TODO: implement me. */
21307 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
21309 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
21310 struct nb_cb_modify_args
*args
)
21312 switch (args
->event
) {
21313 case NB_EV_VALIDATE
:
21314 case NB_EV_PREPARE
:
21317 /* TODO: implement me. */
21324 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
21325 struct nb_cb_destroy_args
*args
)
21327 switch (args
->event
) {
21328 case NB_EV_VALIDATE
:
21329 case NB_EV_PREPARE
:
21332 /* TODO: implement me. */
21341 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
21343 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
21344 struct nb_cb_modify_args
*args
)
21346 switch (args
->event
) {
21347 case NB_EV_VALIDATE
:
21348 case NB_EV_PREPARE
:
21351 /* TODO: implement me. */
21358 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
21359 struct nb_cb_destroy_args
*args
)
21361 switch (args
->event
) {
21362 case NB_EV_VALIDATE
:
21363 case NB_EV_PREPARE
:
21366 /* TODO: implement me. */
21375 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
21377 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
21378 struct nb_cb_modify_args
*args
)
21380 switch (args
->event
) {
21381 case NB_EV_VALIDATE
:
21382 case NB_EV_PREPARE
:
21385 /* TODO: implement me. */
21392 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
21393 struct nb_cb_destroy_args
*args
)
21395 switch (args
->event
) {
21396 case NB_EV_VALIDATE
:
21397 case NB_EV_PREPARE
:
21400 /* TODO: implement me. */
21409 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
21411 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
21412 struct nb_cb_modify_args
*args
)
21414 switch (args
->event
) {
21415 case NB_EV_VALIDATE
:
21416 case NB_EV_PREPARE
:
21419 /* TODO: implement me. */
21426 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
21427 struct nb_cb_destroy_args
*args
)
21429 switch (args
->event
) {
21430 case NB_EV_VALIDATE
:
21431 case NB_EV_PREPARE
:
21434 /* TODO: implement me. */
21443 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self
21445 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
21446 struct nb_cb_modify_args
*args
)
21448 switch (args
->event
) {
21449 case NB_EV_VALIDATE
:
21450 case NB_EV_PREPARE
:
21454 return bgp_neighbor_afi_safi_flag_modify(
21455 args
, PEER_FLAG_NEXTHOP_SELF
,
21456 yang_dnode_get_bool(args
->dnode
, NULL
));
21466 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self-force
21468 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
21469 struct nb_cb_modify_args
*args
)
21471 switch (args
->event
) {
21472 case NB_EV_VALIDATE
:
21473 case NB_EV_PREPARE
:
21477 return bgp_neighbor_afi_safi_flag_modify(
21478 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
21479 yang_dnode_get_bool(args
->dnode
, NULL
));
21489 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all
21491 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
21492 struct nb_cb_modify_args
*args
)
21494 switch (args
->event
) {
21495 case NB_EV_VALIDATE
:
21496 case NB_EV_PREPARE
:
21500 return bgp_neighbor_afi_safi_flag_modify(
21501 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
21502 yang_dnode_get_bool(args
->dnode
, NULL
));
21512 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all-replace
21514 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
21515 struct nb_cb_modify_args
*args
)
21517 switch (args
->event
) {
21518 case NB_EV_VALIDATE
:
21519 case NB_EV_PREPARE
:
21523 return bgp_neighbor_afi_safi_flag_modify(
21524 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
21525 yang_dnode_get_bool(args
->dnode
, NULL
));
21535 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as
21537 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
21538 struct nb_cb_modify_args
*args
)
21540 switch (args
->event
) {
21541 case NB_EV_VALIDATE
:
21542 case NB_EV_PREPARE
:
21546 return bgp_neighbor_afi_safi_flag_modify(
21547 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
21548 yang_dnode_get_bool(args
->dnode
, NULL
));
21558 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-replace
21560 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
21561 struct nb_cb_modify_args
*args
)
21563 switch (args
->event
) {
21564 case NB_EV_VALIDATE
:
21565 case NB_EV_PREPARE
:
21569 return bgp_neighbor_afi_safi_flag_modify(
21570 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
21571 yang_dnode_get_bool(args
->dnode
, NULL
));
21581 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/route-reflector/route-reflector-client
21583 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
21584 struct nb_cb_modify_args
*args
)
21586 switch (args
->event
) {
21587 case NB_EV_VALIDATE
:
21588 case NB_EV_PREPARE
:
21592 return bgp_neighbor_afi_safi_flag_modify(
21593 args
, PEER_FLAG_REFLECTOR_CLIENT
,
21594 yang_dnode_get_bool(args
->dnode
, NULL
));
21604 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/route-server/route-server-client
21606 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
21607 struct nb_cb_modify_args
*args
)
21609 switch (args
->event
) {
21610 case NB_EV_VALIDATE
:
21611 case NB_EV_PREPARE
:
21615 return bgp_neighbor_afi_safi_flag_modify(
21616 args
, PEER_FLAG_RSERVER_CLIENT
,
21617 yang_dnode_get_bool(args
->dnode
, NULL
));
21627 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-community
21629 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
21630 struct nb_cb_modify_args
*args
)
21632 switch (args
->event
) {
21633 case NB_EV_VALIDATE
:
21634 case NB_EV_PREPARE
:
21638 return bgp_neighbor_afi_safi_flag_modify(
21639 args
, PEER_FLAG_SEND_COMMUNITY
,
21640 yang_dnode_get_bool(args
->dnode
, NULL
));
21650 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-ext-community
21652 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
21653 struct nb_cb_modify_args
*args
)
21655 switch (args
->event
) {
21656 case NB_EV_VALIDATE
:
21657 case NB_EV_PREPARE
:
21661 return bgp_neighbor_afi_safi_flag_modify(
21662 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
21663 yang_dnode_get_bool(args
->dnode
, NULL
));
21673 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-large-community
21675 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
21676 struct nb_cb_modify_args
*args
)
21678 switch (args
->event
) {
21679 case NB_EV_VALIDATE
:
21680 case NB_EV_PREPARE
:
21684 return bgp_neighbor_afi_safi_flag_modify(
21685 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
21686 yang_dnode_get_bool(args
->dnode
, NULL
));
21696 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/soft-reconfiguration
21698 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
21699 struct nb_cb_modify_args
*args
)
21701 switch (args
->event
) {
21702 case NB_EV_VALIDATE
:
21703 case NB_EV_PREPARE
:
21707 return bgp_neighbor_afi_safi_flag_modify(
21708 args
, PEER_FLAG_SOFT_RECONFIG
,
21709 yang_dnode_get_bool(args
->dnode
, NULL
));
21719 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/weight/weight-attribute
21721 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
21722 struct nb_cb_modify_args
*args
)
21724 switch (args
->event
) {
21725 case NB_EV_VALIDATE
:
21726 case NB_EV_PREPARE
:
21730 return bgp_neighbor_afi_safi_weight_modify(args
);
21738 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
21739 struct nb_cb_destroy_args
*args
)
21741 switch (args
->event
) {
21742 case NB_EV_VALIDATE
:
21743 case NB_EV_PREPARE
:
21747 return bgp_neighbor_afi_safi_weight_destroy(args
);
21757 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/rmap-import
21759 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_modify(
21760 struct nb_cb_modify_args
*args
)
21762 switch (args
->event
) {
21763 case NB_EV_VALIDATE
:
21764 case NB_EV_PREPARE
:
21768 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
21774 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_destroy(
21775 struct nb_cb_destroy_args
*args
)
21777 switch (args
->event
) {
21778 case NB_EV_VALIDATE
:
21779 case NB_EV_PREPARE
:
21783 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
21791 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/rmap-export
21793 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_modify(
21794 struct nb_cb_modify_args
*args
)
21796 switch (args
->event
) {
21797 case NB_EV_VALIDATE
:
21798 case NB_EV_PREPARE
:
21802 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
21808 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_destroy(
21809 struct nb_cb_destroy_args
*args
)
21811 switch (args
->event
) {
21812 case NB_EV_VALIDATE
:
21813 case NB_EV_PREPARE
:
21817 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
21825 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/plist-import
21827 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_modify(
21828 struct nb_cb_modify_args
*args
)
21830 switch (args
->event
) {
21831 case NB_EV_VALIDATE
:
21832 case NB_EV_PREPARE
:
21835 /* TODO: implement me. */
21842 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_destroy(
21843 struct nb_cb_destroy_args
*args
)
21845 switch (args
->event
) {
21846 case NB_EV_VALIDATE
:
21847 case NB_EV_PREPARE
:
21850 /* TODO: implement me. */
21859 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/plist-export
21861 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_modify(
21862 struct nb_cb_modify_args
*args
)
21864 switch (args
->event
) {
21865 case NB_EV_VALIDATE
:
21866 case NB_EV_PREPARE
:
21870 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
21876 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_destroy(
21877 struct nb_cb_destroy_args
*args
)
21879 switch (args
->event
) {
21880 case NB_EV_VALIDATE
:
21881 case NB_EV_PREPARE
:
21885 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
21893 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/access-list-import
21895 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_modify(
21896 struct nb_cb_modify_args
*args
)
21898 switch (args
->event
) {
21899 case NB_EV_VALIDATE
:
21900 case NB_EV_PREPARE
:
21903 /* TODO: implement me. */
21910 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_destroy(
21911 struct nb_cb_destroy_args
*args
)
21913 switch (args
->event
) {
21914 case NB_EV_VALIDATE
:
21915 case NB_EV_PREPARE
:
21918 /* TODO: implement me. */
21927 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/access-list-export
21929 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_modify(
21930 struct nb_cb_modify_args
*args
)
21932 switch (args
->event
) {
21933 case NB_EV_VALIDATE
:
21934 case NB_EV_PREPARE
:
21937 /* TODO: implement me. */
21944 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_destroy(
21945 struct nb_cb_destroy_args
*args
)
21947 switch (args
->event
) {
21948 case NB_EV_VALIDATE
:
21949 case NB_EV_PREPARE
:
21952 /* TODO: implement me. */
21961 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/as-path-filter-list-import
21963 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_modify(
21964 struct nb_cb_modify_args
*args
)
21966 switch (args
->event
) {
21967 case NB_EV_VALIDATE
:
21968 case NB_EV_PREPARE
:
21971 /* TODO: implement me. */
21978 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
21979 struct nb_cb_destroy_args
*args
)
21981 switch (args
->event
) {
21982 case NB_EV_VALIDATE
:
21983 case NB_EV_PREPARE
:
21986 /* TODO: implement me. */
21995 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/as-path-filter-list-export
21997 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_modify(
21998 struct nb_cb_modify_args
*args
)
22000 switch (args
->event
) {
22001 case NB_EV_VALIDATE
:
22002 case NB_EV_PREPARE
:
22005 /* TODO: implement me. */
22012 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
22013 struct nb_cb_destroy_args
*args
)
22015 switch (args
->event
) {
22016 case NB_EV_VALIDATE
:
22017 case NB_EV_PREPARE
:
22020 /* TODO: implement me. */
22029 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/unsuppress-map-import
22031 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_modify(
22032 struct nb_cb_modify_args
*args
)
22034 switch (args
->event
) {
22035 case NB_EV_VALIDATE
:
22036 case NB_EV_PREPARE
:
22039 /* TODO: implement me. */
22046 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_destroy(
22047 struct nb_cb_destroy_args
*args
)
22049 switch (args
->event
) {
22050 case NB_EV_VALIDATE
:
22051 case NB_EV_PREPARE
:
22054 /* TODO: implement me. */
22063 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/unsuppress-map-export
22065 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_modify(
22066 struct nb_cb_modify_args
*args
)
22068 switch (args
->event
) {
22069 case NB_EV_VALIDATE
:
22070 case NB_EV_PREPARE
:
22073 /* TODO: implement me. */
22080 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_destroy(
22081 struct nb_cb_destroy_args
*args
)
22083 switch (args
->event
) {
22084 case NB_EV_VALIDATE
:
22085 case NB_EV_PREPARE
:
22088 /* TODO: implement me. */
22097 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/add-paths/path-type
22099 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
22100 struct nb_cb_modify_args
*args
)
22102 switch (args
->event
) {
22103 case NB_EV_VALIDATE
:
22104 case NB_EV_PREPARE
:
22107 /* TODO: implement me. */
22116 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-as
22118 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
22119 struct nb_cb_modify_args
*args
)
22121 switch (args
->event
) {
22122 case NB_EV_VALIDATE
:
22123 case NB_EV_PREPARE
:
22126 /* TODO: implement me. */
22133 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
22134 struct nb_cb_destroy_args
*args
)
22136 switch (args
->event
) {
22137 case NB_EV_VALIDATE
:
22138 case NB_EV_PREPARE
:
22141 /* TODO: implement me. */
22150 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-origin-as
22152 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
22153 struct nb_cb_modify_args
*args
)
22155 switch (args
->event
) {
22156 case NB_EV_VALIDATE
:
22157 case NB_EV_PREPARE
:
22160 /* TODO: implement me. */
22167 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
22168 struct nb_cb_destroy_args
*args
)
22170 switch (args
->event
) {
22171 case NB_EV_VALIDATE
:
22172 case NB_EV_PREPARE
:
22175 /* TODO: implement me. */
22184 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/replace-peer-as
22186 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
22187 struct nb_cb_modify_args
*args
)
22189 switch (args
->event
) {
22190 case NB_EV_VALIDATE
:
22191 case NB_EV_PREPARE
:
22195 return bgp_neighbor_afi_safi_flag_modify(
22196 args
, PEER_FLAG_AS_OVERRIDE
,
22197 yang_dnode_get_bool(args
->dnode
, NULL
));
22207 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/as-path-unchanged
22209 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
22210 struct nb_cb_modify_args
*args
)
22212 switch (args
->event
) {
22213 case NB_EV_VALIDATE
:
22214 case NB_EV_PREPARE
:
22218 return bgp_neighbor_afi_safi_flag_modify(
22219 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
22220 yang_dnode_get_bool(args
->dnode
, NULL
));
22230 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/next-hop-unchanged
22232 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
22233 struct nb_cb_modify_args
*args
)
22235 switch (args
->event
) {
22236 case NB_EV_VALIDATE
:
22237 case NB_EV_PREPARE
:
22241 return bgp_neighbor_afi_safi_flag_modify(
22242 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
22243 yang_dnode_get_bool(args
->dnode
, NULL
));
22253 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/med-unchanged
22255 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
22256 struct nb_cb_modify_args
*args
)
22258 switch (args
->event
) {
22259 case NB_EV_VALIDATE
:
22260 case NB_EV_PREPARE
:
22264 return bgp_neighbor_afi_safi_flag_modify(
22265 args
, PEER_FLAG_MED_UNCHANGED
,
22266 yang_dnode_get_bool(args
->dnode
, NULL
));
22276 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list
22278 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
22279 struct nb_cb_create_args
*args
)
22281 switch (args
->event
) {
22282 case NB_EV_VALIDATE
:
22283 case NB_EV_PREPARE
:
22286 /* TODO: implement me. */
22293 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
22294 struct nb_cb_destroy_args
*args
)
22296 switch (args
->event
) {
22297 case NB_EV_VALIDATE
:
22298 case NB_EV_PREPARE
:
22302 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
22310 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/max-prefixes
22312 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
22313 struct nb_cb_modify_args
*args
)
22315 switch (args
->event
) {
22316 case NB_EV_VALIDATE
:
22317 case NB_EV_PREPARE
:
22320 /* TODO: implement me. */
22329 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/force-check
22331 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
22332 struct nb_cb_modify_args
*args
)
22334 switch (args
->event
) {
22335 case NB_EV_VALIDATE
:
22336 case NB_EV_PREPARE
:
22339 /* TODO: implement me. */
22348 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/warning-only
22350 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
22351 struct nb_cb_modify_args
*args
)
22353 switch (args
->event
) {
22354 case NB_EV_VALIDATE
:
22355 case NB_EV_PREPARE
:
22358 /* TODO: implement me. */
22365 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
22366 struct nb_cb_destroy_args
*args
)
22368 switch (args
->event
) {
22369 case NB_EV_VALIDATE
:
22370 case NB_EV_PREPARE
:
22373 /* TODO: implement me. */
22382 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/restart-timer
22384 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
22385 struct nb_cb_modify_args
*args
)
22387 switch (args
->event
) {
22388 case NB_EV_VALIDATE
:
22389 case NB_EV_PREPARE
:
22392 /* TODO: implement me. */
22399 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
22400 struct nb_cb_destroy_args
*args
)
22402 switch (args
->event
) {
22403 case NB_EV_VALIDATE
:
22404 case NB_EV_PREPARE
:
22407 /* TODO: implement me. */
22416 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
22418 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
22419 struct nb_cb_modify_args
*args
)
22421 switch (args
->event
) {
22422 case NB_EV_VALIDATE
:
22423 case NB_EV_PREPARE
:
22426 /* TODO: implement me. */
22433 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
22434 struct nb_cb_destroy_args
*args
)
22436 switch (args
->event
) {
22437 case NB_EV_VALIDATE
:
22438 case NB_EV_PREPARE
:
22441 /* TODO: implement me. */
22450 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
22452 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
22453 struct nb_cb_modify_args
*args
)
22455 switch (args
->event
) {
22456 case NB_EV_VALIDATE
:
22457 case NB_EV_PREPARE
:
22460 /* TODO: implement me. */
22467 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
22468 struct nb_cb_destroy_args
*args
)
22470 switch (args
->event
) {
22471 case NB_EV_VALIDATE
:
22472 case NB_EV_PREPARE
:
22475 /* TODO: implement me. */
22484 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
22486 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
22487 struct nb_cb_modify_args
*args
)
22489 switch (args
->event
) {
22490 case NB_EV_VALIDATE
:
22491 case NB_EV_PREPARE
:
22494 /* TODO: implement me. */
22501 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
22502 struct nb_cb_destroy_args
*args
)
22504 switch (args
->event
) {
22505 case NB_EV_VALIDATE
:
22506 case NB_EV_PREPARE
:
22509 /* TODO: implement me. */
22518 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
22520 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
22521 struct nb_cb_modify_args
*args
)
22523 switch (args
->event
) {
22524 case NB_EV_VALIDATE
:
22525 case NB_EV_PREPARE
:
22528 /* TODO: implement me. */
22535 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
22536 struct nb_cb_destroy_args
*args
)
22538 switch (args
->event
) {
22539 case NB_EV_VALIDATE
:
22540 case NB_EV_PREPARE
:
22543 /* TODO: implement me. */
22552 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
22554 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
22555 struct nb_cb_modify_args
*args
)
22557 switch (args
->event
) {
22558 case NB_EV_VALIDATE
:
22559 case NB_EV_PREPARE
:
22562 /* TODO: implement me. */
22569 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
22570 struct nb_cb_destroy_args
*args
)
22572 switch (args
->event
) {
22573 case NB_EV_VALIDATE
:
22574 case NB_EV_PREPARE
:
22577 /* TODO: implement me. */
22586 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self
22588 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
22589 struct nb_cb_modify_args
*args
)
22591 switch (args
->event
) {
22592 case NB_EV_VALIDATE
:
22593 case NB_EV_PREPARE
:
22597 return bgp_neighbor_afi_safi_flag_modify(
22598 args
, PEER_FLAG_NEXTHOP_SELF
,
22599 yang_dnode_get_bool(args
->dnode
, NULL
));
22609 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self-force
22611 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
22612 struct nb_cb_modify_args
*args
)
22614 switch (args
->event
) {
22615 case NB_EV_VALIDATE
:
22616 case NB_EV_PREPARE
:
22620 return bgp_neighbor_afi_safi_flag_modify(
22621 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
22622 yang_dnode_get_bool(args
->dnode
, NULL
));
22632 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all
22634 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
22635 struct nb_cb_modify_args
*args
)
22637 switch (args
->event
) {
22638 case NB_EV_VALIDATE
:
22639 case NB_EV_PREPARE
:
22643 return bgp_neighbor_afi_safi_flag_modify(
22644 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
22645 yang_dnode_get_bool(args
->dnode
, NULL
));
22655 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all-replace
22657 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
22658 struct nb_cb_modify_args
*args
)
22660 switch (args
->event
) {
22661 case NB_EV_VALIDATE
:
22662 case NB_EV_PREPARE
:
22666 return bgp_neighbor_afi_safi_flag_modify(
22667 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
22668 yang_dnode_get_bool(args
->dnode
, NULL
));
22678 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as
22680 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
22681 struct nb_cb_modify_args
*args
)
22683 switch (args
->event
) {
22684 case NB_EV_VALIDATE
:
22685 case NB_EV_PREPARE
:
22689 return bgp_neighbor_afi_safi_flag_modify(
22690 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
22691 yang_dnode_get_bool(args
->dnode
, NULL
));
22701 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-replace
22703 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
22704 struct nb_cb_modify_args
*args
)
22706 switch (args
->event
) {
22707 case NB_EV_VALIDATE
:
22708 case NB_EV_PREPARE
:
22712 return bgp_neighbor_afi_safi_flag_modify(
22713 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
22714 yang_dnode_get_bool(args
->dnode
, NULL
));
22724 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-reflector/route-reflector-client
22726 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
22727 struct nb_cb_modify_args
*args
)
22729 switch (args
->event
) {
22730 case NB_EV_VALIDATE
:
22731 case NB_EV_PREPARE
:
22735 return bgp_neighbor_afi_safi_flag_modify(
22736 args
, PEER_FLAG_REFLECTOR_CLIENT
,
22737 yang_dnode_get_bool(args
->dnode
, NULL
));
22747 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-server/route-server-client
22749 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
22750 struct nb_cb_modify_args
*args
)
22752 switch (args
->event
) {
22753 case NB_EV_VALIDATE
:
22754 case NB_EV_PREPARE
:
22758 return bgp_neighbor_afi_safi_flag_modify(
22759 args
, PEER_FLAG_RSERVER_CLIENT
,
22760 yang_dnode_get_bool(args
->dnode
, NULL
));
22770 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-community
22772 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
22773 struct nb_cb_modify_args
*args
)
22775 switch (args
->event
) {
22776 case NB_EV_VALIDATE
:
22777 case NB_EV_PREPARE
:
22781 return bgp_neighbor_afi_safi_flag_modify(
22782 args
, PEER_FLAG_SEND_COMMUNITY
,
22783 yang_dnode_get_bool(args
->dnode
, NULL
));
22793 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-ext-community
22795 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
22796 struct nb_cb_modify_args
*args
)
22798 switch (args
->event
) {
22799 case NB_EV_VALIDATE
:
22800 case NB_EV_PREPARE
:
22804 return bgp_neighbor_afi_safi_flag_modify(
22805 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
22806 yang_dnode_get_bool(args
->dnode
, NULL
));
22816 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-large-community
22818 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
22819 struct nb_cb_modify_args
*args
)
22821 switch (args
->event
) {
22822 case NB_EV_VALIDATE
:
22823 case NB_EV_PREPARE
:
22827 return bgp_neighbor_afi_safi_flag_modify(
22828 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
22829 yang_dnode_get_bool(args
->dnode
, NULL
));
22839 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/soft-reconfiguration
22841 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
22842 struct nb_cb_modify_args
*args
)
22844 switch (args
->event
) {
22845 case NB_EV_VALIDATE
:
22846 case NB_EV_PREPARE
:
22850 return bgp_neighbor_afi_safi_flag_modify(
22851 args
, PEER_FLAG_SOFT_RECONFIG
,
22852 yang_dnode_get_bool(args
->dnode
, NULL
));
22862 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/weight/weight-attribute
22864 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
22865 struct nb_cb_modify_args
*args
)
22867 switch (args
->event
) {
22868 case NB_EV_VALIDATE
:
22869 case NB_EV_PREPARE
:
22873 return bgp_neighbor_afi_safi_weight_modify(args
);
22881 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
22882 struct nb_cb_destroy_args
*args
)
22884 switch (args
->event
) {
22885 case NB_EV_VALIDATE
:
22886 case NB_EV_PREPARE
:
22890 return bgp_neighbor_afi_safi_weight_destroy(args
);
22900 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/rmap-import
22902 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_modify(
22903 struct nb_cb_modify_args
*args
)
22905 switch (args
->event
) {
22906 case NB_EV_VALIDATE
:
22907 case NB_EV_PREPARE
:
22911 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
22917 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_destroy(
22918 struct nb_cb_destroy_args
*args
)
22920 switch (args
->event
) {
22921 case NB_EV_VALIDATE
:
22922 case NB_EV_PREPARE
:
22926 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
22934 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/rmap-export
22936 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_modify(
22937 struct nb_cb_modify_args
*args
)
22939 switch (args
->event
) {
22940 case NB_EV_VALIDATE
:
22941 case NB_EV_PREPARE
:
22945 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
22951 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_destroy(
22952 struct nb_cb_destroy_args
*args
)
22954 switch (args
->event
) {
22955 case NB_EV_VALIDATE
:
22956 case NB_EV_PREPARE
:
22960 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
22968 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/plist-import
22970 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_modify(
22971 struct nb_cb_modify_args
*args
)
22973 switch (args
->event
) {
22974 case NB_EV_VALIDATE
:
22975 case NB_EV_PREPARE
:
22978 /* TODO: implement me. */
22985 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_destroy(
22986 struct nb_cb_destroy_args
*args
)
22988 switch (args
->event
) {
22989 case NB_EV_VALIDATE
:
22990 case NB_EV_PREPARE
:
22994 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
23002 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/plist-export
23004 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_modify(
23005 struct nb_cb_modify_args
*args
)
23007 switch (args
->event
) {
23008 case NB_EV_VALIDATE
:
23009 case NB_EV_PREPARE
:
23013 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
23019 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_destroy(
23020 struct nb_cb_destroy_args
*args
)
23022 switch (args
->event
) {
23023 case NB_EV_VALIDATE
:
23024 case NB_EV_PREPARE
:
23028 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
23036 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/access-list-import
23038 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_modify(
23039 struct nb_cb_modify_args
*args
)
23041 switch (args
->event
) {
23042 case NB_EV_VALIDATE
:
23043 case NB_EV_PREPARE
:
23046 /* TODO: implement me. */
23053 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_destroy(
23054 struct nb_cb_destroy_args
*args
)
23056 switch (args
->event
) {
23057 case NB_EV_VALIDATE
:
23058 case NB_EV_PREPARE
:
23061 /* TODO: implement me. */
23070 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/access-list-export
23072 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_modify(
23073 struct nb_cb_modify_args
*args
)
23075 switch (args
->event
) {
23076 case NB_EV_VALIDATE
:
23077 case NB_EV_PREPARE
:
23080 /* TODO: implement me. */
23087 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_destroy(
23088 struct nb_cb_destroy_args
*args
)
23090 switch (args
->event
) {
23091 case NB_EV_VALIDATE
:
23092 case NB_EV_PREPARE
:
23095 /* TODO: implement me. */
23104 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/as-path-filter-list-import
23106 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
23107 struct nb_cb_modify_args
*args
)
23109 switch (args
->event
) {
23110 case NB_EV_VALIDATE
:
23111 case NB_EV_PREPARE
:
23114 /* TODO: implement me. */
23121 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
23122 struct nb_cb_destroy_args
*args
)
23124 switch (args
->event
) {
23125 case NB_EV_VALIDATE
:
23126 case NB_EV_PREPARE
:
23129 /* TODO: implement me. */
23138 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/as-path-filter-list-export
23140 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
23141 struct nb_cb_modify_args
*args
)
23143 switch (args
->event
) {
23144 case NB_EV_VALIDATE
:
23145 case NB_EV_PREPARE
:
23148 /* TODO: implement me. */
23155 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
23156 struct nb_cb_destroy_args
*args
)
23158 switch (args
->event
) {
23159 case NB_EV_VALIDATE
:
23160 case NB_EV_PREPARE
:
23163 /* TODO: implement me. */
23172 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/unsuppress-map-import
23174 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_modify(
23175 struct nb_cb_modify_args
*args
)
23177 switch (args
->event
) {
23178 case NB_EV_VALIDATE
:
23179 case NB_EV_PREPARE
:
23182 /* TODO: implement me. */
23189 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
23190 struct nb_cb_destroy_args
*args
)
23192 switch (args
->event
) {
23193 case NB_EV_VALIDATE
:
23194 case NB_EV_PREPARE
:
23197 /* TODO: implement me. */
23206 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/unsuppress-map-export
23208 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_modify(
23209 struct nb_cb_modify_args
*args
)
23211 switch (args
->event
) {
23212 case NB_EV_VALIDATE
:
23213 case NB_EV_PREPARE
:
23216 /* TODO: implement me. */
23223 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
23224 struct nb_cb_destroy_args
*args
)
23226 switch (args
->event
) {
23227 case NB_EV_VALIDATE
:
23228 case NB_EV_PREPARE
:
23231 /* TODO: implement me. */
23240 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/add-paths/path-type
23242 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
23243 struct nb_cb_modify_args
*args
)
23245 switch (args
->event
) {
23246 case NB_EV_VALIDATE
:
23247 case NB_EV_PREPARE
:
23250 /* TODO: implement me. */
23259 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-as
23261 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
23262 struct nb_cb_modify_args
*args
)
23264 switch (args
->event
) {
23265 case NB_EV_VALIDATE
:
23266 case NB_EV_PREPARE
:
23269 /* TODO: implement me. */
23276 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
23277 struct nb_cb_destroy_args
*args
)
23279 switch (args
->event
) {
23280 case NB_EV_VALIDATE
:
23281 case NB_EV_PREPARE
:
23284 /* TODO: implement me. */
23293 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-origin-as
23295 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
23296 struct nb_cb_modify_args
*args
)
23298 switch (args
->event
) {
23299 case NB_EV_VALIDATE
:
23300 case NB_EV_PREPARE
:
23303 /* TODO: implement me. */
23310 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
23311 struct nb_cb_destroy_args
*args
)
23313 switch (args
->event
) {
23314 case NB_EV_VALIDATE
:
23315 case NB_EV_PREPARE
:
23318 /* TODO: implement me. */
23327 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/replace-peer-as
23329 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
23330 struct nb_cb_modify_args
*args
)
23332 switch (args
->event
) {
23333 case NB_EV_VALIDATE
:
23334 case NB_EV_PREPARE
:
23338 return bgp_neighbor_afi_safi_flag_modify(
23339 args
, PEER_FLAG_AS_OVERRIDE
,
23340 yang_dnode_get_bool(args
->dnode
, NULL
));
23350 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/as-path-unchanged
23352 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
23353 struct nb_cb_modify_args
*args
)
23355 switch (args
->event
) {
23356 case NB_EV_VALIDATE
:
23357 case NB_EV_PREPARE
:
23361 return bgp_neighbor_afi_safi_flag_modify(
23362 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
23363 yang_dnode_get_bool(args
->dnode
, NULL
));
23373 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/next-hop-unchanged
23375 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
23376 struct nb_cb_modify_args
*args
)
23378 switch (args
->event
) {
23379 case NB_EV_VALIDATE
:
23380 case NB_EV_PREPARE
:
23384 return bgp_neighbor_afi_safi_flag_modify(
23385 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
23386 yang_dnode_get_bool(args
->dnode
, NULL
));
23396 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/med-unchanged
23398 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
23399 struct nb_cb_modify_args
*args
)
23401 switch (args
->event
) {
23402 case NB_EV_VALIDATE
:
23403 case NB_EV_PREPARE
:
23407 return bgp_neighbor_afi_safi_flag_modify(
23408 args
, PEER_FLAG_MED_UNCHANGED
,
23409 yang_dnode_get_bool(args
->dnode
, NULL
));
23419 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list
23421 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
23422 struct nb_cb_create_args
*args
)
23424 switch (args
->event
) {
23425 case NB_EV_VALIDATE
:
23426 case NB_EV_PREPARE
:
23429 /* TODO: implement me. */
23436 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
23437 struct nb_cb_destroy_args
*args
)
23439 switch (args
->event
) {
23440 case NB_EV_VALIDATE
:
23441 case NB_EV_PREPARE
:
23445 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
23453 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/max-prefixes
23455 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
23456 struct nb_cb_modify_args
*args
)
23458 switch (args
->event
) {
23459 case NB_EV_VALIDATE
:
23460 case NB_EV_PREPARE
:
23463 /* TODO: implement me. */
23472 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/force-check
23474 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
23475 struct nb_cb_modify_args
*args
)
23477 switch (args
->event
) {
23478 case NB_EV_VALIDATE
:
23479 case NB_EV_PREPARE
:
23482 /* TODO: implement me. */
23491 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/warning-only
23493 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
23494 struct nb_cb_modify_args
*args
)
23496 switch (args
->event
) {
23497 case NB_EV_VALIDATE
:
23498 case NB_EV_PREPARE
:
23501 /* TODO: implement me. */
23508 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
23509 struct nb_cb_destroy_args
*args
)
23511 switch (args
->event
) {
23512 case NB_EV_VALIDATE
:
23513 case NB_EV_PREPARE
:
23516 /* TODO: implement me. */
23525 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/restart-timer
23527 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
23528 struct nb_cb_modify_args
*args
)
23530 switch (args
->event
) {
23531 case NB_EV_VALIDATE
:
23532 case NB_EV_PREPARE
:
23535 /* TODO: implement me. */
23542 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
23543 struct nb_cb_destroy_args
*args
)
23545 switch (args
->event
) {
23546 case NB_EV_VALIDATE
:
23547 case NB_EV_PREPARE
:
23550 /* TODO: implement me. */
23559 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
23561 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
23562 struct nb_cb_modify_args
*args
)
23564 switch (args
->event
) {
23565 case NB_EV_VALIDATE
:
23566 case NB_EV_PREPARE
:
23569 /* TODO: implement me. */
23576 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
23577 struct nb_cb_destroy_args
*args
)
23579 switch (args
->event
) {
23580 case NB_EV_VALIDATE
:
23581 case NB_EV_PREPARE
:
23584 /* TODO: implement me. */
23593 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
23595 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
23596 struct nb_cb_modify_args
*args
)
23598 switch (args
->event
) {
23599 case NB_EV_VALIDATE
:
23600 case NB_EV_PREPARE
:
23603 /* TODO: implement me. */
23610 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
23611 struct nb_cb_destroy_args
*args
)
23613 switch (args
->event
) {
23614 case NB_EV_VALIDATE
:
23615 case NB_EV_PREPARE
:
23618 /* TODO: implement me. */
23627 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
23629 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
23630 struct nb_cb_modify_args
*args
)
23632 switch (args
->event
) {
23633 case NB_EV_VALIDATE
:
23634 case NB_EV_PREPARE
:
23637 /* TODO: implement me. */
23644 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
23645 struct nb_cb_destroy_args
*args
)
23647 switch (args
->event
) {
23648 case NB_EV_VALIDATE
:
23649 case NB_EV_PREPARE
:
23652 /* TODO: implement me. */
23661 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
23663 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
23664 struct nb_cb_modify_args
*args
)
23666 switch (args
->event
) {
23667 case NB_EV_VALIDATE
:
23668 case NB_EV_PREPARE
:
23671 /* TODO: implement me. */
23678 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
23679 struct nb_cb_destroy_args
*args
)
23681 switch (args
->event
) {
23682 case NB_EV_VALIDATE
:
23683 case NB_EV_PREPARE
:
23686 /* TODO: implement me. */
23695 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
23697 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
23698 struct nb_cb_modify_args
*args
)
23700 switch (args
->event
) {
23701 case NB_EV_VALIDATE
:
23702 case NB_EV_PREPARE
:
23705 /* TODO: implement me. */
23712 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
23713 struct nb_cb_destroy_args
*args
)
23715 switch (args
->event
) {
23716 case NB_EV_VALIDATE
:
23717 case NB_EV_PREPARE
:
23720 /* TODO: implement me. */
23729 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self
23731 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
23732 struct nb_cb_modify_args
*args
)
23734 switch (args
->event
) {
23735 case NB_EV_VALIDATE
:
23736 case NB_EV_PREPARE
:
23740 return bgp_neighbor_afi_safi_flag_modify(
23741 args
, PEER_FLAG_NEXTHOP_SELF
,
23742 yang_dnode_get_bool(args
->dnode
, NULL
));
23752 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self-force
23754 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
23755 struct nb_cb_modify_args
*args
)
23757 switch (args
->event
) {
23758 case NB_EV_VALIDATE
:
23759 case NB_EV_PREPARE
:
23763 return bgp_neighbor_afi_safi_flag_modify(
23764 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
23765 yang_dnode_get_bool(args
->dnode
, NULL
));
23775 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all
23777 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
23778 struct nb_cb_modify_args
*args
)
23780 switch (args
->event
) {
23781 case NB_EV_VALIDATE
:
23782 case NB_EV_PREPARE
:
23786 return bgp_neighbor_afi_safi_flag_modify(
23787 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
23788 yang_dnode_get_bool(args
->dnode
, NULL
));
23798 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all-replace
23800 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
23801 struct nb_cb_modify_args
*args
)
23803 switch (args
->event
) {
23804 case NB_EV_VALIDATE
:
23805 case NB_EV_PREPARE
:
23809 return bgp_neighbor_afi_safi_flag_modify(
23810 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
23811 yang_dnode_get_bool(args
->dnode
, NULL
));
23821 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as
23823 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
23824 struct nb_cb_modify_args
*args
)
23826 switch (args
->event
) {
23827 case NB_EV_VALIDATE
:
23828 case NB_EV_PREPARE
:
23832 return bgp_neighbor_afi_safi_flag_modify(
23833 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
23834 yang_dnode_get_bool(args
->dnode
, NULL
));
23844 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-replace
23846 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
23847 struct nb_cb_modify_args
*args
)
23849 switch (args
->event
) {
23850 case NB_EV_VALIDATE
:
23851 case NB_EV_PREPARE
:
23855 return bgp_neighbor_afi_safi_flag_modify(
23856 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
23857 yang_dnode_get_bool(args
->dnode
, NULL
));
23867 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-reflector/route-reflector-client
23869 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
23870 struct nb_cb_modify_args
*args
)
23872 switch (args
->event
) {
23873 case NB_EV_VALIDATE
:
23874 case NB_EV_PREPARE
:
23878 return bgp_neighbor_afi_safi_flag_modify(
23879 args
, PEER_FLAG_REFLECTOR_CLIENT
,
23880 yang_dnode_get_bool(args
->dnode
, NULL
));
23890 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-server/route-server-client
23892 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
23893 struct nb_cb_modify_args
*args
)
23895 switch (args
->event
) {
23896 case NB_EV_VALIDATE
:
23897 case NB_EV_PREPARE
:
23901 return bgp_neighbor_afi_safi_flag_modify(
23902 args
, PEER_FLAG_RSERVER_CLIENT
,
23903 yang_dnode_get_bool(args
->dnode
, NULL
));
23913 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-community
23915 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
23916 struct nb_cb_modify_args
*args
)
23918 switch (args
->event
) {
23919 case NB_EV_VALIDATE
:
23920 case NB_EV_PREPARE
:
23924 return bgp_neighbor_afi_safi_flag_modify(
23925 args
, PEER_FLAG_SEND_COMMUNITY
,
23926 yang_dnode_get_bool(args
->dnode
, NULL
));
23936 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-ext-community
23938 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
23939 struct nb_cb_modify_args
*args
)
23941 switch (args
->event
) {
23942 case NB_EV_VALIDATE
:
23943 case NB_EV_PREPARE
:
23947 return bgp_neighbor_afi_safi_flag_modify(
23948 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
23949 yang_dnode_get_bool(args
->dnode
, NULL
));
23959 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-large-community
23961 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
23962 struct nb_cb_modify_args
*args
)
23964 switch (args
->event
) {
23965 case NB_EV_VALIDATE
:
23966 case NB_EV_PREPARE
:
23970 return bgp_neighbor_afi_safi_flag_modify(
23971 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
23972 yang_dnode_get_bool(args
->dnode
, NULL
));
23982 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/soft-reconfiguration
23984 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
23985 struct nb_cb_modify_args
*args
)
23987 switch (args
->event
) {
23988 case NB_EV_VALIDATE
:
23989 case NB_EV_PREPARE
:
23993 return bgp_neighbor_afi_safi_flag_modify(
23994 args
, PEER_FLAG_SOFT_RECONFIG
,
23995 yang_dnode_get_bool(args
->dnode
, NULL
));
24005 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/weight/weight-attribute
24007 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
24008 struct nb_cb_modify_args
*args
)
24010 switch (args
->event
) {
24011 case NB_EV_VALIDATE
:
24012 case NB_EV_PREPARE
:
24016 return bgp_neighbor_afi_safi_weight_modify(args
);
24024 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
24025 struct nb_cb_destroy_args
*args
)
24027 switch (args
->event
) {
24028 case NB_EV_VALIDATE
:
24029 case NB_EV_PREPARE
:
24033 return bgp_neighbor_afi_safi_weight_destroy(args
);
24043 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/rmap-import
24045 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_modify(
24046 struct nb_cb_modify_args
*args
)
24048 switch (args
->event
) {
24049 case NB_EV_VALIDATE
:
24050 case NB_EV_PREPARE
:
24054 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
24060 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_destroy(
24061 struct nb_cb_destroy_args
*args
)
24063 switch (args
->event
) {
24064 case NB_EV_VALIDATE
:
24065 case NB_EV_PREPARE
:
24069 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24077 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/rmap-export
24079 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_modify(
24080 struct nb_cb_modify_args
*args
)
24082 switch (args
->event
) {
24083 case NB_EV_VALIDATE
:
24084 case NB_EV_PREPARE
:
24088 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
24094 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_destroy(
24095 struct nb_cb_destroy_args
*args
)
24097 switch (args
->event
) {
24098 case NB_EV_VALIDATE
:
24099 case NB_EV_PREPARE
:
24103 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
24111 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/plist-import
24113 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_modify(
24114 struct nb_cb_modify_args
*args
)
24116 switch (args
->event
) {
24117 case NB_EV_VALIDATE
:
24118 case NB_EV_PREPARE
:
24122 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
24128 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_destroy(
24129 struct nb_cb_destroy_args
*args
)
24131 switch (args
->event
) {
24132 case NB_EV_VALIDATE
:
24133 case NB_EV_PREPARE
:
24137 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
24145 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/plist-export
24147 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_modify(
24148 struct nb_cb_modify_args
*args
)
24150 switch (args
->event
) {
24151 case NB_EV_VALIDATE
:
24152 case NB_EV_PREPARE
:
24156 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
24162 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_destroy(
24163 struct nb_cb_destroy_args
*args
)
24165 switch (args
->event
) {
24166 case NB_EV_VALIDATE
:
24167 case NB_EV_PREPARE
:
24171 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
24179 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/access-list-import
24181 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_modify(
24182 struct nb_cb_modify_args
*args
)
24184 switch (args
->event
) {
24185 case NB_EV_VALIDATE
:
24186 case NB_EV_PREPARE
:
24189 /* TODO: implement me. */
24196 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_destroy(
24197 struct nb_cb_destroy_args
*args
)
24199 switch (args
->event
) {
24200 case NB_EV_VALIDATE
:
24201 case NB_EV_PREPARE
:
24204 /* TODO: implement me. */
24213 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/access-list-export
24215 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_modify(
24216 struct nb_cb_modify_args
*args
)
24218 switch (args
->event
) {
24219 case NB_EV_VALIDATE
:
24220 case NB_EV_PREPARE
:
24223 /* TODO: implement me. */
24230 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_destroy(
24231 struct nb_cb_destroy_args
*args
)
24233 switch (args
->event
) {
24234 case NB_EV_VALIDATE
:
24235 case NB_EV_PREPARE
:
24238 /* TODO: implement me. */
24247 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/as-path-filter-list-import
24249 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
24250 struct nb_cb_modify_args
*args
)
24252 switch (args
->event
) {
24253 case NB_EV_VALIDATE
:
24254 case NB_EV_PREPARE
:
24257 /* TODO: implement me. */
24264 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
24265 struct nb_cb_destroy_args
*args
)
24267 switch (args
->event
) {
24268 case NB_EV_VALIDATE
:
24269 case NB_EV_PREPARE
:
24272 /* TODO: implement me. */
24281 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/as-path-filter-list-export
24283 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
24284 struct nb_cb_modify_args
*args
)
24286 switch (args
->event
) {
24287 case NB_EV_VALIDATE
:
24288 case NB_EV_PREPARE
:
24291 /* TODO: implement me. */
24298 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
24299 struct nb_cb_destroy_args
*args
)
24301 switch (args
->event
) {
24302 case NB_EV_VALIDATE
:
24303 case NB_EV_PREPARE
:
24306 /* TODO: implement me. */
24315 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/unsuppress-map-import
24317 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_modify(
24318 struct nb_cb_modify_args
*args
)
24320 switch (args
->event
) {
24321 case NB_EV_VALIDATE
:
24322 case NB_EV_PREPARE
:
24325 /* TODO: implement me. */
24332 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
24333 struct nb_cb_destroy_args
*args
)
24335 switch (args
->event
) {
24336 case NB_EV_VALIDATE
:
24337 case NB_EV_PREPARE
:
24340 /* TODO: implement me. */
24349 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/unsuppress-map-export
24351 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_modify(
24352 struct nb_cb_modify_args
*args
)
24354 switch (args
->event
) {
24355 case NB_EV_VALIDATE
:
24356 case NB_EV_PREPARE
:
24359 /* TODO: implement me. */
24366 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
24367 struct nb_cb_destroy_args
*args
)
24369 switch (args
->event
) {
24370 case NB_EV_VALIDATE
:
24371 case NB_EV_PREPARE
:
24374 /* TODO: implement me. */
24383 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-as
24385 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
24386 struct nb_cb_modify_args
*args
)
24388 switch (args
->event
) {
24389 case NB_EV_VALIDATE
:
24390 case NB_EV_PREPARE
:
24393 /* TODO: implement me. */
24400 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
24401 struct nb_cb_destroy_args
*args
)
24403 switch (args
->event
) {
24404 case NB_EV_VALIDATE
:
24405 case NB_EV_PREPARE
:
24408 /* TODO: implement me. */
24417 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-origin-as
24419 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
24420 struct nb_cb_modify_args
*args
)
24422 switch (args
->event
) {
24423 case NB_EV_VALIDATE
:
24424 case NB_EV_PREPARE
:
24427 /* TODO: implement me. */
24434 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
24435 struct nb_cb_destroy_args
*args
)
24437 switch (args
->event
) {
24438 case NB_EV_VALIDATE
:
24439 case NB_EV_PREPARE
:
24442 /* TODO: implement me. */
24451 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/replace-peer-as
24453 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
24454 struct nb_cb_modify_args
*args
)
24456 switch (args
->event
) {
24457 case NB_EV_VALIDATE
:
24458 case NB_EV_PREPARE
:
24462 return bgp_neighbor_afi_safi_flag_modify(
24463 args
, PEER_FLAG_AS_OVERRIDE
,
24464 yang_dnode_get_bool(args
->dnode
, NULL
));
24474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/as-path-unchanged
24476 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
24477 struct nb_cb_modify_args
*args
)
24479 switch (args
->event
) {
24480 case NB_EV_VALIDATE
:
24481 case NB_EV_PREPARE
:
24485 return bgp_neighbor_afi_safi_flag_modify(
24486 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
24487 yang_dnode_get_bool(args
->dnode
, NULL
));
24497 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/next-hop-unchanged
24499 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
24500 struct nb_cb_modify_args
*args
)
24502 switch (args
->event
) {
24503 case NB_EV_VALIDATE
:
24504 case NB_EV_PREPARE
:
24508 return bgp_neighbor_afi_safi_flag_modify(
24509 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
24510 yang_dnode_get_bool(args
->dnode
, NULL
));
24520 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/med-unchanged
24522 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
24523 struct nb_cb_modify_args
*args
)
24525 switch (args
->event
) {
24526 case NB_EV_VALIDATE
:
24527 case NB_EV_PREPARE
:
24531 return bgp_neighbor_afi_safi_flag_modify(
24532 args
, PEER_FLAG_MED_UNCHANGED
,
24533 yang_dnode_get_bool(args
->dnode
, NULL
));
24543 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self
24545 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
24546 struct nb_cb_modify_args
*args
)
24548 switch (args
->event
) {
24549 case NB_EV_VALIDATE
:
24550 case NB_EV_PREPARE
:
24554 return bgp_neighbor_afi_safi_flag_modify(
24555 args
, PEER_FLAG_NEXTHOP_SELF
,
24556 yang_dnode_get_bool(args
->dnode
, NULL
));
24566 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self-force
24568 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
24569 struct nb_cb_modify_args
*args
)
24571 switch (args
->event
) {
24572 case NB_EV_VALIDATE
:
24573 case NB_EV_PREPARE
:
24577 return bgp_neighbor_afi_safi_flag_modify(
24578 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
24579 yang_dnode_get_bool(args
->dnode
, NULL
));
24589 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/route-reflector/route-reflector-client
24591 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
24592 struct nb_cb_modify_args
*args
)
24594 switch (args
->event
) {
24595 case NB_EV_VALIDATE
:
24596 case NB_EV_PREPARE
:
24600 return bgp_neighbor_afi_safi_flag_modify(
24601 args
, PEER_FLAG_REFLECTOR_CLIENT
,
24602 yang_dnode_get_bool(args
->dnode
, NULL
));
24612 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/route-server/route-server-client
24614 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
24615 struct nb_cb_modify_args
*args
)
24617 switch (args
->event
) {
24618 case NB_EV_VALIDATE
:
24619 case NB_EV_PREPARE
:
24623 return bgp_neighbor_afi_safi_flag_modify(
24624 args
, PEER_FLAG_RSERVER_CLIENT
,
24625 yang_dnode_get_bool(args
->dnode
, NULL
));
24635 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
24637 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
24638 struct nb_cb_modify_args
*args
)
24640 switch (args
->event
) {
24641 case NB_EV_VALIDATE
:
24642 case NB_EV_PREPARE
:
24646 return bgp_neighbor_afi_safi_flag_modify(
24647 args
, PEER_FLAG_SOFT_RECONFIG
,
24648 yang_dnode_get_bool(args
->dnode
, NULL
));
24658 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/rmap-import
24660 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_import_modify(
24661 struct nb_cb_modify_args
*args
)
24663 switch (args
->event
) {
24664 case NB_EV_VALIDATE
:
24665 case NB_EV_PREPARE
:
24669 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
24675 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_import_destroy(
24676 struct nb_cb_destroy_args
*args
)
24678 switch (args
->event
) {
24679 case NB_EV_VALIDATE
:
24680 case NB_EV_PREPARE
:
24684 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24692 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/rmap-export
24694 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_export_modify(
24695 struct nb_cb_modify_args
*args
)
24697 switch (args
->event
) {
24698 case NB_EV_VALIDATE
:
24699 case NB_EV_PREPARE
:
24703 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
24709 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_export_destroy(
24710 struct nb_cb_destroy_args
*args
)
24712 switch (args
->event
) {
24713 case NB_EV_VALIDATE
:
24714 case NB_EV_PREPARE
:
24718 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24726 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/plist-import
24728 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_import_modify(
24729 struct nb_cb_modify_args
*args
)
24731 switch (args
->event
) {
24732 case NB_EV_VALIDATE
:
24733 case NB_EV_PREPARE
:
24737 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
24743 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_import_destroy(
24744 struct nb_cb_destroy_args
*args
)
24746 switch (args
->event
) {
24747 case NB_EV_VALIDATE
:
24748 case NB_EV_PREPARE
:
24752 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
24760 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/plist-export
24762 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_export_modify(
24763 struct nb_cb_modify_args
*args
)
24765 switch (args
->event
) {
24766 case NB_EV_VALIDATE
:
24767 case NB_EV_PREPARE
:
24771 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
24777 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_export_destroy(
24778 struct nb_cb_destroy_args
*args
)
24780 switch (args
->event
) {
24781 case NB_EV_VALIDATE
:
24782 case NB_EV_PREPARE
:
24786 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
24794 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/access-list-import
24796 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_import_modify(
24797 struct nb_cb_modify_args
*args
)
24799 switch (args
->event
) {
24800 case NB_EV_VALIDATE
:
24801 case NB_EV_PREPARE
:
24804 /* TODO: implement me. */
24811 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_import_destroy(
24812 struct nb_cb_destroy_args
*args
)
24814 switch (args
->event
) {
24815 case NB_EV_VALIDATE
:
24816 case NB_EV_PREPARE
:
24819 /* TODO: implement me. */
24828 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/access-list-export
24830 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_export_modify(
24831 struct nb_cb_modify_args
*args
)
24833 switch (args
->event
) {
24834 case NB_EV_VALIDATE
:
24835 case NB_EV_PREPARE
:
24838 /* TODO: implement me. */
24845 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_export_destroy(
24846 struct nb_cb_destroy_args
*args
)
24848 switch (args
->event
) {
24849 case NB_EV_VALIDATE
:
24850 case NB_EV_PREPARE
:
24853 /* TODO: implement me. */
24862 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/as-path-filter-list-import
24864 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_import_modify(
24865 struct nb_cb_modify_args
*args
)
24867 switch (args
->event
) {
24868 case NB_EV_VALIDATE
:
24869 case NB_EV_PREPARE
:
24872 /* TODO: implement me. */
24879 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_import_destroy(
24880 struct nb_cb_destroy_args
*args
)
24882 switch (args
->event
) {
24883 case NB_EV_VALIDATE
:
24884 case NB_EV_PREPARE
:
24887 /* TODO: implement me. */
24896 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/as-path-filter-list-export
24898 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_export_modify(
24899 struct nb_cb_modify_args
*args
)
24901 switch (args
->event
) {
24902 case NB_EV_VALIDATE
:
24903 case NB_EV_PREPARE
:
24906 /* TODO: implement me. */
24913 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_export_destroy(
24914 struct nb_cb_destroy_args
*args
)
24916 switch (args
->event
) {
24917 case NB_EV_VALIDATE
:
24918 case NB_EV_PREPARE
:
24921 /* TODO: implement me. */
24930 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/unsuppress-map-import
24932 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_import_modify(
24933 struct nb_cb_modify_args
*args
)
24935 switch (args
->event
) {
24936 case NB_EV_VALIDATE
:
24937 case NB_EV_PREPARE
:
24940 /* TODO: implement me. */
24947 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_import_destroy(
24948 struct nb_cb_destroy_args
*args
)
24950 switch (args
->event
) {
24951 case NB_EV_VALIDATE
:
24952 case NB_EV_PREPARE
:
24955 /* TODO: implement me. */
24964 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/unsuppress-map-export
24966 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_export_modify(
24967 struct nb_cb_modify_args
*args
)
24969 switch (args
->event
) {
24970 case NB_EV_VALIDATE
:
24971 case NB_EV_PREPARE
:
24974 /* TODO: implement me. */
24981 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_export_destroy(
24982 struct nb_cb_destroy_args
*args
)
24984 switch (args
->event
) {
24985 case NB_EV_VALIDATE
:
24986 case NB_EV_PREPARE
:
24989 /* TODO: implement me. */
24998 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/route-reflector/route-reflector-client
25000 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
25001 struct nb_cb_modify_args
*args
)
25003 switch (args
->event
) {
25004 case NB_EV_VALIDATE
:
25005 case NB_EV_PREPARE
:
25009 return bgp_neighbor_afi_safi_flag_modify(
25010 args
, PEER_FLAG_REFLECTOR_CLIENT
,
25011 yang_dnode_get_bool(args
->dnode
, NULL
));
25021 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/route-server/route-server-client
25023 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
25024 struct nb_cb_modify_args
*args
)
25026 switch (args
->event
) {
25027 case NB_EV_VALIDATE
:
25028 case NB_EV_PREPARE
:
25032 return bgp_neighbor_afi_safi_flag_modify(
25033 args
, PEER_FLAG_RSERVER_CLIENT
,
25034 yang_dnode_get_bool(args
->dnode
, NULL
));
25044 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
25046 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
25047 struct nb_cb_modify_args
*args
)
25049 switch (args
->event
) {
25050 case NB_EV_VALIDATE
:
25051 case NB_EV_PREPARE
:
25055 return bgp_neighbor_afi_safi_flag_modify(
25056 args
, PEER_FLAG_SOFT_RECONFIG
,
25057 yang_dnode_get_bool(args
->dnode
, NULL
));
25067 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-import
25069 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
25070 struct nb_cb_modify_args
*args
)
25072 switch (args
->event
) {
25073 case NB_EV_VALIDATE
:
25074 case NB_EV_PREPARE
:
25078 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
25084 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
25085 struct nb_cb_destroy_args
*args
)
25087 switch (args
->event
) {
25088 case NB_EV_VALIDATE
:
25089 case NB_EV_PREPARE
:
25093 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
25101 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-export
25103 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
25104 struct nb_cb_modify_args
*args
)
25106 switch (args
->event
) {
25107 case NB_EV_VALIDATE
:
25108 case NB_EV_PREPARE
:
25112 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
25118 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
25119 struct nb_cb_destroy_args
*args
)
25121 switch (args
->event
) {
25122 case NB_EV_VALIDATE
:
25123 case NB_EV_PREPARE
:
25127 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
25135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-import
25137 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
25138 struct nb_cb_modify_args
*args
)
25140 switch (args
->event
) {
25141 case NB_EV_VALIDATE
:
25142 case NB_EV_PREPARE
:
25146 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
25152 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
25153 struct nb_cb_destroy_args
*args
)
25155 switch (args
->event
) {
25156 case NB_EV_VALIDATE
:
25157 case NB_EV_PREPARE
:
25161 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
25169 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-export
25171 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
25172 struct nb_cb_modify_args
*args
)
25174 switch (args
->event
) {
25175 case NB_EV_VALIDATE
:
25176 case NB_EV_PREPARE
:
25180 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
25186 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
25187 struct nb_cb_destroy_args
*args
)
25189 switch (args
->event
) {
25190 case NB_EV_VALIDATE
:
25191 case NB_EV_PREPARE
:
25195 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
25203 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-import
25205 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
25206 struct nb_cb_modify_args
*args
)
25208 switch (args
->event
) {
25209 case NB_EV_VALIDATE
:
25210 case NB_EV_PREPARE
:
25213 /* TODO: implement me. */
25220 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
25221 struct nb_cb_destroy_args
*args
)
25223 switch (args
->event
) {
25224 case NB_EV_VALIDATE
:
25225 case NB_EV_PREPARE
:
25228 /* TODO: implement me. */
25237 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-export
25239 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
25240 struct nb_cb_modify_args
*args
)
25242 switch (args
->event
) {
25243 case NB_EV_VALIDATE
:
25244 case NB_EV_PREPARE
:
25247 /* TODO: implement me. */
25254 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
25255 struct nb_cb_destroy_args
*args
)
25257 switch (args
->event
) {
25258 case NB_EV_VALIDATE
:
25259 case NB_EV_PREPARE
:
25262 /* TODO: implement me. */
25271 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-import
25273 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
25274 struct nb_cb_modify_args
*args
)
25276 switch (args
->event
) {
25277 case NB_EV_VALIDATE
:
25278 case NB_EV_PREPARE
:
25281 /* TODO: implement me. */
25288 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
25289 struct nb_cb_destroy_args
*args
)
25291 switch (args
->event
) {
25292 case NB_EV_VALIDATE
:
25293 case NB_EV_PREPARE
:
25296 /* TODO: implement me. */
25305 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-export
25307 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
25308 struct nb_cb_modify_args
*args
)
25310 switch (args
->event
) {
25311 case NB_EV_VALIDATE
:
25312 case NB_EV_PREPARE
:
25315 /* TODO: implement me. */
25322 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
25323 struct nb_cb_destroy_args
*args
)
25325 switch (args
->event
) {
25326 case NB_EV_VALIDATE
:
25327 case NB_EV_PREPARE
:
25330 /* TODO: implement me. */
25339 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-import
25341 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
25342 struct nb_cb_modify_args
*args
)
25344 switch (args
->event
) {
25345 case NB_EV_VALIDATE
:
25346 case NB_EV_PREPARE
:
25349 /* TODO: implement me. */
25356 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
25357 struct nb_cb_destroy_args
*args
)
25359 switch (args
->event
) {
25360 case NB_EV_VALIDATE
:
25361 case NB_EV_PREPARE
:
25364 /* TODO: implement me. */
25373 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-export
25375 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
25376 struct nb_cb_modify_args
*args
)
25378 switch (args
->event
) {
25379 case NB_EV_VALIDATE
:
25380 case NB_EV_PREPARE
:
25383 /* TODO: implement me. */
25390 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
25391 struct nb_cb_destroy_args
*args
)
25393 switch (args
->event
) {
25394 case NB_EV_VALIDATE
:
25395 case NB_EV_PREPARE
:
25398 /* TODO: implement me. */
25407 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/route-reflector/route-reflector-client
25409 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
25410 struct nb_cb_modify_args
*args
)
25412 switch (args
->event
) {
25413 case NB_EV_VALIDATE
:
25414 case NB_EV_PREPARE
:
25418 return bgp_neighbor_afi_safi_flag_modify(
25419 args
, PEER_FLAG_REFLECTOR_CLIENT
,
25420 yang_dnode_get_bool(args
->dnode
, NULL
));
25430 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/route-server/route-server-client
25432 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
25433 struct nb_cb_modify_args
*args
)
25435 switch (args
->event
) {
25436 case NB_EV_VALIDATE
:
25437 case NB_EV_PREPARE
:
25441 return bgp_neighbor_afi_safi_flag_modify(
25442 args
, PEER_FLAG_RSERVER_CLIENT
,
25443 yang_dnode_get_bool(args
->dnode
, NULL
));
25453 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
25455 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
25456 struct nb_cb_modify_args
*args
)
25458 switch (args
->event
) {
25459 case NB_EV_VALIDATE
:
25460 case NB_EV_PREPARE
:
25464 return bgp_neighbor_afi_safi_flag_modify(
25465 args
, PEER_FLAG_SOFT_RECONFIG
,
25466 yang_dnode_get_bool(args
->dnode
, NULL
));
25476 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-import
25478 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
25479 struct nb_cb_modify_args
*args
)
25481 switch (args
->event
) {
25482 case NB_EV_VALIDATE
:
25483 case NB_EV_PREPARE
:
25487 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
25493 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
25494 struct nb_cb_destroy_args
*args
)
25496 switch (args
->event
) {
25497 case NB_EV_VALIDATE
:
25498 case NB_EV_PREPARE
:
25502 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
25510 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-export
25512 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
25513 struct nb_cb_modify_args
*args
)
25515 switch (args
->event
) {
25516 case NB_EV_VALIDATE
:
25517 case NB_EV_PREPARE
:
25521 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
25527 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
25528 struct nb_cb_destroy_args
*args
)
25530 switch (args
->event
) {
25531 case NB_EV_VALIDATE
:
25532 case NB_EV_PREPARE
:
25536 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
25544 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-import
25546 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
25547 struct nb_cb_modify_args
*args
)
25549 switch (args
->event
) {
25550 case NB_EV_VALIDATE
:
25551 case NB_EV_PREPARE
:
25555 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
25561 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
25562 struct nb_cb_destroy_args
*args
)
25564 switch (args
->event
) {
25565 case NB_EV_VALIDATE
:
25566 case NB_EV_PREPARE
:
25570 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
25578 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-export
25580 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
25581 struct nb_cb_modify_args
*args
)
25583 switch (args
->event
) {
25584 case NB_EV_VALIDATE
:
25585 case NB_EV_PREPARE
:
25589 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
25595 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
25596 struct nb_cb_destroy_args
*args
)
25598 switch (args
->event
) {
25599 case NB_EV_VALIDATE
:
25600 case NB_EV_PREPARE
:
25604 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
25612 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-import
25614 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
25615 struct nb_cb_modify_args
*args
)
25617 switch (args
->event
) {
25618 case NB_EV_VALIDATE
:
25619 case NB_EV_PREPARE
:
25622 /* TODO: implement me. */
25629 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
25630 struct nb_cb_destroy_args
*args
)
25632 switch (args
->event
) {
25633 case NB_EV_VALIDATE
:
25634 case NB_EV_PREPARE
:
25637 /* TODO: implement me. */
25646 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-export
25648 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
25649 struct nb_cb_modify_args
*args
)
25651 switch (args
->event
) {
25652 case NB_EV_VALIDATE
:
25653 case NB_EV_PREPARE
:
25656 /* TODO: implement me. */
25663 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
25664 struct nb_cb_destroy_args
*args
)
25666 switch (args
->event
) {
25667 case NB_EV_VALIDATE
:
25668 case NB_EV_PREPARE
:
25671 /* TODO: implement me. */
25680 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-import
25682 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
25683 struct nb_cb_modify_args
*args
)
25685 switch (args
->event
) {
25686 case NB_EV_VALIDATE
:
25687 case NB_EV_PREPARE
:
25690 /* TODO: implement me. */
25697 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
25698 struct nb_cb_destroy_args
*args
)
25700 switch (args
->event
) {
25701 case NB_EV_VALIDATE
:
25702 case NB_EV_PREPARE
:
25705 /* TODO: implement me. */
25714 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-export
25716 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
25717 struct nb_cb_modify_args
*args
)
25719 switch (args
->event
) {
25720 case NB_EV_VALIDATE
:
25721 case NB_EV_PREPARE
:
25724 /* TODO: implement me. */
25731 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
25732 struct nb_cb_destroy_args
*args
)
25734 switch (args
->event
) {
25735 case NB_EV_VALIDATE
:
25736 case NB_EV_PREPARE
:
25739 /* TODO: implement me. */
25748 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-import
25750 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
25751 struct nb_cb_modify_args
*args
)
25753 switch (args
->event
) {
25754 case NB_EV_VALIDATE
:
25755 case NB_EV_PREPARE
:
25758 /* TODO: implement me. */
25765 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
25766 struct nb_cb_destroy_args
*args
)
25768 switch (args
->event
) {
25769 case NB_EV_VALIDATE
:
25770 case NB_EV_PREPARE
:
25773 /* TODO: implement me. */
25782 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-export
25784 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
25785 struct nb_cb_modify_args
*args
)
25787 switch (args
->event
) {
25788 case NB_EV_VALIDATE
:
25789 case NB_EV_PREPARE
:
25792 /* TODO: implement me. */
25799 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
25800 struct nb_cb_destroy_args
*args
)
25802 switch (args
->event
) {
25803 case NB_EV_VALIDATE
:
25804 case NB_EV_PREPARE
:
25807 /* TODO: implement me. */
25815 bgp_unnumbered_neighbor_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
25816 uint32_t flags
, bool set
)
25819 const char *peer_str
;
25821 const struct lyd_node
*nbr_dnode
;
25822 const struct lyd_node
*nbr_af_dnode
;
25823 const char *af_name
;
25827 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
25828 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
25829 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
25831 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
25832 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
25833 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
25834 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
25837 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
25840 return NB_ERR_INCONSISTENCY
;
25847 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/add-paths/path-type
25849 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
25850 struct nb_cb_modify_args
*args
)
25852 switch (args
->event
) {
25853 case NB_EV_VALIDATE
:
25854 case NB_EV_PREPARE
:
25857 /* TODO: implement me. */
25866 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-as
25868 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
25869 struct nb_cb_modify_args
*args
)
25871 switch (args
->event
) {
25872 case NB_EV_VALIDATE
:
25873 case NB_EV_PREPARE
:
25876 /* TODO: implement me. */
25883 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
25884 struct nb_cb_destroy_args
*args
)
25886 switch (args
->event
) {
25887 case NB_EV_VALIDATE
:
25888 case NB_EV_PREPARE
:
25891 /* TODO: implement me. */
25900 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-origin-as
25902 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
25903 struct nb_cb_modify_args
*args
)
25905 switch (args
->event
) {
25906 case NB_EV_VALIDATE
:
25907 case NB_EV_PREPARE
:
25910 /* TODO: implement me. */
25917 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
25918 struct nb_cb_destroy_args
*args
)
25920 switch (args
->event
) {
25921 case NB_EV_VALIDATE
:
25922 case NB_EV_PREPARE
:
25925 /* TODO: implement me. */
25934 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/as-path-options/replace-peer-as
25936 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
25937 struct nb_cb_modify_args
*args
)
25939 switch (args
->event
) {
25940 case NB_EV_VALIDATE
:
25941 case NB_EV_PREPARE
:
25945 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
25946 args
, PEER_FLAG_AS_OVERRIDE
,
25947 yang_dnode_get_bool(args
->dnode
, NULL
));
25957 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
25959 void bgp_unnumbered_neighbor_afi_safi_default_originate_apply_finish(
25960 struct nb_cb_apply_finish_args
*args
)
25963 const char *peer_str
;
25965 const struct lyd_node
*nbr_dnode
;
25966 const struct lyd_node
*nbr_af_dnode
;
25967 const char *af_name
;
25971 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
25972 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
25973 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
25975 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
25976 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
25977 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
25978 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
25983 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
25988 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/originate
25990 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
25991 struct nb_cb_modify_args
*args
)
25993 switch (args
->event
) {
25994 case NB_EV_VALIDATE
:
25995 case NB_EV_PREPARE
:
25998 /* TODO: implement me. */
26007 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/route-map
26009 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
26010 struct nb_cb_modify_args
*args
)
26012 switch (args
->event
) {
26013 case NB_EV_VALIDATE
:
26014 case NB_EV_PREPARE
:
26017 /* TODO: implement me. */
26024 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
26025 struct nb_cb_destroy_args
*args
)
26027 switch (args
->event
) {
26028 case NB_EV_VALIDATE
:
26029 case NB_EV_PREPARE
:
26032 /* TODO: implement me. */
26039 static int bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
26040 struct nb_cb_destroy_args
*args
)
26043 const char *peer_str
;
26045 const struct lyd_node
*nbr_dnode
;
26046 const struct lyd_node
*nbr_af_dnode
;
26047 const char *af_name
;
26052 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26053 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26054 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26056 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26057 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26058 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26059 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26062 return NB_ERR_INCONSISTENCY
;
26064 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
26066 switch (direction
) {
26068 peer_maximum_prefix_unset(peer
, afi
, safi
);
26071 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
26072 peer
->pmax_out
[afi
][safi
] = 0;
26081 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list
26083 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
26084 struct nb_cb_create_args
*args
)
26086 switch (args
->event
) {
26087 case NB_EV_VALIDATE
:
26088 case NB_EV_PREPARE
:
26091 /* TODO: implement me. */
26098 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
26099 struct nb_cb_destroy_args
*args
)
26101 switch (args
->event
) {
26102 case NB_EV_VALIDATE
:
26103 case NB_EV_PREPARE
:
26107 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
26114 void bgp_unnumbered_neighbor_afi_safi_prefix_limit_apply_finish(
26115 struct nb_cb_apply_finish_args
*args
)
26118 const char *peer_str
;
26120 const struct lyd_node
*nbr_dnode
;
26121 const struct lyd_node
*nbr_af_dnode
;
26122 const char *af_name
;
26126 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26127 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26128 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26130 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26131 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26132 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26133 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26138 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
26143 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/max-prefixes
26145 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
26146 struct nb_cb_modify_args
*args
)
26148 switch (args
->event
) {
26149 case NB_EV_VALIDATE
:
26150 case NB_EV_PREPARE
:
26153 /* TODO: implement me. */
26162 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/force-check
26164 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
26165 struct nb_cb_modify_args
*args
)
26167 switch (args
->event
) {
26168 case NB_EV_VALIDATE
:
26169 case NB_EV_PREPARE
:
26172 /* TODO: implement me. */
26181 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/warning-only
26183 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
26184 struct nb_cb_modify_args
*args
)
26186 switch (args
->event
) {
26187 case NB_EV_VALIDATE
:
26188 case NB_EV_PREPARE
:
26191 /* TODO: implement me. */
26198 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
26199 struct nb_cb_destroy_args
*args
)
26201 switch (args
->event
) {
26202 case NB_EV_VALIDATE
:
26203 case NB_EV_PREPARE
:
26206 /* TODO: implement me. */
26215 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/restart-timer
26217 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
26218 struct nb_cb_modify_args
*args
)
26220 switch (args
->event
) {
26221 case NB_EV_VALIDATE
:
26222 case NB_EV_PREPARE
:
26225 /* TODO: implement me. */
26232 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
26233 struct nb_cb_destroy_args
*args
)
26235 switch (args
->event
) {
26236 case NB_EV_VALIDATE
:
26237 case NB_EV_PREPARE
:
26240 /* TODO: implement me. */
26249 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
26251 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
26252 struct nb_cb_modify_args
*args
)
26254 switch (args
->event
) {
26255 case NB_EV_VALIDATE
:
26256 case NB_EV_PREPARE
:
26259 /* TODO: implement me. */
26266 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
26267 struct nb_cb_destroy_args
*args
)
26269 switch (args
->event
) {
26270 case NB_EV_VALIDATE
:
26271 case NB_EV_PREPARE
:
26274 /* TODO: implement me. */
26283 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
26285 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
26286 struct nb_cb_modify_args
*args
)
26288 switch (args
->event
) {
26289 case NB_EV_VALIDATE
:
26290 case NB_EV_PREPARE
:
26293 /* TODO: implement me. */
26300 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
26301 struct nb_cb_destroy_args
*args
)
26303 switch (args
->event
) {
26304 case NB_EV_VALIDATE
:
26305 case NB_EV_PREPARE
:
26308 /* TODO: implement me. */
26317 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
26319 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
26320 struct nb_cb_modify_args
*args
)
26322 switch (args
->event
) {
26323 case NB_EV_VALIDATE
:
26324 case NB_EV_PREPARE
:
26327 /* TODO: implement me. */
26334 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
26335 struct nb_cb_destroy_args
*args
)
26337 switch (args
->event
) {
26338 case NB_EV_VALIDATE
:
26339 case NB_EV_PREPARE
:
26342 /* TODO: implement me. */
26351 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
26353 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
26354 struct nb_cb_modify_args
*args
)
26356 switch (args
->event
) {
26357 case NB_EV_VALIDATE
:
26358 case NB_EV_PREPARE
:
26361 /* TODO: implement me. */
26368 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
26369 struct nb_cb_destroy_args
*args
)
26371 switch (args
->event
) {
26372 case NB_EV_VALIDATE
:
26373 case NB_EV_PREPARE
:
26376 /* TODO: implement me. */
26385 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
26387 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
26388 struct nb_cb_modify_args
*args
)
26390 switch (args
->event
) {
26391 case NB_EV_VALIDATE
:
26392 case NB_EV_PREPARE
:
26395 /* TODO: implement me. */
26402 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
26403 struct nb_cb_destroy_args
*args
)
26405 switch (args
->event
) {
26406 case NB_EV_VALIDATE
:
26407 case NB_EV_PREPARE
:
26410 /* TODO: implement me. */
26419 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self
26421 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
26422 struct nb_cb_modify_args
*args
)
26424 switch (args
->event
) {
26425 case NB_EV_VALIDATE
:
26426 case NB_EV_PREPARE
:
26430 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26431 args
, PEER_FLAG_NEXTHOP_SELF
,
26432 yang_dnode_get_bool(args
->dnode
, NULL
));
26442 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self-force
26444 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
26445 struct nb_cb_modify_args
*args
)
26447 switch (args
->event
) {
26448 case NB_EV_VALIDATE
:
26449 case NB_EV_PREPARE
:
26453 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26454 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
26455 yang_dnode_get_bool(args
->dnode
, NULL
));
26465 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all
26467 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
26468 struct nb_cb_modify_args
*args
)
26470 switch (args
->event
) {
26471 case NB_EV_VALIDATE
:
26472 case NB_EV_PREPARE
:
26476 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26477 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
26478 yang_dnode_get_bool(args
->dnode
, NULL
));
26488 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all-replace
26490 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
26491 struct nb_cb_modify_args
*args
)
26493 switch (args
->event
) {
26494 case NB_EV_VALIDATE
:
26495 case NB_EV_PREPARE
:
26499 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26500 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
26501 yang_dnode_get_bool(args
->dnode
, NULL
));
26511 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as
26513 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
26514 struct nb_cb_modify_args
*args
)
26516 switch (args
->event
) {
26517 case NB_EV_VALIDATE
:
26518 case NB_EV_PREPARE
:
26522 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26523 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
26524 yang_dnode_get_bool(args
->dnode
, NULL
));
26534 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-replace
26536 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
26537 struct nb_cb_modify_args
*args
)
26539 switch (args
->event
) {
26540 case NB_EV_VALIDATE
:
26541 case NB_EV_PREPARE
:
26545 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26546 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
26547 yang_dnode_get_bool(args
->dnode
, NULL
));
26556 bgp_unnumbered_neighbor_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
26559 const char *peer_str
;
26561 const struct lyd_node
*nbr_dnode
;
26562 const char *af_name
;
26566 const struct lyd_node
*nbr_af_dnode
;
26569 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26570 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26571 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26573 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26574 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26575 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26576 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26579 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
26581 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
26582 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
26583 return NB_ERR_INCONSISTENCY
;
26589 bgp_unnumbered_neighbor_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
26592 const char *peer_str
;
26594 const struct lyd_node
*nbr_dnode
;
26595 const struct lyd_node
*nbr_af_dnode
;
26596 const char *af_name
;
26601 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
26602 nbr_dnode
= yang_dnode_get_parent(args
->dnode
, "unnumbered-neighbor");
26603 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26604 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26606 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26607 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26608 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26610 ret
= peer_weight_unset(peer
, afi
, safi
);
26611 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
26612 return NB_ERR_INCONSISTENCY
;
26619 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/weight/weight-attribute
26621 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
26622 struct nb_cb_modify_args
*args
)
26624 switch (args
->event
) {
26625 case NB_EV_VALIDATE
:
26626 case NB_EV_PREPARE
:
26630 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
26638 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
26639 struct nb_cb_destroy_args
*args
)
26641 switch (args
->event
) {
26642 case NB_EV_VALIDATE
:
26643 case NB_EV_PREPARE
:
26647 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
26657 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/route-reflector/route-reflector-client
26659 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
26660 struct nb_cb_modify_args
*args
)
26662 switch (args
->event
) {
26663 case NB_EV_VALIDATE
:
26664 case NB_EV_PREPARE
:
26668 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26669 args
, PEER_FLAG_REFLECTOR_CLIENT
,
26670 yang_dnode_get_bool(args
->dnode
, NULL
));
26680 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/route-server/route-server-client
26682 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
26683 struct nb_cb_modify_args
*args
)
26685 switch (args
->event
) {
26686 case NB_EV_VALIDATE
:
26687 case NB_EV_PREPARE
:
26691 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26692 args
, PEER_FLAG_RSERVER_CLIENT
,
26693 yang_dnode_get_bool(args
->dnode
, NULL
));
26703 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-community
26705 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
26706 struct nb_cb_modify_args
*args
)
26708 switch (args
->event
) {
26709 case NB_EV_VALIDATE
:
26710 case NB_EV_PREPARE
:
26714 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26715 args
, PEER_FLAG_SEND_COMMUNITY
,
26716 yang_dnode_get_bool(args
->dnode
, NULL
));
26726 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-ext-community
26728 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
26729 struct nb_cb_modify_args
*args
)
26731 switch (args
->event
) {
26732 case NB_EV_VALIDATE
:
26733 case NB_EV_PREPARE
:
26737 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26738 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
26739 yang_dnode_get_bool(args
->dnode
, NULL
));
26749 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-large-community
26751 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
26752 struct nb_cb_modify_args
*args
)
26754 switch (args
->event
) {
26755 case NB_EV_VALIDATE
:
26756 case NB_EV_PREPARE
:
26760 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26761 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
26762 yang_dnode_get_bool(args
->dnode
, NULL
));
26772 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
26774 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
26775 struct nb_cb_modify_args
*args
)
26777 switch (args
->event
) {
26778 case NB_EV_VALIDATE
:
26779 case NB_EV_PREPARE
:
26783 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26784 args
, PEER_FLAG_SOFT_RECONFIG
,
26785 yang_dnode_get_bool(args
->dnode
, NULL
));
26795 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/as-path-unchanged
26797 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
26798 struct nb_cb_modify_args
*args
)
26800 switch (args
->event
) {
26801 case NB_EV_VALIDATE
:
26802 case NB_EV_PREPARE
:
26806 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26807 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
26808 yang_dnode_get_bool(args
->dnode
, NULL
));
26818 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/next-hop-unchanged
26820 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
26821 struct nb_cb_modify_args
*args
)
26823 switch (args
->event
) {
26824 case NB_EV_VALIDATE
:
26825 case NB_EV_PREPARE
:
26829 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26830 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
26831 yang_dnode_get_bool(args
->dnode
, NULL
));
26841 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/med-unchanged
26843 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
26844 struct nb_cb_modify_args
*args
)
26846 switch (args
->event
) {
26847 case NB_EV_VALIDATE
:
26848 case NB_EV_PREPARE
:
26852 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26853 args
, PEER_FLAG_MED_UNCHANGED
,
26854 yang_dnode_get_bool(args
->dnode
, NULL
));
26864 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-send
26866 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
26867 struct nb_cb_modify_args
*args
)
26869 switch (args
->event
) {
26870 case NB_EV_VALIDATE
:
26871 case NB_EV_PREPARE
:
26874 /* TODO: implement me. */
26881 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
26882 struct nb_cb_destroy_args
*args
)
26884 switch (args
->event
) {
26885 case NB_EV_VALIDATE
:
26886 case NB_EV_PREPARE
:
26889 /* TODO: implement me. */
26898 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-receive
26900 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
26901 struct nb_cb_modify_args
*args
)
26903 switch (args
->event
) {
26904 case NB_EV_VALIDATE
:
26905 case NB_EV_PREPARE
:
26908 /* TODO: implement me. */
26915 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
26916 struct nb_cb_destroy_args
*args
)
26918 switch (args
->event
) {
26919 case NB_EV_VALIDATE
:
26920 case NB_EV_PREPARE
:
26923 /* TODO: implement me. */
26932 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-both
26934 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
26935 struct nb_cb_modify_args
*args
)
26937 switch (args
->event
) {
26938 case NB_EV_VALIDATE
:
26939 case NB_EV_PREPARE
:
26942 /* TODO: implement me. */
26949 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
26950 struct nb_cb_destroy_args
*args
)
26952 switch (args
->event
) {
26953 case NB_EV_VALIDATE
:
26954 case NB_EV_PREPARE
:
26957 /* TODO: implement me. */
26965 bgp_unnumbered_neighbor_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
26969 const char *peer_str
;
26971 const struct lyd_node
*nbr_dnode
;
26972 const struct lyd_node
*nbr_af_dnode
;
26973 const char *af_name
;
26976 const char *name_str
;
26977 struct route_map
*route_map
;
26980 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26981 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26982 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26984 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26985 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26986 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26987 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26990 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
26991 route_map
= route_map_lookup_by_name(name_str
);
26992 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
26994 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
26998 bgp_unnumbered_neighbor_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
27002 const char *peer_str
;
27004 const struct lyd_node
*nbr_dnode
;
27005 const struct lyd_node
*nbr_af_dnode
;
27006 const char *af_name
;
27011 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27012 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27013 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27015 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27016 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27017 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27018 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27021 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
27023 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
27028 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-import
27030 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
27031 struct nb_cb_modify_args
*args
)
27033 switch (args
->event
) {
27034 case NB_EV_VALIDATE
:
27035 case NB_EV_PREPARE
:
27039 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
27046 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
27047 struct nb_cb_destroy_args
*args
)
27049 switch (args
->event
) {
27050 case NB_EV_VALIDATE
:
27051 case NB_EV_PREPARE
:
27055 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
27064 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
27066 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
27067 struct nb_cb_modify_args
*args
)
27069 switch (args
->event
) {
27070 case NB_EV_VALIDATE
:
27071 case NB_EV_PREPARE
:
27075 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
27082 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
27083 struct nb_cb_destroy_args
*args
)
27085 switch (args
->event
) {
27086 case NB_EV_VALIDATE
:
27087 case NB_EV_PREPARE
:
27091 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
27099 bgp_unnumbered_neighbor_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
27103 const char *peer_str
;
27105 const struct lyd_node
*nbr_dnode
;
27106 const struct lyd_node
*nbr_af_dnode
;
27107 const char *af_name
;
27110 const char *name_str
;
27112 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27113 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27114 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27116 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27117 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27118 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27119 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27122 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
27123 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
27124 return NB_ERR_INCONSISTENCY
;
27130 bgp_unnumbered_neighbor_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
27134 const char *peer_str
;
27136 const struct lyd_node
*nbr_dnode
;
27137 const struct lyd_node
*nbr_af_dnode
;
27138 const char *af_name
;
27142 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27143 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27144 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27146 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27147 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27148 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27149 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27152 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
27153 return NB_ERR_INCONSISTENCY
;
27159 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-import
27161 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
27162 struct nb_cb_modify_args
*args
)
27164 switch (args
->event
) {
27165 case NB_EV_VALIDATE
:
27166 case NB_EV_PREPARE
:
27170 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
27177 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
27178 struct nb_cb_destroy_args
*args
)
27180 switch (args
->event
) {
27181 case NB_EV_VALIDATE
:
27182 case NB_EV_PREPARE
:
27186 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
27195 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-export
27197 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
27198 struct nb_cb_modify_args
*args
)
27200 switch (args
->event
) {
27201 case NB_EV_VALIDATE
:
27202 case NB_EV_PREPARE
:
27206 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
27213 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
27214 struct nb_cb_destroy_args
*args
)
27216 switch (args
->event
) {
27217 case NB_EV_VALIDATE
:
27218 case NB_EV_PREPARE
:
27222 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
27231 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-import
27233 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
27234 struct nb_cb_modify_args
*args
)
27236 switch (args
->event
) {
27237 case NB_EV_VALIDATE
:
27238 case NB_EV_PREPARE
:
27241 /* TODO: implement me. */
27248 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
27249 struct nb_cb_destroy_args
*args
)
27251 switch (args
->event
) {
27252 case NB_EV_VALIDATE
:
27253 case NB_EV_PREPARE
:
27256 /* TODO: implement me. */
27265 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-export
27267 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
27268 struct nb_cb_modify_args
*args
)
27270 switch (args
->event
) {
27271 case NB_EV_VALIDATE
:
27272 case NB_EV_PREPARE
:
27275 /* TODO: implement me. */
27282 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
27283 struct nb_cb_destroy_args
*args
)
27285 switch (args
->event
) {
27286 case NB_EV_VALIDATE
:
27287 case NB_EV_PREPARE
:
27290 /* TODO: implement me. */
27299 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-import
27301 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
27302 struct nb_cb_modify_args
*args
)
27304 switch (args
->event
) {
27305 case NB_EV_VALIDATE
:
27306 case NB_EV_PREPARE
:
27309 /* TODO: implement me. */
27316 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
27317 struct nb_cb_destroy_args
*args
)
27319 switch (args
->event
) {
27320 case NB_EV_VALIDATE
:
27321 case NB_EV_PREPARE
:
27324 /* TODO: implement me. */
27333 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-export
27335 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
27336 struct nb_cb_modify_args
*args
)
27338 switch (args
->event
) {
27339 case NB_EV_VALIDATE
:
27340 case NB_EV_PREPARE
:
27343 /* TODO: implement me. */
27350 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
27351 struct nb_cb_destroy_args
*args
)
27353 switch (args
->event
) {
27354 case NB_EV_VALIDATE
:
27355 case NB_EV_PREPARE
:
27358 /* TODO: implement me. */
27367 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-import
27369 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
27370 struct nb_cb_modify_args
*args
)
27372 switch (args
->event
) {
27373 case NB_EV_VALIDATE
:
27374 case NB_EV_PREPARE
:
27377 /* TODO: implement me. */
27384 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
27385 struct nb_cb_destroy_args
*args
)
27387 switch (args
->event
) {
27388 case NB_EV_VALIDATE
:
27389 case NB_EV_PREPARE
:
27392 /* TODO: implement me. */
27401 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-export
27403 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
27404 struct nb_cb_modify_args
*args
)
27406 switch (args
->event
) {
27407 case NB_EV_VALIDATE
:
27408 case NB_EV_PREPARE
:
27411 /* TODO: implement me. */
27418 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
27419 struct nb_cb_destroy_args
*args
)
27421 switch (args
->event
) {
27422 case NB_EV_VALIDATE
:
27423 case NB_EV_PREPARE
:
27426 /* TODO: implement me. */
27435 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-local-unchanged
27437 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
27438 struct nb_cb_modify_args
*args
)
27440 switch (args
->event
) {
27441 case NB_EV_VALIDATE
:
27442 case NB_EV_PREPARE
:
27445 /* TODO: implement me. */
27454 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/add-paths/path-type
27456 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
27457 struct nb_cb_modify_args
*args
)
27459 switch (args
->event
) {
27460 case NB_EV_VALIDATE
:
27461 case NB_EV_PREPARE
:
27464 /* TODO: implement me. */
27473 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-as
27475 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
27476 struct nb_cb_modify_args
*args
)
27478 switch (args
->event
) {
27479 case NB_EV_VALIDATE
:
27480 case NB_EV_PREPARE
:
27483 /* TODO: implement me. */
27490 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
27491 struct nb_cb_destroy_args
*args
)
27493 switch (args
->event
) {
27494 case NB_EV_VALIDATE
:
27495 case NB_EV_PREPARE
:
27498 /* TODO: implement me. */
27507 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-origin-as
27509 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
27510 struct nb_cb_modify_args
*args
)
27512 switch (args
->event
) {
27513 case NB_EV_VALIDATE
:
27514 case NB_EV_PREPARE
:
27517 /* TODO: implement me. */
27524 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
27525 struct nb_cb_destroy_args
*args
)
27527 switch (args
->event
) {
27528 case NB_EV_VALIDATE
:
27529 case NB_EV_PREPARE
:
27532 /* TODO: implement me. */
27541 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/as-path-options/replace-peer-as
27543 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
27544 struct nb_cb_modify_args
*args
)
27546 switch (args
->event
) {
27547 case NB_EV_VALIDATE
:
27548 case NB_EV_PREPARE
:
27552 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27553 args
, PEER_FLAG_AS_OVERRIDE
,
27554 yang_dnode_get_bool(args
->dnode
, NULL
));
27564 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/originate
27566 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
27567 struct nb_cb_modify_args
*args
)
27569 switch (args
->event
) {
27570 case NB_EV_VALIDATE
:
27571 case NB_EV_PREPARE
:
27574 /* TODO: implement me. */
27583 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/route-map
27585 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
27586 struct nb_cb_modify_args
*args
)
27588 switch (args
->event
) {
27589 case NB_EV_VALIDATE
:
27590 case NB_EV_PREPARE
:
27593 /* TODO: implement me. */
27600 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
27601 struct nb_cb_destroy_args
*args
)
27603 switch (args
->event
) {
27604 case NB_EV_VALIDATE
:
27605 case NB_EV_PREPARE
:
27608 /* TODO: implement me. */
27617 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/as-path-unchanged
27619 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
27620 struct nb_cb_modify_args
*args
)
27622 switch (args
->event
) {
27623 case NB_EV_VALIDATE
:
27624 case NB_EV_PREPARE
:
27628 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27629 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
27630 yang_dnode_get_bool(args
->dnode
, NULL
));
27640 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/next-hop-unchanged
27642 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
27643 struct nb_cb_modify_args
*args
)
27645 switch (args
->event
) {
27646 case NB_EV_VALIDATE
:
27647 case NB_EV_PREPARE
:
27651 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27652 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
27653 yang_dnode_get_bool(args
->dnode
, NULL
));
27663 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/med-unchanged
27665 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
27666 struct nb_cb_modify_args
*args
)
27668 switch (args
->event
) {
27669 case NB_EV_VALIDATE
:
27670 case NB_EV_PREPARE
:
27674 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27675 args
, PEER_FLAG_MED_UNCHANGED
,
27676 yang_dnode_get_bool(args
->dnode
, NULL
));
27686 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-send
27688 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
27689 struct nb_cb_modify_args
*args
)
27691 switch (args
->event
) {
27692 case NB_EV_VALIDATE
:
27693 case NB_EV_PREPARE
:
27696 /* TODO: implement me. */
27703 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
27704 struct nb_cb_destroy_args
*args
)
27706 switch (args
->event
) {
27707 case NB_EV_VALIDATE
:
27708 case NB_EV_PREPARE
:
27711 /* TODO: implement me. */
27720 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-receive
27722 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
27723 struct nb_cb_modify_args
*args
)
27725 switch (args
->event
) {
27726 case NB_EV_VALIDATE
:
27727 case NB_EV_PREPARE
:
27730 /* TODO: implement me. */
27737 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
27738 struct nb_cb_destroy_args
*args
)
27740 switch (args
->event
) {
27741 case NB_EV_VALIDATE
:
27742 case NB_EV_PREPARE
:
27745 /* TODO: implement me. */
27754 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-both
27756 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
27757 struct nb_cb_modify_args
*args
)
27759 switch (args
->event
) {
27760 case NB_EV_VALIDATE
:
27761 case NB_EV_PREPARE
:
27764 /* TODO: implement me. */
27771 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
27772 struct nb_cb_destroy_args
*args
)
27774 switch (args
->event
) {
27775 case NB_EV_VALIDATE
:
27776 case NB_EV_PREPARE
:
27779 /* TODO: implement me. */
27788 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list
27790 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
27791 struct nb_cb_create_args
*args
)
27793 switch (args
->event
) {
27794 case NB_EV_VALIDATE
:
27795 case NB_EV_PREPARE
:
27798 /* TODO: implement me. */
27805 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
27806 struct nb_cb_destroy_args
*args
)
27808 switch (args
->event
) {
27809 case NB_EV_VALIDATE
:
27810 case NB_EV_PREPARE
:
27814 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
27823 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/max-prefixes
27825 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
27826 struct nb_cb_modify_args
*args
)
27828 switch (args
->event
) {
27829 case NB_EV_VALIDATE
:
27830 case NB_EV_PREPARE
:
27833 /* TODO: implement me. */
27842 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/force-check
27844 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
27845 struct nb_cb_modify_args
*args
)
27847 switch (args
->event
) {
27848 case NB_EV_VALIDATE
:
27849 case NB_EV_PREPARE
:
27852 /* TODO: implement me. */
27861 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/warning-only
27863 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
27864 struct nb_cb_modify_args
*args
)
27866 switch (args
->event
) {
27867 case NB_EV_VALIDATE
:
27868 case NB_EV_PREPARE
:
27871 /* TODO: implement me. */
27878 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
27879 struct nb_cb_destroy_args
*args
)
27881 switch (args
->event
) {
27882 case NB_EV_VALIDATE
:
27883 case NB_EV_PREPARE
:
27886 /* TODO: implement me. */
27895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/restart-timer
27897 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
27898 struct nb_cb_modify_args
*args
)
27900 switch (args
->event
) {
27901 case NB_EV_VALIDATE
:
27902 case NB_EV_PREPARE
:
27905 /* TODO: implement me. */
27912 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
27913 struct nb_cb_destroy_args
*args
)
27915 switch (args
->event
) {
27916 case NB_EV_VALIDATE
:
27917 case NB_EV_PREPARE
:
27920 /* TODO: implement me. */
27929 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
27931 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
27932 struct nb_cb_modify_args
*args
)
27934 switch (args
->event
) {
27935 case NB_EV_VALIDATE
:
27936 case NB_EV_PREPARE
:
27939 /* TODO: implement me. */
27946 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
27947 struct nb_cb_destroy_args
*args
)
27949 switch (args
->event
) {
27950 case NB_EV_VALIDATE
:
27951 case NB_EV_PREPARE
:
27954 /* TODO: implement me. */
27963 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
27965 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
27966 struct nb_cb_modify_args
*args
)
27968 switch (args
->event
) {
27969 case NB_EV_VALIDATE
:
27970 case NB_EV_PREPARE
:
27973 /* TODO: implement me. */
27980 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
27981 struct nb_cb_destroy_args
*args
)
27983 switch (args
->event
) {
27984 case NB_EV_VALIDATE
:
27985 case NB_EV_PREPARE
:
27988 /* TODO: implement me. */
27997 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
27999 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
28000 struct nb_cb_modify_args
*args
)
28002 switch (args
->event
) {
28003 case NB_EV_VALIDATE
:
28004 case NB_EV_PREPARE
:
28007 /* TODO: implement me. */
28014 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
28015 struct nb_cb_destroy_args
*args
)
28017 switch (args
->event
) {
28018 case NB_EV_VALIDATE
:
28019 case NB_EV_PREPARE
:
28022 /* TODO: implement me. */
28031 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
28033 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
28034 struct nb_cb_modify_args
*args
)
28036 switch (args
->event
) {
28037 case NB_EV_VALIDATE
:
28038 case NB_EV_PREPARE
:
28041 /* TODO: implement me. */
28048 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
28049 struct nb_cb_destroy_args
*args
)
28051 switch (args
->event
) {
28052 case NB_EV_VALIDATE
:
28053 case NB_EV_PREPARE
:
28056 /* TODO: implement me. */
28065 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
28067 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
28068 struct nb_cb_modify_args
*args
)
28070 switch (args
->event
) {
28071 case NB_EV_VALIDATE
:
28072 case NB_EV_PREPARE
:
28075 /* TODO: implement me. */
28082 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
28083 struct nb_cb_destroy_args
*args
)
28085 switch (args
->event
) {
28086 case NB_EV_VALIDATE
:
28087 case NB_EV_PREPARE
:
28090 /* TODO: implement me. */
28099 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self
28101 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
28102 struct nb_cb_modify_args
*args
)
28104 switch (args
->event
) {
28105 case NB_EV_VALIDATE
:
28106 case NB_EV_PREPARE
:
28110 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28111 args
, PEER_FLAG_NEXTHOP_SELF
,
28112 yang_dnode_get_bool(args
->dnode
, NULL
));
28122 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self-force
28124 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
28125 struct nb_cb_modify_args
*args
)
28127 switch (args
->event
) {
28128 case NB_EV_VALIDATE
:
28129 case NB_EV_PREPARE
:
28133 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28134 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
28135 yang_dnode_get_bool(args
->dnode
, NULL
));
28145 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all
28147 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
28148 struct nb_cb_modify_args
*args
)
28150 switch (args
->event
) {
28151 case NB_EV_VALIDATE
:
28152 case NB_EV_PREPARE
:
28156 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28157 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
28158 yang_dnode_get_bool(args
->dnode
, NULL
));
28168 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all-replace
28170 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
28171 struct nb_cb_modify_args
*args
)
28173 switch (args
->event
) {
28174 case NB_EV_VALIDATE
:
28175 case NB_EV_PREPARE
:
28179 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28180 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
28181 yang_dnode_get_bool(args
->dnode
, NULL
));
28191 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as
28193 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
28194 struct nb_cb_modify_args
*args
)
28196 switch (args
->event
) {
28197 case NB_EV_VALIDATE
:
28198 case NB_EV_PREPARE
:
28202 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28203 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
28204 yang_dnode_get_bool(args
->dnode
, NULL
));
28214 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-replace
28216 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
28217 struct nb_cb_modify_args
*args
)
28219 switch (args
->event
) {
28220 case NB_EV_VALIDATE
:
28221 case NB_EV_PREPARE
:
28225 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28226 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
28227 yang_dnode_get_bool(args
->dnode
, NULL
));
28237 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/route-reflector/route-reflector-client
28239 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
28240 struct nb_cb_modify_args
*args
)
28242 switch (args
->event
) {
28243 case NB_EV_VALIDATE
:
28244 case NB_EV_PREPARE
:
28248 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28249 args
, PEER_FLAG_REFLECTOR_CLIENT
,
28250 yang_dnode_get_bool(args
->dnode
, NULL
));
28260 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/route-server/route-server-client
28262 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
28263 struct nb_cb_modify_args
*args
)
28265 switch (args
->event
) {
28266 case NB_EV_VALIDATE
:
28267 case NB_EV_PREPARE
:
28271 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28272 args
, PEER_FLAG_RSERVER_CLIENT
,
28273 yang_dnode_get_bool(args
->dnode
, NULL
));
28283 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-community
28285 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
28286 struct nb_cb_modify_args
*args
)
28288 switch (args
->event
) {
28289 case NB_EV_VALIDATE
:
28290 case NB_EV_PREPARE
:
28294 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28295 args
, PEER_FLAG_SEND_COMMUNITY
,
28296 yang_dnode_get_bool(args
->dnode
, NULL
));
28306 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-ext-community
28308 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
28309 struct nb_cb_modify_args
*args
)
28311 switch (args
->event
) {
28312 case NB_EV_VALIDATE
:
28313 case NB_EV_PREPARE
:
28317 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28318 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
28319 yang_dnode_get_bool(args
->dnode
, NULL
));
28329 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-large-community
28331 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
28332 struct nb_cb_modify_args
*args
)
28334 switch (args
->event
) {
28335 case NB_EV_VALIDATE
:
28336 case NB_EV_PREPARE
:
28340 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28341 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
28342 yang_dnode_get_bool(args
->dnode
, NULL
));
28352 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
28354 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
28355 struct nb_cb_modify_args
*args
)
28357 switch (args
->event
) {
28358 case NB_EV_VALIDATE
:
28359 case NB_EV_PREPARE
:
28363 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28364 args
, PEER_FLAG_SOFT_RECONFIG
,
28365 yang_dnode_get_bool(args
->dnode
, NULL
));
28375 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/weight/weight-attribute
28377 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
28378 struct nb_cb_modify_args
*args
)
28380 switch (args
->event
) {
28381 case NB_EV_VALIDATE
:
28382 case NB_EV_PREPARE
:
28386 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
28394 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
28395 struct nb_cb_destroy_args
*args
)
28397 switch (args
->event
) {
28398 case NB_EV_VALIDATE
:
28399 case NB_EV_PREPARE
:
28403 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
28413 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-import
28415 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
28416 struct nb_cb_modify_args
*args
)
28418 switch (args
->event
) {
28419 case NB_EV_VALIDATE
:
28420 case NB_EV_PREPARE
:
28424 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
28431 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
28432 struct nb_cb_destroy_args
*args
)
28434 switch (args
->event
) {
28435 case NB_EV_VALIDATE
:
28436 case NB_EV_PREPARE
:
28440 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
28449 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
28451 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
28452 struct nb_cb_modify_args
*args
)
28454 switch (args
->event
) {
28455 case NB_EV_VALIDATE
:
28456 case NB_EV_PREPARE
:
28460 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
28467 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
28468 struct nb_cb_destroy_args
*args
)
28470 switch (args
->event
) {
28471 case NB_EV_VALIDATE
:
28472 case NB_EV_PREPARE
:
28476 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
28485 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-import
28487 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
28488 struct nb_cb_modify_args
*args
)
28490 switch (args
->event
) {
28491 case NB_EV_VALIDATE
:
28492 case NB_EV_PREPARE
:
28496 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
28503 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
28504 struct nb_cb_destroy_args
*args
)
28506 switch (args
->event
) {
28507 case NB_EV_VALIDATE
:
28508 case NB_EV_PREPARE
:
28512 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
28521 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-export
28523 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
28524 struct nb_cb_modify_args
*args
)
28526 switch (args
->event
) {
28527 case NB_EV_VALIDATE
:
28528 case NB_EV_PREPARE
:
28532 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
28539 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
28540 struct nb_cb_destroy_args
*args
)
28542 switch (args
->event
) {
28543 case NB_EV_VALIDATE
:
28544 case NB_EV_PREPARE
:
28548 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
28557 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-import
28559 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
28560 struct nb_cb_modify_args
*args
)
28562 switch (args
->event
) {
28563 case NB_EV_VALIDATE
:
28564 case NB_EV_PREPARE
:
28567 /* TODO: implement me. */
28574 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
28575 struct nb_cb_destroy_args
*args
)
28577 switch (args
->event
) {
28578 case NB_EV_VALIDATE
:
28579 case NB_EV_PREPARE
:
28582 /* TODO: implement me. */
28591 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-export
28593 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
28594 struct nb_cb_modify_args
*args
)
28596 switch (args
->event
) {
28597 case NB_EV_VALIDATE
:
28598 case NB_EV_PREPARE
:
28601 /* TODO: implement me. */
28608 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
28609 struct nb_cb_destroy_args
*args
)
28611 switch (args
->event
) {
28612 case NB_EV_VALIDATE
:
28613 case NB_EV_PREPARE
:
28616 /* TODO: implement me. */
28625 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-import
28627 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
28628 struct nb_cb_modify_args
*args
)
28630 switch (args
->event
) {
28631 case NB_EV_VALIDATE
:
28632 case NB_EV_PREPARE
:
28635 /* TODO: implement me. */
28642 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
28643 struct nb_cb_destroy_args
*args
)
28645 switch (args
->event
) {
28646 case NB_EV_VALIDATE
:
28647 case NB_EV_PREPARE
:
28650 /* TODO: implement me. */
28659 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-export
28661 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
28662 struct nb_cb_modify_args
*args
)
28664 switch (args
->event
) {
28665 case NB_EV_VALIDATE
:
28666 case NB_EV_PREPARE
:
28669 /* TODO: implement me. */
28676 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
28677 struct nb_cb_destroy_args
*args
)
28679 switch (args
->event
) {
28680 case NB_EV_VALIDATE
:
28681 case NB_EV_PREPARE
:
28684 /* TODO: implement me. */
28693 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-import
28695 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
28696 struct nb_cb_modify_args
*args
)
28698 switch (args
->event
) {
28699 case NB_EV_VALIDATE
:
28700 case NB_EV_PREPARE
:
28703 /* TODO: implement me. */
28710 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
28711 struct nb_cb_destroy_args
*args
)
28713 switch (args
->event
) {
28714 case NB_EV_VALIDATE
:
28715 case NB_EV_PREPARE
:
28718 /* TODO: implement me. */
28727 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-export
28729 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
28730 struct nb_cb_modify_args
*args
)
28732 switch (args
->event
) {
28733 case NB_EV_VALIDATE
:
28734 case NB_EV_PREPARE
:
28737 /* TODO: implement me. */
28744 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
28745 struct nb_cb_destroy_args
*args
)
28747 switch (args
->event
) {
28748 case NB_EV_VALIDATE
:
28749 case NB_EV_PREPARE
:
28752 /* TODO: implement me. */
28761 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/add-paths/path-type
28763 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
28764 struct nb_cb_modify_args
*args
)
28766 switch (args
->event
) {
28767 case NB_EV_VALIDATE
:
28768 case NB_EV_PREPARE
:
28771 /* TODO: implement me. */
28780 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-as
28782 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
28783 struct nb_cb_modify_args
*args
)
28785 switch (args
->event
) {
28786 case NB_EV_VALIDATE
:
28787 case NB_EV_PREPARE
:
28790 /* TODO: implement me. */
28797 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
28798 struct nb_cb_destroy_args
*args
)
28800 switch (args
->event
) {
28801 case NB_EV_VALIDATE
:
28802 case NB_EV_PREPARE
:
28805 /* TODO: implement me. */
28814 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-origin-as
28816 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
28817 struct nb_cb_modify_args
*args
)
28819 switch (args
->event
) {
28820 case NB_EV_VALIDATE
:
28821 case NB_EV_PREPARE
:
28824 /* TODO: implement me. */
28831 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
28832 struct nb_cb_destroy_args
*args
)
28834 switch (args
->event
) {
28835 case NB_EV_VALIDATE
:
28836 case NB_EV_PREPARE
:
28839 /* TODO: implement me. */
28848 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/as-path-options/replace-peer-as
28850 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
28851 struct nb_cb_modify_args
*args
)
28853 switch (args
->event
) {
28854 case NB_EV_VALIDATE
:
28855 case NB_EV_PREPARE
:
28859 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28860 args
, PEER_FLAG_AS_OVERRIDE
,
28861 yang_dnode_get_bool(args
->dnode
, NULL
));
28871 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/originate
28873 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
28874 struct nb_cb_modify_args
*args
)
28876 switch (args
->event
) {
28877 case NB_EV_VALIDATE
:
28878 case NB_EV_PREPARE
:
28881 /* TODO: implement me. */
28890 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/route-map
28892 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
28893 struct nb_cb_modify_args
*args
)
28895 switch (args
->event
) {
28896 case NB_EV_VALIDATE
:
28897 case NB_EV_PREPARE
:
28900 /* TODO: implement me. */
28907 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
28908 struct nb_cb_destroy_args
*args
)
28910 switch (args
->event
) {
28911 case NB_EV_VALIDATE
:
28912 case NB_EV_PREPARE
:
28915 /* TODO: implement me. */
28924 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/as-path-unchanged
28926 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
28927 struct nb_cb_modify_args
*args
)
28929 switch (args
->event
) {
28930 case NB_EV_VALIDATE
:
28931 case NB_EV_PREPARE
:
28935 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28936 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
28937 yang_dnode_get_bool(args
->dnode
, NULL
));
28947 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/next-hop-unchanged
28949 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
28950 struct nb_cb_modify_args
*args
)
28952 switch (args
->event
) {
28953 case NB_EV_VALIDATE
:
28954 case NB_EV_PREPARE
:
28958 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28959 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
28960 yang_dnode_get_bool(args
->dnode
, NULL
));
28970 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/med-unchanged
28972 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
28973 struct nb_cb_modify_args
*args
)
28975 switch (args
->event
) {
28976 case NB_EV_VALIDATE
:
28977 case NB_EV_PREPARE
:
28981 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28982 args
, PEER_FLAG_MED_UNCHANGED
,
28983 yang_dnode_get_bool(args
->dnode
, NULL
));
28993 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-send
28995 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
28996 struct nb_cb_modify_args
*args
)
28998 switch (args
->event
) {
28999 case NB_EV_VALIDATE
:
29000 case NB_EV_PREPARE
:
29003 /* TODO: implement me. */
29010 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
29011 struct nb_cb_destroy_args
*args
)
29013 switch (args
->event
) {
29014 case NB_EV_VALIDATE
:
29015 case NB_EV_PREPARE
:
29018 /* TODO: implement me. */
29027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-receive
29029 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
29030 struct nb_cb_modify_args
*args
)
29032 switch (args
->event
) {
29033 case NB_EV_VALIDATE
:
29034 case NB_EV_PREPARE
:
29037 /* TODO: implement me. */
29044 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
29045 struct nb_cb_destroy_args
*args
)
29047 switch (args
->event
) {
29048 case NB_EV_VALIDATE
:
29049 case NB_EV_PREPARE
:
29052 /* TODO: implement me. */
29061 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-both
29063 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
29064 struct nb_cb_modify_args
*args
)
29066 switch (args
->event
) {
29067 case NB_EV_VALIDATE
:
29068 case NB_EV_PREPARE
:
29071 /* TODO: implement me. */
29078 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
29079 struct nb_cb_destroy_args
*args
)
29081 switch (args
->event
) {
29082 case NB_EV_VALIDATE
:
29083 case NB_EV_PREPARE
:
29086 /* TODO: implement me. */
29095 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list
29097 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
29098 struct nb_cb_create_args
*args
)
29100 switch (args
->event
) {
29101 case NB_EV_VALIDATE
:
29102 case NB_EV_PREPARE
:
29105 /* TODO: implement me. */
29112 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
29113 struct nb_cb_destroy_args
*args
)
29115 switch (args
->event
) {
29116 case NB_EV_VALIDATE
:
29117 case NB_EV_PREPARE
:
29121 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
29130 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/max-prefixes
29132 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
29133 struct nb_cb_modify_args
*args
)
29135 switch (args
->event
) {
29136 case NB_EV_VALIDATE
:
29137 case NB_EV_PREPARE
:
29140 /* TODO: implement me. */
29149 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/force-check
29151 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
29152 struct nb_cb_modify_args
*args
)
29154 switch (args
->event
) {
29155 case NB_EV_VALIDATE
:
29156 case NB_EV_PREPARE
:
29159 /* TODO: implement me. */
29168 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/warning-only
29170 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
29171 struct nb_cb_modify_args
*args
)
29173 switch (args
->event
) {
29174 case NB_EV_VALIDATE
:
29175 case NB_EV_PREPARE
:
29178 /* TODO: implement me. */
29185 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
29186 struct nb_cb_destroy_args
*args
)
29188 switch (args
->event
) {
29189 case NB_EV_VALIDATE
:
29190 case NB_EV_PREPARE
:
29193 /* TODO: implement me. */
29202 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/restart-timer
29204 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
29205 struct nb_cb_modify_args
*args
)
29207 switch (args
->event
) {
29208 case NB_EV_VALIDATE
:
29209 case NB_EV_PREPARE
:
29212 /* TODO: implement me. */
29219 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
29220 struct nb_cb_destroy_args
*args
)
29222 switch (args
->event
) {
29223 case NB_EV_VALIDATE
:
29224 case NB_EV_PREPARE
:
29227 /* TODO: implement me. */
29236 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
29238 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
29239 struct nb_cb_modify_args
*args
)
29241 switch (args
->event
) {
29242 case NB_EV_VALIDATE
:
29243 case NB_EV_PREPARE
:
29246 /* TODO: implement me. */
29253 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
29254 struct nb_cb_destroy_args
*args
)
29256 switch (args
->event
) {
29257 case NB_EV_VALIDATE
:
29258 case NB_EV_PREPARE
:
29261 /* TODO: implement me. */
29270 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
29272 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
29273 struct nb_cb_modify_args
*args
)
29275 switch (args
->event
) {
29276 case NB_EV_VALIDATE
:
29277 case NB_EV_PREPARE
:
29280 /* TODO: implement me. */
29287 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
29288 struct nb_cb_destroy_args
*args
)
29290 switch (args
->event
) {
29291 case NB_EV_VALIDATE
:
29292 case NB_EV_PREPARE
:
29295 /* TODO: implement me. */
29304 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-restart-timer
29306 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
29307 struct nb_cb_modify_args
*args
)
29309 switch (args
->event
) {
29310 case NB_EV_VALIDATE
:
29311 case NB_EV_PREPARE
:
29314 /* TODO: implement me. */
29321 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
29322 struct nb_cb_destroy_args
*args
)
29324 switch (args
->event
) {
29325 case NB_EV_VALIDATE
:
29326 case NB_EV_PREPARE
:
29329 /* TODO: implement me. */
29338 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
29340 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
29341 struct nb_cb_modify_args
*args
)
29343 switch (args
->event
) {
29344 case NB_EV_VALIDATE
:
29345 case NB_EV_PREPARE
:
29348 /* TODO: implement me. */
29355 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
29356 struct nb_cb_destroy_args
*args
)
29358 switch (args
->event
) {
29359 case NB_EV_VALIDATE
:
29360 case NB_EV_PREPARE
:
29363 /* TODO: implement me. */
29372 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-warning-only
29374 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
29375 struct nb_cb_modify_args
*args
)
29377 switch (args
->event
) {
29378 case NB_EV_VALIDATE
:
29379 case NB_EV_PREPARE
:
29382 /* TODO: implement me. */
29389 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
29390 struct nb_cb_destroy_args
*args
)
29392 switch (args
->event
) {
29393 case NB_EV_VALIDATE
:
29394 case NB_EV_PREPARE
:
29397 /* TODO: implement me. */
29406 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self
29408 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
29409 struct nb_cb_modify_args
*args
)
29411 switch (args
->event
) {
29412 case NB_EV_VALIDATE
:
29413 case NB_EV_PREPARE
:
29417 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29418 args
, PEER_FLAG_NEXTHOP_SELF
,
29419 yang_dnode_get_bool(args
->dnode
, NULL
));
29429 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self-force
29431 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
29432 struct nb_cb_modify_args
*args
)
29434 switch (args
->event
) {
29435 case NB_EV_VALIDATE
:
29436 case NB_EV_PREPARE
:
29440 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29441 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
29442 yang_dnode_get_bool(args
->dnode
, NULL
));
29452 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all
29454 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
29455 struct nb_cb_modify_args
*args
)
29457 switch (args
->event
) {
29458 case NB_EV_VALIDATE
:
29459 case NB_EV_PREPARE
:
29463 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29464 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
29465 yang_dnode_get_bool(args
->dnode
, NULL
));
29475 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all-replace
29477 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
29478 struct nb_cb_modify_args
*args
)
29480 switch (args
->event
) {
29481 case NB_EV_VALIDATE
:
29482 case NB_EV_PREPARE
:
29486 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29487 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
29488 yang_dnode_get_bool(args
->dnode
, NULL
));
29498 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as
29500 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
29501 struct nb_cb_modify_args
*args
)
29503 switch (args
->event
) {
29504 case NB_EV_VALIDATE
:
29505 case NB_EV_PREPARE
:
29509 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29510 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
29511 yang_dnode_get_bool(args
->dnode
, NULL
));
29521 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-replace
29523 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
29524 struct nb_cb_modify_args
*args
)
29526 switch (args
->event
) {
29527 case NB_EV_VALIDATE
:
29528 case NB_EV_PREPARE
:
29532 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29533 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
29534 yang_dnode_get_bool(args
->dnode
, NULL
));
29544 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/route-reflector/route-reflector-client
29546 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
29547 struct nb_cb_modify_args
*args
)
29549 switch (args
->event
) {
29550 case NB_EV_VALIDATE
:
29551 case NB_EV_PREPARE
:
29555 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29556 args
, PEER_FLAG_REFLECTOR_CLIENT
,
29557 yang_dnode_get_bool(args
->dnode
, NULL
));
29567 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/route-server/route-server-client
29569 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
29570 struct nb_cb_modify_args
*args
)
29572 switch (args
->event
) {
29573 case NB_EV_VALIDATE
:
29574 case NB_EV_PREPARE
:
29578 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29579 args
, PEER_FLAG_RSERVER_CLIENT
,
29580 yang_dnode_get_bool(args
->dnode
, NULL
));
29590 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-community
29592 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
29593 struct nb_cb_modify_args
*args
)
29595 switch (args
->event
) {
29596 case NB_EV_VALIDATE
:
29597 case NB_EV_PREPARE
:
29601 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29602 args
, PEER_FLAG_SEND_COMMUNITY
,
29603 yang_dnode_get_bool(args
->dnode
, NULL
));
29613 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-ext-community
29615 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
29616 struct nb_cb_modify_args
*args
)
29618 switch (args
->event
) {
29619 case NB_EV_VALIDATE
:
29620 case NB_EV_PREPARE
:
29624 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29625 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
29626 yang_dnode_get_bool(args
->dnode
, NULL
));
29636 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-large-community
29638 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
29639 struct nb_cb_modify_args
*args
)
29641 switch (args
->event
) {
29642 case NB_EV_VALIDATE
:
29643 case NB_EV_PREPARE
:
29647 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29648 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
29649 yang_dnode_get_bool(args
->dnode
, NULL
));
29659 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
29661 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
29662 struct nb_cb_modify_args
*args
)
29664 switch (args
->event
) {
29665 case NB_EV_VALIDATE
:
29666 case NB_EV_PREPARE
:
29670 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29671 args
, PEER_FLAG_SOFT_RECONFIG
,
29672 yang_dnode_get_bool(args
->dnode
, NULL
));
29682 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/weight/weight-attribute
29684 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
29685 struct nb_cb_modify_args
*args
)
29687 switch (args
->event
) {
29688 case NB_EV_VALIDATE
:
29689 case NB_EV_PREPARE
:
29693 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
29701 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
29702 struct nb_cb_destroy_args
*args
)
29704 switch (args
->event
) {
29705 case NB_EV_VALIDATE
:
29706 case NB_EV_PREPARE
:
29710 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
29720 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-import
29722 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
29723 struct nb_cb_modify_args
*args
)
29725 switch (args
->event
) {
29726 case NB_EV_VALIDATE
:
29727 case NB_EV_PREPARE
:
29731 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
29738 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
29739 struct nb_cb_destroy_args
*args
)
29741 switch (args
->event
) {
29742 case NB_EV_VALIDATE
:
29743 case NB_EV_PREPARE
:
29747 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
29756 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
29758 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
29759 struct nb_cb_modify_args
*args
)
29761 switch (args
->event
) {
29762 case NB_EV_VALIDATE
:
29763 case NB_EV_PREPARE
:
29767 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
29774 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
29775 struct nb_cb_destroy_args
*args
)
29777 switch (args
->event
) {
29778 case NB_EV_VALIDATE
:
29779 case NB_EV_PREPARE
:
29783 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
29792 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-import
29794 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
29795 struct nb_cb_modify_args
*args
)
29797 switch (args
->event
) {
29798 case NB_EV_VALIDATE
:
29799 case NB_EV_PREPARE
:
29803 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
29810 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
29811 struct nb_cb_destroy_args
*args
)
29813 switch (args
->event
) {
29814 case NB_EV_VALIDATE
:
29815 case NB_EV_PREPARE
:
29819 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
29828 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-export
29830 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
29831 struct nb_cb_modify_args
*args
)
29833 switch (args
->event
) {
29834 case NB_EV_VALIDATE
:
29835 case NB_EV_PREPARE
:
29839 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
29846 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
29847 struct nb_cb_destroy_args
*args
)
29849 switch (args
->event
) {
29850 case NB_EV_VALIDATE
:
29851 case NB_EV_PREPARE
:
29855 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
29864 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-import
29866 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
29867 struct nb_cb_modify_args
*args
)
29869 switch (args
->event
) {
29870 case NB_EV_VALIDATE
:
29871 case NB_EV_PREPARE
:
29874 /* TODO: implement me. */
29881 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
29882 struct nb_cb_destroy_args
*args
)
29884 switch (args
->event
) {
29885 case NB_EV_VALIDATE
:
29886 case NB_EV_PREPARE
:
29889 /* TODO: implement me. */
29898 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-export
29900 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
29901 struct nb_cb_modify_args
*args
)
29903 switch (args
->event
) {
29904 case NB_EV_VALIDATE
:
29905 case NB_EV_PREPARE
:
29908 /* TODO: implement me. */
29915 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
29916 struct nb_cb_destroy_args
*args
)
29918 switch (args
->event
) {
29919 case NB_EV_VALIDATE
:
29920 case NB_EV_PREPARE
:
29923 /* TODO: implement me. */
29932 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-import
29934 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
29935 struct nb_cb_modify_args
*args
)
29937 switch (args
->event
) {
29938 case NB_EV_VALIDATE
:
29939 case NB_EV_PREPARE
:
29942 /* TODO: implement me. */
29949 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
29950 struct nb_cb_destroy_args
*args
)
29952 switch (args
->event
) {
29953 case NB_EV_VALIDATE
:
29954 case NB_EV_PREPARE
:
29957 /* TODO: implement me. */
29966 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-export
29968 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
29969 struct nb_cb_modify_args
*args
)
29971 switch (args
->event
) {
29972 case NB_EV_VALIDATE
:
29973 case NB_EV_PREPARE
:
29976 /* TODO: implement me. */
29983 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
29984 struct nb_cb_destroy_args
*args
)
29986 switch (args
->event
) {
29987 case NB_EV_VALIDATE
:
29988 case NB_EV_PREPARE
:
29991 /* TODO: implement me. */
30000 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-import
30002 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
30003 struct nb_cb_modify_args
*args
)
30005 switch (args
->event
) {
30006 case NB_EV_VALIDATE
:
30007 case NB_EV_PREPARE
:
30010 /* TODO: implement me. */
30017 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
30018 struct nb_cb_destroy_args
*args
)
30020 switch (args
->event
) {
30021 case NB_EV_VALIDATE
:
30022 case NB_EV_PREPARE
:
30025 /* TODO: implement me. */
30034 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-export
30036 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
30037 struct nb_cb_modify_args
*args
)
30039 switch (args
->event
) {
30040 case NB_EV_VALIDATE
:
30041 case NB_EV_PREPARE
:
30044 /* TODO: implement me. */
30051 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
30052 struct nb_cb_destroy_args
*args
)
30054 switch (args
->event
) {
30055 case NB_EV_VALIDATE
:
30056 case NB_EV_PREPARE
:
30059 /* TODO: implement me. */
30068 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/add-paths/path-type
30070 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
30071 struct nb_cb_modify_args
*args
)
30073 switch (args
->event
) {
30074 case NB_EV_VALIDATE
:
30075 case NB_EV_PREPARE
:
30078 /* TODO: implement me. */
30087 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-as
30089 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
30090 struct nb_cb_modify_args
*args
)
30092 switch (args
->event
) {
30093 case NB_EV_VALIDATE
:
30094 case NB_EV_PREPARE
:
30097 /* TODO: implement me. */
30104 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
30105 struct nb_cb_destroy_args
*args
)
30107 switch (args
->event
) {
30108 case NB_EV_VALIDATE
:
30109 case NB_EV_PREPARE
:
30112 /* TODO: implement me. */
30121 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-origin-as
30123 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
30124 struct nb_cb_modify_args
*args
)
30126 switch (args
->event
) {
30127 case NB_EV_VALIDATE
:
30128 case NB_EV_PREPARE
:
30131 /* TODO: implement me. */
30138 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
30139 struct nb_cb_destroy_args
*args
)
30141 switch (args
->event
) {
30142 case NB_EV_VALIDATE
:
30143 case NB_EV_PREPARE
:
30146 /* TODO: implement me. */
30155 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/as-path-options/replace-peer-as
30157 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
30158 struct nb_cb_modify_args
*args
)
30160 switch (args
->event
) {
30161 case NB_EV_VALIDATE
:
30162 case NB_EV_PREPARE
:
30166 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30167 args
, PEER_FLAG_AS_OVERRIDE
,
30168 yang_dnode_get_bool(args
->dnode
, NULL
));
30178 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/originate
30180 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
30181 struct nb_cb_modify_args
*args
)
30183 switch (args
->event
) {
30184 case NB_EV_VALIDATE
:
30185 case NB_EV_PREPARE
:
30188 /* TODO: implement me. */
30197 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/route-map
30199 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
30200 struct nb_cb_modify_args
*args
)
30202 switch (args
->event
) {
30203 case NB_EV_VALIDATE
:
30204 case NB_EV_PREPARE
:
30207 /* TODO: implement me. */
30214 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
30215 struct nb_cb_destroy_args
*args
)
30217 switch (args
->event
) {
30218 case NB_EV_VALIDATE
:
30219 case NB_EV_PREPARE
:
30222 /* TODO: implement me. */
30231 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/as-path-unchanged
30233 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
30234 struct nb_cb_modify_args
*args
)
30236 switch (args
->event
) {
30237 case NB_EV_VALIDATE
:
30238 case NB_EV_PREPARE
:
30242 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30243 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
30244 yang_dnode_get_bool(args
->dnode
, NULL
));
30254 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/next-hop-unchanged
30256 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
30257 struct nb_cb_modify_args
*args
)
30259 switch (args
->event
) {
30260 case NB_EV_VALIDATE
:
30261 case NB_EV_PREPARE
:
30265 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30266 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
30267 yang_dnode_get_bool(args
->dnode
, NULL
));
30277 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/med-unchanged
30279 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
30280 struct nb_cb_modify_args
*args
)
30282 switch (args
->event
) {
30283 case NB_EV_VALIDATE
:
30284 case NB_EV_PREPARE
:
30288 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30289 args
, PEER_FLAG_MED_UNCHANGED
,
30290 yang_dnode_get_bool(args
->dnode
, NULL
));
30300 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-send
30302 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
30303 struct nb_cb_modify_args
*args
)
30305 switch (args
->event
) {
30306 case NB_EV_VALIDATE
:
30307 case NB_EV_PREPARE
:
30310 /* TODO: implement me. */
30317 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
30318 struct nb_cb_destroy_args
*args
)
30320 switch (args
->event
) {
30321 case NB_EV_VALIDATE
:
30322 case NB_EV_PREPARE
:
30325 /* TODO: implement me. */
30334 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-receive
30336 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
30337 struct nb_cb_modify_args
*args
)
30339 switch (args
->event
) {
30340 case NB_EV_VALIDATE
:
30341 case NB_EV_PREPARE
:
30344 /* TODO: implement me. */
30351 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
30352 struct nb_cb_destroy_args
*args
)
30354 switch (args
->event
) {
30355 case NB_EV_VALIDATE
:
30356 case NB_EV_PREPARE
:
30359 /* TODO: implement me. */
30368 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-both
30370 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
30371 struct nb_cb_modify_args
*args
)
30373 switch (args
->event
) {
30374 case NB_EV_VALIDATE
:
30375 case NB_EV_PREPARE
:
30378 /* TODO: implement me. */
30385 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
30386 struct nb_cb_destroy_args
*args
)
30388 switch (args
->event
) {
30389 case NB_EV_VALIDATE
:
30390 case NB_EV_PREPARE
:
30393 /* TODO: implement me. */
30402 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list
30404 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
30405 struct nb_cb_create_args
*args
)
30407 switch (args
->event
) {
30408 case NB_EV_VALIDATE
:
30409 case NB_EV_PREPARE
:
30412 /* TODO: implement me. */
30419 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
30420 struct nb_cb_destroy_args
*args
)
30422 switch (args
->event
) {
30423 case NB_EV_VALIDATE
:
30424 case NB_EV_PREPARE
:
30428 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
30437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/max-prefixes
30439 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
30440 struct nb_cb_modify_args
*args
)
30442 switch (args
->event
) {
30443 case NB_EV_VALIDATE
:
30444 case NB_EV_PREPARE
:
30447 /* TODO: implement me. */
30456 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/force-check
30458 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
30459 struct nb_cb_modify_args
*args
)
30461 switch (args
->event
) {
30462 case NB_EV_VALIDATE
:
30463 case NB_EV_PREPARE
:
30466 /* TODO: implement me. */
30475 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/warning-only
30477 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
30478 struct nb_cb_modify_args
*args
)
30480 switch (args
->event
) {
30481 case NB_EV_VALIDATE
:
30482 case NB_EV_PREPARE
:
30485 /* TODO: implement me. */
30492 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
30493 struct nb_cb_destroy_args
*args
)
30495 switch (args
->event
) {
30496 case NB_EV_VALIDATE
:
30497 case NB_EV_PREPARE
:
30500 /* TODO: implement me. */
30509 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/restart-timer
30511 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
30512 struct nb_cb_modify_args
*args
)
30514 switch (args
->event
) {
30515 case NB_EV_VALIDATE
:
30516 case NB_EV_PREPARE
:
30519 /* TODO: implement me. */
30526 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
30527 struct nb_cb_destroy_args
*args
)
30529 switch (args
->event
) {
30530 case NB_EV_VALIDATE
:
30531 case NB_EV_PREPARE
:
30534 /* TODO: implement me. */
30543 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
30545 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
30546 struct nb_cb_modify_args
*args
)
30548 switch (args
->event
) {
30549 case NB_EV_VALIDATE
:
30550 case NB_EV_PREPARE
:
30553 /* TODO: implement me. */
30560 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
30561 struct nb_cb_destroy_args
*args
)
30563 switch (args
->event
) {
30564 case NB_EV_VALIDATE
:
30565 case NB_EV_PREPARE
:
30568 /* TODO: implement me. */
30577 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
30579 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
30580 struct nb_cb_modify_args
*args
)
30582 switch (args
->event
) {
30583 case NB_EV_VALIDATE
:
30584 case NB_EV_PREPARE
:
30587 /* TODO: implement me. */
30594 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
30595 struct nb_cb_destroy_args
*args
)
30597 switch (args
->event
) {
30598 case NB_EV_VALIDATE
:
30599 case NB_EV_PREPARE
:
30602 /* TODO: implement me. */
30611 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-restart-timer
30613 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
30614 struct nb_cb_modify_args
*args
)
30616 switch (args
->event
) {
30617 case NB_EV_VALIDATE
:
30618 case NB_EV_PREPARE
:
30621 /* TODO: implement me. */
30628 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
30629 struct nb_cb_destroy_args
*args
)
30631 switch (args
->event
) {
30632 case NB_EV_VALIDATE
:
30633 case NB_EV_PREPARE
:
30636 /* TODO: implement me. */
30645 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
30647 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
30648 struct nb_cb_modify_args
*args
)
30650 switch (args
->event
) {
30651 case NB_EV_VALIDATE
:
30652 case NB_EV_PREPARE
:
30655 /* TODO: implement me. */
30662 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
30663 struct nb_cb_destroy_args
*args
)
30665 switch (args
->event
) {
30666 case NB_EV_VALIDATE
:
30667 case NB_EV_PREPARE
:
30670 /* TODO: implement me. */
30679 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-warning-only
30681 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
30682 struct nb_cb_modify_args
*args
)
30684 switch (args
->event
) {
30685 case NB_EV_VALIDATE
:
30686 case NB_EV_PREPARE
:
30689 /* TODO: implement me. */
30696 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
30697 struct nb_cb_destroy_args
*args
)
30699 switch (args
->event
) {
30700 case NB_EV_VALIDATE
:
30701 case NB_EV_PREPARE
:
30704 /* TODO: implement me. */
30713 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self
30715 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
30716 struct nb_cb_modify_args
*args
)
30718 switch (args
->event
) {
30719 case NB_EV_VALIDATE
:
30720 case NB_EV_PREPARE
:
30724 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30725 args
, PEER_FLAG_NEXTHOP_SELF
,
30726 yang_dnode_get_bool(args
->dnode
, NULL
));
30736 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self-force
30738 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
30739 struct nb_cb_modify_args
*args
)
30741 switch (args
->event
) {
30742 case NB_EV_VALIDATE
:
30743 case NB_EV_PREPARE
:
30747 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30748 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
30749 yang_dnode_get_bool(args
->dnode
, NULL
));
30759 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all
30761 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
30762 struct nb_cb_modify_args
*args
)
30764 switch (args
->event
) {
30765 case NB_EV_VALIDATE
:
30766 case NB_EV_PREPARE
:
30770 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30771 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
30772 yang_dnode_get_bool(args
->dnode
, NULL
));
30782 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all-replace
30784 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
30785 struct nb_cb_modify_args
*args
)
30787 switch (args
->event
) {
30788 case NB_EV_VALIDATE
:
30789 case NB_EV_PREPARE
:
30793 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30794 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
30795 yang_dnode_get_bool(args
->dnode
, NULL
));
30805 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as
30807 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
30808 struct nb_cb_modify_args
*args
)
30810 switch (args
->event
) {
30811 case NB_EV_VALIDATE
:
30812 case NB_EV_PREPARE
:
30816 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30817 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
30818 yang_dnode_get_bool(args
->dnode
, NULL
));
30828 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-replace
30830 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
30831 struct nb_cb_modify_args
*args
)
30833 switch (args
->event
) {
30834 case NB_EV_VALIDATE
:
30835 case NB_EV_PREPARE
:
30839 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30840 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
30841 yang_dnode_get_bool(args
->dnode
, NULL
));
30851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/route-reflector/route-reflector-client
30853 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
30854 struct nb_cb_modify_args
*args
)
30856 switch (args
->event
) {
30857 case NB_EV_VALIDATE
:
30858 case NB_EV_PREPARE
:
30862 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30863 args
, PEER_FLAG_REFLECTOR_CLIENT
,
30864 yang_dnode_get_bool(args
->dnode
, NULL
));
30874 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/route-server/route-server-client
30876 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
30877 struct nb_cb_modify_args
*args
)
30879 switch (args
->event
) {
30880 case NB_EV_VALIDATE
:
30881 case NB_EV_PREPARE
:
30885 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30886 args
, PEER_FLAG_RSERVER_CLIENT
,
30887 yang_dnode_get_bool(args
->dnode
, NULL
));
30897 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-community
30899 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
30900 struct nb_cb_modify_args
*args
)
30902 switch (args
->event
) {
30903 case NB_EV_VALIDATE
:
30904 case NB_EV_PREPARE
:
30908 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30909 args
, PEER_FLAG_SEND_COMMUNITY
,
30910 yang_dnode_get_bool(args
->dnode
, NULL
));
30920 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-ext-community
30922 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
30923 struct nb_cb_modify_args
*args
)
30925 switch (args
->event
) {
30926 case NB_EV_VALIDATE
:
30927 case NB_EV_PREPARE
:
30931 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30932 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
30933 yang_dnode_get_bool(args
->dnode
, NULL
));
30943 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-large-community
30945 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
30946 struct nb_cb_modify_args
*args
)
30948 switch (args
->event
) {
30949 case NB_EV_VALIDATE
:
30950 case NB_EV_PREPARE
:
30954 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30955 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
30956 yang_dnode_get_bool(args
->dnode
, NULL
));
30966 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
30968 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
30969 struct nb_cb_modify_args
*args
)
30971 switch (args
->event
) {
30972 case NB_EV_VALIDATE
:
30973 case NB_EV_PREPARE
:
30977 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30978 args
, PEER_FLAG_SOFT_RECONFIG
,
30979 yang_dnode_get_bool(args
->dnode
, NULL
));
30989 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/weight/weight-attribute
30991 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
30992 struct nb_cb_modify_args
*args
)
30994 switch (args
->event
) {
30995 case NB_EV_VALIDATE
:
30996 case NB_EV_PREPARE
:
31000 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
31008 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
31009 struct nb_cb_destroy_args
*args
)
31011 switch (args
->event
) {
31012 case NB_EV_VALIDATE
:
31013 case NB_EV_PREPARE
:
31017 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
31027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-import
31029 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
31030 struct nb_cb_modify_args
*args
)
31032 switch (args
->event
) {
31033 case NB_EV_VALIDATE
:
31034 case NB_EV_PREPARE
:
31038 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
31045 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
31046 struct nb_cb_destroy_args
*args
)
31048 switch (args
->event
) {
31049 case NB_EV_VALIDATE
:
31050 case NB_EV_PREPARE
:
31054 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
31063 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-export
31065 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
31066 struct nb_cb_modify_args
*args
)
31068 switch (args
->event
) {
31069 case NB_EV_VALIDATE
:
31070 case NB_EV_PREPARE
:
31074 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
31081 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
31082 struct nb_cb_destroy_args
*args
)
31084 switch (args
->event
) {
31085 case NB_EV_VALIDATE
:
31086 case NB_EV_PREPARE
:
31090 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
31099 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-import
31101 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
31102 struct nb_cb_modify_args
*args
)
31104 switch (args
->event
) {
31105 case NB_EV_VALIDATE
:
31106 case NB_EV_PREPARE
:
31110 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
31117 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
31118 struct nb_cb_destroy_args
*args
)
31120 switch (args
->event
) {
31121 case NB_EV_VALIDATE
:
31122 case NB_EV_PREPARE
:
31126 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
31135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-export
31137 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
31138 struct nb_cb_modify_args
*args
)
31140 switch (args
->event
) {
31141 case NB_EV_VALIDATE
:
31142 case NB_EV_PREPARE
:
31146 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
31153 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
31154 struct nb_cb_destroy_args
*args
)
31156 switch (args
->event
) {
31157 case NB_EV_VALIDATE
:
31158 case NB_EV_PREPARE
:
31162 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
31171 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-import
31173 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
31174 struct nb_cb_modify_args
*args
)
31176 switch (args
->event
) {
31177 case NB_EV_VALIDATE
:
31178 case NB_EV_PREPARE
:
31181 /* TODO: implement me. */
31188 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
31189 struct nb_cb_destroy_args
*args
)
31191 switch (args
->event
) {
31192 case NB_EV_VALIDATE
:
31193 case NB_EV_PREPARE
:
31196 /* TODO: implement me. */
31205 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-export
31207 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
31208 struct nb_cb_modify_args
*args
)
31210 switch (args
->event
) {
31211 case NB_EV_VALIDATE
:
31212 case NB_EV_PREPARE
:
31215 /* TODO: implement me. */
31222 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
31223 struct nb_cb_destroy_args
*args
)
31225 switch (args
->event
) {
31226 case NB_EV_VALIDATE
:
31227 case NB_EV_PREPARE
:
31230 /* TODO: implement me. */
31239 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-import
31241 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
31242 struct nb_cb_modify_args
*args
)
31244 switch (args
->event
) {
31245 case NB_EV_VALIDATE
:
31246 case NB_EV_PREPARE
:
31249 /* TODO: implement me. */
31256 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
31257 struct nb_cb_destroy_args
*args
)
31259 switch (args
->event
) {
31260 case NB_EV_VALIDATE
:
31261 case NB_EV_PREPARE
:
31264 /* TODO: implement me. */
31273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-export
31275 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
31276 struct nb_cb_modify_args
*args
)
31278 switch (args
->event
) {
31279 case NB_EV_VALIDATE
:
31280 case NB_EV_PREPARE
:
31283 /* TODO: implement me. */
31290 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
31291 struct nb_cb_destroy_args
*args
)
31293 switch (args
->event
) {
31294 case NB_EV_VALIDATE
:
31295 case NB_EV_PREPARE
:
31298 /* TODO: implement me. */
31307 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-import
31309 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
31310 struct nb_cb_modify_args
*args
)
31312 switch (args
->event
) {
31313 case NB_EV_VALIDATE
:
31314 case NB_EV_PREPARE
:
31317 /* TODO: implement me. */
31324 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
31325 struct nb_cb_destroy_args
*args
)
31327 switch (args
->event
) {
31328 case NB_EV_VALIDATE
:
31329 case NB_EV_PREPARE
:
31332 /* TODO: implement me. */
31341 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-export
31343 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
31344 struct nb_cb_modify_args
*args
)
31346 switch (args
->event
) {
31347 case NB_EV_VALIDATE
:
31348 case NB_EV_PREPARE
:
31351 /* TODO: implement me. */
31358 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
31359 struct nb_cb_destroy_args
*args
)
31361 switch (args
->event
) {
31362 case NB_EV_VALIDATE
:
31363 case NB_EV_PREPARE
:
31366 /* TODO: implement me. */
31376 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/add-paths/path-type
31378 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
31379 struct nb_cb_modify_args
*args
)
31381 switch (args
->event
) {
31382 case NB_EV_VALIDATE
:
31383 case NB_EV_PREPARE
:
31386 /* TODO: implement me. */
31395 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-as
31397 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
31398 struct nb_cb_modify_args
*args
)
31400 switch (args
->event
) {
31401 case NB_EV_VALIDATE
:
31402 case NB_EV_PREPARE
:
31405 /* TODO: implement me. */
31412 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
31413 struct nb_cb_destroy_args
*args
)
31415 switch (args
->event
) {
31416 case NB_EV_VALIDATE
:
31417 case NB_EV_PREPARE
:
31420 /* TODO: implement me. */
31429 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-origin-as
31431 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
31432 struct nb_cb_modify_args
*args
)
31434 switch (args
->event
) {
31435 case NB_EV_VALIDATE
:
31436 case NB_EV_PREPARE
:
31439 /* TODO: implement me. */
31446 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
31447 struct nb_cb_destroy_args
*args
)
31449 switch (args
->event
) {
31450 case NB_EV_VALIDATE
:
31451 case NB_EV_PREPARE
:
31454 /* TODO: implement me. */
31463 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/replace-peer-as
31465 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
31466 struct nb_cb_modify_args
*args
)
31468 switch (args
->event
) {
31469 case NB_EV_VALIDATE
:
31470 case NB_EV_PREPARE
:
31474 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31475 args
, PEER_FLAG_AS_OVERRIDE
,
31476 yang_dnode_get_bool(args
->dnode
, NULL
));
31486 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/originate
31488 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
31489 struct nb_cb_modify_args
*args
)
31491 switch (args
->event
) {
31492 case NB_EV_VALIDATE
:
31493 case NB_EV_PREPARE
:
31496 /* TODO: implement me. */
31505 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/route-map
31507 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
31508 struct nb_cb_modify_args
*args
)
31510 switch (args
->event
) {
31511 case NB_EV_VALIDATE
:
31512 case NB_EV_PREPARE
:
31515 /* TODO: implement me. */
31522 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
31523 struct nb_cb_destroy_args
*args
)
31525 switch (args
->event
) {
31526 case NB_EV_VALIDATE
:
31527 case NB_EV_PREPARE
:
31530 /* TODO: implement me. */
31539 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/as-path-unchanged
31541 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
31542 struct nb_cb_modify_args
*args
)
31544 switch (args
->event
) {
31545 case NB_EV_VALIDATE
:
31546 case NB_EV_PREPARE
:
31550 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31551 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
31552 yang_dnode_get_bool(args
->dnode
, NULL
));
31562 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/next-hop-unchanged
31564 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
31565 struct nb_cb_modify_args
*args
)
31567 switch (args
->event
) {
31568 case NB_EV_VALIDATE
:
31569 case NB_EV_PREPARE
:
31573 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31574 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
31575 yang_dnode_get_bool(args
->dnode
, NULL
));
31585 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/med-unchanged
31587 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
31588 struct nb_cb_modify_args
*args
)
31590 switch (args
->event
) {
31591 case NB_EV_VALIDATE
:
31592 case NB_EV_PREPARE
:
31596 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31597 args
, PEER_FLAG_MED_UNCHANGED
,
31598 yang_dnode_get_bool(args
->dnode
, NULL
));
31608 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-send
31610 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
31611 struct nb_cb_modify_args
*args
)
31613 switch (args
->event
) {
31614 case NB_EV_VALIDATE
:
31615 case NB_EV_PREPARE
:
31618 /* TODO: implement me. */
31625 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
31626 struct nb_cb_destroy_args
*args
)
31628 switch (args
->event
) {
31629 case NB_EV_VALIDATE
:
31630 case NB_EV_PREPARE
:
31633 /* TODO: implement me. */
31642 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-receive
31644 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
31645 struct nb_cb_modify_args
*args
)
31647 switch (args
->event
) {
31648 case NB_EV_VALIDATE
:
31649 case NB_EV_PREPARE
:
31652 /* TODO: implement me. */
31659 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
31660 struct nb_cb_destroy_args
*args
)
31662 switch (args
->event
) {
31663 case NB_EV_VALIDATE
:
31664 case NB_EV_PREPARE
:
31667 /* TODO: implement me. */
31676 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-both
31678 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
31679 struct nb_cb_modify_args
*args
)
31681 switch (args
->event
) {
31682 case NB_EV_VALIDATE
:
31683 case NB_EV_PREPARE
:
31686 /* TODO: implement me. */
31693 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
31694 struct nb_cb_destroy_args
*args
)
31696 switch (args
->event
) {
31697 case NB_EV_VALIDATE
:
31698 case NB_EV_PREPARE
:
31701 /* TODO: implement me. */
31710 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list
31712 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
31713 struct nb_cb_create_args
*args
)
31715 switch (args
->event
) {
31716 case NB_EV_VALIDATE
:
31717 case NB_EV_PREPARE
:
31720 /* TODO: implement me. */
31727 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
31728 struct nb_cb_destroy_args
*args
)
31730 switch (args
->event
) {
31731 case NB_EV_VALIDATE
:
31732 case NB_EV_PREPARE
:
31736 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
31745 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/max-prefixes
31747 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
31748 struct nb_cb_modify_args
*args
)
31750 switch (args
->event
) {
31751 case NB_EV_VALIDATE
:
31752 case NB_EV_PREPARE
:
31755 /* TODO: implement me. */
31764 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/force-check
31766 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
31767 struct nb_cb_modify_args
*args
)
31769 switch (args
->event
) {
31770 case NB_EV_VALIDATE
:
31771 case NB_EV_PREPARE
:
31774 /* TODO: implement me. */
31783 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/warning-only
31785 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
31786 struct nb_cb_modify_args
*args
)
31788 switch (args
->event
) {
31789 case NB_EV_VALIDATE
:
31790 case NB_EV_PREPARE
:
31793 /* TODO: implement me. */
31800 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
31801 struct nb_cb_destroy_args
*args
)
31803 switch (args
->event
) {
31804 case NB_EV_VALIDATE
:
31805 case NB_EV_PREPARE
:
31808 /* TODO: implement me. */
31817 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/restart-timer
31819 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
31820 struct nb_cb_modify_args
*args
)
31822 switch (args
->event
) {
31823 case NB_EV_VALIDATE
:
31824 case NB_EV_PREPARE
:
31827 /* TODO: implement me. */
31834 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
31835 struct nb_cb_destroy_args
*args
)
31837 switch (args
->event
) {
31838 case NB_EV_VALIDATE
:
31839 case NB_EV_PREPARE
:
31842 /* TODO: implement me. */
31851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
31853 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
31854 struct nb_cb_modify_args
*args
)
31856 switch (args
->event
) {
31857 case NB_EV_VALIDATE
:
31858 case NB_EV_PREPARE
:
31861 /* TODO: implement me. */
31868 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
31869 struct nb_cb_destroy_args
*args
)
31871 switch (args
->event
) {
31872 case NB_EV_VALIDATE
:
31873 case NB_EV_PREPARE
:
31876 /* TODO: implement me. */
31885 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
31887 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
31888 struct nb_cb_modify_args
*args
)
31890 switch (args
->event
) {
31891 case NB_EV_VALIDATE
:
31892 case NB_EV_PREPARE
:
31895 /* TODO: implement me. */
31902 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
31903 struct nb_cb_destroy_args
*args
)
31905 switch (args
->event
) {
31906 case NB_EV_VALIDATE
:
31907 case NB_EV_PREPARE
:
31910 /* TODO: implement me. */
31919 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
31921 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
31922 struct nb_cb_modify_args
*args
)
31924 switch (args
->event
) {
31925 case NB_EV_VALIDATE
:
31926 case NB_EV_PREPARE
:
31929 /* TODO: implement me. */
31936 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
31937 struct nb_cb_destroy_args
*args
)
31939 switch (args
->event
) {
31940 case NB_EV_VALIDATE
:
31941 case NB_EV_PREPARE
:
31944 /* TODO: implement me. */
31953 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
31955 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
31956 struct nb_cb_modify_args
*args
)
31958 switch (args
->event
) {
31959 case NB_EV_VALIDATE
:
31960 case NB_EV_PREPARE
:
31963 /* TODO: implement me. */
31970 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
31971 struct nb_cb_destroy_args
*args
)
31973 switch (args
->event
) {
31974 case NB_EV_VALIDATE
:
31975 case NB_EV_PREPARE
:
31978 /* TODO: implement me. */
31987 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
31989 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
31990 struct nb_cb_modify_args
*args
)
31992 switch (args
->event
) {
31993 case NB_EV_VALIDATE
:
31994 case NB_EV_PREPARE
:
31997 /* TODO: implement me. */
32004 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
32005 struct nb_cb_destroy_args
*args
)
32007 switch (args
->event
) {
32008 case NB_EV_VALIDATE
:
32009 case NB_EV_PREPARE
:
32012 /* TODO: implement me. */
32021 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self
32023 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
32024 struct nb_cb_modify_args
*args
)
32026 switch (args
->event
) {
32027 case NB_EV_VALIDATE
:
32028 case NB_EV_PREPARE
:
32032 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32033 args
, PEER_FLAG_NEXTHOP_SELF
,
32034 yang_dnode_get_bool(args
->dnode
, NULL
));
32044 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self-force
32046 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
32047 struct nb_cb_modify_args
*args
)
32049 switch (args
->event
) {
32050 case NB_EV_VALIDATE
:
32051 case NB_EV_PREPARE
:
32055 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32056 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
32057 yang_dnode_get_bool(args
->dnode
, NULL
));
32067 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all
32069 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
32070 struct nb_cb_modify_args
*args
)
32072 switch (args
->event
) {
32073 case NB_EV_VALIDATE
:
32074 case NB_EV_PREPARE
:
32078 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32079 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
32080 yang_dnode_get_bool(args
->dnode
, NULL
));
32090 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all-replace
32092 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
32093 struct nb_cb_modify_args
*args
)
32095 switch (args
->event
) {
32096 case NB_EV_VALIDATE
:
32097 case NB_EV_PREPARE
:
32101 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32102 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
32103 yang_dnode_get_bool(args
->dnode
, NULL
));
32113 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as
32115 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
32116 struct nb_cb_modify_args
*args
)
32118 switch (args
->event
) {
32119 case NB_EV_VALIDATE
:
32120 case NB_EV_PREPARE
:
32124 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32125 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
32126 yang_dnode_get_bool(args
->dnode
, NULL
));
32136 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-replace
32138 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
32139 struct nb_cb_modify_args
*args
)
32141 switch (args
->event
) {
32142 case NB_EV_VALIDATE
:
32143 case NB_EV_PREPARE
:
32147 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32148 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
32149 yang_dnode_get_bool(args
->dnode
, NULL
));
32159 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/route-reflector/route-reflector-client
32161 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
32162 struct nb_cb_modify_args
*args
)
32164 switch (args
->event
) {
32165 case NB_EV_VALIDATE
:
32166 case NB_EV_PREPARE
:
32170 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32171 args
, PEER_FLAG_REFLECTOR_CLIENT
,
32172 yang_dnode_get_bool(args
->dnode
, NULL
));
32182 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/route-server/route-server-client
32184 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
32185 struct nb_cb_modify_args
*args
)
32187 switch (args
->event
) {
32188 case NB_EV_VALIDATE
:
32189 case NB_EV_PREPARE
:
32193 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32194 args
, PEER_FLAG_RSERVER_CLIENT
,
32195 yang_dnode_get_bool(args
->dnode
, NULL
));
32205 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-community
32207 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
32208 struct nb_cb_modify_args
*args
)
32210 switch (args
->event
) {
32211 case NB_EV_VALIDATE
:
32212 case NB_EV_PREPARE
:
32216 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32217 args
, PEER_FLAG_SEND_COMMUNITY
,
32218 yang_dnode_get_bool(args
->dnode
, NULL
));
32228 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-ext-community
32230 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
32231 struct nb_cb_modify_args
*args
)
32233 switch (args
->event
) {
32234 case NB_EV_VALIDATE
:
32235 case NB_EV_PREPARE
:
32239 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32240 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
32241 yang_dnode_get_bool(args
->dnode
, NULL
));
32251 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-large-community
32253 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
32254 struct nb_cb_modify_args
*args
)
32256 switch (args
->event
) {
32257 case NB_EV_VALIDATE
:
32258 case NB_EV_PREPARE
:
32262 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32263 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
32264 yang_dnode_get_bool(args
->dnode
, NULL
));
32274 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/soft-reconfiguration
32276 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
32277 struct nb_cb_modify_args
*args
)
32279 switch (args
->event
) {
32280 case NB_EV_VALIDATE
:
32281 case NB_EV_PREPARE
:
32285 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32286 args
, PEER_FLAG_SOFT_RECONFIG
,
32287 yang_dnode_get_bool(args
->dnode
, NULL
));
32297 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/weight/weight-attribute
32299 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
32300 struct nb_cb_modify_args
*args
)
32302 switch (args
->event
) {
32303 case NB_EV_VALIDATE
:
32304 case NB_EV_PREPARE
:
32308 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
32316 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
32317 struct nb_cb_destroy_args
*args
)
32319 switch (args
->event
) {
32320 case NB_EV_VALIDATE
:
32321 case NB_EV_PREPARE
:
32325 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
32335 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-import
32337 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
32338 struct nb_cb_modify_args
*args
)
32340 switch (args
->event
) {
32341 case NB_EV_VALIDATE
:
32342 case NB_EV_PREPARE
:
32346 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
32353 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
32354 struct nb_cb_destroy_args
*args
)
32356 switch (args
->event
) {
32357 case NB_EV_VALIDATE
:
32358 case NB_EV_PREPARE
:
32362 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
32371 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-export
32373 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
32374 struct nb_cb_modify_args
*args
)
32376 switch (args
->event
) {
32377 case NB_EV_VALIDATE
:
32378 case NB_EV_PREPARE
:
32382 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
32389 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
32390 struct nb_cb_destroy_args
*args
)
32392 switch (args
->event
) {
32393 case NB_EV_VALIDATE
:
32394 case NB_EV_PREPARE
:
32398 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
32407 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-import
32409 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
32410 struct nb_cb_modify_args
*args
)
32412 switch (args
->event
) {
32413 case NB_EV_VALIDATE
:
32414 case NB_EV_PREPARE
:
32418 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
32425 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
32426 struct nb_cb_destroy_args
*args
)
32428 switch (args
->event
) {
32429 case NB_EV_VALIDATE
:
32430 case NB_EV_PREPARE
:
32434 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
32443 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-export
32445 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
32446 struct nb_cb_modify_args
*args
)
32448 switch (args
->event
) {
32449 case NB_EV_VALIDATE
:
32450 case NB_EV_PREPARE
:
32454 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
32461 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
32462 struct nb_cb_destroy_args
*args
)
32464 switch (args
->event
) {
32465 case NB_EV_VALIDATE
:
32466 case NB_EV_PREPARE
:
32470 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
32479 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-import
32481 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
32482 struct nb_cb_modify_args
*args
)
32484 switch (args
->event
) {
32485 case NB_EV_VALIDATE
:
32486 case NB_EV_PREPARE
:
32489 /* TODO: implement me. */
32496 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
32497 struct nb_cb_destroy_args
*args
)
32499 switch (args
->event
) {
32500 case NB_EV_VALIDATE
:
32501 case NB_EV_PREPARE
:
32504 /* TODO: implement me. */
32513 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-export
32515 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
32516 struct nb_cb_modify_args
*args
)
32518 switch (args
->event
) {
32519 case NB_EV_VALIDATE
:
32520 case NB_EV_PREPARE
:
32523 /* TODO: implement me. */
32530 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
32531 struct nb_cb_destroy_args
*args
)
32533 switch (args
->event
) {
32534 case NB_EV_VALIDATE
:
32535 case NB_EV_PREPARE
:
32538 /* TODO: implement me. */
32547 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-import
32549 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
32550 struct nb_cb_modify_args
*args
)
32552 switch (args
->event
) {
32553 case NB_EV_VALIDATE
:
32554 case NB_EV_PREPARE
:
32557 /* TODO: implement me. */
32564 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
32565 struct nb_cb_destroy_args
*args
)
32567 switch (args
->event
) {
32568 case NB_EV_VALIDATE
:
32569 case NB_EV_PREPARE
:
32572 /* TODO: implement me. */
32581 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-export
32583 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
32584 struct nb_cb_modify_args
*args
)
32586 switch (args
->event
) {
32587 case NB_EV_VALIDATE
:
32588 case NB_EV_PREPARE
:
32591 /* TODO: implement me. */
32598 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
32599 struct nb_cb_destroy_args
*args
)
32601 switch (args
->event
) {
32602 case NB_EV_VALIDATE
:
32603 case NB_EV_PREPARE
:
32606 /* TODO: implement me. */
32615 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-import
32617 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
32618 struct nb_cb_modify_args
*args
)
32620 switch (args
->event
) {
32621 case NB_EV_VALIDATE
:
32622 case NB_EV_PREPARE
:
32625 /* TODO: implement me. */
32632 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
32633 struct nb_cb_destroy_args
*args
)
32635 switch (args
->event
) {
32636 case NB_EV_VALIDATE
:
32637 case NB_EV_PREPARE
:
32640 /* TODO: implement me. */
32649 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-export
32651 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
32652 struct nb_cb_modify_args
*args
)
32654 switch (args
->event
) {
32655 case NB_EV_VALIDATE
:
32656 case NB_EV_PREPARE
:
32659 /* TODO: implement me. */
32666 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
32667 struct nb_cb_destroy_args
*args
)
32669 switch (args
->event
) {
32670 case NB_EV_VALIDATE
:
32671 case NB_EV_PREPARE
:
32674 /* TODO: implement me. */
32683 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/add-paths/path-type
32685 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
32686 struct nb_cb_modify_args
*args
)
32688 switch (args
->event
) {
32689 case NB_EV_VALIDATE
:
32690 case NB_EV_PREPARE
:
32693 /* TODO: implement me. */
32702 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-as
32704 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
32705 struct nb_cb_modify_args
*args
)
32707 switch (args
->event
) {
32708 case NB_EV_VALIDATE
:
32709 case NB_EV_PREPARE
:
32712 /* TODO: implement me. */
32719 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
32720 struct nb_cb_destroy_args
*args
)
32722 switch (args
->event
) {
32723 case NB_EV_VALIDATE
:
32724 case NB_EV_PREPARE
:
32727 /* TODO: implement me. */
32736 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-origin-as
32738 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
32739 struct nb_cb_modify_args
*args
)
32741 switch (args
->event
) {
32742 case NB_EV_VALIDATE
:
32743 case NB_EV_PREPARE
:
32746 /* TODO: implement me. */
32753 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
32754 struct nb_cb_destroy_args
*args
)
32756 switch (args
->event
) {
32757 case NB_EV_VALIDATE
:
32758 case NB_EV_PREPARE
:
32761 /* TODO: implement me. */
32770 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/replace-peer-as
32772 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
32773 struct nb_cb_modify_args
*args
)
32775 switch (args
->event
) {
32776 case NB_EV_VALIDATE
:
32777 case NB_EV_PREPARE
:
32781 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32782 args
, PEER_FLAG_AS_OVERRIDE
,
32783 yang_dnode_get_bool(args
->dnode
, NULL
));
32793 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/originate
32795 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
32796 struct nb_cb_modify_args
*args
)
32798 switch (args
->event
) {
32799 case NB_EV_VALIDATE
:
32800 case NB_EV_PREPARE
:
32803 /* TODO: implement me. */
32812 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/route-map
32814 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
32815 struct nb_cb_modify_args
*args
)
32817 switch (args
->event
) {
32818 case NB_EV_VALIDATE
:
32819 case NB_EV_PREPARE
:
32822 /* TODO: implement me. */
32829 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
32830 struct nb_cb_destroy_args
*args
)
32832 switch (args
->event
) {
32833 case NB_EV_VALIDATE
:
32834 case NB_EV_PREPARE
:
32837 /* TODO: implement me. */
32846 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/as-path-unchanged
32848 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
32849 struct nb_cb_modify_args
*args
)
32851 switch (args
->event
) {
32852 case NB_EV_VALIDATE
:
32853 case NB_EV_PREPARE
:
32857 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32858 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
32859 yang_dnode_get_bool(args
->dnode
, NULL
));
32869 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/next-hop-unchanged
32871 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
32872 struct nb_cb_modify_args
*args
)
32874 switch (args
->event
) {
32875 case NB_EV_VALIDATE
:
32876 case NB_EV_PREPARE
:
32880 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32881 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
32882 yang_dnode_get_bool(args
->dnode
, NULL
));
32892 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/med-unchanged
32894 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
32895 struct nb_cb_modify_args
*args
)
32897 switch (args
->event
) {
32898 case NB_EV_VALIDATE
:
32899 case NB_EV_PREPARE
:
32903 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32904 args
, PEER_FLAG_MED_UNCHANGED
,
32905 yang_dnode_get_bool(args
->dnode
, NULL
));
32915 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-send
32917 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
32918 struct nb_cb_modify_args
*args
)
32920 switch (args
->event
) {
32921 case NB_EV_VALIDATE
:
32922 case NB_EV_PREPARE
:
32925 /* TODO: implement me. */
32932 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
32933 struct nb_cb_destroy_args
*args
)
32935 switch (args
->event
) {
32936 case NB_EV_VALIDATE
:
32937 case NB_EV_PREPARE
:
32940 /* TODO: implement me. */
32949 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-receive
32951 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
32952 struct nb_cb_modify_args
*args
)
32954 switch (args
->event
) {
32955 case NB_EV_VALIDATE
:
32956 case NB_EV_PREPARE
:
32959 /* TODO: implement me. */
32966 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
32967 struct nb_cb_destroy_args
*args
)
32969 switch (args
->event
) {
32970 case NB_EV_VALIDATE
:
32971 case NB_EV_PREPARE
:
32974 /* TODO: implement me. */
32983 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-both
32985 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
32986 struct nb_cb_modify_args
*args
)
32988 switch (args
->event
) {
32989 case NB_EV_VALIDATE
:
32990 case NB_EV_PREPARE
:
32993 /* TODO: implement me. */
33000 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
33001 struct nb_cb_destroy_args
*args
)
33003 switch (args
->event
) {
33004 case NB_EV_VALIDATE
:
33005 case NB_EV_PREPARE
:
33008 /* TODO: implement me. */
33017 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list
33019 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
33020 struct nb_cb_create_args
*args
)
33022 switch (args
->event
) {
33023 case NB_EV_VALIDATE
:
33024 case NB_EV_PREPARE
:
33027 /* TODO: implement me. */
33034 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
33035 struct nb_cb_destroy_args
*args
)
33037 switch (args
->event
) {
33038 case NB_EV_VALIDATE
:
33039 case NB_EV_PREPARE
:
33043 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
33052 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/max-prefixes
33054 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
33055 struct nb_cb_modify_args
*args
)
33057 switch (args
->event
) {
33058 case NB_EV_VALIDATE
:
33059 case NB_EV_PREPARE
:
33062 /* TODO: implement me. */
33071 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/force-check
33073 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
33074 struct nb_cb_modify_args
*args
)
33076 switch (args
->event
) {
33077 case NB_EV_VALIDATE
:
33078 case NB_EV_PREPARE
:
33081 /* TODO: implement me. */
33090 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/warning-only
33092 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
33093 struct nb_cb_modify_args
*args
)
33095 switch (args
->event
) {
33096 case NB_EV_VALIDATE
:
33097 case NB_EV_PREPARE
:
33100 /* TODO: implement me. */
33107 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
33108 struct nb_cb_destroy_args
*args
)
33110 switch (args
->event
) {
33111 case NB_EV_VALIDATE
:
33112 case NB_EV_PREPARE
:
33115 /* TODO: implement me. */
33124 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/restart-timer
33126 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
33127 struct nb_cb_modify_args
*args
)
33129 switch (args
->event
) {
33130 case NB_EV_VALIDATE
:
33131 case NB_EV_PREPARE
:
33134 /* TODO: implement me. */
33141 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
33142 struct nb_cb_destroy_args
*args
)
33144 switch (args
->event
) {
33145 case NB_EV_VALIDATE
:
33146 case NB_EV_PREPARE
:
33149 /* TODO: implement me. */
33158 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
33160 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
33161 struct nb_cb_modify_args
*args
)
33163 switch (args
->event
) {
33164 case NB_EV_VALIDATE
:
33165 case NB_EV_PREPARE
:
33168 /* TODO: implement me. */
33175 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
33176 struct nb_cb_destroy_args
*args
)
33178 switch (args
->event
) {
33179 case NB_EV_VALIDATE
:
33180 case NB_EV_PREPARE
:
33183 /* TODO: implement me. */
33192 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
33194 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
33195 struct nb_cb_modify_args
*args
)
33197 switch (args
->event
) {
33198 case NB_EV_VALIDATE
:
33199 case NB_EV_PREPARE
:
33202 /* TODO: implement me. */
33209 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
33210 struct nb_cb_destroy_args
*args
)
33212 switch (args
->event
) {
33213 case NB_EV_VALIDATE
:
33214 case NB_EV_PREPARE
:
33217 /* TODO: implement me. */
33226 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
33228 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
33229 struct nb_cb_modify_args
*args
)
33231 switch (args
->event
) {
33232 case NB_EV_VALIDATE
:
33233 case NB_EV_PREPARE
:
33236 /* TODO: implement me. */
33243 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
33244 struct nb_cb_destroy_args
*args
)
33246 switch (args
->event
) {
33247 case NB_EV_VALIDATE
:
33248 case NB_EV_PREPARE
:
33251 /* TODO: implement me. */
33260 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
33262 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
33263 struct nb_cb_modify_args
*args
)
33265 switch (args
->event
) {
33266 case NB_EV_VALIDATE
:
33267 case NB_EV_PREPARE
:
33270 /* TODO: implement me. */
33277 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
33278 struct nb_cb_destroy_args
*args
)
33280 switch (args
->event
) {
33281 case NB_EV_VALIDATE
:
33282 case NB_EV_PREPARE
:
33285 /* TODO: implement me. */
33294 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
33296 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
33297 struct nb_cb_modify_args
*args
)
33299 switch (args
->event
) {
33300 case NB_EV_VALIDATE
:
33301 case NB_EV_PREPARE
:
33304 /* TODO: implement me. */
33311 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
33312 struct nb_cb_destroy_args
*args
)
33314 switch (args
->event
) {
33315 case NB_EV_VALIDATE
:
33316 case NB_EV_PREPARE
:
33319 /* TODO: implement me. */
33328 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self
33330 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
33331 struct nb_cb_modify_args
*args
)
33333 switch (args
->event
) {
33334 case NB_EV_VALIDATE
:
33335 case NB_EV_PREPARE
:
33339 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33340 args
, PEER_FLAG_NEXTHOP_SELF
,
33341 yang_dnode_get_bool(args
->dnode
, NULL
));
33351 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self-force
33353 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
33354 struct nb_cb_modify_args
*args
)
33356 switch (args
->event
) {
33357 case NB_EV_VALIDATE
:
33358 case NB_EV_PREPARE
:
33362 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33363 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
33364 yang_dnode_get_bool(args
->dnode
, NULL
));
33374 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all
33376 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
33377 struct nb_cb_modify_args
*args
)
33379 switch (args
->event
) {
33380 case NB_EV_VALIDATE
:
33381 case NB_EV_PREPARE
:
33385 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33386 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
33387 yang_dnode_get_bool(args
->dnode
, NULL
));
33397 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all-replace
33399 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
33400 struct nb_cb_modify_args
*args
)
33402 switch (args
->event
) {
33403 case NB_EV_VALIDATE
:
33404 case NB_EV_PREPARE
:
33408 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33409 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
33410 yang_dnode_get_bool(args
->dnode
, NULL
));
33420 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as
33422 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
33423 struct nb_cb_modify_args
*args
)
33425 switch (args
->event
) {
33426 case NB_EV_VALIDATE
:
33427 case NB_EV_PREPARE
:
33431 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33432 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
33433 yang_dnode_get_bool(args
->dnode
, NULL
));
33443 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-replace
33445 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
33446 struct nb_cb_modify_args
*args
)
33448 switch (args
->event
) {
33449 case NB_EV_VALIDATE
:
33450 case NB_EV_PREPARE
:
33454 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33455 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
33456 yang_dnode_get_bool(args
->dnode
, NULL
));
33466 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/route-reflector/route-reflector-client
33468 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
33469 struct nb_cb_modify_args
*args
)
33471 switch (args
->event
) {
33472 case NB_EV_VALIDATE
:
33473 case NB_EV_PREPARE
:
33477 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33478 args
, PEER_FLAG_REFLECTOR_CLIENT
,
33479 yang_dnode_get_bool(args
->dnode
, NULL
));
33489 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/route-server/route-server-client
33491 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
33492 struct nb_cb_modify_args
*args
)
33494 switch (args
->event
) {
33495 case NB_EV_VALIDATE
:
33496 case NB_EV_PREPARE
:
33500 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33501 args
, PEER_FLAG_RSERVER_CLIENT
,
33502 yang_dnode_get_bool(args
->dnode
, NULL
));
33512 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-community
33514 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
33515 struct nb_cb_modify_args
*args
)
33517 switch (args
->event
) {
33518 case NB_EV_VALIDATE
:
33519 case NB_EV_PREPARE
:
33523 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33524 args
, PEER_FLAG_SEND_COMMUNITY
,
33525 yang_dnode_get_bool(args
->dnode
, NULL
));
33535 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-ext-community
33537 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
33538 struct nb_cb_modify_args
*args
)
33540 switch (args
->event
) {
33541 case NB_EV_VALIDATE
:
33542 case NB_EV_PREPARE
:
33546 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33547 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
33548 yang_dnode_get_bool(args
->dnode
, NULL
));
33558 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-large-community
33560 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
33561 struct nb_cb_modify_args
*args
)
33563 switch (args
->event
) {
33564 case NB_EV_VALIDATE
:
33565 case NB_EV_PREPARE
:
33569 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33570 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
33571 yang_dnode_get_bool(args
->dnode
, NULL
));
33581 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/soft-reconfiguration
33583 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
33584 struct nb_cb_modify_args
*args
)
33586 switch (args
->event
) {
33587 case NB_EV_VALIDATE
:
33588 case NB_EV_PREPARE
:
33592 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33593 args
, PEER_FLAG_SOFT_RECONFIG
,
33594 yang_dnode_get_bool(args
->dnode
, NULL
));
33604 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/weight/weight-attribute
33606 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
33607 struct nb_cb_modify_args
*args
)
33609 switch (args
->event
) {
33610 case NB_EV_VALIDATE
:
33611 case NB_EV_PREPARE
:
33615 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
33623 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
33624 struct nb_cb_destroy_args
*args
)
33626 switch (args
->event
) {
33627 case NB_EV_VALIDATE
:
33628 case NB_EV_PREPARE
:
33632 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
33642 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/add-paths/path-type
33644 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
33645 struct nb_cb_modify_args
*args
)
33647 switch (args
->event
) {
33648 case NB_EV_VALIDATE
:
33649 case NB_EV_PREPARE
:
33652 /* TODO: implement me. */
33661 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-as
33663 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
33664 struct nb_cb_modify_args
*args
)
33666 switch (args
->event
) {
33667 case NB_EV_VALIDATE
:
33668 case NB_EV_PREPARE
:
33671 /* TODO: implement me. */
33678 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
33679 struct nb_cb_destroy_args
*args
)
33681 switch (args
->event
) {
33682 case NB_EV_VALIDATE
:
33683 case NB_EV_PREPARE
:
33686 /* TODO: implement me. */
33695 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-origin-as
33697 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
33698 struct nb_cb_modify_args
*args
)
33700 switch (args
->event
) {
33701 case NB_EV_VALIDATE
:
33702 case NB_EV_PREPARE
:
33705 /* TODO: implement me. */
33712 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
33713 struct nb_cb_destroy_args
*args
)
33715 switch (args
->event
) {
33716 case NB_EV_VALIDATE
:
33717 case NB_EV_PREPARE
:
33720 /* TODO: implement me. */
33729 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/replace-peer-as
33731 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
33732 struct nb_cb_modify_args
*args
)
33734 switch (args
->event
) {
33735 case NB_EV_VALIDATE
:
33736 case NB_EV_PREPARE
:
33740 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33741 args
, PEER_FLAG_AS_OVERRIDE
,
33742 yang_dnode_get_bool(args
->dnode
, NULL
));
33752 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/as-path-unchanged
33754 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
33755 struct nb_cb_modify_args
*args
)
33757 switch (args
->event
) {
33758 case NB_EV_VALIDATE
:
33759 case NB_EV_PREPARE
:
33763 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33764 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
33765 yang_dnode_get_bool(args
->dnode
, NULL
));
33775 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/next-hop-unchanged
33777 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
33778 struct nb_cb_modify_args
*args
)
33780 switch (args
->event
) {
33781 case NB_EV_VALIDATE
:
33782 case NB_EV_PREPARE
:
33786 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33787 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
33788 yang_dnode_get_bool(args
->dnode
, NULL
));
33798 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/med-unchanged
33800 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
33801 struct nb_cb_modify_args
*args
)
33803 switch (args
->event
) {
33804 case NB_EV_VALIDATE
:
33805 case NB_EV_PREPARE
:
33809 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33810 args
, PEER_FLAG_MED_UNCHANGED
,
33811 yang_dnode_get_bool(args
->dnode
, NULL
));
33821 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list
33823 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
33824 struct nb_cb_create_args
*args
)
33826 switch (args
->event
) {
33827 case NB_EV_VALIDATE
:
33828 case NB_EV_PREPARE
:
33831 /* TODO: implement me. */
33838 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
33839 struct nb_cb_destroy_args
*args
)
33841 switch (args
->event
) {
33842 case NB_EV_VALIDATE
:
33843 case NB_EV_PREPARE
:
33847 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
33856 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/max-prefixes
33858 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
33859 struct nb_cb_modify_args
*args
)
33861 switch (args
->event
) {
33862 case NB_EV_VALIDATE
:
33863 case NB_EV_PREPARE
:
33866 /* TODO: implement me. */
33875 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/force-check
33877 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
33878 struct nb_cb_modify_args
*args
)
33880 switch (args
->event
) {
33881 case NB_EV_VALIDATE
:
33882 case NB_EV_PREPARE
:
33885 /* TODO: implement me. */
33894 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/warning-only
33896 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
33897 struct nb_cb_modify_args
*args
)
33899 switch (args
->event
) {
33900 case NB_EV_VALIDATE
:
33901 case NB_EV_PREPARE
:
33904 /* TODO: implement me. */
33911 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
33912 struct nb_cb_destroy_args
*args
)
33914 switch (args
->event
) {
33915 case NB_EV_VALIDATE
:
33916 case NB_EV_PREPARE
:
33919 /* TODO: implement me. */
33928 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/restart-timer
33930 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
33931 struct nb_cb_modify_args
*args
)
33933 switch (args
->event
) {
33934 case NB_EV_VALIDATE
:
33935 case NB_EV_PREPARE
:
33938 /* TODO: implement me. */
33945 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
33946 struct nb_cb_destroy_args
*args
)
33948 switch (args
->event
) {
33949 case NB_EV_VALIDATE
:
33950 case NB_EV_PREPARE
:
33953 /* TODO: implement me. */
33962 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
33964 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
33965 struct nb_cb_modify_args
*args
)
33967 switch (args
->event
) {
33968 case NB_EV_VALIDATE
:
33969 case NB_EV_PREPARE
:
33972 /* TODO: implement me. */
33979 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
33980 struct nb_cb_destroy_args
*args
)
33982 switch (args
->event
) {
33983 case NB_EV_VALIDATE
:
33984 case NB_EV_PREPARE
:
33987 /* TODO: implement me. */
33996 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
33998 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
33999 struct nb_cb_modify_args
*args
)
34001 switch (args
->event
) {
34002 case NB_EV_VALIDATE
:
34003 case NB_EV_PREPARE
:
34006 /* TODO: implement me. */
34013 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
34014 struct nb_cb_destroy_args
*args
)
34016 switch (args
->event
) {
34017 case NB_EV_VALIDATE
:
34018 case NB_EV_PREPARE
:
34021 /* TODO: implement me. */
34030 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
34032 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
34033 struct nb_cb_modify_args
*args
)
34035 switch (args
->event
) {
34036 case NB_EV_VALIDATE
:
34037 case NB_EV_PREPARE
:
34040 /* TODO: implement me. */
34047 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
34048 struct nb_cb_destroy_args
*args
)
34050 switch (args
->event
) {
34051 case NB_EV_VALIDATE
:
34052 case NB_EV_PREPARE
:
34055 /* TODO: implement me. */
34064 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
34066 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
34067 struct nb_cb_modify_args
*args
)
34069 switch (args
->event
) {
34070 case NB_EV_VALIDATE
:
34071 case NB_EV_PREPARE
:
34074 /* TODO: implement me. */
34081 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
34082 struct nb_cb_destroy_args
*args
)
34084 switch (args
->event
) {
34085 case NB_EV_VALIDATE
:
34086 case NB_EV_PREPARE
:
34089 /* TODO: implement me. */
34098 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
34100 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
34101 struct nb_cb_modify_args
*args
)
34103 switch (args
->event
) {
34104 case NB_EV_VALIDATE
:
34105 case NB_EV_PREPARE
:
34108 /* TODO: implement me. */
34115 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
34116 struct nb_cb_destroy_args
*args
)
34118 switch (args
->event
) {
34119 case NB_EV_VALIDATE
:
34120 case NB_EV_PREPARE
:
34123 /* TODO: implement me. */
34132 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self
34134 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
34135 struct nb_cb_modify_args
*args
)
34137 switch (args
->event
) {
34138 case NB_EV_VALIDATE
:
34139 case NB_EV_PREPARE
:
34143 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34144 args
, PEER_FLAG_NEXTHOP_SELF
,
34145 yang_dnode_get_bool(args
->dnode
, NULL
));
34155 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self-force
34157 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
34158 struct nb_cb_modify_args
*args
)
34160 switch (args
->event
) {
34161 case NB_EV_VALIDATE
:
34162 case NB_EV_PREPARE
:
34166 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34167 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
34168 yang_dnode_get_bool(args
->dnode
, NULL
));
34178 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all
34180 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
34181 struct nb_cb_modify_args
*args
)
34183 switch (args
->event
) {
34184 case NB_EV_VALIDATE
:
34185 case NB_EV_PREPARE
:
34189 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34190 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
34191 yang_dnode_get_bool(args
->dnode
, NULL
));
34201 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all-replace
34203 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
34204 struct nb_cb_modify_args
*args
)
34206 switch (args
->event
) {
34207 case NB_EV_VALIDATE
:
34208 case NB_EV_PREPARE
:
34212 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34213 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
34214 yang_dnode_get_bool(args
->dnode
, NULL
));
34224 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as
34226 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
34227 struct nb_cb_modify_args
*args
)
34229 switch (args
->event
) {
34230 case NB_EV_VALIDATE
:
34231 case NB_EV_PREPARE
:
34235 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34236 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
34237 yang_dnode_get_bool(args
->dnode
, NULL
));
34247 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-replace
34249 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
34250 struct nb_cb_modify_args
*args
)
34252 switch (args
->event
) {
34253 case NB_EV_VALIDATE
:
34254 case NB_EV_PREPARE
:
34258 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34259 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
34260 yang_dnode_get_bool(args
->dnode
, NULL
));
34270 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-reflector/route-reflector-client
34272 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
34273 struct nb_cb_modify_args
*args
)
34275 switch (args
->event
) {
34276 case NB_EV_VALIDATE
:
34277 case NB_EV_PREPARE
:
34281 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34282 args
, PEER_FLAG_REFLECTOR_CLIENT
,
34283 yang_dnode_get_bool(args
->dnode
, NULL
));
34293 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-server/route-server-client
34295 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
34296 struct nb_cb_modify_args
*args
)
34298 switch (args
->event
) {
34299 case NB_EV_VALIDATE
:
34300 case NB_EV_PREPARE
:
34304 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34305 args
, PEER_FLAG_RSERVER_CLIENT
,
34306 yang_dnode_get_bool(args
->dnode
, NULL
));
34316 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-community
34318 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
34319 struct nb_cb_modify_args
*args
)
34321 switch (args
->event
) {
34322 case NB_EV_VALIDATE
:
34323 case NB_EV_PREPARE
:
34327 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34328 args
, PEER_FLAG_SEND_COMMUNITY
,
34329 yang_dnode_get_bool(args
->dnode
, NULL
));
34339 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-ext-community
34341 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
34342 struct nb_cb_modify_args
*args
)
34344 switch (args
->event
) {
34345 case NB_EV_VALIDATE
:
34346 case NB_EV_PREPARE
:
34350 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34351 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
34352 yang_dnode_get_bool(args
->dnode
, NULL
));
34362 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-large-community
34364 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
34365 struct nb_cb_modify_args
*args
)
34367 switch (args
->event
) {
34368 case NB_EV_VALIDATE
:
34369 case NB_EV_PREPARE
:
34373 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34374 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
34375 yang_dnode_get_bool(args
->dnode
, NULL
));
34385 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/soft-reconfiguration
34387 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
34388 struct nb_cb_modify_args
*args
)
34390 switch (args
->event
) {
34391 case NB_EV_VALIDATE
:
34392 case NB_EV_PREPARE
:
34396 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34397 args
, PEER_FLAG_SOFT_RECONFIG
,
34398 yang_dnode_get_bool(args
->dnode
, NULL
));
34408 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/weight/weight-attribute
34410 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
34411 struct nb_cb_modify_args
*args
)
34413 switch (args
->event
) {
34414 case NB_EV_VALIDATE
:
34415 case NB_EV_PREPARE
:
34419 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
34427 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
34428 struct nb_cb_destroy_args
*args
)
34430 switch (args
->event
) {
34431 case NB_EV_VALIDATE
:
34432 case NB_EV_PREPARE
:
34436 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
34446 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/add-paths/path-type
34448 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
34449 struct nb_cb_modify_args
*args
)
34451 switch (args
->event
) {
34452 case NB_EV_VALIDATE
:
34453 case NB_EV_PREPARE
:
34456 /* TODO: implement me. */
34465 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-as
34467 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
34468 struct nb_cb_modify_args
*args
)
34470 switch (args
->event
) {
34471 case NB_EV_VALIDATE
:
34472 case NB_EV_PREPARE
:
34475 /* TODO: implement me. */
34482 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
34483 struct nb_cb_destroy_args
*args
)
34485 switch (args
->event
) {
34486 case NB_EV_VALIDATE
:
34487 case NB_EV_PREPARE
:
34490 /* TODO: implement me. */
34499 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-origin-as
34501 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
34502 struct nb_cb_modify_args
*args
)
34504 switch (args
->event
) {
34505 case NB_EV_VALIDATE
:
34506 case NB_EV_PREPARE
:
34509 /* TODO: implement me. */
34516 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
34517 struct nb_cb_destroy_args
*args
)
34519 switch (args
->event
) {
34520 case NB_EV_VALIDATE
:
34521 case NB_EV_PREPARE
:
34524 /* TODO: implement me. */
34533 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/replace-peer-as
34535 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
34536 struct nb_cb_modify_args
*args
)
34538 switch (args
->event
) {
34539 case NB_EV_VALIDATE
:
34540 case NB_EV_PREPARE
:
34544 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34545 args
, PEER_FLAG_AS_OVERRIDE
,
34546 yang_dnode_get_bool(args
->dnode
, NULL
));
34556 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/as-path-unchanged
34558 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
34559 struct nb_cb_modify_args
*args
)
34561 switch (args
->event
) {
34562 case NB_EV_VALIDATE
:
34563 case NB_EV_PREPARE
:
34567 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34568 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
34569 yang_dnode_get_bool(args
->dnode
, NULL
));
34579 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/next-hop-unchanged
34581 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
34582 struct nb_cb_modify_args
*args
)
34584 switch (args
->event
) {
34585 case NB_EV_VALIDATE
:
34586 case NB_EV_PREPARE
:
34590 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34591 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
34592 yang_dnode_get_bool(args
->dnode
, NULL
));
34602 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/med-unchanged
34604 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
34605 struct nb_cb_modify_args
*args
)
34607 switch (args
->event
) {
34608 case NB_EV_VALIDATE
:
34609 case NB_EV_PREPARE
:
34613 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34614 args
, PEER_FLAG_MED_UNCHANGED
,
34615 yang_dnode_get_bool(args
->dnode
, NULL
));
34625 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list
34627 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
34628 struct nb_cb_create_args
*args
)
34630 switch (args
->event
) {
34631 case NB_EV_VALIDATE
:
34632 case NB_EV_PREPARE
:
34635 /* TODO: implement me. */
34642 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
34643 struct nb_cb_destroy_args
*args
)
34645 switch (args
->event
) {
34646 case NB_EV_VALIDATE
:
34647 case NB_EV_PREPARE
:
34651 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
34660 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/max-prefixes
34662 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
34663 struct nb_cb_modify_args
*args
)
34665 switch (args
->event
) {
34666 case NB_EV_VALIDATE
:
34667 case NB_EV_PREPARE
:
34670 /* TODO: implement me. */
34679 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/force-check
34681 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
34682 struct nb_cb_modify_args
*args
)
34684 switch (args
->event
) {
34685 case NB_EV_VALIDATE
:
34686 case NB_EV_PREPARE
:
34689 /* TODO: implement me. */
34698 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/warning-only
34700 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
34701 struct nb_cb_modify_args
*args
)
34703 switch (args
->event
) {
34704 case NB_EV_VALIDATE
:
34705 case NB_EV_PREPARE
:
34708 /* TODO: implement me. */
34715 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
34716 struct nb_cb_destroy_args
*args
)
34718 switch (args
->event
) {
34719 case NB_EV_VALIDATE
:
34720 case NB_EV_PREPARE
:
34723 /* TODO: implement me. */
34732 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/restart-timer
34734 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
34735 struct nb_cb_modify_args
*args
)
34737 switch (args
->event
) {
34738 case NB_EV_VALIDATE
:
34739 case NB_EV_PREPARE
:
34742 /* TODO: implement me. */
34749 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
34750 struct nb_cb_destroy_args
*args
)
34752 switch (args
->event
) {
34753 case NB_EV_VALIDATE
:
34754 case NB_EV_PREPARE
:
34757 /* TODO: implement me. */
34766 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
34768 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
34769 struct nb_cb_modify_args
*args
)
34771 switch (args
->event
) {
34772 case NB_EV_VALIDATE
:
34773 case NB_EV_PREPARE
:
34776 /* TODO: implement me. */
34783 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
34784 struct nb_cb_destroy_args
*args
)
34786 switch (args
->event
) {
34787 case NB_EV_VALIDATE
:
34788 case NB_EV_PREPARE
:
34791 /* TODO: implement me. */
34800 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
34802 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
34803 struct nb_cb_modify_args
*args
)
34805 switch (args
->event
) {
34806 case NB_EV_VALIDATE
:
34807 case NB_EV_PREPARE
:
34810 /* TODO: implement me. */
34817 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
34818 struct nb_cb_destroy_args
*args
)
34820 switch (args
->event
) {
34821 case NB_EV_VALIDATE
:
34822 case NB_EV_PREPARE
:
34825 /* TODO: implement me. */
34834 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
34836 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
34837 struct nb_cb_modify_args
*args
)
34839 switch (args
->event
) {
34840 case NB_EV_VALIDATE
:
34841 case NB_EV_PREPARE
:
34844 /* TODO: implement me. */
34851 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
34852 struct nb_cb_destroy_args
*args
)
34854 switch (args
->event
) {
34855 case NB_EV_VALIDATE
:
34856 case NB_EV_PREPARE
:
34859 /* TODO: implement me. */
34868 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
34870 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
34871 struct nb_cb_modify_args
*args
)
34873 switch (args
->event
) {
34874 case NB_EV_VALIDATE
:
34875 case NB_EV_PREPARE
:
34878 /* TODO: implement me. */
34885 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
34886 struct nb_cb_destroy_args
*args
)
34888 switch (args
->event
) {
34889 case NB_EV_VALIDATE
:
34890 case NB_EV_PREPARE
:
34893 /* TODO: implement me. */
34902 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
34904 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
34905 struct nb_cb_modify_args
*args
)
34907 switch (args
->event
) {
34908 case NB_EV_VALIDATE
:
34909 case NB_EV_PREPARE
:
34912 /* TODO: implement me. */
34919 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
34920 struct nb_cb_destroy_args
*args
)
34922 switch (args
->event
) {
34923 case NB_EV_VALIDATE
:
34924 case NB_EV_PREPARE
:
34927 /* TODO: implement me. */
34936 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self
34938 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
34939 struct nb_cb_modify_args
*args
)
34941 switch (args
->event
) {
34942 case NB_EV_VALIDATE
:
34943 case NB_EV_PREPARE
:
34947 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34948 args
, PEER_FLAG_NEXTHOP_SELF
,
34949 yang_dnode_get_bool(args
->dnode
, NULL
));
34959 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self-force
34961 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
34962 struct nb_cb_modify_args
*args
)
34964 switch (args
->event
) {
34965 case NB_EV_VALIDATE
:
34966 case NB_EV_PREPARE
:
34970 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34971 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
34972 yang_dnode_get_bool(args
->dnode
, NULL
));
34982 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all
34984 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
34985 struct nb_cb_modify_args
*args
)
34987 switch (args
->event
) {
34988 case NB_EV_VALIDATE
:
34989 case NB_EV_PREPARE
:
34993 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34994 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
34995 yang_dnode_get_bool(args
->dnode
, NULL
));
35005 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all-replace
35007 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
35008 struct nb_cb_modify_args
*args
)
35010 switch (args
->event
) {
35011 case NB_EV_VALIDATE
:
35012 case NB_EV_PREPARE
:
35016 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35017 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
35018 yang_dnode_get_bool(args
->dnode
, NULL
));
35028 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as
35030 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
35031 struct nb_cb_modify_args
*args
)
35033 switch (args
->event
) {
35034 case NB_EV_VALIDATE
:
35035 case NB_EV_PREPARE
:
35039 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35040 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
35041 yang_dnode_get_bool(args
->dnode
, NULL
));
35051 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-replace
35053 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
35054 struct nb_cb_modify_args
*args
)
35056 switch (args
->event
) {
35057 case NB_EV_VALIDATE
:
35058 case NB_EV_PREPARE
:
35062 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35063 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
35064 yang_dnode_get_bool(args
->dnode
, NULL
));
35074 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-reflector/route-reflector-client
35076 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
35077 struct nb_cb_modify_args
*args
)
35079 switch (args
->event
) {
35080 case NB_EV_VALIDATE
:
35081 case NB_EV_PREPARE
:
35085 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35086 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35087 yang_dnode_get_bool(args
->dnode
, NULL
));
35097 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-server/route-server-client
35099 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
35100 struct nb_cb_modify_args
*args
)
35102 switch (args
->event
) {
35103 case NB_EV_VALIDATE
:
35104 case NB_EV_PREPARE
:
35108 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35109 args
, PEER_FLAG_RSERVER_CLIENT
,
35110 yang_dnode_get_bool(args
->dnode
, NULL
));
35120 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-community
35122 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
35123 struct nb_cb_modify_args
*args
)
35125 switch (args
->event
) {
35126 case NB_EV_VALIDATE
:
35127 case NB_EV_PREPARE
:
35131 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35132 args
, PEER_FLAG_SEND_COMMUNITY
,
35133 yang_dnode_get_bool(args
->dnode
, NULL
));
35143 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-ext-community
35145 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
35146 struct nb_cb_modify_args
*args
)
35148 switch (args
->event
) {
35149 case NB_EV_VALIDATE
:
35150 case NB_EV_PREPARE
:
35154 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35155 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
35156 yang_dnode_get_bool(args
->dnode
, NULL
));
35166 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-large-community
35168 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
35169 struct nb_cb_modify_args
*args
)
35171 switch (args
->event
) {
35172 case NB_EV_VALIDATE
:
35173 case NB_EV_PREPARE
:
35177 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35178 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
35179 yang_dnode_get_bool(args
->dnode
, NULL
));
35189 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/soft-reconfiguration
35191 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
35192 struct nb_cb_modify_args
*args
)
35194 switch (args
->event
) {
35195 case NB_EV_VALIDATE
:
35196 case NB_EV_PREPARE
:
35200 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35201 args
, PEER_FLAG_SOFT_RECONFIG
,
35202 yang_dnode_get_bool(args
->dnode
, NULL
));
35212 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/weight/weight-attribute
35214 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
35215 struct nb_cb_modify_args
*args
)
35217 switch (args
->event
) {
35218 case NB_EV_VALIDATE
:
35219 case NB_EV_PREPARE
:
35223 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
35231 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
35232 struct nb_cb_destroy_args
*args
)
35234 switch (args
->event
) {
35235 case NB_EV_VALIDATE
:
35236 case NB_EV_PREPARE
:
35240 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
35250 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-as
35252 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
35253 struct nb_cb_modify_args
*args
)
35255 switch (args
->event
) {
35256 case NB_EV_VALIDATE
:
35257 case NB_EV_PREPARE
:
35260 /* TODO: implement me. */
35267 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
35268 struct nb_cb_destroy_args
*args
)
35270 switch (args
->event
) {
35271 case NB_EV_VALIDATE
:
35272 case NB_EV_PREPARE
:
35275 /* TODO: implement me. */
35284 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-origin-as
35286 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
35287 struct nb_cb_modify_args
*args
)
35289 switch (args
->event
) {
35290 case NB_EV_VALIDATE
:
35291 case NB_EV_PREPARE
:
35294 /* TODO: implement me. */
35301 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
35302 struct nb_cb_destroy_args
*args
)
35304 switch (args
->event
) {
35305 case NB_EV_VALIDATE
:
35306 case NB_EV_PREPARE
:
35309 /* TODO: implement me. */
35318 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/as-path-options/replace-peer-as
35320 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
35321 struct nb_cb_modify_args
*args
)
35323 switch (args
->event
) {
35324 case NB_EV_VALIDATE
:
35325 case NB_EV_PREPARE
:
35329 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35330 args
, PEER_FLAG_AS_OVERRIDE
,
35331 yang_dnode_get_bool(args
->dnode
, NULL
));
35341 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/as-path-unchanged
35343 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
35344 struct nb_cb_modify_args
*args
)
35346 switch (args
->event
) {
35347 case NB_EV_VALIDATE
:
35348 case NB_EV_PREPARE
:
35352 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35353 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
35354 yang_dnode_get_bool(args
->dnode
, NULL
));
35364 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/next-hop-unchanged
35366 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
35367 struct nb_cb_modify_args
*args
)
35369 switch (args
->event
) {
35370 case NB_EV_VALIDATE
:
35371 case NB_EV_PREPARE
:
35375 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35376 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
35377 yang_dnode_get_bool(args
->dnode
, NULL
));
35387 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/med-unchanged
35389 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
35390 struct nb_cb_modify_args
*args
)
35392 switch (args
->event
) {
35393 case NB_EV_VALIDATE
:
35394 case NB_EV_PREPARE
:
35398 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35399 args
, PEER_FLAG_MED_UNCHANGED
,
35400 yang_dnode_get_bool(args
->dnode
, NULL
));
35410 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self
35412 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
35413 struct nb_cb_modify_args
*args
)
35415 switch (args
->event
) {
35416 case NB_EV_VALIDATE
:
35417 case NB_EV_PREPARE
:
35421 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35422 args
, PEER_FLAG_NEXTHOP_SELF
,
35423 yang_dnode_get_bool(args
->dnode
, NULL
));
35433 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self-force
35435 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
35436 struct nb_cb_modify_args
*args
)
35438 switch (args
->event
) {
35439 case NB_EV_VALIDATE
:
35440 case NB_EV_PREPARE
:
35444 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35445 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
35446 yang_dnode_get_bool(args
->dnode
, NULL
));
35456 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/route-reflector/route-reflector-client
35458 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
35459 struct nb_cb_modify_args
*args
)
35461 switch (args
->event
) {
35462 case NB_EV_VALIDATE
:
35463 case NB_EV_PREPARE
:
35467 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35468 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35469 yang_dnode_get_bool(args
->dnode
, NULL
));
35479 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/route-server/route-server-client
35481 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
35482 struct nb_cb_modify_args
*args
)
35484 switch (args
->event
) {
35485 case NB_EV_VALIDATE
:
35486 case NB_EV_PREPARE
:
35490 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35491 args
, PEER_FLAG_RSERVER_CLIENT
,
35492 yang_dnode_get_bool(args
->dnode
, NULL
));
35502 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
35504 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
35505 struct nb_cb_modify_args
*args
)
35507 switch (args
->event
) {
35508 case NB_EV_VALIDATE
:
35509 case NB_EV_PREPARE
:
35513 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35514 args
, PEER_FLAG_SOFT_RECONFIG
,
35515 yang_dnode_get_bool(args
->dnode
, NULL
));
35525 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/route-reflector/route-reflector-client
35527 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
35528 struct nb_cb_modify_args
*args
)
35530 switch (args
->event
) {
35531 case NB_EV_VALIDATE
:
35532 case NB_EV_PREPARE
:
35536 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35537 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35538 yang_dnode_get_bool(args
->dnode
, NULL
));
35548 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/route-server/route-server-client
35550 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
35551 struct nb_cb_modify_args
*args
)
35553 switch (args
->event
) {
35554 case NB_EV_VALIDATE
:
35555 case NB_EV_PREPARE
:
35559 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35560 args
, PEER_FLAG_RSERVER_CLIENT
,
35561 yang_dnode_get_bool(args
->dnode
, NULL
));
35571 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
35573 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
35574 struct nb_cb_modify_args
*args
)
35576 switch (args
->event
) {
35577 case NB_EV_VALIDATE
:
35578 case NB_EV_PREPARE
:
35582 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35583 args
, PEER_FLAG_SOFT_RECONFIG
,
35584 yang_dnode_get_bool(args
->dnode
, NULL
));
35594 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-import
35596 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
35597 struct nb_cb_modify_args
*args
)
35599 switch (args
->event
) {
35600 case NB_EV_VALIDATE
:
35601 case NB_EV_PREPARE
:
35605 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
35612 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
35613 struct nb_cb_destroy_args
*args
)
35615 switch (args
->event
) {
35616 case NB_EV_VALIDATE
:
35617 case NB_EV_PREPARE
:
35621 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
35630 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-export
35632 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
35633 struct nb_cb_modify_args
*args
)
35635 switch (args
->event
) {
35636 case NB_EV_VALIDATE
:
35637 case NB_EV_PREPARE
:
35641 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
35648 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
35649 struct nb_cb_destroy_args
*args
)
35651 switch (args
->event
) {
35652 case NB_EV_VALIDATE
:
35653 case NB_EV_PREPARE
:
35657 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
35666 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-import
35668 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
35669 struct nb_cb_modify_args
*args
)
35671 switch (args
->event
) {
35672 case NB_EV_VALIDATE
:
35673 case NB_EV_PREPARE
:
35677 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
35684 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
35685 struct nb_cb_destroy_args
*args
)
35687 switch (args
->event
) {
35688 case NB_EV_VALIDATE
:
35689 case NB_EV_PREPARE
:
35693 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
35702 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-export
35704 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
35705 struct nb_cb_modify_args
*args
)
35707 switch (args
->event
) {
35708 case NB_EV_VALIDATE
:
35709 case NB_EV_PREPARE
:
35713 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
35720 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
35721 struct nb_cb_destroy_args
*args
)
35723 switch (args
->event
) {
35724 case NB_EV_VALIDATE
:
35725 case NB_EV_PREPARE
:
35729 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
35738 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-import
35740 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
35741 struct nb_cb_modify_args
*args
)
35743 switch (args
->event
) {
35744 case NB_EV_VALIDATE
:
35745 case NB_EV_PREPARE
:
35748 /* TODO: implement me. */
35755 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
35756 struct nb_cb_destroy_args
*args
)
35758 switch (args
->event
) {
35759 case NB_EV_VALIDATE
:
35760 case NB_EV_PREPARE
:
35763 /* TODO: implement me. */
35772 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-export
35774 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
35775 struct nb_cb_modify_args
*args
)
35777 switch (args
->event
) {
35778 case NB_EV_VALIDATE
:
35779 case NB_EV_PREPARE
:
35782 /* TODO: implement me. */
35789 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
35790 struct nb_cb_destroy_args
*args
)
35792 switch (args
->event
) {
35793 case NB_EV_VALIDATE
:
35794 case NB_EV_PREPARE
:
35797 /* TODO: implement me. */
35806 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-import
35808 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
35809 struct nb_cb_modify_args
*args
)
35811 switch (args
->event
) {
35812 case NB_EV_VALIDATE
:
35813 case NB_EV_PREPARE
:
35816 /* TODO: implement me. */
35823 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
35824 struct nb_cb_destroy_args
*args
)
35826 switch (args
->event
) {
35827 case NB_EV_VALIDATE
:
35828 case NB_EV_PREPARE
:
35831 /* TODO: implement me. */
35840 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-export
35842 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
35843 struct nb_cb_modify_args
*args
)
35845 switch (args
->event
) {
35846 case NB_EV_VALIDATE
:
35847 case NB_EV_PREPARE
:
35850 /* TODO: implement me. */
35857 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
35858 struct nb_cb_destroy_args
*args
)
35860 switch (args
->event
) {
35861 case NB_EV_VALIDATE
:
35862 case NB_EV_PREPARE
:
35865 /* TODO: implement me. */
35874 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-import
35876 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
35877 struct nb_cb_modify_args
*args
)
35879 switch (args
->event
) {
35880 case NB_EV_VALIDATE
:
35881 case NB_EV_PREPARE
:
35884 /* TODO: implement me. */
35891 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
35892 struct nb_cb_destroy_args
*args
)
35894 switch (args
->event
) {
35895 case NB_EV_VALIDATE
:
35896 case NB_EV_PREPARE
:
35899 /* TODO: implement me. */
35908 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-export
35910 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
35911 struct nb_cb_modify_args
*args
)
35913 switch (args
->event
) {
35914 case NB_EV_VALIDATE
:
35915 case NB_EV_PREPARE
:
35918 /* TODO: implement me. */
35925 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
35926 struct nb_cb_destroy_args
*args
)
35928 switch (args
->event
) {
35929 case NB_EV_VALIDATE
:
35930 case NB_EV_PREPARE
:
35933 /* TODO: implement me. */
35942 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/route-reflector/route-reflector-client
35944 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
35945 struct nb_cb_modify_args
*args
)
35947 switch (args
->event
) {
35948 case NB_EV_VALIDATE
:
35949 case NB_EV_PREPARE
:
35953 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35954 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35955 yang_dnode_get_bool(args
->dnode
, NULL
));
35965 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/route-server/route-server-client
35967 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
35968 struct nb_cb_modify_args
*args
)
35970 switch (args
->event
) {
35971 case NB_EV_VALIDATE
:
35972 case NB_EV_PREPARE
:
35976 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35977 args
, PEER_FLAG_RSERVER_CLIENT
,
35978 yang_dnode_get_bool(args
->dnode
, NULL
));
35988 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
35990 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
35991 struct nb_cb_modify_args
*args
)
35993 switch (args
->event
) {
35994 case NB_EV_VALIDATE
:
35995 case NB_EV_PREPARE
:
35999 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
36000 args
, PEER_FLAG_SOFT_RECONFIG
,
36001 yang_dnode_get_bool(args
->dnode
, NULL
));
36011 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-import
36013 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
36014 struct nb_cb_modify_args
*args
)
36016 switch (args
->event
) {
36017 case NB_EV_VALIDATE
:
36018 case NB_EV_PREPARE
:
36022 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
36029 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
36030 struct nb_cb_destroy_args
*args
)
36032 switch (args
->event
) {
36033 case NB_EV_VALIDATE
:
36034 case NB_EV_PREPARE
:
36038 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
36047 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-export
36049 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
36050 struct nb_cb_modify_args
*args
)
36052 switch (args
->event
) {
36053 case NB_EV_VALIDATE
:
36054 case NB_EV_PREPARE
:
36058 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
36065 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
36066 struct nb_cb_destroy_args
*args
)
36068 switch (args
->event
) {
36069 case NB_EV_VALIDATE
:
36070 case NB_EV_PREPARE
:
36074 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
36083 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-import
36085 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
36086 struct nb_cb_modify_args
*args
)
36088 switch (args
->event
) {
36089 case NB_EV_VALIDATE
:
36090 case NB_EV_PREPARE
:
36094 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
36101 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
36102 struct nb_cb_destroy_args
*args
)
36104 switch (args
->event
) {
36105 case NB_EV_VALIDATE
:
36106 case NB_EV_PREPARE
:
36110 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
36119 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-export
36121 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
36122 struct nb_cb_modify_args
*args
)
36124 switch (args
->event
) {
36125 case NB_EV_VALIDATE
:
36126 case NB_EV_PREPARE
:
36130 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
36137 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
36138 struct nb_cb_destroy_args
*args
)
36140 switch (args
->event
) {
36141 case NB_EV_VALIDATE
:
36142 case NB_EV_PREPARE
:
36146 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
36155 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-import
36157 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
36158 struct nb_cb_modify_args
*args
)
36160 switch (args
->event
) {
36161 case NB_EV_VALIDATE
:
36162 case NB_EV_PREPARE
:
36165 /* TODO: implement me. */
36172 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
36173 struct nb_cb_destroy_args
*args
)
36175 switch (args
->event
) {
36176 case NB_EV_VALIDATE
:
36177 case NB_EV_PREPARE
:
36180 /* TODO: implement me. */
36189 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-export
36191 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
36192 struct nb_cb_modify_args
*args
)
36194 switch (args
->event
) {
36195 case NB_EV_VALIDATE
:
36196 case NB_EV_PREPARE
:
36199 /* TODO: implement me. */
36206 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
36207 struct nb_cb_destroy_args
*args
)
36209 switch (args
->event
) {
36210 case NB_EV_VALIDATE
:
36211 case NB_EV_PREPARE
:
36214 /* TODO: implement me. */
36223 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-import
36225 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
36226 struct nb_cb_modify_args
*args
)
36228 switch (args
->event
) {
36229 case NB_EV_VALIDATE
:
36230 case NB_EV_PREPARE
:
36233 /* TODO: implement me. */
36240 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
36241 struct nb_cb_destroy_args
*args
)
36243 switch (args
->event
) {
36244 case NB_EV_VALIDATE
:
36245 case NB_EV_PREPARE
:
36248 /* TODO: implement me. */
36257 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-export
36259 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
36260 struct nb_cb_modify_args
*args
)
36262 switch (args
->event
) {
36263 case NB_EV_VALIDATE
:
36264 case NB_EV_PREPARE
:
36267 /* TODO: implement me. */
36274 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
36275 struct nb_cb_destroy_args
*args
)
36277 switch (args
->event
) {
36278 case NB_EV_VALIDATE
:
36279 case NB_EV_PREPARE
:
36282 /* TODO: implement me. */
36291 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-import
36293 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
36294 struct nb_cb_modify_args
*args
)
36296 switch (args
->event
) {
36297 case NB_EV_VALIDATE
:
36298 case NB_EV_PREPARE
:
36301 /* TODO: implement me. */
36308 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
36309 struct nb_cb_destroy_args
*args
)
36311 switch (args
->event
) {
36312 case NB_EV_VALIDATE
:
36313 case NB_EV_PREPARE
:
36316 /* TODO: implement me. */
36325 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-export
36327 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
36328 struct nb_cb_modify_args
*args
)
36330 switch (args
->event
) {
36331 case NB_EV_VALIDATE
:
36332 case NB_EV_PREPARE
:
36335 /* TODO: implement me. */
36342 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
36343 struct nb_cb_destroy_args
*args
)
36345 switch (args
->event
) {
36346 case NB_EV_VALIDATE
:
36347 case NB_EV_PREPARE
:
36350 /* TODO: implement me. */
36357 static int bgp_peer_group_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
36358 uint32_t flags
, bool set
)
36361 const char *peer_str
;
36363 const struct lyd_node
*nbr_dnode
;
36364 const struct lyd_node
*nbr_af_dnode
;
36365 const char *af_name
;
36369 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36370 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36371 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36372 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36373 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36374 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36375 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36377 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
36380 return NB_ERR_INCONSISTENCY
;
36387 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/add-paths/path-type
36389 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
36390 struct nb_cb_modify_args
*args
)
36392 switch (args
->event
) {
36393 case NB_EV_VALIDATE
:
36394 case NB_EV_PREPARE
:
36397 /* TODO: implement me. */
36406 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-as
36408 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
36409 struct nb_cb_modify_args
*args
)
36411 switch (args
->event
) {
36412 case NB_EV_VALIDATE
:
36413 case NB_EV_PREPARE
:
36416 /* TODO: implement me. */
36423 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
36424 struct nb_cb_destroy_args
*args
)
36426 switch (args
->event
) {
36427 case NB_EV_VALIDATE
:
36428 case NB_EV_PREPARE
:
36431 /* TODO: implement me. */
36440 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/as-path-options/allow-own-origin-as
36442 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
36443 struct nb_cb_modify_args
*args
)
36445 switch (args
->event
) {
36446 case NB_EV_VALIDATE
:
36447 case NB_EV_PREPARE
:
36450 /* TODO: implement me. */
36457 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
36458 struct nb_cb_destroy_args
*args
)
36460 switch (args
->event
) {
36461 case NB_EV_VALIDATE
:
36462 case NB_EV_PREPARE
:
36465 /* TODO: implement me. */
36474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/as-path-options/replace-peer-as
36476 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
36477 struct nb_cb_modify_args
*args
)
36479 switch (args
->event
) {
36480 case NB_EV_VALIDATE
:
36481 case NB_EV_PREPARE
:
36485 return bgp_peer_group_afi_safi_flag_modify(
36486 args
, PEER_FLAG_AS_OVERRIDE
,
36487 yang_dnode_get_bool(args
->dnode
, NULL
));
36497 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
36499 void bgp_peer_group_afi_safi_default_originate_apply_finish(
36500 struct nb_cb_apply_finish_args
*args
)
36503 const char *peer_str
;
36505 const struct lyd_node
*nbr_dnode
;
36506 const struct lyd_node
*nbr_af_dnode
;
36507 const char *af_name
;
36511 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36512 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36513 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36515 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36516 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36517 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36518 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36522 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
36527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/default-originate/originate
36529 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
36530 struct nb_cb_modify_args
*args
)
36532 switch (args
->event
) {
36533 case NB_EV_VALIDATE
:
36534 case NB_EV_PREPARE
:
36537 /* TODO: implement me. */
36546 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/default-originate/route-map
36548 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
36549 struct nb_cb_modify_args
*args
)
36551 switch (args
->event
) {
36552 case NB_EV_VALIDATE
:
36553 case NB_EV_PREPARE
:
36556 /* TODO: implement me. */
36563 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
36564 struct nb_cb_destroy_args
*args
)
36566 switch (args
->event
) {
36567 case NB_EV_VALIDATE
:
36568 case NB_EV_PREPARE
:
36571 /* TODO: implement me. */
36578 static int bgp_peer_group_afi_safi_prefix_limit_list_destroy(
36579 struct nb_cb_destroy_args
*args
)
36582 const char *peer_str
;
36584 const struct lyd_node
*nbr_dnode
;
36585 const struct lyd_node
*nbr_af_dnode
;
36586 const char *af_name
;
36591 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36592 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36593 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36595 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36596 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36597 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36598 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36600 return NB_ERR_INCONSISTENCY
;
36602 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
36604 switch (direction
) {
36606 peer_maximum_prefix_unset(peer
, afi
, safi
);
36609 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
36610 peer
->pmax_out
[afi
][safi
] = 0;
36618 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list
36620 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
36621 struct nb_cb_create_args
*args
)
36623 switch (args
->event
) {
36624 case NB_EV_VALIDATE
:
36625 case NB_EV_PREPARE
:
36628 /* TODO: implement me. */
36635 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
36636 struct nb_cb_destroy_args
*args
)
36638 switch (args
->event
) {
36639 case NB_EV_VALIDATE
:
36640 case NB_EV_PREPARE
:
36644 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
36650 void bgp_peer_group_afi_safi_prefix_limit_apply_finish(
36651 struct nb_cb_apply_finish_args
*args
)
36654 const char *peer_str
;
36656 const struct lyd_node
*nbr_dnode
;
36657 const struct lyd_node
*nbr_af_dnode
;
36658 const char *af_name
;
36662 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36663 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36664 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36666 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36667 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36668 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36669 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36673 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
36677 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/max-prefixes
36679 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
36680 struct nb_cb_modify_args
*args
)
36682 switch (args
->event
) {
36683 case NB_EV_VALIDATE
:
36684 case NB_EV_PREPARE
:
36687 /* TODO: implement me. */
36696 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/force-check
36698 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
36699 struct nb_cb_modify_args
*args
)
36701 switch (args
->event
) {
36702 case NB_EV_VALIDATE
:
36703 case NB_EV_PREPARE
:
36706 /* TODO: implement me. */
36715 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/warning-only
36717 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
36718 struct nb_cb_modify_args
*args
)
36720 switch (args
->event
) {
36721 case NB_EV_VALIDATE
:
36722 case NB_EV_PREPARE
:
36725 /* TODO: implement me. */
36732 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
36733 struct nb_cb_destroy_args
*args
)
36735 switch (args
->event
) {
36736 case NB_EV_VALIDATE
:
36737 case NB_EV_PREPARE
:
36740 /* TODO: implement me. */
36749 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/restart-timer
36751 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
36752 struct nb_cb_modify_args
*args
)
36754 switch (args
->event
) {
36755 case NB_EV_VALIDATE
:
36756 case NB_EV_PREPARE
:
36759 /* TODO: implement me. */
36766 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
36767 struct nb_cb_destroy_args
*args
)
36769 switch (args
->event
) {
36770 case NB_EV_VALIDATE
:
36771 case NB_EV_PREPARE
:
36774 /* TODO: implement me. */
36783 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
36785 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
36786 struct nb_cb_modify_args
*args
)
36788 switch (args
->event
) {
36789 case NB_EV_VALIDATE
:
36790 case NB_EV_PREPARE
:
36793 /* TODO: implement me. */
36800 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
36801 struct nb_cb_destroy_args
*args
)
36803 switch (args
->event
) {
36804 case NB_EV_VALIDATE
:
36805 case NB_EV_PREPARE
:
36808 /* TODO: implement me. */
36817 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
36819 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
36820 struct nb_cb_modify_args
*args
)
36822 switch (args
->event
) {
36823 case NB_EV_VALIDATE
:
36824 case NB_EV_PREPARE
:
36827 /* TODO: implement me. */
36834 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
36835 struct nb_cb_destroy_args
*args
)
36837 switch (args
->event
) {
36838 case NB_EV_VALIDATE
:
36839 case NB_EV_PREPARE
:
36842 /* TODO: implement me. */
36851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
36853 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
36854 struct nb_cb_modify_args
*args
)
36856 switch (args
->event
) {
36857 case NB_EV_VALIDATE
:
36858 case NB_EV_PREPARE
:
36861 /* TODO: implement me. */
36868 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
36869 struct nb_cb_destroy_args
*args
)
36871 switch (args
->event
) {
36872 case NB_EV_VALIDATE
:
36873 case NB_EV_PREPARE
:
36876 /* TODO: implement me. */
36885 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
36887 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
36888 struct nb_cb_modify_args
*args
)
36890 switch (args
->event
) {
36891 case NB_EV_VALIDATE
:
36892 case NB_EV_PREPARE
:
36895 /* TODO: implement me. */
36902 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
36903 struct nb_cb_destroy_args
*args
)
36905 switch (args
->event
) {
36906 case NB_EV_VALIDATE
:
36907 case NB_EV_PREPARE
:
36910 /* TODO: implement me. */
36919 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
36921 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
36922 struct nb_cb_modify_args
*args
)
36924 switch (args
->event
) {
36925 case NB_EV_VALIDATE
:
36926 case NB_EV_PREPARE
:
36929 /* TODO: implement me. */
36936 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
36937 struct nb_cb_destroy_args
*args
)
36939 switch (args
->event
) {
36940 case NB_EV_VALIDATE
:
36941 case NB_EV_PREPARE
:
36944 /* TODO: implement me. */
36953 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self
36955 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
36956 struct nb_cb_modify_args
*args
)
36958 switch (args
->event
) {
36959 case NB_EV_VALIDATE
:
36960 case NB_EV_PREPARE
:
36964 return bgp_peer_group_afi_safi_flag_modify(
36965 args
, PEER_FLAG_NEXTHOP_SELF
,
36966 yang_dnode_get_bool(args
->dnode
, NULL
));
36976 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/nexthop-self/next-hop-self-force
36978 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
36979 struct nb_cb_modify_args
*args
)
36981 switch (args
->event
) {
36982 case NB_EV_VALIDATE
:
36983 case NB_EV_PREPARE
:
36987 return bgp_peer_group_afi_safi_flag_modify(
36988 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
36989 yang_dnode_get_bool(args
->dnode
, NULL
));
36999 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all
37001 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
37002 struct nb_cb_modify_args
*args
)
37004 switch (args
->event
) {
37005 case NB_EV_VALIDATE
:
37006 case NB_EV_PREPARE
:
37010 return bgp_peer_group_afi_safi_flag_modify(
37011 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
37012 yang_dnode_get_bool(args
->dnode
, NULL
));
37022 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-all-replace
37024 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
37025 struct nb_cb_modify_args
*args
)
37027 switch (args
->event
) {
37028 case NB_EV_VALIDATE
:
37029 case NB_EV_PREPARE
:
37033 return bgp_peer_group_afi_safi_flag_modify(
37034 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
37035 yang_dnode_get_bool(args
->dnode
, NULL
));
37045 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as
37047 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
37048 struct nb_cb_modify_args
*args
)
37050 switch (args
->event
) {
37051 case NB_EV_VALIDATE
:
37052 case NB_EV_PREPARE
:
37056 return bgp_peer_group_afi_safi_flag_modify(
37057 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
37058 yang_dnode_get_bool(args
->dnode
, NULL
));
37068 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/private-as/remove-private-as-replace
37070 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
37071 struct nb_cb_modify_args
*args
)
37073 switch (args
->event
) {
37074 case NB_EV_VALIDATE
:
37075 case NB_EV_PREPARE
:
37079 return bgp_peer_group_afi_safi_flag_modify(
37080 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
37081 yang_dnode_get_bool(args
->dnode
, NULL
));
37089 static int bgp_peer_group_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
37092 const char *peer_str
;
37094 const struct lyd_node
*nbr_dnode
;
37095 const struct lyd_node
*nbr_af_dnode
;
37096 const char *af_name
;
37102 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37103 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37104 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37106 nbr_dnode
= yang_dnode_get_parent(args
->dnode
, "peer-group");
37107 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37108 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37109 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37111 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
37113 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
37114 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
37115 return NB_ERR_INCONSISTENCY
;
37121 bgp_peer_group_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
37124 const char *peer_str
;
37126 const struct lyd_node
*nbr_dnode
;
37127 const struct lyd_node
*nbr_af_dnode
;
37128 const char *af_name
;
37133 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37134 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37135 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37136 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37137 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37138 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37139 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37141 ret
= peer_weight_unset(peer
, afi
, safi
);
37142 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
37143 return NB_ERR_INCONSISTENCY
;
37150 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/weight/weight-attribute
37152 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
37153 struct nb_cb_modify_args
*args
)
37155 switch (args
->event
) {
37156 case NB_EV_VALIDATE
:
37157 case NB_EV_PREPARE
:
37161 return bgp_peer_group_afi_safi_weight_modify(args
);
37169 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
37170 struct nb_cb_destroy_args
*args
)
37172 switch (args
->event
) {
37173 case NB_EV_VALIDATE
:
37174 case NB_EV_PREPARE
:
37178 return bgp_peer_group_afi_safi_weight_destroy(args
);
37188 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/route-reflector/route-reflector-client
37190 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
37191 struct nb_cb_modify_args
*args
)
37193 switch (args
->event
) {
37194 case NB_EV_VALIDATE
:
37195 case NB_EV_PREPARE
:
37199 return bgp_peer_group_afi_safi_flag_modify(
37200 args
, PEER_FLAG_REFLECTOR_CLIENT
,
37201 yang_dnode_get_bool(args
->dnode
, NULL
));
37211 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/route-server/route-server-client
37213 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
37214 struct nb_cb_modify_args
*args
)
37216 switch (args
->event
) {
37217 case NB_EV_VALIDATE
:
37218 case NB_EV_PREPARE
:
37222 return bgp_peer_group_afi_safi_flag_modify(
37223 args
, PEER_FLAG_RSERVER_CLIENT
,
37224 yang_dnode_get_bool(args
->dnode
, NULL
));
37234 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/send-community/send-community
37236 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
37237 struct nb_cb_modify_args
*args
)
37239 switch (args
->event
) {
37240 case NB_EV_VALIDATE
:
37241 case NB_EV_PREPARE
:
37245 return bgp_peer_group_afi_safi_flag_modify(
37246 args
, PEER_FLAG_SEND_COMMUNITY
,
37247 yang_dnode_get_bool(args
->dnode
, NULL
));
37257 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/send-community/send-ext-community
37259 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
37260 struct nb_cb_modify_args
*args
)
37262 switch (args
->event
) {
37263 case NB_EV_VALIDATE
:
37264 case NB_EV_PREPARE
:
37268 return bgp_peer_group_afi_safi_flag_modify(
37269 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
37270 yang_dnode_get_bool(args
->dnode
, NULL
));
37280 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/send-community/send-large-community
37282 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
37283 struct nb_cb_modify_args
*args
)
37285 switch (args
->event
) {
37286 case NB_EV_VALIDATE
:
37287 case NB_EV_PREPARE
:
37291 return bgp_peer_group_afi_safi_flag_modify(
37292 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
37293 yang_dnode_get_bool(args
->dnode
, NULL
));
37303 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
37305 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
37306 struct nb_cb_modify_args
*args
)
37308 switch (args
->event
) {
37309 case NB_EV_VALIDATE
:
37310 case NB_EV_PREPARE
:
37314 return bgp_peer_group_afi_safi_flag_modify(
37315 args
, PEER_FLAG_SOFT_RECONFIG
,
37316 yang_dnode_get_bool(args
->dnode
, NULL
));
37326 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/as-path-unchanged
37328 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
37329 struct nb_cb_modify_args
*args
)
37331 switch (args
->event
) {
37332 case NB_EV_VALIDATE
:
37333 case NB_EV_PREPARE
:
37337 return bgp_peer_group_afi_safi_flag_modify(
37338 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
37339 yang_dnode_get_bool(args
->dnode
, NULL
));
37349 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/next-hop-unchanged
37351 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
37352 struct nb_cb_modify_args
*args
)
37354 switch (args
->event
) {
37355 case NB_EV_VALIDATE
:
37356 case NB_EV_PREPARE
:
37360 return bgp_peer_group_afi_safi_flag_modify(
37361 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
37362 yang_dnode_get_bool(args
->dnode
, NULL
));
37372 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/med-unchanged
37374 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
37375 struct nb_cb_modify_args
*args
)
37377 switch (args
->event
) {
37378 case NB_EV_VALIDATE
:
37379 case NB_EV_PREPARE
:
37383 return bgp_peer_group_afi_safi_flag_modify(
37384 args
, PEER_FLAG_MED_UNCHANGED
,
37385 yang_dnode_get_bool(args
->dnode
, NULL
));
37395 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-send
37397 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
37398 struct nb_cb_modify_args
*args
)
37400 switch (args
->event
) {
37401 case NB_EV_VALIDATE
:
37402 case NB_EV_PREPARE
:
37405 /* TODO: implement me. */
37412 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
37413 struct nb_cb_destroy_args
*args
)
37415 switch (args
->event
) {
37416 case NB_EV_VALIDATE
:
37417 case NB_EV_PREPARE
:
37420 /* TODO: implement me. */
37429 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-receive
37431 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
37432 struct nb_cb_modify_args
*args
)
37434 switch (args
->event
) {
37435 case NB_EV_VALIDATE
:
37436 case NB_EV_PREPARE
:
37439 /* TODO: implement me. */
37446 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
37447 struct nb_cb_destroy_args
*args
)
37449 switch (args
->event
) {
37450 case NB_EV_VALIDATE
:
37451 case NB_EV_PREPARE
:
37454 /* TODO: implement me. */
37463 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-both
37465 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
37466 struct nb_cb_modify_args
*args
)
37468 switch (args
->event
) {
37469 case NB_EV_VALIDATE
:
37470 case NB_EV_PREPARE
:
37473 /* TODO: implement me. */
37480 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
37481 struct nb_cb_destroy_args
*args
)
37483 switch (args
->event
) {
37484 case NB_EV_VALIDATE
:
37485 case NB_EV_PREPARE
:
37488 /* TODO: implement me. */
37495 static int bgp_peer_group_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
37499 const char *peer_str
;
37501 const struct lyd_node
*nbr_dnode
;
37502 const struct lyd_node
*nbr_af_dnode
;
37503 const char *af_name
;
37506 const char *name_str
;
37507 struct route_map
*route_map
;
37510 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37511 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37512 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37513 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37514 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37515 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37516 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37518 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
37519 route_map
= route_map_lookup_by_name(name_str
);
37520 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
37522 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
37525 static int bgp_peer_group_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
37529 const char *peer_str
;
37531 const struct lyd_node
*nbr_dnode
;
37532 const struct lyd_node
*nbr_af_dnode
;
37533 const char *af_name
;
37538 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37539 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37540 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37541 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37542 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37543 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37544 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37546 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
37548 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
37553 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-import
37555 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
37556 struct nb_cb_modify_args
*args
)
37558 switch (args
->event
) {
37559 case NB_EV_VALIDATE
:
37560 case NB_EV_PREPARE
:
37564 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
37570 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
37571 struct nb_cb_destroy_args
*args
)
37573 switch (args
->event
) {
37574 case NB_EV_VALIDATE
:
37575 case NB_EV_PREPARE
:
37579 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
37587 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
37589 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
37590 struct nb_cb_modify_args
*args
)
37592 switch (args
->event
) {
37593 case NB_EV_VALIDATE
:
37594 case NB_EV_PREPARE
:
37598 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
37604 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
37605 struct nb_cb_destroy_args
*args
)
37607 switch (args
->event
) {
37608 case NB_EV_VALIDATE
:
37609 case NB_EV_PREPARE
:
37613 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
37619 static int bgp_peer_group_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
37623 const char *peer_str
;
37625 const struct lyd_node
*nbr_dnode
;
37626 const struct lyd_node
*nbr_af_dnode
;
37627 const char *af_name
;
37630 const char *name_str
;
37632 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37633 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37634 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37635 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37636 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37637 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37638 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37640 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
37641 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
37642 return NB_ERR_INCONSISTENCY
;
37648 bgp_peer_group_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
37652 const char *peer_str
;
37654 const struct lyd_node
*nbr_dnode
;
37655 const struct lyd_node
*nbr_af_dnode
;
37656 const char *af_name
;
37660 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37661 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37662 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37663 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37664 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37665 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37666 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37668 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
37669 return NB_ERR_INCONSISTENCY
;
37676 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-import
37678 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
37679 struct nb_cb_modify_args
*args
)
37681 switch (args
->event
) {
37682 case NB_EV_VALIDATE
:
37683 case NB_EV_PREPARE
:
37687 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
37693 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
37694 struct nb_cb_destroy_args
*args
)
37696 switch (args
->event
) {
37697 case NB_EV_VALIDATE
:
37698 case NB_EV_PREPARE
:
37702 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
37710 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-export
37712 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
37713 struct nb_cb_modify_args
*args
)
37715 switch (args
->event
) {
37716 case NB_EV_VALIDATE
:
37717 case NB_EV_PREPARE
:
37721 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
37727 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
37728 struct nb_cb_destroy_args
*args
)
37730 switch (args
->event
) {
37731 case NB_EV_VALIDATE
:
37732 case NB_EV_PREPARE
:
37736 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
37744 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-import
37746 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
37747 struct nb_cb_modify_args
*args
)
37749 switch (args
->event
) {
37750 case NB_EV_VALIDATE
:
37751 case NB_EV_PREPARE
:
37754 /* TODO: implement me. */
37761 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
37762 struct nb_cb_destroy_args
*args
)
37764 switch (args
->event
) {
37765 case NB_EV_VALIDATE
:
37766 case NB_EV_PREPARE
:
37769 /* TODO: implement me. */
37778 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/access-list-export
37780 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
37781 struct nb_cb_modify_args
*args
)
37783 switch (args
->event
) {
37784 case NB_EV_VALIDATE
:
37785 case NB_EV_PREPARE
:
37788 /* TODO: implement me. */
37795 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
37796 struct nb_cb_destroy_args
*args
)
37798 switch (args
->event
) {
37799 case NB_EV_VALIDATE
:
37800 case NB_EV_PREPARE
:
37803 /* TODO: implement me. */
37812 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-import
37814 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
37815 struct nb_cb_modify_args
*args
)
37817 switch (args
->event
) {
37818 case NB_EV_VALIDATE
:
37819 case NB_EV_PREPARE
:
37822 /* TODO: implement me. */
37829 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
37830 struct nb_cb_destroy_args
*args
)
37832 switch (args
->event
) {
37833 case NB_EV_VALIDATE
:
37834 case NB_EV_PREPARE
:
37837 /* TODO: implement me. */
37846 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/as-path-filter-list-export
37848 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
37849 struct nb_cb_modify_args
*args
)
37851 switch (args
->event
) {
37852 case NB_EV_VALIDATE
:
37853 case NB_EV_PREPARE
:
37856 /* TODO: implement me. */
37863 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
37864 struct nb_cb_destroy_args
*args
)
37866 switch (args
->event
) {
37867 case NB_EV_VALIDATE
:
37868 case NB_EV_PREPARE
:
37871 /* TODO: implement me. */
37880 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-import
37882 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
37883 struct nb_cb_modify_args
*args
)
37885 switch (args
->event
) {
37886 case NB_EV_VALIDATE
:
37887 case NB_EV_PREPARE
:
37890 /* TODO: implement me. */
37897 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
37898 struct nb_cb_destroy_args
*args
)
37900 switch (args
->event
) {
37901 case NB_EV_VALIDATE
:
37902 case NB_EV_PREPARE
:
37905 /* TODO: implement me. */
37914 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/filter-config/unsuppress-map-export
37916 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
37917 struct nb_cb_modify_args
*args
)
37919 switch (args
->event
) {
37920 case NB_EV_VALIDATE
:
37921 case NB_EV_PREPARE
:
37924 /* TODO: implement me. */
37931 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
37932 struct nb_cb_destroy_args
*args
)
37934 switch (args
->event
) {
37935 case NB_EV_VALIDATE
:
37936 case NB_EV_PREPARE
:
37939 /* TODO: implement me. */
37948 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/nexthop-local-unchanged
37950 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
37951 struct nb_cb_modify_args
*args
)
37953 switch (args
->event
) {
37954 case NB_EV_VALIDATE
:
37955 case NB_EV_PREPARE
:
37958 /* TODO: implement me. */
37967 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/add-paths/path-type
37969 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
37970 struct nb_cb_modify_args
*args
)
37972 switch (args
->event
) {
37973 case NB_EV_VALIDATE
:
37974 case NB_EV_PREPARE
:
37977 /* TODO: implement me. */
37986 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-as
37988 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
37989 struct nb_cb_modify_args
*args
)
37991 switch (args
->event
) {
37992 case NB_EV_VALIDATE
:
37993 case NB_EV_PREPARE
:
37996 /* TODO: implement me. */
38003 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
38004 struct nb_cb_destroy_args
*args
)
38006 switch (args
->event
) {
38007 case NB_EV_VALIDATE
:
38008 case NB_EV_PREPARE
:
38011 /* TODO: implement me. */
38020 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/as-path-options/allow-own-origin-as
38022 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
38023 struct nb_cb_modify_args
*args
)
38025 switch (args
->event
) {
38026 case NB_EV_VALIDATE
:
38027 case NB_EV_PREPARE
:
38030 /* TODO: implement me. */
38037 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
38038 struct nb_cb_destroy_args
*args
)
38040 switch (args
->event
) {
38041 case NB_EV_VALIDATE
:
38042 case NB_EV_PREPARE
:
38045 /* TODO: implement me. */
38054 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/as-path-options/replace-peer-as
38056 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
38057 struct nb_cb_modify_args
*args
)
38059 switch (args
->event
) {
38060 case NB_EV_VALIDATE
:
38061 case NB_EV_PREPARE
:
38065 return bgp_peer_group_afi_safi_flag_modify(
38066 args
, PEER_FLAG_AS_OVERRIDE
,
38067 yang_dnode_get_bool(args
->dnode
, NULL
));
38077 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/default-originate/originate
38079 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
38080 struct nb_cb_modify_args
*args
)
38082 switch (args
->event
) {
38083 case NB_EV_VALIDATE
:
38084 case NB_EV_PREPARE
:
38087 /* TODO: implement me. */
38096 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/default-originate/route-map
38098 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
38099 struct nb_cb_modify_args
*args
)
38101 switch (args
->event
) {
38102 case NB_EV_VALIDATE
:
38103 case NB_EV_PREPARE
:
38106 /* TODO: implement me. */
38113 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
38114 struct nb_cb_destroy_args
*args
)
38116 switch (args
->event
) {
38117 case NB_EV_VALIDATE
:
38118 case NB_EV_PREPARE
:
38121 /* TODO: implement me. */
38130 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/as-path-unchanged
38132 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
38133 struct nb_cb_modify_args
*args
)
38135 switch (args
->event
) {
38136 case NB_EV_VALIDATE
:
38137 case NB_EV_PREPARE
:
38141 return bgp_peer_group_afi_safi_flag_modify(
38142 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
38143 yang_dnode_get_bool(args
->dnode
, NULL
));
38153 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/next-hop-unchanged
38155 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
38156 struct nb_cb_modify_args
*args
)
38158 switch (args
->event
) {
38159 case NB_EV_VALIDATE
:
38160 case NB_EV_PREPARE
:
38164 return bgp_peer_group_afi_safi_flag_modify(
38165 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
38166 yang_dnode_get_bool(args
->dnode
, NULL
));
38176 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/med-unchanged
38178 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
38179 struct nb_cb_modify_args
*args
)
38181 switch (args
->event
) {
38182 case NB_EV_VALIDATE
:
38183 case NB_EV_PREPARE
:
38187 return bgp_peer_group_afi_safi_flag_modify(
38188 args
, PEER_FLAG_MED_UNCHANGED
,
38189 yang_dnode_get_bool(args
->dnode
, NULL
));
38199 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-send
38201 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
38202 struct nb_cb_modify_args
*args
)
38204 switch (args
->event
) {
38205 case NB_EV_VALIDATE
:
38206 case NB_EV_PREPARE
:
38209 /* TODO: implement me. */
38216 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
38217 struct nb_cb_destroy_args
*args
)
38219 switch (args
->event
) {
38220 case NB_EV_VALIDATE
:
38221 case NB_EV_PREPARE
:
38224 /* TODO: implement me. */
38233 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-receive
38235 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
38236 struct nb_cb_modify_args
*args
)
38238 switch (args
->event
) {
38239 case NB_EV_VALIDATE
:
38240 case NB_EV_PREPARE
:
38243 /* TODO: implement me. */
38250 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
38251 struct nb_cb_destroy_args
*args
)
38253 switch (args
->event
) {
38254 case NB_EV_VALIDATE
:
38255 case NB_EV_PREPARE
:
38258 /* TODO: implement me. */
38267 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-both
38269 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
38270 struct nb_cb_modify_args
*args
)
38272 switch (args
->event
) {
38273 case NB_EV_VALIDATE
:
38274 case NB_EV_PREPARE
:
38277 /* TODO: implement me. */
38284 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
38285 struct nb_cb_destroy_args
*args
)
38287 switch (args
->event
) {
38288 case NB_EV_VALIDATE
:
38289 case NB_EV_PREPARE
:
38292 /* TODO: implement me. */
38301 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list
38303 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
38304 struct nb_cb_create_args
*args
)
38306 switch (args
->event
) {
38307 case NB_EV_VALIDATE
:
38308 case NB_EV_PREPARE
:
38311 /* TODO: implement me. */
38318 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
38319 struct nb_cb_destroy_args
*args
)
38321 switch (args
->event
) {
38322 case NB_EV_VALIDATE
:
38323 case NB_EV_PREPARE
:
38327 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
38335 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/max-prefixes
38337 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
38338 struct nb_cb_modify_args
*args
)
38340 switch (args
->event
) {
38341 case NB_EV_VALIDATE
:
38342 case NB_EV_PREPARE
:
38345 /* TODO: implement me. */
38354 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/force-check
38356 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
38357 struct nb_cb_modify_args
*args
)
38359 switch (args
->event
) {
38360 case NB_EV_VALIDATE
:
38361 case NB_EV_PREPARE
:
38364 /* TODO: implement me. */
38373 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/warning-only
38375 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
38376 struct nb_cb_modify_args
*args
)
38378 switch (args
->event
) {
38379 case NB_EV_VALIDATE
:
38380 case NB_EV_PREPARE
:
38383 /* TODO: implement me. */
38390 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
38391 struct nb_cb_destroy_args
*args
)
38393 switch (args
->event
) {
38394 case NB_EV_VALIDATE
:
38395 case NB_EV_PREPARE
:
38398 /* TODO: implement me. */
38407 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/restart-timer
38409 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
38410 struct nb_cb_modify_args
*args
)
38412 switch (args
->event
) {
38413 case NB_EV_VALIDATE
:
38414 case NB_EV_PREPARE
:
38417 /* TODO: implement me. */
38424 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
38425 struct nb_cb_destroy_args
*args
)
38427 switch (args
->event
) {
38428 case NB_EV_VALIDATE
:
38429 case NB_EV_PREPARE
:
38432 /* TODO: implement me. */
38441 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
38443 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
38444 struct nb_cb_modify_args
*args
)
38446 switch (args
->event
) {
38447 case NB_EV_VALIDATE
:
38448 case NB_EV_PREPARE
:
38451 /* TODO: implement me. */
38458 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
38459 struct nb_cb_destroy_args
*args
)
38461 switch (args
->event
) {
38462 case NB_EV_VALIDATE
:
38463 case NB_EV_PREPARE
:
38466 /* TODO: implement me. */
38475 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
38477 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
38478 struct nb_cb_modify_args
*args
)
38480 switch (args
->event
) {
38481 case NB_EV_VALIDATE
:
38482 case NB_EV_PREPARE
:
38485 /* TODO: implement me. */
38492 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
38493 struct nb_cb_destroy_args
*args
)
38495 switch (args
->event
) {
38496 case NB_EV_VALIDATE
:
38497 case NB_EV_PREPARE
:
38500 /* TODO: implement me. */
38509 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
38511 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
38512 struct nb_cb_modify_args
*args
)
38514 switch (args
->event
) {
38515 case NB_EV_VALIDATE
:
38516 case NB_EV_PREPARE
:
38519 /* TODO: implement me. */
38526 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
38527 struct nb_cb_destroy_args
*args
)
38529 switch (args
->event
) {
38530 case NB_EV_VALIDATE
:
38531 case NB_EV_PREPARE
:
38534 /* TODO: implement me. */
38543 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
38545 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
38546 struct nb_cb_modify_args
*args
)
38548 switch (args
->event
) {
38549 case NB_EV_VALIDATE
:
38550 case NB_EV_PREPARE
:
38553 /* TODO: implement me. */
38560 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
38561 struct nb_cb_destroy_args
*args
)
38563 switch (args
->event
) {
38564 case NB_EV_VALIDATE
:
38565 case NB_EV_PREPARE
:
38568 /* TODO: implement me. */
38577 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
38579 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
38580 struct nb_cb_modify_args
*args
)
38582 switch (args
->event
) {
38583 case NB_EV_VALIDATE
:
38584 case NB_EV_PREPARE
:
38587 /* TODO: implement me. */
38594 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
38595 struct nb_cb_destroy_args
*args
)
38597 switch (args
->event
) {
38598 case NB_EV_VALIDATE
:
38599 case NB_EV_PREPARE
:
38602 /* TODO: implement me. */
38611 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self
38613 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
38614 struct nb_cb_modify_args
*args
)
38616 switch (args
->event
) {
38617 case NB_EV_VALIDATE
:
38618 case NB_EV_PREPARE
:
38622 return bgp_peer_group_afi_safi_flag_modify(
38623 args
, PEER_FLAG_NEXTHOP_SELF
,
38624 yang_dnode_get_bool(args
->dnode
, NULL
));
38634 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/nexthop-self/next-hop-self-force
38636 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
38637 struct nb_cb_modify_args
*args
)
38639 switch (args
->event
) {
38640 case NB_EV_VALIDATE
:
38641 case NB_EV_PREPARE
:
38645 return bgp_peer_group_afi_safi_flag_modify(
38646 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
38647 yang_dnode_get_bool(args
->dnode
, NULL
));
38657 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all
38659 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
38660 struct nb_cb_modify_args
*args
)
38662 switch (args
->event
) {
38663 case NB_EV_VALIDATE
:
38664 case NB_EV_PREPARE
:
38668 return bgp_peer_group_afi_safi_flag_modify(
38669 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
38670 yang_dnode_get_bool(args
->dnode
, NULL
));
38680 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-all-replace
38682 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
38683 struct nb_cb_modify_args
*args
)
38685 switch (args
->event
) {
38686 case NB_EV_VALIDATE
:
38687 case NB_EV_PREPARE
:
38691 return bgp_peer_group_afi_safi_flag_modify(
38692 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
38693 yang_dnode_get_bool(args
->dnode
, NULL
));
38703 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as
38705 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
38706 struct nb_cb_modify_args
*args
)
38708 switch (args
->event
) {
38709 case NB_EV_VALIDATE
:
38710 case NB_EV_PREPARE
:
38714 return bgp_peer_group_afi_safi_flag_modify(
38715 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
38716 yang_dnode_get_bool(args
->dnode
, NULL
));
38726 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/private-as/remove-private-as-replace
38728 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
38729 struct nb_cb_modify_args
*args
)
38731 switch (args
->event
) {
38732 case NB_EV_VALIDATE
:
38733 case NB_EV_PREPARE
:
38737 return bgp_peer_group_afi_safi_flag_modify(
38738 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
38739 yang_dnode_get_bool(args
->dnode
, NULL
));
38749 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/route-reflector/route-reflector-client
38751 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
38752 struct nb_cb_modify_args
*args
)
38754 switch (args
->event
) {
38755 case NB_EV_VALIDATE
:
38756 case NB_EV_PREPARE
:
38760 return bgp_peer_group_afi_safi_flag_modify(
38761 args
, PEER_FLAG_REFLECTOR_CLIENT
,
38762 yang_dnode_get_bool(args
->dnode
, NULL
));
38772 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/route-server/route-server-client
38774 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
38775 struct nb_cb_modify_args
*args
)
38777 switch (args
->event
) {
38778 case NB_EV_VALIDATE
:
38779 case NB_EV_PREPARE
:
38783 return bgp_peer_group_afi_safi_flag_modify(
38784 args
, PEER_FLAG_RSERVER_CLIENT
,
38785 yang_dnode_get_bool(args
->dnode
, NULL
));
38795 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/send-community/send-community
38797 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
38798 struct nb_cb_modify_args
*args
)
38800 switch (args
->event
) {
38801 case NB_EV_VALIDATE
:
38802 case NB_EV_PREPARE
:
38806 return bgp_peer_group_afi_safi_flag_modify(
38807 args
, PEER_FLAG_SEND_COMMUNITY
,
38808 yang_dnode_get_bool(args
->dnode
, NULL
));
38818 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/send-community/send-ext-community
38820 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
38821 struct nb_cb_modify_args
*args
)
38823 switch (args
->event
) {
38824 case NB_EV_VALIDATE
:
38825 case NB_EV_PREPARE
:
38829 return bgp_peer_group_afi_safi_flag_modify(
38830 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
38831 yang_dnode_get_bool(args
->dnode
, NULL
));
38841 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/send-community/send-large-community
38843 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
38844 struct nb_cb_modify_args
*args
)
38846 switch (args
->event
) {
38847 case NB_EV_VALIDATE
:
38848 case NB_EV_PREPARE
:
38852 return bgp_peer_group_afi_safi_flag_modify(
38853 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
38854 yang_dnode_get_bool(args
->dnode
, NULL
));
38864 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
38866 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
38867 struct nb_cb_modify_args
*args
)
38869 switch (args
->event
) {
38870 case NB_EV_VALIDATE
:
38871 case NB_EV_PREPARE
:
38875 return bgp_peer_group_afi_safi_flag_modify(
38876 args
, PEER_FLAG_SOFT_RECONFIG
,
38877 yang_dnode_get_bool(args
->dnode
, NULL
));
38887 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/weight/weight-attribute
38889 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
38890 struct nb_cb_modify_args
*args
)
38892 switch (args
->event
) {
38893 case NB_EV_VALIDATE
:
38894 case NB_EV_PREPARE
:
38898 return bgp_peer_group_afi_safi_weight_modify(args
);
38906 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
38907 struct nb_cb_destroy_args
*args
)
38909 switch (args
->event
) {
38910 case NB_EV_VALIDATE
:
38911 case NB_EV_PREPARE
:
38915 return bgp_peer_group_afi_safi_weight_destroy(args
);
38925 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-import
38927 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
38928 struct nb_cb_modify_args
*args
)
38930 switch (args
->event
) {
38931 case NB_EV_VALIDATE
:
38932 case NB_EV_PREPARE
:
38936 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
38942 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
38943 struct nb_cb_destroy_args
*args
)
38945 switch (args
->event
) {
38946 case NB_EV_VALIDATE
:
38947 case NB_EV_PREPARE
:
38951 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
38959 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
38961 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
38962 struct nb_cb_modify_args
*args
)
38964 switch (args
->event
) {
38965 case NB_EV_VALIDATE
:
38966 case NB_EV_PREPARE
:
38970 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
38976 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
38977 struct nb_cb_destroy_args
*args
)
38979 switch (args
->event
) {
38980 case NB_EV_VALIDATE
:
38981 case NB_EV_PREPARE
:
38985 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
38993 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-import
38995 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
38996 struct nb_cb_modify_args
*args
)
38998 switch (args
->event
) {
38999 case NB_EV_VALIDATE
:
39000 case NB_EV_PREPARE
:
39004 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
39010 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
39011 struct nb_cb_destroy_args
*args
)
39013 switch (args
->event
) {
39014 case NB_EV_VALIDATE
:
39015 case NB_EV_PREPARE
:
39019 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
39027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-export
39029 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
39030 struct nb_cb_modify_args
*args
)
39032 switch (args
->event
) {
39033 case NB_EV_VALIDATE
:
39034 case NB_EV_PREPARE
:
39038 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
39044 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
39045 struct nb_cb_destroy_args
*args
)
39047 switch (args
->event
) {
39048 case NB_EV_VALIDATE
:
39049 case NB_EV_PREPARE
:
39053 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
39061 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-import
39063 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
39064 struct nb_cb_modify_args
*args
)
39066 switch (args
->event
) {
39067 case NB_EV_VALIDATE
:
39068 case NB_EV_PREPARE
:
39071 /* TODO: implement me. */
39078 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
39079 struct nb_cb_destroy_args
*args
)
39081 switch (args
->event
) {
39082 case NB_EV_VALIDATE
:
39083 case NB_EV_PREPARE
:
39086 /* TODO: implement me. */
39095 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/access-list-export
39097 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
39098 struct nb_cb_modify_args
*args
)
39100 switch (args
->event
) {
39101 case NB_EV_VALIDATE
:
39102 case NB_EV_PREPARE
:
39105 /* TODO: implement me. */
39112 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
39113 struct nb_cb_destroy_args
*args
)
39115 switch (args
->event
) {
39116 case NB_EV_VALIDATE
:
39117 case NB_EV_PREPARE
:
39120 /* TODO: implement me. */
39129 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-import
39131 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
39132 struct nb_cb_modify_args
*args
)
39134 switch (args
->event
) {
39135 case NB_EV_VALIDATE
:
39136 case NB_EV_PREPARE
:
39139 /* TODO: implement me. */
39146 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
39147 struct nb_cb_destroy_args
*args
)
39149 switch (args
->event
) {
39150 case NB_EV_VALIDATE
:
39151 case NB_EV_PREPARE
:
39154 /* TODO: implement me. */
39163 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/as-path-filter-list-export
39165 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
39166 struct nb_cb_modify_args
*args
)
39168 switch (args
->event
) {
39169 case NB_EV_VALIDATE
:
39170 case NB_EV_PREPARE
:
39173 /* TODO: implement me. */
39180 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
39181 struct nb_cb_destroy_args
*args
)
39183 switch (args
->event
) {
39184 case NB_EV_VALIDATE
:
39185 case NB_EV_PREPARE
:
39188 /* TODO: implement me. */
39197 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-import
39199 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
39200 struct nb_cb_modify_args
*args
)
39202 switch (args
->event
) {
39203 case NB_EV_VALIDATE
:
39204 case NB_EV_PREPARE
:
39207 /* TODO: implement me. */
39214 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
39215 struct nb_cb_destroy_args
*args
)
39217 switch (args
->event
) {
39218 case NB_EV_VALIDATE
:
39219 case NB_EV_PREPARE
:
39222 /* TODO: implement me. */
39231 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/filter-config/unsuppress-map-export
39233 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
39234 struct nb_cb_modify_args
*args
)
39236 switch (args
->event
) {
39237 case NB_EV_VALIDATE
:
39238 case NB_EV_PREPARE
:
39241 /* TODO: implement me. */
39248 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
39249 struct nb_cb_destroy_args
*args
)
39251 switch (args
->event
) {
39252 case NB_EV_VALIDATE
:
39253 case NB_EV_PREPARE
:
39256 /* TODO: implement me. */
39265 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/add-paths/path-type
39267 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
39268 struct nb_cb_modify_args
*args
)
39270 switch (args
->event
) {
39271 case NB_EV_VALIDATE
:
39272 case NB_EV_PREPARE
:
39275 /* TODO: implement me. */
39284 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-as
39286 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
39287 struct nb_cb_modify_args
*args
)
39289 switch (args
->event
) {
39290 case NB_EV_VALIDATE
:
39291 case NB_EV_PREPARE
:
39294 /* TODO: implement me. */
39301 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
39302 struct nb_cb_destroy_args
*args
)
39304 switch (args
->event
) {
39305 case NB_EV_VALIDATE
:
39306 case NB_EV_PREPARE
:
39309 /* TODO: implement me. */
39318 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/as-path-options/allow-own-origin-as
39320 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
39321 struct nb_cb_modify_args
*args
)
39323 switch (args
->event
) {
39324 case NB_EV_VALIDATE
:
39325 case NB_EV_PREPARE
:
39328 /* TODO: implement me. */
39335 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
39336 struct nb_cb_destroy_args
*args
)
39338 switch (args
->event
) {
39339 case NB_EV_VALIDATE
:
39340 case NB_EV_PREPARE
:
39343 /* TODO: implement me. */
39352 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/as-path-options/replace-peer-as
39354 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
39355 struct nb_cb_modify_args
*args
)
39357 switch (args
->event
) {
39358 case NB_EV_VALIDATE
:
39359 case NB_EV_PREPARE
:
39363 return bgp_peer_group_afi_safi_flag_modify(
39364 args
, PEER_FLAG_AS_OVERRIDE
,
39365 yang_dnode_get_bool(args
->dnode
, NULL
));
39375 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/default-originate/originate
39377 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
39378 struct nb_cb_modify_args
*args
)
39380 switch (args
->event
) {
39381 case NB_EV_VALIDATE
:
39382 case NB_EV_PREPARE
:
39385 /* TODO: implement me. */
39394 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/default-originate/route-map
39396 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
39397 struct nb_cb_modify_args
*args
)
39399 switch (args
->event
) {
39400 case NB_EV_VALIDATE
:
39401 case NB_EV_PREPARE
:
39404 /* TODO: implement me. */
39411 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
39412 struct nb_cb_destroy_args
*args
)
39414 switch (args
->event
) {
39415 case NB_EV_VALIDATE
:
39416 case NB_EV_PREPARE
:
39419 /* TODO: implement me. */
39428 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/as-path-unchanged
39430 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
39431 struct nb_cb_modify_args
*args
)
39433 switch (args
->event
) {
39434 case NB_EV_VALIDATE
:
39435 case NB_EV_PREPARE
:
39439 return bgp_peer_group_afi_safi_flag_modify(
39440 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
39441 yang_dnode_get_bool(args
->dnode
, NULL
));
39451 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/next-hop-unchanged
39453 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
39454 struct nb_cb_modify_args
*args
)
39456 switch (args
->event
) {
39457 case NB_EV_VALIDATE
:
39458 case NB_EV_PREPARE
:
39462 return bgp_peer_group_afi_safi_flag_modify(
39463 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
39464 yang_dnode_get_bool(args
->dnode
, NULL
));
39474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/med-unchanged
39476 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
39477 struct nb_cb_modify_args
*args
)
39479 switch (args
->event
) {
39480 case NB_EV_VALIDATE
:
39481 case NB_EV_PREPARE
:
39485 return bgp_peer_group_afi_safi_flag_modify(
39486 args
, PEER_FLAG_MED_UNCHANGED
,
39487 yang_dnode_get_bool(args
->dnode
, NULL
));
39497 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-send
39499 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
39500 struct nb_cb_modify_args
*args
)
39502 switch (args
->event
) {
39503 case NB_EV_VALIDATE
:
39504 case NB_EV_PREPARE
:
39507 /* TODO: implement me. */
39514 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
39515 struct nb_cb_destroy_args
*args
)
39517 switch (args
->event
) {
39518 case NB_EV_VALIDATE
:
39519 case NB_EV_PREPARE
:
39522 /* TODO: implement me. */
39531 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-receive
39533 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
39534 struct nb_cb_modify_args
*args
)
39536 switch (args
->event
) {
39537 case NB_EV_VALIDATE
:
39538 case NB_EV_PREPARE
:
39541 /* TODO: implement me. */
39548 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
39549 struct nb_cb_destroy_args
*args
)
39551 switch (args
->event
) {
39552 case NB_EV_VALIDATE
:
39553 case NB_EV_PREPARE
:
39556 /* TODO: implement me. */
39565 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-both
39567 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
39568 struct nb_cb_modify_args
*args
)
39570 switch (args
->event
) {
39571 case NB_EV_VALIDATE
:
39572 case NB_EV_PREPARE
:
39575 /* TODO: implement me. */
39582 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
39583 struct nb_cb_destroy_args
*args
)
39585 switch (args
->event
) {
39586 case NB_EV_VALIDATE
:
39587 case NB_EV_PREPARE
:
39590 /* TODO: implement me. */
39599 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list
39601 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
39602 struct nb_cb_create_args
*args
)
39604 switch (args
->event
) {
39605 case NB_EV_VALIDATE
:
39606 case NB_EV_PREPARE
:
39609 /* TODO: implement me. */
39616 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
39617 struct nb_cb_destroy_args
*args
)
39619 switch (args
->event
) {
39620 case NB_EV_VALIDATE
:
39621 case NB_EV_PREPARE
:
39625 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
39633 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/max-prefixes
39635 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
39636 struct nb_cb_modify_args
*args
)
39638 switch (args
->event
) {
39639 case NB_EV_VALIDATE
:
39640 case NB_EV_PREPARE
:
39643 /* TODO: implement me. */
39652 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/force-check
39654 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
39655 struct nb_cb_modify_args
*args
)
39657 switch (args
->event
) {
39658 case NB_EV_VALIDATE
:
39659 case NB_EV_PREPARE
:
39662 /* TODO: implement me. */
39671 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/warning-only
39673 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
39674 struct nb_cb_modify_args
*args
)
39676 switch (args
->event
) {
39677 case NB_EV_VALIDATE
:
39678 case NB_EV_PREPARE
:
39681 /* TODO: implement me. */
39688 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
39689 struct nb_cb_destroy_args
*args
)
39691 switch (args
->event
) {
39692 case NB_EV_VALIDATE
:
39693 case NB_EV_PREPARE
:
39696 /* TODO: implement me. */
39705 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/restart-timer
39707 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
39708 struct nb_cb_modify_args
*args
)
39710 switch (args
->event
) {
39711 case NB_EV_VALIDATE
:
39712 case NB_EV_PREPARE
:
39715 /* TODO: implement me. */
39722 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
39723 struct nb_cb_destroy_args
*args
)
39725 switch (args
->event
) {
39726 case NB_EV_VALIDATE
:
39727 case NB_EV_PREPARE
:
39730 /* TODO: implement me. */
39739 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
39741 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
39742 struct nb_cb_modify_args
*args
)
39744 switch (args
->event
) {
39745 case NB_EV_VALIDATE
:
39746 case NB_EV_PREPARE
:
39749 /* TODO: implement me. */
39756 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
39757 struct nb_cb_destroy_args
*args
)
39759 switch (args
->event
) {
39760 case NB_EV_VALIDATE
:
39761 case NB_EV_PREPARE
:
39764 /* TODO: implement me. */
39773 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
39775 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
39776 struct nb_cb_modify_args
*args
)
39778 switch (args
->event
) {
39779 case NB_EV_VALIDATE
:
39780 case NB_EV_PREPARE
:
39783 /* TODO: implement me. */
39790 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
39791 struct nb_cb_destroy_args
*args
)
39793 switch (args
->event
) {
39794 case NB_EV_VALIDATE
:
39795 case NB_EV_PREPARE
:
39798 /* TODO: implement me. */
39807 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tr-restart-timer
39809 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
39810 struct nb_cb_modify_args
*args
)
39812 switch (args
->event
) {
39813 case NB_EV_VALIDATE
:
39814 case NB_EV_PREPARE
:
39817 /* TODO: implement me. */
39824 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
39825 struct nb_cb_destroy_args
*args
)
39827 switch (args
->event
) {
39828 case NB_EV_VALIDATE
:
39829 case NB_EV_PREPARE
:
39832 /* TODO: implement me. */
39841 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
39843 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
39844 struct nb_cb_modify_args
*args
)
39846 switch (args
->event
) {
39847 case NB_EV_VALIDATE
:
39848 case NB_EV_PREPARE
:
39851 /* TODO: implement me. */
39858 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
39859 struct nb_cb_destroy_args
*args
)
39861 switch (args
->event
) {
39862 case NB_EV_VALIDATE
:
39863 case NB_EV_PREPARE
:
39866 /* TODO: implement me. */
39875 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list/options/tw-warning-only
39877 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
39878 struct nb_cb_modify_args
*args
)
39880 switch (args
->event
) {
39881 case NB_EV_VALIDATE
:
39882 case NB_EV_PREPARE
:
39885 /* TODO: implement me. */
39892 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
39893 struct nb_cb_destroy_args
*args
)
39895 switch (args
->event
) {
39896 case NB_EV_VALIDATE
:
39897 case NB_EV_PREPARE
:
39900 /* TODO: implement me. */
39909 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self
39911 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
39912 struct nb_cb_modify_args
*args
)
39914 switch (args
->event
) {
39915 case NB_EV_VALIDATE
:
39916 case NB_EV_PREPARE
:
39920 return bgp_peer_group_afi_safi_flag_modify(
39921 args
, PEER_FLAG_NEXTHOP_SELF
,
39922 yang_dnode_get_bool(args
->dnode
, NULL
));
39932 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/nexthop-self/next-hop-self-force
39934 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
39935 struct nb_cb_modify_args
*args
)
39937 switch (args
->event
) {
39938 case NB_EV_VALIDATE
:
39939 case NB_EV_PREPARE
:
39943 return bgp_peer_group_afi_safi_flag_modify(
39944 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
39945 yang_dnode_get_bool(args
->dnode
, NULL
));
39955 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all
39957 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
39958 struct nb_cb_modify_args
*args
)
39960 switch (args
->event
) {
39961 case NB_EV_VALIDATE
:
39962 case NB_EV_PREPARE
:
39966 return bgp_peer_group_afi_safi_flag_modify(
39967 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
39968 yang_dnode_get_bool(args
->dnode
, NULL
));
39978 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-all-replace
39980 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
39981 struct nb_cb_modify_args
*args
)
39983 switch (args
->event
) {
39984 case NB_EV_VALIDATE
:
39985 case NB_EV_PREPARE
:
39989 return bgp_peer_group_afi_safi_flag_modify(
39990 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
39991 yang_dnode_get_bool(args
->dnode
, NULL
));
40001 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as
40003 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
40004 struct nb_cb_modify_args
*args
)
40006 switch (args
->event
) {
40007 case NB_EV_VALIDATE
:
40008 case NB_EV_PREPARE
:
40012 return bgp_peer_group_afi_safi_flag_modify(
40013 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
40014 yang_dnode_get_bool(args
->dnode
, NULL
));
40024 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/private-as/remove-private-as-replace
40026 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
40027 struct nb_cb_modify_args
*args
)
40029 switch (args
->event
) {
40030 case NB_EV_VALIDATE
:
40031 case NB_EV_PREPARE
:
40035 return bgp_peer_group_afi_safi_flag_modify(
40036 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
40037 yang_dnode_get_bool(args
->dnode
, NULL
));
40047 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/route-reflector/route-reflector-client
40049 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
40050 struct nb_cb_modify_args
*args
)
40052 switch (args
->event
) {
40053 case NB_EV_VALIDATE
:
40054 case NB_EV_PREPARE
:
40058 return bgp_peer_group_afi_safi_flag_modify(
40059 args
, PEER_FLAG_REFLECTOR_CLIENT
,
40060 yang_dnode_get_bool(args
->dnode
, NULL
));
40070 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/route-server/route-server-client
40072 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
40073 struct nb_cb_modify_args
*args
)
40075 switch (args
->event
) {
40076 case NB_EV_VALIDATE
:
40077 case NB_EV_PREPARE
:
40081 return bgp_peer_group_afi_safi_flag_modify(
40082 args
, PEER_FLAG_RSERVER_CLIENT
,
40083 yang_dnode_get_bool(args
->dnode
, NULL
));
40093 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/send-community/send-community
40095 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
40096 struct nb_cb_modify_args
*args
)
40098 switch (args
->event
) {
40099 case NB_EV_VALIDATE
:
40100 case NB_EV_PREPARE
:
40104 return bgp_peer_group_afi_safi_flag_modify(
40105 args
, PEER_FLAG_SEND_COMMUNITY
,
40106 yang_dnode_get_bool(args
->dnode
, NULL
));
40116 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/send-community/send-ext-community
40118 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
40119 struct nb_cb_modify_args
*args
)
40121 switch (args
->event
) {
40122 case NB_EV_VALIDATE
:
40123 case NB_EV_PREPARE
:
40127 return bgp_peer_group_afi_safi_flag_modify(
40128 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
40129 yang_dnode_get_bool(args
->dnode
, NULL
));
40139 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/send-community/send-large-community
40141 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
40142 struct nb_cb_modify_args
*args
)
40144 switch (args
->event
) {
40145 case NB_EV_VALIDATE
:
40146 case NB_EV_PREPARE
:
40150 return bgp_peer_group_afi_safi_flag_modify(
40151 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
40152 yang_dnode_get_bool(args
->dnode
, NULL
));
40162 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
40164 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
40165 struct nb_cb_modify_args
*args
)
40167 switch (args
->event
) {
40168 case NB_EV_VALIDATE
:
40169 case NB_EV_PREPARE
:
40173 return bgp_peer_group_afi_safi_flag_modify(
40174 args
, PEER_FLAG_SOFT_RECONFIG
,
40175 yang_dnode_get_bool(args
->dnode
, NULL
));
40185 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/weight/weight-attribute
40187 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
40188 struct nb_cb_modify_args
*args
)
40190 switch (args
->event
) {
40191 case NB_EV_VALIDATE
:
40192 case NB_EV_PREPARE
:
40196 return bgp_peer_group_afi_safi_weight_modify(args
);
40204 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
40205 struct nb_cb_destroy_args
*args
)
40207 switch (args
->event
) {
40208 case NB_EV_VALIDATE
:
40209 case NB_EV_PREPARE
:
40213 return bgp_peer_group_afi_safi_weight_destroy(args
);
40223 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-import
40225 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
40226 struct nb_cb_modify_args
*args
)
40228 switch (args
->event
) {
40229 case NB_EV_VALIDATE
:
40230 case NB_EV_PREPARE
:
40234 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
40240 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
40241 struct nb_cb_destroy_args
*args
)
40243 switch (args
->event
) {
40244 case NB_EV_VALIDATE
:
40245 case NB_EV_PREPARE
:
40249 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
40257 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
40259 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
40260 struct nb_cb_modify_args
*args
)
40262 switch (args
->event
) {
40263 case NB_EV_VALIDATE
:
40264 case NB_EV_PREPARE
:
40268 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
40274 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
40275 struct nb_cb_destroy_args
*args
)
40277 switch (args
->event
) {
40278 case NB_EV_VALIDATE
:
40279 case NB_EV_PREPARE
:
40283 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
40291 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-import
40293 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
40294 struct nb_cb_modify_args
*args
)
40296 switch (args
->event
) {
40297 case NB_EV_VALIDATE
:
40298 case NB_EV_PREPARE
:
40302 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
40308 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
40309 struct nb_cb_destroy_args
*args
)
40311 switch (args
->event
) {
40312 case NB_EV_VALIDATE
:
40313 case NB_EV_PREPARE
:
40317 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
40325 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-export
40327 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
40328 struct nb_cb_modify_args
*args
)
40330 switch (args
->event
) {
40331 case NB_EV_VALIDATE
:
40332 case NB_EV_PREPARE
:
40336 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
40342 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
40343 struct nb_cb_destroy_args
*args
)
40345 switch (args
->event
) {
40346 case NB_EV_VALIDATE
:
40347 case NB_EV_PREPARE
:
40351 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
40359 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-import
40361 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
40362 struct nb_cb_modify_args
*args
)
40364 switch (args
->event
) {
40365 case NB_EV_VALIDATE
:
40366 case NB_EV_PREPARE
:
40369 /* TODO: implement me. */
40376 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
40377 struct nb_cb_destroy_args
*args
)
40379 switch (args
->event
) {
40380 case NB_EV_VALIDATE
:
40381 case NB_EV_PREPARE
:
40384 /* TODO: implement me. */
40393 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/access-list-export
40395 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
40396 struct nb_cb_modify_args
*args
)
40398 switch (args
->event
) {
40399 case NB_EV_VALIDATE
:
40400 case NB_EV_PREPARE
:
40403 /* TODO: implement me. */
40410 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
40411 struct nb_cb_destroy_args
*args
)
40413 switch (args
->event
) {
40414 case NB_EV_VALIDATE
:
40415 case NB_EV_PREPARE
:
40418 /* TODO: implement me. */
40427 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-import
40429 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
40430 struct nb_cb_modify_args
*args
)
40432 switch (args
->event
) {
40433 case NB_EV_VALIDATE
:
40434 case NB_EV_PREPARE
:
40437 /* TODO: implement me. */
40444 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
40445 struct nb_cb_destroy_args
*args
)
40447 switch (args
->event
) {
40448 case NB_EV_VALIDATE
:
40449 case NB_EV_PREPARE
:
40452 /* TODO: implement me. */
40461 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/as-path-filter-list-export
40463 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
40464 struct nb_cb_modify_args
*args
)
40466 switch (args
->event
) {
40467 case NB_EV_VALIDATE
:
40468 case NB_EV_PREPARE
:
40471 /* TODO: implement me. */
40478 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
40479 struct nb_cb_destroy_args
*args
)
40481 switch (args
->event
) {
40482 case NB_EV_VALIDATE
:
40483 case NB_EV_PREPARE
:
40486 /* TODO: implement me. */
40495 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-import
40497 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
40498 struct nb_cb_modify_args
*args
)
40500 switch (args
->event
) {
40501 case NB_EV_VALIDATE
:
40502 case NB_EV_PREPARE
:
40505 /* TODO: implement me. */
40512 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
40513 struct nb_cb_destroy_args
*args
)
40515 switch (args
->event
) {
40516 case NB_EV_VALIDATE
:
40517 case NB_EV_PREPARE
:
40520 /* TODO: implement me. */
40529 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/filter-config/unsuppress-map-export
40531 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
40532 struct nb_cb_modify_args
*args
)
40534 switch (args
->event
) {
40535 case NB_EV_VALIDATE
:
40536 case NB_EV_PREPARE
:
40539 /* TODO: implement me. */
40546 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
40547 struct nb_cb_destroy_args
*args
)
40549 switch (args
->event
) {
40550 case NB_EV_VALIDATE
:
40551 case NB_EV_PREPARE
:
40554 /* TODO: implement me. */
40563 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/add-paths/path-type
40565 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
40566 struct nb_cb_modify_args
*args
)
40568 switch (args
->event
) {
40569 case NB_EV_VALIDATE
:
40570 case NB_EV_PREPARE
:
40573 /* TODO: implement me. */
40582 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-as
40584 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
40585 struct nb_cb_modify_args
*args
)
40587 switch (args
->event
) {
40588 case NB_EV_VALIDATE
:
40589 case NB_EV_PREPARE
:
40592 /* TODO: implement me. */
40599 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
40600 struct nb_cb_destroy_args
*args
)
40602 switch (args
->event
) {
40603 case NB_EV_VALIDATE
:
40604 case NB_EV_PREPARE
:
40607 /* TODO: implement me. */
40616 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/as-path-options/allow-own-origin-as
40618 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
40619 struct nb_cb_modify_args
*args
)
40621 switch (args
->event
) {
40622 case NB_EV_VALIDATE
:
40623 case NB_EV_PREPARE
:
40626 /* TODO: implement me. */
40633 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
40634 struct nb_cb_destroy_args
*args
)
40636 switch (args
->event
) {
40637 case NB_EV_VALIDATE
:
40638 case NB_EV_PREPARE
:
40641 /* TODO: implement me. */
40650 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/as-path-options/replace-peer-as
40652 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
40653 struct nb_cb_modify_args
*args
)
40655 switch (args
->event
) {
40656 case NB_EV_VALIDATE
:
40657 case NB_EV_PREPARE
:
40661 return bgp_peer_group_afi_safi_flag_modify(
40662 args
, PEER_FLAG_AS_OVERRIDE
,
40663 yang_dnode_get_bool(args
->dnode
, NULL
));
40673 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/default-originate/originate
40675 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
40676 struct nb_cb_modify_args
*args
)
40678 switch (args
->event
) {
40679 case NB_EV_VALIDATE
:
40680 case NB_EV_PREPARE
:
40683 /* TODO: implement me. */
40692 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/default-originate/route-map
40694 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
40695 struct nb_cb_modify_args
*args
)
40697 switch (args
->event
) {
40698 case NB_EV_VALIDATE
:
40699 case NB_EV_PREPARE
:
40702 /* TODO: implement me. */
40709 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
40710 struct nb_cb_destroy_args
*args
)
40712 switch (args
->event
) {
40713 case NB_EV_VALIDATE
:
40714 case NB_EV_PREPARE
:
40717 /* TODO: implement me. */
40726 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/as-path-unchanged
40728 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
40729 struct nb_cb_modify_args
*args
)
40731 switch (args
->event
) {
40732 case NB_EV_VALIDATE
:
40733 case NB_EV_PREPARE
:
40737 return bgp_peer_group_afi_safi_flag_modify(
40738 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
40739 yang_dnode_get_bool(args
->dnode
, NULL
));
40749 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/next-hop-unchanged
40751 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
40752 struct nb_cb_modify_args
*args
)
40754 switch (args
->event
) {
40755 case NB_EV_VALIDATE
:
40756 case NB_EV_PREPARE
:
40760 return bgp_peer_group_afi_safi_flag_modify(
40761 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
40762 yang_dnode_get_bool(args
->dnode
, NULL
));
40772 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/med-unchanged
40774 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
40775 struct nb_cb_modify_args
*args
)
40777 switch (args
->event
) {
40778 case NB_EV_VALIDATE
:
40779 case NB_EV_PREPARE
:
40783 return bgp_peer_group_afi_safi_flag_modify(
40784 args
, PEER_FLAG_MED_UNCHANGED
,
40785 yang_dnode_get_bool(args
->dnode
, NULL
));
40795 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-send
40797 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
40798 struct nb_cb_modify_args
*args
)
40800 switch (args
->event
) {
40801 case NB_EV_VALIDATE
:
40802 case NB_EV_PREPARE
:
40805 /* TODO: implement me. */
40812 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
40813 struct nb_cb_destroy_args
*args
)
40815 switch (args
->event
) {
40816 case NB_EV_VALIDATE
:
40817 case NB_EV_PREPARE
:
40820 /* TODO: implement me. */
40829 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-receive
40831 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
40832 struct nb_cb_modify_args
*args
)
40834 switch (args
->event
) {
40835 case NB_EV_VALIDATE
:
40836 case NB_EV_PREPARE
:
40839 /* TODO: implement me. */
40846 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
40847 struct nb_cb_destroy_args
*args
)
40849 switch (args
->event
) {
40850 case NB_EV_VALIDATE
:
40851 case NB_EV_PREPARE
:
40854 /* TODO: implement me. */
40863 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-both
40865 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
40866 struct nb_cb_modify_args
*args
)
40868 switch (args
->event
) {
40869 case NB_EV_VALIDATE
:
40870 case NB_EV_PREPARE
:
40873 /* TODO: implement me. */
40880 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
40881 struct nb_cb_destroy_args
*args
)
40883 switch (args
->event
) {
40884 case NB_EV_VALIDATE
:
40885 case NB_EV_PREPARE
:
40888 /* TODO: implement me. */
40897 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list
40899 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
40900 struct nb_cb_create_args
*args
)
40902 switch (args
->event
) {
40903 case NB_EV_VALIDATE
:
40904 case NB_EV_PREPARE
:
40907 /* TODO: implement me. */
40914 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
40915 struct nb_cb_destroy_args
*args
)
40917 switch (args
->event
) {
40918 case NB_EV_VALIDATE
:
40919 case NB_EV_PREPARE
:
40923 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
40931 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/max-prefixes
40933 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
40934 struct nb_cb_modify_args
*args
)
40936 switch (args
->event
) {
40937 case NB_EV_VALIDATE
:
40938 case NB_EV_PREPARE
:
40941 /* TODO: implement me. */
40950 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/force-check
40952 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
40953 struct nb_cb_modify_args
*args
)
40955 switch (args
->event
) {
40956 case NB_EV_VALIDATE
:
40957 case NB_EV_PREPARE
:
40960 /* TODO: implement me. */
40969 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/warning-only
40971 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
40972 struct nb_cb_modify_args
*args
)
40974 switch (args
->event
) {
40975 case NB_EV_VALIDATE
:
40976 case NB_EV_PREPARE
:
40979 /* TODO: implement me. */
40986 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
40987 struct nb_cb_destroy_args
*args
)
40989 switch (args
->event
) {
40990 case NB_EV_VALIDATE
:
40991 case NB_EV_PREPARE
:
40994 /* TODO: implement me. */
41003 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/restart-timer
41005 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
41006 struct nb_cb_modify_args
*args
)
41008 switch (args
->event
) {
41009 case NB_EV_VALIDATE
:
41010 case NB_EV_PREPARE
:
41013 /* TODO: implement me. */
41020 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
41021 struct nb_cb_destroy_args
*args
)
41023 switch (args
->event
) {
41024 case NB_EV_VALIDATE
:
41025 case NB_EV_PREPARE
:
41028 /* TODO: implement me. */
41037 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/shutdown-threshold-pct
41039 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
41040 struct nb_cb_modify_args
*args
)
41042 switch (args
->event
) {
41043 case NB_EV_VALIDATE
:
41044 case NB_EV_PREPARE
:
41047 /* TODO: implement me. */
41054 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
41055 struct nb_cb_destroy_args
*args
)
41057 switch (args
->event
) {
41058 case NB_EV_VALIDATE
:
41059 case NB_EV_PREPARE
:
41062 /* TODO: implement me. */
41071 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
41073 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
41074 struct nb_cb_modify_args
*args
)
41076 switch (args
->event
) {
41077 case NB_EV_VALIDATE
:
41078 case NB_EV_PREPARE
:
41081 /* TODO: implement me. */
41088 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
41089 struct nb_cb_destroy_args
*args
)
41091 switch (args
->event
) {
41092 case NB_EV_VALIDATE
:
41093 case NB_EV_PREPARE
:
41096 /* TODO: implement me. */
41105 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tr-restart-timer
41107 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
41108 struct nb_cb_modify_args
*args
)
41110 switch (args
->event
) {
41111 case NB_EV_VALIDATE
:
41112 case NB_EV_PREPARE
:
41115 /* TODO: implement me. */
41122 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
41123 struct nb_cb_destroy_args
*args
)
41125 switch (args
->event
) {
41126 case NB_EV_VALIDATE
:
41127 case NB_EV_PREPARE
:
41130 /* TODO: implement me. */
41139 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
41141 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
41142 struct nb_cb_modify_args
*args
)
41144 switch (args
->event
) {
41145 case NB_EV_VALIDATE
:
41146 case NB_EV_PREPARE
:
41149 /* TODO: implement me. */
41156 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
41157 struct nb_cb_destroy_args
*args
)
41159 switch (args
->event
) {
41160 case NB_EV_VALIDATE
:
41161 case NB_EV_PREPARE
:
41164 /* TODO: implement me. */
41173 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list/options/tw-warning-only
41175 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
41176 struct nb_cb_modify_args
*args
)
41178 switch (args
->event
) {
41179 case NB_EV_VALIDATE
:
41180 case NB_EV_PREPARE
:
41183 /* TODO: implement me. */
41190 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
41191 struct nb_cb_destroy_args
*args
)
41193 switch (args
->event
) {
41194 case NB_EV_VALIDATE
:
41195 case NB_EV_PREPARE
:
41198 /* TODO: implement me. */
41207 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self
41209 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
41210 struct nb_cb_modify_args
*args
)
41212 switch (args
->event
) {
41213 case NB_EV_VALIDATE
:
41214 case NB_EV_PREPARE
:
41218 return bgp_peer_group_afi_safi_flag_modify(
41219 args
, PEER_FLAG_NEXTHOP_SELF
,
41220 yang_dnode_get_bool(args
->dnode
, NULL
));
41230 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/nexthop-self/next-hop-self-force
41232 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
41233 struct nb_cb_modify_args
*args
)
41235 switch (args
->event
) {
41236 case NB_EV_VALIDATE
:
41237 case NB_EV_PREPARE
:
41241 return bgp_peer_group_afi_safi_flag_modify(
41242 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
41243 yang_dnode_get_bool(args
->dnode
, NULL
));
41253 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all
41255 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
41256 struct nb_cb_modify_args
*args
)
41258 switch (args
->event
) {
41259 case NB_EV_VALIDATE
:
41260 case NB_EV_PREPARE
:
41264 return bgp_peer_group_afi_safi_flag_modify(
41265 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
41266 yang_dnode_get_bool(args
->dnode
, NULL
));
41276 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-all-replace
41278 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
41279 struct nb_cb_modify_args
*args
)
41281 switch (args
->event
) {
41282 case NB_EV_VALIDATE
:
41283 case NB_EV_PREPARE
:
41287 return bgp_peer_group_afi_safi_flag_modify(
41288 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
41289 yang_dnode_get_bool(args
->dnode
, NULL
));
41299 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as
41301 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
41302 struct nb_cb_modify_args
*args
)
41304 switch (args
->event
) {
41305 case NB_EV_VALIDATE
:
41306 case NB_EV_PREPARE
:
41310 return bgp_peer_group_afi_safi_flag_modify(
41311 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
41312 yang_dnode_get_bool(args
->dnode
, NULL
));
41322 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/private-as/remove-private-as-replace
41324 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
41325 struct nb_cb_modify_args
*args
)
41327 switch (args
->event
) {
41328 case NB_EV_VALIDATE
:
41329 case NB_EV_PREPARE
:
41333 return bgp_peer_group_afi_safi_flag_modify(
41334 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
41335 yang_dnode_get_bool(args
->dnode
, NULL
));
41345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/route-reflector/route-reflector-client
41347 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
41348 struct nb_cb_modify_args
*args
)
41350 switch (args
->event
) {
41351 case NB_EV_VALIDATE
:
41352 case NB_EV_PREPARE
:
41356 return bgp_peer_group_afi_safi_flag_modify(
41357 args
, PEER_FLAG_REFLECTOR_CLIENT
,
41358 yang_dnode_get_bool(args
->dnode
, NULL
));
41368 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/route-server/route-server-client
41370 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
41371 struct nb_cb_modify_args
*args
)
41373 switch (args
->event
) {
41374 case NB_EV_VALIDATE
:
41375 case NB_EV_PREPARE
:
41379 return bgp_peer_group_afi_safi_flag_modify(
41380 args
, PEER_FLAG_RSERVER_CLIENT
,
41381 yang_dnode_get_bool(args
->dnode
, NULL
));
41391 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/send-community/send-community
41393 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
41394 struct nb_cb_modify_args
*args
)
41396 switch (args
->event
) {
41397 case NB_EV_VALIDATE
:
41398 case NB_EV_PREPARE
:
41402 return bgp_peer_group_afi_safi_flag_modify(
41403 args
, PEER_FLAG_SEND_COMMUNITY
,
41404 yang_dnode_get_bool(args
->dnode
, NULL
));
41414 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/send-community/send-ext-community
41416 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
41417 struct nb_cb_modify_args
*args
)
41419 switch (args
->event
) {
41420 case NB_EV_VALIDATE
:
41421 case NB_EV_PREPARE
:
41425 return bgp_peer_group_afi_safi_flag_modify(
41426 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
41427 yang_dnode_get_bool(args
->dnode
, NULL
));
41437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/send-community/send-large-community
41439 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
41440 struct nb_cb_modify_args
*args
)
41442 switch (args
->event
) {
41443 case NB_EV_VALIDATE
:
41444 case NB_EV_PREPARE
:
41448 return bgp_peer_group_afi_safi_flag_modify(
41449 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
41450 yang_dnode_get_bool(args
->dnode
, NULL
));
41460 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
41462 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
41463 struct nb_cb_modify_args
*args
)
41465 switch (args
->event
) {
41466 case NB_EV_VALIDATE
:
41467 case NB_EV_PREPARE
:
41471 return bgp_peer_group_afi_safi_flag_modify(
41472 args
, PEER_FLAG_SOFT_RECONFIG
,
41473 yang_dnode_get_bool(args
->dnode
, NULL
));
41483 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/weight/weight-attribute
41485 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
41486 struct nb_cb_modify_args
*args
)
41488 switch (args
->event
) {
41489 case NB_EV_VALIDATE
:
41490 case NB_EV_PREPARE
:
41494 return bgp_peer_group_afi_safi_weight_modify(args
);
41502 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
41503 struct nb_cb_destroy_args
*args
)
41505 switch (args
->event
) {
41506 case NB_EV_VALIDATE
:
41507 case NB_EV_PREPARE
:
41511 return bgp_peer_group_afi_safi_weight_destroy(args
);
41521 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-import
41523 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
41524 struct nb_cb_modify_args
*args
)
41526 switch (args
->event
) {
41527 case NB_EV_VALIDATE
:
41528 case NB_EV_PREPARE
:
41532 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
41538 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
41539 struct nb_cb_destroy_args
*args
)
41541 switch (args
->event
) {
41542 case NB_EV_VALIDATE
:
41543 case NB_EV_PREPARE
:
41547 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
41555 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-export
41557 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
41558 struct nb_cb_modify_args
*args
)
41560 switch (args
->event
) {
41561 case NB_EV_VALIDATE
:
41562 case NB_EV_PREPARE
:
41566 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
41572 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
41573 struct nb_cb_destroy_args
*args
)
41575 switch (args
->event
) {
41576 case NB_EV_VALIDATE
:
41577 case NB_EV_PREPARE
:
41581 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
41589 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-import
41591 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
41592 struct nb_cb_modify_args
*args
)
41594 switch (args
->event
) {
41595 case NB_EV_VALIDATE
:
41596 case NB_EV_PREPARE
:
41600 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
41606 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
41607 struct nb_cb_destroy_args
*args
)
41609 switch (args
->event
) {
41610 case NB_EV_VALIDATE
:
41611 case NB_EV_PREPARE
:
41615 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
41623 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-export
41625 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
41626 struct nb_cb_modify_args
*args
)
41628 switch (args
->event
) {
41629 case NB_EV_VALIDATE
:
41630 case NB_EV_PREPARE
:
41634 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
41640 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
41641 struct nb_cb_destroy_args
*args
)
41643 switch (args
->event
) {
41644 case NB_EV_VALIDATE
:
41645 case NB_EV_PREPARE
:
41649 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
41657 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-import
41659 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
41660 struct nb_cb_modify_args
*args
)
41662 switch (args
->event
) {
41663 case NB_EV_VALIDATE
:
41664 case NB_EV_PREPARE
:
41667 /* TODO: implement me. */
41674 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
41675 struct nb_cb_destroy_args
*args
)
41677 switch (args
->event
) {
41678 case NB_EV_VALIDATE
:
41679 case NB_EV_PREPARE
:
41682 /* TODO: implement me. */
41691 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/access-list-export
41693 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
41694 struct nb_cb_modify_args
*args
)
41696 switch (args
->event
) {
41697 case NB_EV_VALIDATE
:
41698 case NB_EV_PREPARE
:
41701 /* TODO: implement me. */
41708 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
41709 struct nb_cb_destroy_args
*args
)
41711 switch (args
->event
) {
41712 case NB_EV_VALIDATE
:
41713 case NB_EV_PREPARE
:
41716 /* TODO: implement me. */
41725 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-import
41727 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
41728 struct nb_cb_modify_args
*args
)
41730 switch (args
->event
) {
41731 case NB_EV_VALIDATE
:
41732 case NB_EV_PREPARE
:
41735 /* TODO: implement me. */
41742 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
41743 struct nb_cb_destroy_args
*args
)
41745 switch (args
->event
) {
41746 case NB_EV_VALIDATE
:
41747 case NB_EV_PREPARE
:
41750 /* TODO: implement me. */
41759 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/as-path-filter-list-export
41761 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
41762 struct nb_cb_modify_args
*args
)
41764 switch (args
->event
) {
41765 case NB_EV_VALIDATE
:
41766 case NB_EV_PREPARE
:
41769 /* TODO: implement me. */
41776 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
41777 struct nb_cb_destroy_args
*args
)
41779 switch (args
->event
) {
41780 case NB_EV_VALIDATE
:
41781 case NB_EV_PREPARE
:
41784 /* TODO: implement me. */
41793 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-import
41795 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
41796 struct nb_cb_modify_args
*args
)
41798 switch (args
->event
) {
41799 case NB_EV_VALIDATE
:
41800 case NB_EV_PREPARE
:
41803 /* TODO: implement me. */
41810 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
41811 struct nb_cb_destroy_args
*args
)
41813 switch (args
->event
) {
41814 case NB_EV_VALIDATE
:
41815 case NB_EV_PREPARE
:
41818 /* TODO: implement me. */
41827 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/filter-config/unsuppress-map-export
41829 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
41830 struct nb_cb_modify_args
*args
)
41832 switch (args
->event
) {
41833 case NB_EV_VALIDATE
:
41834 case NB_EV_PREPARE
:
41837 /* TODO: implement me. */
41844 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
41845 struct nb_cb_destroy_args
*args
)
41847 switch (args
->event
) {
41848 case NB_EV_VALIDATE
:
41849 case NB_EV_PREPARE
:
41852 /* TODO: implement me. */
41861 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/add-paths/path-type
41863 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
41864 struct nb_cb_modify_args
*args
)
41866 switch (args
->event
) {
41867 case NB_EV_VALIDATE
:
41868 case NB_EV_PREPARE
:
41871 /* TODO: implement me. */
41880 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-as
41882 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
41883 struct nb_cb_modify_args
*args
)
41885 switch (args
->event
) {
41886 case NB_EV_VALIDATE
:
41887 case NB_EV_PREPARE
:
41890 /* TODO: implement me. */
41897 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
41898 struct nb_cb_destroy_args
*args
)
41900 switch (args
->event
) {
41901 case NB_EV_VALIDATE
:
41902 case NB_EV_PREPARE
:
41905 /* TODO: implement me. */
41914 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/allow-own-origin-as
41916 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
41917 struct nb_cb_modify_args
*args
)
41919 switch (args
->event
) {
41920 case NB_EV_VALIDATE
:
41921 case NB_EV_PREPARE
:
41924 /* TODO: implement me. */
41931 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
41932 struct nb_cb_destroy_args
*args
)
41934 switch (args
->event
) {
41935 case NB_EV_VALIDATE
:
41936 case NB_EV_PREPARE
:
41939 /* TODO: implement me. */
41948 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/as-path-options/replace-peer-as
41950 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
41951 struct nb_cb_modify_args
*args
)
41953 switch (args
->event
) {
41954 case NB_EV_VALIDATE
:
41955 case NB_EV_PREPARE
:
41959 return bgp_peer_group_afi_safi_flag_modify(
41960 args
, PEER_FLAG_AS_OVERRIDE
,
41961 yang_dnode_get_bool(args
->dnode
, NULL
));
41971 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/originate
41973 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
41974 struct nb_cb_modify_args
*args
)
41976 switch (args
->event
) {
41977 case NB_EV_VALIDATE
:
41978 case NB_EV_PREPARE
:
41981 /* TODO: implement me. */
41990 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/route-map
41992 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
41993 struct nb_cb_modify_args
*args
)
41995 switch (args
->event
) {
41996 case NB_EV_VALIDATE
:
41997 case NB_EV_PREPARE
:
42000 /* TODO: implement me. */
42007 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
42008 struct nb_cb_destroy_args
*args
)
42010 switch (args
->event
) {
42011 case NB_EV_VALIDATE
:
42012 case NB_EV_PREPARE
:
42015 /* TODO: implement me. */
42024 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/as-path-unchanged
42026 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
42027 struct nb_cb_modify_args
*args
)
42029 switch (args
->event
) {
42030 case NB_EV_VALIDATE
:
42031 case NB_EV_PREPARE
:
42035 return bgp_peer_group_afi_safi_flag_modify(
42036 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
42037 yang_dnode_get_bool(args
->dnode
, NULL
));
42047 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/next-hop-unchanged
42049 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
42050 struct nb_cb_modify_args
*args
)
42052 switch (args
->event
) {
42053 case NB_EV_VALIDATE
:
42054 case NB_EV_PREPARE
:
42058 return bgp_peer_group_afi_safi_flag_modify(
42059 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
42060 yang_dnode_get_bool(args
->dnode
, NULL
));
42070 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/attr-unchanged/med-unchanged
42072 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
42073 struct nb_cb_modify_args
*args
)
42075 switch (args
->event
) {
42076 case NB_EV_VALIDATE
:
42077 case NB_EV_PREPARE
:
42081 return bgp_peer_group_afi_safi_flag_modify(
42082 args
, PEER_FLAG_MED_UNCHANGED
,
42083 yang_dnode_get_bool(args
->dnode
, NULL
));
42093 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-send
42095 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
42096 struct nb_cb_modify_args
*args
)
42098 switch (args
->event
) {
42099 case NB_EV_VALIDATE
:
42100 case NB_EV_PREPARE
:
42103 /* TODO: implement me. */
42110 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
42111 struct nb_cb_destroy_args
*args
)
42113 switch (args
->event
) {
42114 case NB_EV_VALIDATE
:
42115 case NB_EV_PREPARE
:
42118 /* TODO: implement me. */
42127 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-receive
42129 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
42130 struct nb_cb_modify_args
*args
)
42132 switch (args
->event
) {
42133 case NB_EV_VALIDATE
:
42134 case NB_EV_PREPARE
:
42137 /* TODO: implement me. */
42144 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
42145 struct nb_cb_destroy_args
*args
)
42147 switch (args
->event
) {
42148 case NB_EV_VALIDATE
:
42149 case NB_EV_PREPARE
:
42152 /* TODO: implement me. */
42161 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/orf-capability/orf-both
42163 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
42164 struct nb_cb_modify_args
*args
)
42166 switch (args
->event
) {
42167 case NB_EV_VALIDATE
:
42168 case NB_EV_PREPARE
:
42171 /* TODO: implement me. */
42178 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
42179 struct nb_cb_destroy_args
*args
)
42181 switch (args
->event
) {
42182 case NB_EV_VALIDATE
:
42183 case NB_EV_PREPARE
:
42186 /* TODO: implement me. */
42195 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list
42197 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
42198 struct nb_cb_create_args
*args
)
42200 switch (args
->event
) {
42201 case NB_EV_VALIDATE
:
42202 case NB_EV_PREPARE
:
42205 /* TODO: implement me. */
42212 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
42213 struct nb_cb_destroy_args
*args
)
42215 switch (args
->event
) {
42216 case NB_EV_VALIDATE
:
42217 case NB_EV_PREPARE
:
42221 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
42229 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/max-prefixes
42231 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
42232 struct nb_cb_modify_args
*args
)
42234 switch (args
->event
) {
42235 case NB_EV_VALIDATE
:
42236 case NB_EV_PREPARE
:
42239 /* TODO: implement me. */
42248 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/force-check
42250 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
42251 struct nb_cb_modify_args
*args
)
42253 switch (args
->event
) {
42254 case NB_EV_VALIDATE
:
42255 case NB_EV_PREPARE
:
42258 /* TODO: implement me. */
42267 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/warning-only
42269 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
42270 struct nb_cb_modify_args
*args
)
42272 switch (args
->event
) {
42273 case NB_EV_VALIDATE
:
42274 case NB_EV_PREPARE
:
42277 /* TODO: implement me. */
42284 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
42285 struct nb_cb_destroy_args
*args
)
42287 switch (args
->event
) {
42288 case NB_EV_VALIDATE
:
42289 case NB_EV_PREPARE
:
42292 /* TODO: implement me. */
42301 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/restart-timer
42303 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
42304 struct nb_cb_modify_args
*args
)
42306 switch (args
->event
) {
42307 case NB_EV_VALIDATE
:
42308 case NB_EV_PREPARE
:
42311 /* TODO: implement me. */
42318 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
42319 struct nb_cb_destroy_args
*args
)
42321 switch (args
->event
) {
42322 case NB_EV_VALIDATE
:
42323 case NB_EV_PREPARE
:
42326 /* TODO: implement me. */
42335 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
42337 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
42338 struct nb_cb_modify_args
*args
)
42340 switch (args
->event
) {
42341 case NB_EV_VALIDATE
:
42342 case NB_EV_PREPARE
:
42345 /* TODO: implement me. */
42352 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
42353 struct nb_cb_destroy_args
*args
)
42355 switch (args
->event
) {
42356 case NB_EV_VALIDATE
:
42357 case NB_EV_PREPARE
:
42360 /* TODO: implement me. */
42369 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
42371 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
42372 struct nb_cb_modify_args
*args
)
42374 switch (args
->event
) {
42375 case NB_EV_VALIDATE
:
42376 case NB_EV_PREPARE
:
42379 /* TODO: implement me. */
42386 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
42387 struct nb_cb_destroy_args
*args
)
42389 switch (args
->event
) {
42390 case NB_EV_VALIDATE
:
42391 case NB_EV_PREPARE
:
42394 /* TODO: implement me. */
42403 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
42405 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
42406 struct nb_cb_modify_args
*args
)
42408 switch (args
->event
) {
42409 case NB_EV_VALIDATE
:
42410 case NB_EV_PREPARE
:
42413 /* TODO: implement me. */
42420 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
42421 struct nb_cb_destroy_args
*args
)
42423 switch (args
->event
) {
42424 case NB_EV_VALIDATE
:
42425 case NB_EV_PREPARE
:
42428 /* TODO: implement me. */
42437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
42439 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
42440 struct nb_cb_modify_args
*args
)
42442 switch (args
->event
) {
42443 case NB_EV_VALIDATE
:
42444 case NB_EV_PREPARE
:
42447 /* TODO: implement me. */
42454 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
42455 struct nb_cb_destroy_args
*args
)
42457 switch (args
->event
) {
42458 case NB_EV_VALIDATE
:
42459 case NB_EV_PREPARE
:
42462 /* TODO: implement me. */
42471 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
42473 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
42474 struct nb_cb_modify_args
*args
)
42476 switch (args
->event
) {
42477 case NB_EV_VALIDATE
:
42478 case NB_EV_PREPARE
:
42481 /* TODO: implement me. */
42488 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
42489 struct nb_cb_destroy_args
*args
)
42491 switch (args
->event
) {
42492 case NB_EV_VALIDATE
:
42493 case NB_EV_PREPARE
:
42496 /* TODO: implement me. */
42505 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self
42507 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
42508 struct nb_cb_modify_args
*args
)
42510 switch (args
->event
) {
42511 case NB_EV_VALIDATE
:
42512 case NB_EV_PREPARE
:
42516 return bgp_peer_group_afi_safi_flag_modify(
42517 args
, PEER_FLAG_NEXTHOP_SELF
,
42518 yang_dnode_get_bool(args
->dnode
, NULL
));
42528 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/nexthop-self/next-hop-self-force
42530 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
42531 struct nb_cb_modify_args
*args
)
42533 switch (args
->event
) {
42534 case NB_EV_VALIDATE
:
42535 case NB_EV_PREPARE
:
42539 return bgp_peer_group_afi_safi_flag_modify(
42540 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
42541 yang_dnode_get_bool(args
->dnode
, NULL
));
42551 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all
42553 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
42554 struct nb_cb_modify_args
*args
)
42556 switch (args
->event
) {
42557 case NB_EV_VALIDATE
:
42558 case NB_EV_PREPARE
:
42562 return bgp_peer_group_afi_safi_flag_modify(
42563 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
42564 yang_dnode_get_bool(args
->dnode
, NULL
));
42574 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-all-replace
42576 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
42577 struct nb_cb_modify_args
*args
)
42579 switch (args
->event
) {
42580 case NB_EV_VALIDATE
:
42581 case NB_EV_PREPARE
:
42585 return bgp_peer_group_afi_safi_flag_modify(
42586 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
42587 yang_dnode_get_bool(args
->dnode
, NULL
));
42597 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as
42599 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
42600 struct nb_cb_modify_args
*args
)
42602 switch (args
->event
) {
42603 case NB_EV_VALIDATE
:
42604 case NB_EV_PREPARE
:
42608 return bgp_peer_group_afi_safi_flag_modify(
42609 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
42610 yang_dnode_get_bool(args
->dnode
, NULL
));
42620 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/private-as/remove-private-as-replace
42622 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
42623 struct nb_cb_modify_args
*args
)
42625 switch (args
->event
) {
42626 case NB_EV_VALIDATE
:
42627 case NB_EV_PREPARE
:
42631 return bgp_peer_group_afi_safi_flag_modify(
42632 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
42633 yang_dnode_get_bool(args
->dnode
, NULL
));
42643 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/route-reflector/route-reflector-client
42645 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
42646 struct nb_cb_modify_args
*args
)
42648 switch (args
->event
) {
42649 case NB_EV_VALIDATE
:
42650 case NB_EV_PREPARE
:
42654 return bgp_peer_group_afi_safi_flag_modify(
42655 args
, PEER_FLAG_REFLECTOR_CLIENT
,
42656 yang_dnode_get_bool(args
->dnode
, NULL
));
42666 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/route-server/route-server-client
42668 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
42669 struct nb_cb_modify_args
*args
)
42671 switch (args
->event
) {
42672 case NB_EV_VALIDATE
:
42673 case NB_EV_PREPARE
:
42677 return bgp_peer_group_afi_safi_flag_modify(
42678 args
, PEER_FLAG_RSERVER_CLIENT
,
42679 yang_dnode_get_bool(args
->dnode
, NULL
));
42689 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-community
42691 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
42692 struct nb_cb_modify_args
*args
)
42694 switch (args
->event
) {
42695 case NB_EV_VALIDATE
:
42696 case NB_EV_PREPARE
:
42700 return bgp_peer_group_afi_safi_flag_modify(
42701 args
, PEER_FLAG_SEND_COMMUNITY
,
42702 yang_dnode_get_bool(args
->dnode
, NULL
));
42712 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-ext-community
42714 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
42715 struct nb_cb_modify_args
*args
)
42717 switch (args
->event
) {
42718 case NB_EV_VALIDATE
:
42719 case NB_EV_PREPARE
:
42723 return bgp_peer_group_afi_safi_flag_modify(
42724 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
42725 yang_dnode_get_bool(args
->dnode
, NULL
));
42735 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/send-community/send-large-community
42737 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
42738 struct nb_cb_modify_args
*args
)
42740 switch (args
->event
) {
42741 case NB_EV_VALIDATE
:
42742 case NB_EV_PREPARE
:
42746 return bgp_peer_group_afi_safi_flag_modify(
42747 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
42748 yang_dnode_get_bool(args
->dnode
, NULL
));
42758 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/soft-reconfiguration
42760 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
42761 struct nb_cb_modify_args
*args
)
42763 switch (args
->event
) {
42764 case NB_EV_VALIDATE
:
42765 case NB_EV_PREPARE
:
42769 return bgp_peer_group_afi_safi_flag_modify(
42770 args
, PEER_FLAG_SOFT_RECONFIG
,
42771 yang_dnode_get_bool(args
->dnode
, NULL
));
42781 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/weight/weight-attribute
42783 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
42784 struct nb_cb_modify_args
*args
)
42786 switch (args
->event
) {
42787 case NB_EV_VALIDATE
:
42788 case NB_EV_PREPARE
:
42792 return bgp_peer_group_afi_safi_weight_modify(args
);
42800 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
42801 struct nb_cb_destroy_args
*args
)
42803 switch (args
->event
) {
42804 case NB_EV_VALIDATE
:
42805 case NB_EV_PREPARE
:
42809 return bgp_peer_group_afi_safi_weight_destroy(args
);
42819 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-import
42821 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
42822 struct nb_cb_modify_args
*args
)
42824 switch (args
->event
) {
42825 case NB_EV_VALIDATE
:
42826 case NB_EV_PREPARE
:
42830 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
42836 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
42837 struct nb_cb_destroy_args
*args
)
42839 switch (args
->event
) {
42840 case NB_EV_VALIDATE
:
42841 case NB_EV_PREPARE
:
42845 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
42853 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/rmap-export
42855 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
42856 struct nb_cb_modify_args
*args
)
42858 switch (args
->event
) {
42859 case NB_EV_VALIDATE
:
42860 case NB_EV_PREPARE
:
42864 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
42870 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
42871 struct nb_cb_destroy_args
*args
)
42873 switch (args
->event
) {
42874 case NB_EV_VALIDATE
:
42875 case NB_EV_PREPARE
:
42879 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
42887 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-import
42889 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
42890 struct nb_cb_modify_args
*args
)
42892 switch (args
->event
) {
42893 case NB_EV_VALIDATE
:
42894 case NB_EV_PREPARE
:
42898 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
42904 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
42905 struct nb_cb_destroy_args
*args
)
42907 switch (args
->event
) {
42908 case NB_EV_VALIDATE
:
42909 case NB_EV_PREPARE
:
42913 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
42921 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/plist-export
42923 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
42924 struct nb_cb_modify_args
*args
)
42926 switch (args
->event
) {
42927 case NB_EV_VALIDATE
:
42928 case NB_EV_PREPARE
:
42932 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
42938 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
42939 struct nb_cb_destroy_args
*args
)
42941 switch (args
->event
) {
42942 case NB_EV_VALIDATE
:
42943 case NB_EV_PREPARE
:
42947 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
42955 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-import
42957 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
42958 struct nb_cb_modify_args
*args
)
42960 switch (args
->event
) {
42961 case NB_EV_VALIDATE
:
42962 case NB_EV_PREPARE
:
42965 /* TODO: implement me. */
42972 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
42973 struct nb_cb_destroy_args
*args
)
42975 switch (args
->event
) {
42976 case NB_EV_VALIDATE
:
42977 case NB_EV_PREPARE
:
42980 /* TODO: implement me. */
42989 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/access-list-export
42991 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
42992 struct nb_cb_modify_args
*args
)
42994 switch (args
->event
) {
42995 case NB_EV_VALIDATE
:
42996 case NB_EV_PREPARE
:
42999 /* TODO: implement me. */
43006 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
43007 struct nb_cb_destroy_args
*args
)
43009 switch (args
->event
) {
43010 case NB_EV_VALIDATE
:
43011 case NB_EV_PREPARE
:
43014 /* TODO: implement me. */
43023 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-import
43025 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
43026 struct nb_cb_modify_args
*args
)
43028 switch (args
->event
) {
43029 case NB_EV_VALIDATE
:
43030 case NB_EV_PREPARE
:
43033 /* TODO: implement me. */
43040 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
43041 struct nb_cb_destroy_args
*args
)
43043 switch (args
->event
) {
43044 case NB_EV_VALIDATE
:
43045 case NB_EV_PREPARE
:
43048 /* TODO: implement me. */
43057 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/as-path-filter-list-export
43059 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
43060 struct nb_cb_modify_args
*args
)
43062 switch (args
->event
) {
43063 case NB_EV_VALIDATE
:
43064 case NB_EV_PREPARE
:
43067 /* TODO: implement me. */
43074 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
43075 struct nb_cb_destroy_args
*args
)
43077 switch (args
->event
) {
43078 case NB_EV_VALIDATE
:
43079 case NB_EV_PREPARE
:
43082 /* TODO: implement me. */
43091 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-import
43093 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
43094 struct nb_cb_modify_args
*args
)
43096 switch (args
->event
) {
43097 case NB_EV_VALIDATE
:
43098 case NB_EV_PREPARE
:
43101 /* TODO: implement me. */
43108 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
43109 struct nb_cb_destroy_args
*args
)
43111 switch (args
->event
) {
43112 case NB_EV_VALIDATE
:
43113 case NB_EV_PREPARE
:
43116 /* TODO: implement me. */
43125 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-labeled-unicast/filter-config/unsuppress-map-export
43127 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
43128 struct nb_cb_modify_args
*args
)
43130 switch (args
->event
) {
43131 case NB_EV_VALIDATE
:
43132 case NB_EV_PREPARE
:
43135 /* TODO: implement me. */
43142 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
43143 struct nb_cb_destroy_args
*args
)
43145 switch (args
->event
) {
43146 case NB_EV_VALIDATE
:
43147 case NB_EV_PREPARE
:
43150 /* TODO: implement me. */
43159 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/add-paths/path-type
43161 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
43162 struct nb_cb_modify_args
*args
)
43164 switch (args
->event
) {
43165 case NB_EV_VALIDATE
:
43166 case NB_EV_PREPARE
:
43169 /* TODO: implement me. */
43178 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-as
43180 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
43181 struct nb_cb_modify_args
*args
)
43183 switch (args
->event
) {
43184 case NB_EV_VALIDATE
:
43185 case NB_EV_PREPARE
:
43188 /* TODO: implement me. */
43195 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
43196 struct nb_cb_destroy_args
*args
)
43198 switch (args
->event
) {
43199 case NB_EV_VALIDATE
:
43200 case NB_EV_PREPARE
:
43203 /* TODO: implement me. */
43212 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/allow-own-origin-as
43214 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
43215 struct nb_cb_modify_args
*args
)
43217 switch (args
->event
) {
43218 case NB_EV_VALIDATE
:
43219 case NB_EV_PREPARE
:
43222 /* TODO: implement me. */
43229 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
43230 struct nb_cb_destroy_args
*args
)
43232 switch (args
->event
) {
43233 case NB_EV_VALIDATE
:
43234 case NB_EV_PREPARE
:
43237 /* TODO: implement me. */
43246 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/as-path-options/replace-peer-as
43248 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
43249 struct nb_cb_modify_args
*args
)
43251 switch (args
->event
) {
43252 case NB_EV_VALIDATE
:
43253 case NB_EV_PREPARE
:
43257 return bgp_peer_group_afi_safi_flag_modify(
43258 args
, PEER_FLAG_AS_OVERRIDE
,
43259 yang_dnode_get_bool(args
->dnode
, NULL
));
43269 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/originate
43271 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
43272 struct nb_cb_modify_args
*args
)
43274 switch (args
->event
) {
43275 case NB_EV_VALIDATE
:
43276 case NB_EV_PREPARE
:
43279 /* TODO: implement me. */
43288 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/route-map
43290 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
43291 struct nb_cb_modify_args
*args
)
43293 switch (args
->event
) {
43294 case NB_EV_VALIDATE
:
43295 case NB_EV_PREPARE
:
43298 /* TODO: implement me. */
43305 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
43306 struct nb_cb_destroy_args
*args
)
43308 switch (args
->event
) {
43309 case NB_EV_VALIDATE
:
43310 case NB_EV_PREPARE
:
43313 /* TODO: implement me. */
43322 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/as-path-unchanged
43324 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
43325 struct nb_cb_modify_args
*args
)
43327 switch (args
->event
) {
43328 case NB_EV_VALIDATE
:
43329 case NB_EV_PREPARE
:
43333 return bgp_peer_group_afi_safi_flag_modify(
43334 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
43335 yang_dnode_get_bool(args
->dnode
, NULL
));
43345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/next-hop-unchanged
43347 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
43348 struct nb_cb_modify_args
*args
)
43350 switch (args
->event
) {
43351 case NB_EV_VALIDATE
:
43352 case NB_EV_PREPARE
:
43356 return bgp_peer_group_afi_safi_flag_modify(
43357 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
43358 yang_dnode_get_bool(args
->dnode
, NULL
));
43368 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/attr-unchanged/med-unchanged
43370 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
43371 struct nb_cb_modify_args
*args
)
43373 switch (args
->event
) {
43374 case NB_EV_VALIDATE
:
43375 case NB_EV_PREPARE
:
43379 return bgp_peer_group_afi_safi_flag_modify(
43380 args
, PEER_FLAG_MED_UNCHANGED
,
43381 yang_dnode_get_bool(args
->dnode
, NULL
));
43391 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-send
43393 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
43394 struct nb_cb_modify_args
*args
)
43396 switch (args
->event
) {
43397 case NB_EV_VALIDATE
:
43398 case NB_EV_PREPARE
:
43401 /* TODO: implement me. */
43408 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
43409 struct nb_cb_destroy_args
*args
)
43411 switch (args
->event
) {
43412 case NB_EV_VALIDATE
:
43413 case NB_EV_PREPARE
:
43416 /* TODO: implement me. */
43425 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-receive
43427 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
43428 struct nb_cb_modify_args
*args
)
43430 switch (args
->event
) {
43431 case NB_EV_VALIDATE
:
43432 case NB_EV_PREPARE
:
43435 /* TODO: implement me. */
43442 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
43443 struct nb_cb_destroy_args
*args
)
43445 switch (args
->event
) {
43446 case NB_EV_VALIDATE
:
43447 case NB_EV_PREPARE
:
43450 /* TODO: implement me. */
43459 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/orf-capability/orf-both
43461 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
43462 struct nb_cb_modify_args
*args
)
43464 switch (args
->event
) {
43465 case NB_EV_VALIDATE
:
43466 case NB_EV_PREPARE
:
43469 /* TODO: implement me. */
43476 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
43477 struct nb_cb_destroy_args
*args
)
43479 switch (args
->event
) {
43480 case NB_EV_VALIDATE
:
43481 case NB_EV_PREPARE
:
43484 /* TODO: implement me. */
43493 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list
43495 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
43496 struct nb_cb_create_args
*args
)
43498 switch (args
->event
) {
43499 case NB_EV_VALIDATE
:
43500 case NB_EV_PREPARE
:
43503 /* TODO: implement me. */
43510 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
43511 struct nb_cb_destroy_args
*args
)
43513 switch (args
->event
) {
43514 case NB_EV_VALIDATE
:
43515 case NB_EV_PREPARE
:
43519 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
43527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/max-prefixes
43529 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
43530 struct nb_cb_modify_args
*args
)
43532 switch (args
->event
) {
43533 case NB_EV_VALIDATE
:
43534 case NB_EV_PREPARE
:
43537 /* TODO: implement me. */
43546 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/force-check
43548 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
43549 struct nb_cb_modify_args
*args
)
43551 switch (args
->event
) {
43552 case NB_EV_VALIDATE
:
43553 case NB_EV_PREPARE
:
43556 /* TODO: implement me. */
43565 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/warning-only
43567 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
43568 struct nb_cb_modify_args
*args
)
43570 switch (args
->event
) {
43571 case NB_EV_VALIDATE
:
43572 case NB_EV_PREPARE
:
43575 /* TODO: implement me. */
43582 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
43583 struct nb_cb_destroy_args
*args
)
43585 switch (args
->event
) {
43586 case NB_EV_VALIDATE
:
43587 case NB_EV_PREPARE
:
43590 /* TODO: implement me. */
43599 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/restart-timer
43601 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
43602 struct nb_cb_modify_args
*args
)
43604 switch (args
->event
) {
43605 case NB_EV_VALIDATE
:
43606 case NB_EV_PREPARE
:
43609 /* TODO: implement me. */
43616 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
43617 struct nb_cb_destroy_args
*args
)
43619 switch (args
->event
) {
43620 case NB_EV_VALIDATE
:
43621 case NB_EV_PREPARE
:
43624 /* TODO: implement me. */
43633 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
43635 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
43636 struct nb_cb_modify_args
*args
)
43638 switch (args
->event
) {
43639 case NB_EV_VALIDATE
:
43640 case NB_EV_PREPARE
:
43643 /* TODO: implement me. */
43650 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
43651 struct nb_cb_destroy_args
*args
)
43653 switch (args
->event
) {
43654 case NB_EV_VALIDATE
:
43655 case NB_EV_PREPARE
:
43658 /* TODO: implement me. */
43667 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
43669 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
43670 struct nb_cb_modify_args
*args
)
43672 switch (args
->event
) {
43673 case NB_EV_VALIDATE
:
43674 case NB_EV_PREPARE
:
43677 /* TODO: implement me. */
43684 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
43685 struct nb_cb_destroy_args
*args
)
43687 switch (args
->event
) {
43688 case NB_EV_VALIDATE
:
43689 case NB_EV_PREPARE
:
43692 /* TODO: implement me. */
43701 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tr-restart-timer
43703 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
43704 struct nb_cb_modify_args
*args
)
43706 switch (args
->event
) {
43707 case NB_EV_VALIDATE
:
43708 case NB_EV_PREPARE
:
43711 /* TODO: implement me. */
43718 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
43719 struct nb_cb_destroy_args
*args
)
43721 switch (args
->event
) {
43722 case NB_EV_VALIDATE
:
43723 case NB_EV_PREPARE
:
43726 /* TODO: implement me. */
43735 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
43737 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
43738 struct nb_cb_modify_args
*args
)
43740 switch (args
->event
) {
43741 case NB_EV_VALIDATE
:
43742 case NB_EV_PREPARE
:
43745 /* TODO: implement me. */
43752 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
43753 struct nb_cb_destroy_args
*args
)
43755 switch (args
->event
) {
43756 case NB_EV_VALIDATE
:
43757 case NB_EV_PREPARE
:
43760 /* TODO: implement me. */
43769 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/prefix-limit/direction-list/options/tw-warning-only
43771 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
43772 struct nb_cb_modify_args
*args
)
43774 switch (args
->event
) {
43775 case NB_EV_VALIDATE
:
43776 case NB_EV_PREPARE
:
43779 /* TODO: implement me. */
43786 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
43787 struct nb_cb_destroy_args
*args
)
43789 switch (args
->event
) {
43790 case NB_EV_VALIDATE
:
43791 case NB_EV_PREPARE
:
43794 /* TODO: implement me. */
43803 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self
43805 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
43806 struct nb_cb_modify_args
*args
)
43808 switch (args
->event
) {
43809 case NB_EV_VALIDATE
:
43810 case NB_EV_PREPARE
:
43814 return bgp_peer_group_afi_safi_flag_modify(
43815 args
, PEER_FLAG_NEXTHOP_SELF
,
43816 yang_dnode_get_bool(args
->dnode
, NULL
));
43826 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/nexthop-self/next-hop-self-force
43828 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
43829 struct nb_cb_modify_args
*args
)
43831 switch (args
->event
) {
43832 case NB_EV_VALIDATE
:
43833 case NB_EV_PREPARE
:
43837 return bgp_peer_group_afi_safi_flag_modify(
43838 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
43839 yang_dnode_get_bool(args
->dnode
, NULL
));
43849 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all
43851 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
43852 struct nb_cb_modify_args
*args
)
43854 switch (args
->event
) {
43855 case NB_EV_VALIDATE
:
43856 case NB_EV_PREPARE
:
43860 return bgp_peer_group_afi_safi_flag_modify(
43861 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
43862 yang_dnode_get_bool(args
->dnode
, NULL
));
43872 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-all-replace
43874 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
43875 struct nb_cb_modify_args
*args
)
43877 switch (args
->event
) {
43878 case NB_EV_VALIDATE
:
43879 case NB_EV_PREPARE
:
43883 return bgp_peer_group_afi_safi_flag_modify(
43884 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
43885 yang_dnode_get_bool(args
->dnode
, NULL
));
43895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as
43897 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
43898 struct nb_cb_modify_args
*args
)
43900 switch (args
->event
) {
43901 case NB_EV_VALIDATE
:
43902 case NB_EV_PREPARE
:
43906 return bgp_peer_group_afi_safi_flag_modify(
43907 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
43908 yang_dnode_get_bool(args
->dnode
, NULL
));
43918 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/private-as/remove-private-as-replace
43920 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
43921 struct nb_cb_modify_args
*args
)
43923 switch (args
->event
) {
43924 case NB_EV_VALIDATE
:
43925 case NB_EV_PREPARE
:
43929 return bgp_peer_group_afi_safi_flag_modify(
43930 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
43931 yang_dnode_get_bool(args
->dnode
, NULL
));
43941 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/route-reflector/route-reflector-client
43943 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
43944 struct nb_cb_modify_args
*args
)
43946 switch (args
->event
) {
43947 case NB_EV_VALIDATE
:
43948 case NB_EV_PREPARE
:
43952 return bgp_peer_group_afi_safi_flag_modify(
43953 args
, PEER_FLAG_REFLECTOR_CLIENT
,
43954 yang_dnode_get_bool(args
->dnode
, NULL
));
43964 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/route-server/route-server-client
43966 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
43967 struct nb_cb_modify_args
*args
)
43969 switch (args
->event
) {
43970 case NB_EV_VALIDATE
:
43971 case NB_EV_PREPARE
:
43975 return bgp_peer_group_afi_safi_flag_modify(
43976 args
, PEER_FLAG_RSERVER_CLIENT
,
43977 yang_dnode_get_bool(args
->dnode
, NULL
));
43987 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-community
43989 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
43990 struct nb_cb_modify_args
*args
)
43992 switch (args
->event
) {
43993 case NB_EV_VALIDATE
:
43994 case NB_EV_PREPARE
:
43998 return bgp_peer_group_afi_safi_flag_modify(
43999 args
, PEER_FLAG_SEND_COMMUNITY
,
44000 yang_dnode_get_bool(args
->dnode
, NULL
));
44010 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-ext-community
44012 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
44013 struct nb_cb_modify_args
*args
)
44015 switch (args
->event
) {
44016 case NB_EV_VALIDATE
:
44017 case NB_EV_PREPARE
:
44021 return bgp_peer_group_afi_safi_flag_modify(
44022 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
44023 yang_dnode_get_bool(args
->dnode
, NULL
));
44033 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/send-community/send-large-community
44035 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
44036 struct nb_cb_modify_args
*args
)
44038 switch (args
->event
) {
44039 case NB_EV_VALIDATE
:
44040 case NB_EV_PREPARE
:
44044 return bgp_peer_group_afi_safi_flag_modify(
44045 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
44046 yang_dnode_get_bool(args
->dnode
, NULL
));
44056 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/soft-reconfiguration
44058 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
44059 struct nb_cb_modify_args
*args
)
44061 switch (args
->event
) {
44062 case NB_EV_VALIDATE
:
44063 case NB_EV_PREPARE
:
44067 return bgp_peer_group_afi_safi_flag_modify(
44068 args
, PEER_FLAG_SOFT_RECONFIG
,
44069 yang_dnode_get_bool(args
->dnode
, NULL
));
44079 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/weight/weight-attribute
44081 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
44082 struct nb_cb_modify_args
*args
)
44084 switch (args
->event
) {
44085 case NB_EV_VALIDATE
:
44086 case NB_EV_PREPARE
:
44090 return bgp_peer_group_afi_safi_weight_modify(args
);
44098 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
44099 struct nb_cb_destroy_args
*args
)
44101 switch (args
->event
) {
44102 case NB_EV_VALIDATE
:
44103 case NB_EV_PREPARE
:
44107 return bgp_peer_group_afi_safi_weight_destroy(args
);
44117 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/rmap-import
44119 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_modify(
44120 struct nb_cb_modify_args
*args
)
44122 switch (args
->event
) {
44123 case NB_EV_VALIDATE
:
44124 case NB_EV_PREPARE
:
44128 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
44134 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_destroy(
44135 struct nb_cb_destroy_args
*args
)
44137 switch (args
->event
) {
44138 case NB_EV_VALIDATE
:
44139 case NB_EV_PREPARE
:
44143 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
44151 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/rmap-export
44153 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_modify(
44154 struct nb_cb_modify_args
*args
)
44156 switch (args
->event
) {
44157 case NB_EV_VALIDATE
:
44158 case NB_EV_PREPARE
:
44162 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
44168 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_destroy(
44169 struct nb_cb_destroy_args
*args
)
44171 switch (args
->event
) {
44172 case NB_EV_VALIDATE
:
44173 case NB_EV_PREPARE
:
44177 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
44185 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/plist-import
44187 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_modify(
44188 struct nb_cb_modify_args
*args
)
44190 switch (args
->event
) {
44191 case NB_EV_VALIDATE
:
44192 case NB_EV_PREPARE
:
44196 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
44202 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_destroy(
44203 struct nb_cb_destroy_args
*args
)
44205 switch (args
->event
) {
44206 case NB_EV_VALIDATE
:
44207 case NB_EV_PREPARE
:
44211 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
44219 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/plist-export
44221 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_modify(
44222 struct nb_cb_modify_args
*args
)
44224 switch (args
->event
) {
44225 case NB_EV_VALIDATE
:
44226 case NB_EV_PREPARE
:
44230 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
44236 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_destroy(
44237 struct nb_cb_destroy_args
*args
)
44239 switch (args
->event
) {
44240 case NB_EV_VALIDATE
:
44241 case NB_EV_PREPARE
:
44245 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
44253 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/access-list-import
44255 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_modify(
44256 struct nb_cb_modify_args
*args
)
44258 switch (args
->event
) {
44259 case NB_EV_VALIDATE
:
44260 case NB_EV_PREPARE
:
44263 /* TODO: implement me. */
44270 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_destroy(
44271 struct nb_cb_destroy_args
*args
)
44273 switch (args
->event
) {
44274 case NB_EV_VALIDATE
:
44275 case NB_EV_PREPARE
:
44278 /* TODO: implement me. */
44287 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/access-list-export
44289 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_modify(
44290 struct nb_cb_modify_args
*args
)
44292 switch (args
->event
) {
44293 case NB_EV_VALIDATE
:
44294 case NB_EV_PREPARE
:
44297 /* TODO: implement me. */
44304 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_destroy(
44305 struct nb_cb_destroy_args
*args
)
44307 switch (args
->event
) {
44308 case NB_EV_VALIDATE
:
44309 case NB_EV_PREPARE
:
44312 /* TODO: implement me. */
44321 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/as-path-filter-list-import
44323 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_modify(
44324 struct nb_cb_modify_args
*args
)
44326 switch (args
->event
) {
44327 case NB_EV_VALIDATE
:
44328 case NB_EV_PREPARE
:
44331 /* TODO: implement me. */
44338 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
44339 struct nb_cb_destroy_args
*args
)
44341 switch (args
->event
) {
44342 case NB_EV_VALIDATE
:
44343 case NB_EV_PREPARE
:
44346 /* TODO: implement me. */
44355 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/as-path-filter-list-export
44357 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_modify(
44358 struct nb_cb_modify_args
*args
)
44360 switch (args
->event
) {
44361 case NB_EV_VALIDATE
:
44362 case NB_EV_PREPARE
:
44365 /* TODO: implement me. */
44372 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
44373 struct nb_cb_destroy_args
*args
)
44375 switch (args
->event
) {
44376 case NB_EV_VALIDATE
:
44377 case NB_EV_PREPARE
:
44380 /* TODO: implement me. */
44389 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/unsuppress-map-import
44391 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_modify(
44392 struct nb_cb_modify_args
*args
)
44394 switch (args
->event
) {
44395 case NB_EV_VALIDATE
:
44396 case NB_EV_PREPARE
:
44399 /* TODO: implement me. */
44406 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_destroy(
44407 struct nb_cb_destroy_args
*args
)
44409 switch (args
->event
) {
44410 case NB_EV_VALIDATE
:
44411 case NB_EV_PREPARE
:
44414 /* TODO: implement me. */
44423 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-labeled-unicast/filter-config/unsuppress-map-export
44425 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_modify(
44426 struct nb_cb_modify_args
*args
)
44428 switch (args
->event
) {
44429 case NB_EV_VALIDATE
:
44430 case NB_EV_PREPARE
:
44433 /* TODO: implement me. */
44440 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_destroy(
44441 struct nb_cb_destroy_args
*args
)
44443 switch (args
->event
) {
44444 case NB_EV_VALIDATE
:
44445 case NB_EV_PREPARE
:
44448 /* TODO: implement me. */
44457 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/add-paths/path-type
44459 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
44460 struct nb_cb_modify_args
*args
)
44462 switch (args
->event
) {
44463 case NB_EV_VALIDATE
:
44464 case NB_EV_PREPARE
:
44467 /* TODO: implement me. */
44476 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-as
44478 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
44479 struct nb_cb_modify_args
*args
)
44481 switch (args
->event
) {
44482 case NB_EV_VALIDATE
:
44483 case NB_EV_PREPARE
:
44486 /* TODO: implement me. */
44493 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
44494 struct nb_cb_destroy_args
*args
)
44496 switch (args
->event
) {
44497 case NB_EV_VALIDATE
:
44498 case NB_EV_PREPARE
:
44501 /* TODO: implement me. */
44510 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/allow-own-origin-as
44512 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
44513 struct nb_cb_modify_args
*args
)
44515 switch (args
->event
) {
44516 case NB_EV_VALIDATE
:
44517 case NB_EV_PREPARE
:
44520 /* TODO: implement me. */
44527 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
44528 struct nb_cb_destroy_args
*args
)
44530 switch (args
->event
) {
44531 case NB_EV_VALIDATE
:
44532 case NB_EV_PREPARE
:
44535 /* TODO: implement me. */
44544 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/as-path-options/replace-peer-as
44546 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
44547 struct nb_cb_modify_args
*args
)
44549 switch (args
->event
) {
44550 case NB_EV_VALIDATE
:
44551 case NB_EV_PREPARE
:
44555 return bgp_peer_group_afi_safi_flag_modify(
44556 args
, PEER_FLAG_AS_OVERRIDE
,
44557 yang_dnode_get_bool(args
->dnode
, NULL
));
44567 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/as-path-unchanged
44569 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
44570 struct nb_cb_modify_args
*args
)
44572 switch (args
->event
) {
44573 case NB_EV_VALIDATE
:
44574 case NB_EV_PREPARE
:
44578 return bgp_peer_group_afi_safi_flag_modify(
44579 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
44580 yang_dnode_get_bool(args
->dnode
, NULL
));
44590 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/next-hop-unchanged
44592 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
44593 struct nb_cb_modify_args
*args
)
44595 switch (args
->event
) {
44596 case NB_EV_VALIDATE
:
44597 case NB_EV_PREPARE
:
44601 return bgp_peer_group_afi_safi_flag_modify(
44602 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
44603 yang_dnode_get_bool(args
->dnode
, NULL
));
44613 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/attr-unchanged/med-unchanged
44615 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
44616 struct nb_cb_modify_args
*args
)
44618 switch (args
->event
) {
44619 case NB_EV_VALIDATE
:
44620 case NB_EV_PREPARE
:
44624 return bgp_peer_group_afi_safi_flag_modify(
44625 args
, PEER_FLAG_MED_UNCHANGED
,
44626 yang_dnode_get_bool(args
->dnode
, NULL
));
44636 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list
44638 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
44639 struct nb_cb_create_args
*args
)
44641 switch (args
->event
) {
44642 case NB_EV_VALIDATE
:
44643 case NB_EV_PREPARE
:
44646 /* TODO: implement me. */
44653 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
44654 struct nb_cb_destroy_args
*args
)
44656 switch (args
->event
) {
44657 case NB_EV_VALIDATE
:
44658 case NB_EV_PREPARE
:
44662 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
44670 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/max-prefixes
44672 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
44673 struct nb_cb_modify_args
*args
)
44675 switch (args
->event
) {
44676 case NB_EV_VALIDATE
:
44677 case NB_EV_PREPARE
:
44680 /* TODO: implement me. */
44689 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/force-check
44691 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
44692 struct nb_cb_modify_args
*args
)
44694 switch (args
->event
) {
44695 case NB_EV_VALIDATE
:
44696 case NB_EV_PREPARE
:
44699 /* TODO: implement me. */
44708 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/warning-only
44710 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
44711 struct nb_cb_modify_args
*args
)
44713 switch (args
->event
) {
44714 case NB_EV_VALIDATE
:
44715 case NB_EV_PREPARE
:
44718 /* TODO: implement me. */
44725 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
44726 struct nb_cb_destroy_args
*args
)
44728 switch (args
->event
) {
44729 case NB_EV_VALIDATE
:
44730 case NB_EV_PREPARE
:
44733 /* TODO: implement me. */
44742 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/restart-timer
44744 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
44745 struct nb_cb_modify_args
*args
)
44747 switch (args
->event
) {
44748 case NB_EV_VALIDATE
:
44749 case NB_EV_PREPARE
:
44752 /* TODO: implement me. */
44759 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
44760 struct nb_cb_destroy_args
*args
)
44762 switch (args
->event
) {
44763 case NB_EV_VALIDATE
:
44764 case NB_EV_PREPARE
:
44767 /* TODO: implement me. */
44776 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
44778 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
44779 struct nb_cb_modify_args
*args
)
44781 switch (args
->event
) {
44782 case NB_EV_VALIDATE
:
44783 case NB_EV_PREPARE
:
44786 /* TODO: implement me. */
44793 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
44794 struct nb_cb_destroy_args
*args
)
44796 switch (args
->event
) {
44797 case NB_EV_VALIDATE
:
44798 case NB_EV_PREPARE
:
44801 /* TODO: implement me. */
44810 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
44812 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
44813 struct nb_cb_modify_args
*args
)
44815 switch (args
->event
) {
44816 case NB_EV_VALIDATE
:
44817 case NB_EV_PREPARE
:
44820 /* TODO: implement me. */
44827 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
44828 struct nb_cb_destroy_args
*args
)
44830 switch (args
->event
) {
44831 case NB_EV_VALIDATE
:
44832 case NB_EV_PREPARE
:
44835 /* TODO: implement me. */
44844 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tr-restart-timer
44846 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
44847 struct nb_cb_modify_args
*args
)
44849 switch (args
->event
) {
44850 case NB_EV_VALIDATE
:
44851 case NB_EV_PREPARE
:
44854 /* TODO: implement me. */
44861 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
44862 struct nb_cb_destroy_args
*args
)
44864 switch (args
->event
) {
44865 case NB_EV_VALIDATE
:
44866 case NB_EV_PREPARE
:
44869 /* TODO: implement me. */
44878 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
44880 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
44881 struct nb_cb_modify_args
*args
)
44883 switch (args
->event
) {
44884 case NB_EV_VALIDATE
:
44885 case NB_EV_PREPARE
:
44888 /* TODO: implement me. */
44895 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
44896 struct nb_cb_destroy_args
*args
)
44898 switch (args
->event
) {
44899 case NB_EV_VALIDATE
:
44900 case NB_EV_PREPARE
:
44903 /* TODO: implement me. */
44912 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/prefix-limit/direction-list/options/tw-warning-only
44914 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
44915 struct nb_cb_modify_args
*args
)
44917 switch (args
->event
) {
44918 case NB_EV_VALIDATE
:
44919 case NB_EV_PREPARE
:
44922 /* TODO: implement me. */
44929 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
44930 struct nb_cb_destroy_args
*args
)
44932 switch (args
->event
) {
44933 case NB_EV_VALIDATE
:
44934 case NB_EV_PREPARE
:
44937 /* TODO: implement me. */
44946 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self
44948 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
44949 struct nb_cb_modify_args
*args
)
44951 switch (args
->event
) {
44952 case NB_EV_VALIDATE
:
44953 case NB_EV_PREPARE
:
44957 return bgp_peer_group_afi_safi_flag_modify(
44958 args
, PEER_FLAG_NEXTHOP_SELF
,
44959 yang_dnode_get_bool(args
->dnode
, NULL
));
44969 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/nexthop-self/next-hop-self-force
44971 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
44972 struct nb_cb_modify_args
*args
)
44974 switch (args
->event
) {
44975 case NB_EV_VALIDATE
:
44976 case NB_EV_PREPARE
:
44980 return bgp_peer_group_afi_safi_flag_modify(
44981 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
44982 yang_dnode_get_bool(args
->dnode
, NULL
));
44992 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all
44994 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
44995 struct nb_cb_modify_args
*args
)
44997 switch (args
->event
) {
44998 case NB_EV_VALIDATE
:
44999 case NB_EV_PREPARE
:
45003 return bgp_peer_group_afi_safi_flag_modify(
45004 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
45005 yang_dnode_get_bool(args
->dnode
, NULL
));
45015 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-all-replace
45017 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
45018 struct nb_cb_modify_args
*args
)
45020 switch (args
->event
) {
45021 case NB_EV_VALIDATE
:
45022 case NB_EV_PREPARE
:
45026 return bgp_peer_group_afi_safi_flag_modify(
45027 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
45028 yang_dnode_get_bool(args
->dnode
, NULL
));
45038 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as
45040 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
45041 struct nb_cb_modify_args
*args
)
45043 switch (args
->event
) {
45044 case NB_EV_VALIDATE
:
45045 case NB_EV_PREPARE
:
45049 return bgp_peer_group_afi_safi_flag_modify(
45050 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
45051 yang_dnode_get_bool(args
->dnode
, NULL
));
45061 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/private-as/remove-private-as-replace
45063 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
45064 struct nb_cb_modify_args
*args
)
45066 switch (args
->event
) {
45067 case NB_EV_VALIDATE
:
45068 case NB_EV_PREPARE
:
45072 return bgp_peer_group_afi_safi_flag_modify(
45073 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
45074 yang_dnode_get_bool(args
->dnode
, NULL
));
45084 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-reflector/route-reflector-client
45086 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
45087 struct nb_cb_modify_args
*args
)
45089 switch (args
->event
) {
45090 case NB_EV_VALIDATE
:
45091 case NB_EV_PREPARE
:
45095 return bgp_peer_group_afi_safi_flag_modify(
45096 args
, PEER_FLAG_REFLECTOR_CLIENT
,
45097 yang_dnode_get_bool(args
->dnode
, NULL
));
45107 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/route-server/route-server-client
45109 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
45110 struct nb_cb_modify_args
*args
)
45112 switch (args
->event
) {
45113 case NB_EV_VALIDATE
:
45114 case NB_EV_PREPARE
:
45118 return bgp_peer_group_afi_safi_flag_modify(
45119 args
, PEER_FLAG_RSERVER_CLIENT
,
45120 yang_dnode_get_bool(args
->dnode
, NULL
));
45130 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-community
45132 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
45133 struct nb_cb_modify_args
*args
)
45135 switch (args
->event
) {
45136 case NB_EV_VALIDATE
:
45137 case NB_EV_PREPARE
:
45141 return bgp_peer_group_afi_safi_flag_modify(
45142 args
, PEER_FLAG_SEND_COMMUNITY
,
45143 yang_dnode_get_bool(args
->dnode
, NULL
));
45153 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-ext-community
45155 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
45156 struct nb_cb_modify_args
*args
)
45158 switch (args
->event
) {
45159 case NB_EV_VALIDATE
:
45160 case NB_EV_PREPARE
:
45164 return bgp_peer_group_afi_safi_flag_modify(
45165 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
45166 yang_dnode_get_bool(args
->dnode
, NULL
));
45176 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/send-community/send-large-community
45178 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
45179 struct nb_cb_modify_args
*args
)
45181 switch (args
->event
) {
45182 case NB_EV_VALIDATE
:
45183 case NB_EV_PREPARE
:
45187 return bgp_peer_group_afi_safi_flag_modify(
45188 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
45189 yang_dnode_get_bool(args
->dnode
, NULL
));
45199 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/soft-reconfiguration
45201 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
45202 struct nb_cb_modify_args
*args
)
45204 switch (args
->event
) {
45205 case NB_EV_VALIDATE
:
45206 case NB_EV_PREPARE
:
45210 return bgp_peer_group_afi_safi_flag_modify(
45211 args
, PEER_FLAG_SOFT_RECONFIG
,
45212 yang_dnode_get_bool(args
->dnode
, NULL
));
45222 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/weight/weight-attribute
45224 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
45225 struct nb_cb_modify_args
*args
)
45227 switch (args
->event
) {
45228 case NB_EV_VALIDATE
:
45229 case NB_EV_PREPARE
:
45233 return bgp_peer_group_afi_safi_weight_modify(args
);
45241 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
45242 struct nb_cb_destroy_args
*args
)
45244 switch (args
->event
) {
45245 case NB_EV_VALIDATE
:
45246 case NB_EV_PREPARE
:
45250 return bgp_peer_group_afi_safi_weight_destroy(args
);
45260 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/rmap-import
45262 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_modify(
45263 struct nb_cb_modify_args
*args
)
45265 switch (args
->event
) {
45266 case NB_EV_VALIDATE
:
45267 case NB_EV_PREPARE
:
45271 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
45277 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_destroy(
45278 struct nb_cb_destroy_args
*args
)
45280 switch (args
->event
) {
45281 case NB_EV_VALIDATE
:
45282 case NB_EV_PREPARE
:
45286 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
45294 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/rmap-export
45296 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_modify(
45297 struct nb_cb_modify_args
*args
)
45299 switch (args
->event
) {
45300 case NB_EV_VALIDATE
:
45301 case NB_EV_PREPARE
:
45305 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
45311 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_destroy(
45312 struct nb_cb_destroy_args
*args
)
45314 switch (args
->event
) {
45315 case NB_EV_VALIDATE
:
45316 case NB_EV_PREPARE
:
45320 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
45328 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/plist-import
45330 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_modify(
45331 struct nb_cb_modify_args
*args
)
45333 switch (args
->event
) {
45334 case NB_EV_VALIDATE
:
45335 case NB_EV_PREPARE
:
45339 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
45345 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_destroy(
45346 struct nb_cb_destroy_args
*args
)
45348 switch (args
->event
) {
45349 case NB_EV_VALIDATE
:
45350 case NB_EV_PREPARE
:
45354 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
45362 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/plist-export
45364 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_modify(
45365 struct nb_cb_modify_args
*args
)
45367 switch (args
->event
) {
45368 case NB_EV_VALIDATE
:
45369 case NB_EV_PREPARE
:
45373 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
45379 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_destroy(
45380 struct nb_cb_destroy_args
*args
)
45382 switch (args
->event
) {
45383 case NB_EV_VALIDATE
:
45384 case NB_EV_PREPARE
:
45388 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
45396 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/access-list-import
45398 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_modify(
45399 struct nb_cb_modify_args
*args
)
45401 switch (args
->event
) {
45402 case NB_EV_VALIDATE
:
45403 case NB_EV_PREPARE
:
45406 /* TODO: implement me. */
45413 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_destroy(
45414 struct nb_cb_destroy_args
*args
)
45416 switch (args
->event
) {
45417 case NB_EV_VALIDATE
:
45418 case NB_EV_PREPARE
:
45421 /* TODO: implement me. */
45430 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/access-list-export
45432 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_modify(
45433 struct nb_cb_modify_args
*args
)
45435 switch (args
->event
) {
45436 case NB_EV_VALIDATE
:
45437 case NB_EV_PREPARE
:
45440 /* TODO: implement me. */
45447 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_destroy(
45448 struct nb_cb_destroy_args
*args
)
45450 switch (args
->event
) {
45451 case NB_EV_VALIDATE
:
45452 case NB_EV_PREPARE
:
45455 /* TODO: implement me. */
45464 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/as-path-filter-list-import
45466 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
45467 struct nb_cb_modify_args
*args
)
45469 switch (args
->event
) {
45470 case NB_EV_VALIDATE
:
45471 case NB_EV_PREPARE
:
45474 /* TODO: implement me. */
45481 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
45482 struct nb_cb_destroy_args
*args
)
45484 switch (args
->event
) {
45485 case NB_EV_VALIDATE
:
45486 case NB_EV_PREPARE
:
45489 /* TODO: implement me. */
45498 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/as-path-filter-list-export
45500 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
45501 struct nb_cb_modify_args
*args
)
45503 switch (args
->event
) {
45504 case NB_EV_VALIDATE
:
45505 case NB_EV_PREPARE
:
45508 /* TODO: implement me. */
45515 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
45516 struct nb_cb_destroy_args
*args
)
45518 switch (args
->event
) {
45519 case NB_EV_VALIDATE
:
45520 case NB_EV_PREPARE
:
45523 /* TODO: implement me. */
45532 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/unsuppress-map-import
45534 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_modify(
45535 struct nb_cb_modify_args
*args
)
45537 switch (args
->event
) {
45538 case NB_EV_VALIDATE
:
45539 case NB_EV_PREPARE
:
45542 /* TODO: implement me. */
45549 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
45550 struct nb_cb_destroy_args
*args
)
45552 switch (args
->event
) {
45553 case NB_EV_VALIDATE
:
45554 case NB_EV_PREPARE
:
45557 /* TODO: implement me. */
45566 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv4-unicast/filter-config/unsuppress-map-export
45568 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_modify(
45569 struct nb_cb_modify_args
*args
)
45571 switch (args
->event
) {
45572 case NB_EV_VALIDATE
:
45573 case NB_EV_PREPARE
:
45576 /* TODO: implement me. */
45583 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
45584 struct nb_cb_destroy_args
*args
)
45586 switch (args
->event
) {
45587 case NB_EV_VALIDATE
:
45588 case NB_EV_PREPARE
:
45591 /* TODO: implement me. */
45600 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/add-paths/path-type
45602 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
45603 struct nb_cb_modify_args
*args
)
45605 switch (args
->event
) {
45606 case NB_EV_VALIDATE
:
45607 case NB_EV_PREPARE
:
45610 /* TODO: implement me. */
45619 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-as
45621 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
45622 struct nb_cb_modify_args
*args
)
45624 switch (args
->event
) {
45625 case NB_EV_VALIDATE
:
45626 case NB_EV_PREPARE
:
45629 /* TODO: implement me. */
45636 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
45637 struct nb_cb_destroy_args
*args
)
45639 switch (args
->event
) {
45640 case NB_EV_VALIDATE
:
45641 case NB_EV_PREPARE
:
45644 /* TODO: implement me. */
45653 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/allow-own-origin-as
45655 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
45656 struct nb_cb_modify_args
*args
)
45658 switch (args
->event
) {
45659 case NB_EV_VALIDATE
:
45660 case NB_EV_PREPARE
:
45663 /* TODO: implement me. */
45670 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
45671 struct nb_cb_destroy_args
*args
)
45673 switch (args
->event
) {
45674 case NB_EV_VALIDATE
:
45675 case NB_EV_PREPARE
:
45678 /* TODO: implement me. */
45687 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/as-path-options/replace-peer-as
45689 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
45690 struct nb_cb_modify_args
*args
)
45692 switch (args
->event
) {
45693 case NB_EV_VALIDATE
:
45694 case NB_EV_PREPARE
:
45698 return bgp_peer_group_afi_safi_flag_modify(
45699 args
, PEER_FLAG_AS_OVERRIDE
,
45700 yang_dnode_get_bool(args
->dnode
, NULL
));
45710 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/as-path-unchanged
45712 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
45713 struct nb_cb_modify_args
*args
)
45715 switch (args
->event
) {
45716 case NB_EV_VALIDATE
:
45717 case NB_EV_PREPARE
:
45721 return bgp_peer_group_afi_safi_flag_modify(
45722 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
45723 yang_dnode_get_bool(args
->dnode
, NULL
));
45733 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/next-hop-unchanged
45735 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
45736 struct nb_cb_modify_args
*args
)
45738 switch (args
->event
) {
45739 case NB_EV_VALIDATE
:
45740 case NB_EV_PREPARE
:
45744 return bgp_peer_group_afi_safi_flag_modify(
45745 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
45746 yang_dnode_get_bool(args
->dnode
, NULL
));
45756 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/attr-unchanged/med-unchanged
45758 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
45759 struct nb_cb_modify_args
*args
)
45761 switch (args
->event
) {
45762 case NB_EV_VALIDATE
:
45763 case NB_EV_PREPARE
:
45767 return bgp_peer_group_afi_safi_flag_modify(
45768 args
, PEER_FLAG_MED_UNCHANGED
,
45769 yang_dnode_get_bool(args
->dnode
, NULL
));
45779 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list
45781 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
45782 struct nb_cb_create_args
*args
)
45784 switch (args
->event
) {
45785 case NB_EV_VALIDATE
:
45786 case NB_EV_PREPARE
:
45789 /* TODO: implement me. */
45796 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
45797 struct nb_cb_destroy_args
*args
)
45799 switch (args
->event
) {
45800 case NB_EV_VALIDATE
:
45801 case NB_EV_PREPARE
:
45805 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
45813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/max-prefixes
45815 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
45816 struct nb_cb_modify_args
*args
)
45818 switch (args
->event
) {
45819 case NB_EV_VALIDATE
:
45820 case NB_EV_PREPARE
:
45823 /* TODO: implement me. */
45832 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/force-check
45834 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
45835 struct nb_cb_modify_args
*args
)
45837 switch (args
->event
) {
45838 case NB_EV_VALIDATE
:
45839 case NB_EV_PREPARE
:
45842 /* TODO: implement me. */
45851 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/warning-only
45853 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
45854 struct nb_cb_modify_args
*args
)
45856 switch (args
->event
) {
45857 case NB_EV_VALIDATE
:
45858 case NB_EV_PREPARE
:
45861 /* TODO: implement me. */
45868 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
45869 struct nb_cb_destroy_args
*args
)
45871 switch (args
->event
) {
45872 case NB_EV_VALIDATE
:
45873 case NB_EV_PREPARE
:
45876 /* TODO: implement me. */
45885 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/restart-timer
45887 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
45888 struct nb_cb_modify_args
*args
)
45890 switch (args
->event
) {
45891 case NB_EV_VALIDATE
:
45892 case NB_EV_PREPARE
:
45895 /* TODO: implement me. */
45902 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
45903 struct nb_cb_destroy_args
*args
)
45905 switch (args
->event
) {
45906 case NB_EV_VALIDATE
:
45907 case NB_EV_PREPARE
:
45910 /* TODO: implement me. */
45919 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/shutdown-threshold-pct
45921 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
45922 struct nb_cb_modify_args
*args
)
45924 switch (args
->event
) {
45925 case NB_EV_VALIDATE
:
45926 case NB_EV_PREPARE
:
45929 /* TODO: implement me. */
45936 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
45937 struct nb_cb_destroy_args
*args
)
45939 switch (args
->event
) {
45940 case NB_EV_VALIDATE
:
45941 case NB_EV_PREPARE
:
45944 /* TODO: implement me. */
45953 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-shutdown-threshold-pct
45955 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
45956 struct nb_cb_modify_args
*args
)
45958 switch (args
->event
) {
45959 case NB_EV_VALIDATE
:
45960 case NB_EV_PREPARE
:
45963 /* TODO: implement me. */
45970 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
45971 struct nb_cb_destroy_args
*args
)
45973 switch (args
->event
) {
45974 case NB_EV_VALIDATE
:
45975 case NB_EV_PREPARE
:
45978 /* TODO: implement me. */
45987 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tr-restart-timer
45989 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
45990 struct nb_cb_modify_args
*args
)
45992 switch (args
->event
) {
45993 case NB_EV_VALIDATE
:
45994 case NB_EV_PREPARE
:
45997 /* TODO: implement me. */
46004 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
46005 struct nb_cb_destroy_args
*args
)
46007 switch (args
->event
) {
46008 case NB_EV_VALIDATE
:
46009 case NB_EV_PREPARE
:
46012 /* TODO: implement me. */
46021 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-shutdown-threshold-pct
46023 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
46024 struct nb_cb_modify_args
*args
)
46026 switch (args
->event
) {
46027 case NB_EV_VALIDATE
:
46028 case NB_EV_PREPARE
:
46031 /* TODO: implement me. */
46038 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
46039 struct nb_cb_destroy_args
*args
)
46041 switch (args
->event
) {
46042 case NB_EV_VALIDATE
:
46043 case NB_EV_PREPARE
:
46046 /* TODO: implement me. */
46055 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/prefix-limit/direction-list/options/tw-warning-only
46057 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
46058 struct nb_cb_modify_args
*args
)
46060 switch (args
->event
) {
46061 case NB_EV_VALIDATE
:
46062 case NB_EV_PREPARE
:
46065 /* TODO: implement me. */
46072 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
46073 struct nb_cb_destroy_args
*args
)
46075 switch (args
->event
) {
46076 case NB_EV_VALIDATE
:
46077 case NB_EV_PREPARE
:
46080 /* TODO: implement me. */
46089 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self
46091 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
46092 struct nb_cb_modify_args
*args
)
46094 switch (args
->event
) {
46095 case NB_EV_VALIDATE
:
46096 case NB_EV_PREPARE
:
46100 return bgp_peer_group_afi_safi_flag_modify(
46101 args
, PEER_FLAG_NEXTHOP_SELF
,
46102 yang_dnode_get_bool(args
->dnode
, NULL
));
46112 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/nexthop-self/next-hop-self-force
46114 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
46115 struct nb_cb_modify_args
*args
)
46117 switch (args
->event
) {
46118 case NB_EV_VALIDATE
:
46119 case NB_EV_PREPARE
:
46123 return bgp_peer_group_afi_safi_flag_modify(
46124 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
46125 yang_dnode_get_bool(args
->dnode
, NULL
));
46135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all
46137 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
46138 struct nb_cb_modify_args
*args
)
46140 switch (args
->event
) {
46141 case NB_EV_VALIDATE
:
46142 case NB_EV_PREPARE
:
46146 return bgp_peer_group_afi_safi_flag_modify(
46147 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
46148 yang_dnode_get_bool(args
->dnode
, NULL
));
46158 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-all-replace
46160 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
46161 struct nb_cb_modify_args
*args
)
46163 switch (args
->event
) {
46164 case NB_EV_VALIDATE
:
46165 case NB_EV_PREPARE
:
46169 return bgp_peer_group_afi_safi_flag_modify(
46170 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
46171 yang_dnode_get_bool(args
->dnode
, NULL
));
46181 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as
46183 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
46184 struct nb_cb_modify_args
*args
)
46186 switch (args
->event
) {
46187 case NB_EV_VALIDATE
:
46188 case NB_EV_PREPARE
:
46192 return bgp_peer_group_afi_safi_flag_modify(
46193 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
46194 yang_dnode_get_bool(args
->dnode
, NULL
));
46204 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/private-as/remove-private-as-replace
46206 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
46207 struct nb_cb_modify_args
*args
)
46209 switch (args
->event
) {
46210 case NB_EV_VALIDATE
:
46211 case NB_EV_PREPARE
:
46215 return bgp_peer_group_afi_safi_flag_modify(
46216 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
46217 yang_dnode_get_bool(args
->dnode
, NULL
));
46227 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-reflector/route-reflector-client
46229 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
46230 struct nb_cb_modify_args
*args
)
46232 switch (args
->event
) {
46233 case NB_EV_VALIDATE
:
46234 case NB_EV_PREPARE
:
46238 return bgp_peer_group_afi_safi_flag_modify(
46239 args
, PEER_FLAG_REFLECTOR_CLIENT
,
46240 yang_dnode_get_bool(args
->dnode
, NULL
));
46250 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/route-server/route-server-client
46252 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
46253 struct nb_cb_modify_args
*args
)
46255 switch (args
->event
) {
46256 case NB_EV_VALIDATE
:
46257 case NB_EV_PREPARE
:
46261 return bgp_peer_group_afi_safi_flag_modify(
46262 args
, PEER_FLAG_RSERVER_CLIENT
,
46263 yang_dnode_get_bool(args
->dnode
, NULL
));
46273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-community
46275 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
46276 struct nb_cb_modify_args
*args
)
46278 switch (args
->event
) {
46279 case NB_EV_VALIDATE
:
46280 case NB_EV_PREPARE
:
46284 return bgp_peer_group_afi_safi_flag_modify(
46285 args
, PEER_FLAG_SEND_COMMUNITY
,
46286 yang_dnode_get_bool(args
->dnode
, NULL
));
46296 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-ext-community
46298 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
46299 struct nb_cb_modify_args
*args
)
46301 switch (args
->event
) {
46302 case NB_EV_VALIDATE
:
46303 case NB_EV_PREPARE
:
46307 return bgp_peer_group_afi_safi_flag_modify(
46308 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
46309 yang_dnode_get_bool(args
->dnode
, NULL
));
46319 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/send-community/send-large-community
46321 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
46322 struct nb_cb_modify_args
*args
)
46324 switch (args
->event
) {
46325 case NB_EV_VALIDATE
:
46326 case NB_EV_PREPARE
:
46330 return bgp_peer_group_afi_safi_flag_modify(
46331 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
46332 yang_dnode_get_bool(args
->dnode
, NULL
));
46342 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/soft-reconfiguration
46344 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
46345 struct nb_cb_modify_args
*args
)
46347 switch (args
->event
) {
46348 case NB_EV_VALIDATE
:
46349 case NB_EV_PREPARE
:
46353 return bgp_peer_group_afi_safi_flag_modify(
46354 args
, PEER_FLAG_SOFT_RECONFIG
,
46355 yang_dnode_get_bool(args
->dnode
, NULL
));
46365 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/weight/weight-attribute
46367 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
46368 struct nb_cb_modify_args
*args
)
46370 switch (args
->event
) {
46371 case NB_EV_VALIDATE
:
46372 case NB_EV_PREPARE
:
46376 return bgp_peer_group_afi_safi_weight_modify(args
);
46384 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
46385 struct nb_cb_destroy_args
*args
)
46387 switch (args
->event
) {
46388 case NB_EV_VALIDATE
:
46389 case NB_EV_PREPARE
:
46393 return bgp_peer_group_afi_safi_weight_destroy(args
);
46403 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/rmap-import
46405 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_modify(
46406 struct nb_cb_modify_args
*args
)
46408 switch (args
->event
) {
46409 case NB_EV_VALIDATE
:
46410 case NB_EV_PREPARE
:
46414 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
46420 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_destroy(
46421 struct nb_cb_destroy_args
*args
)
46423 switch (args
->event
) {
46424 case NB_EV_VALIDATE
:
46425 case NB_EV_PREPARE
:
46429 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
46437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/rmap-export
46439 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_modify(
46440 struct nb_cb_modify_args
*args
)
46442 switch (args
->event
) {
46443 case NB_EV_VALIDATE
:
46444 case NB_EV_PREPARE
:
46448 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
46454 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_destroy(
46455 struct nb_cb_destroy_args
*args
)
46457 switch (args
->event
) {
46458 case NB_EV_VALIDATE
:
46459 case NB_EV_PREPARE
:
46463 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
46471 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/plist-import
46473 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_modify(
46474 struct nb_cb_modify_args
*args
)
46476 switch (args
->event
) {
46477 case NB_EV_VALIDATE
:
46478 case NB_EV_PREPARE
:
46482 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
46488 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_destroy(
46489 struct nb_cb_destroy_args
*args
)
46491 switch (args
->event
) {
46492 case NB_EV_VALIDATE
:
46493 case NB_EV_PREPARE
:
46497 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
46505 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/plist-export
46507 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_modify(
46508 struct nb_cb_modify_args
*args
)
46510 switch (args
->event
) {
46511 case NB_EV_VALIDATE
:
46512 case NB_EV_PREPARE
:
46516 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
46522 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_destroy(
46523 struct nb_cb_destroy_args
*args
)
46525 switch (args
->event
) {
46526 case NB_EV_VALIDATE
:
46527 case NB_EV_PREPARE
:
46531 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
46539 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/access-list-import
46541 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_modify(
46542 struct nb_cb_modify_args
*args
)
46544 switch (args
->event
) {
46545 case NB_EV_VALIDATE
:
46546 case NB_EV_PREPARE
:
46549 /* TODO: implement me. */
46556 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_destroy(
46557 struct nb_cb_destroy_args
*args
)
46559 switch (args
->event
) {
46560 case NB_EV_VALIDATE
:
46561 case NB_EV_PREPARE
:
46564 /* TODO: implement me. */
46573 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/access-list-export
46575 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_modify(
46576 struct nb_cb_modify_args
*args
)
46578 switch (args
->event
) {
46579 case NB_EV_VALIDATE
:
46580 case NB_EV_PREPARE
:
46583 /* TODO: implement me. */
46590 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_destroy(
46591 struct nb_cb_destroy_args
*args
)
46593 switch (args
->event
) {
46594 case NB_EV_VALIDATE
:
46595 case NB_EV_PREPARE
:
46598 /* TODO: implement me. */
46607 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/as-path-filter-list-import
46609 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
46610 struct nb_cb_modify_args
*args
)
46612 switch (args
->event
) {
46613 case NB_EV_VALIDATE
:
46614 case NB_EV_PREPARE
:
46617 /* TODO: implement me. */
46624 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
46625 struct nb_cb_destroy_args
*args
)
46627 switch (args
->event
) {
46628 case NB_EV_VALIDATE
:
46629 case NB_EV_PREPARE
:
46632 /* TODO: implement me. */
46641 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/as-path-filter-list-export
46643 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
46644 struct nb_cb_modify_args
*args
)
46646 switch (args
->event
) {
46647 case NB_EV_VALIDATE
:
46648 case NB_EV_PREPARE
:
46651 /* TODO: implement me. */
46658 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
46659 struct nb_cb_destroy_args
*args
)
46661 switch (args
->event
) {
46662 case NB_EV_VALIDATE
:
46663 case NB_EV_PREPARE
:
46666 /* TODO: implement me. */
46675 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/unsuppress-map-import
46677 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_modify(
46678 struct nb_cb_modify_args
*args
)
46680 switch (args
->event
) {
46681 case NB_EV_VALIDATE
:
46682 case NB_EV_PREPARE
:
46685 /* TODO: implement me. */
46692 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
46693 struct nb_cb_destroy_args
*args
)
46695 switch (args
->event
) {
46696 case NB_EV_VALIDATE
:
46697 case NB_EV_PREPARE
:
46700 /* TODO: implement me. */
46709 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l3vpn-ipv6-unicast/filter-config/unsuppress-map-export
46711 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_modify(
46712 struct nb_cb_modify_args
*args
)
46714 switch (args
->event
) {
46715 case NB_EV_VALIDATE
:
46716 case NB_EV_PREPARE
:
46719 /* TODO: implement me. */
46726 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
46727 struct nb_cb_destroy_args
*args
)
46729 switch (args
->event
) {
46730 case NB_EV_VALIDATE
:
46731 case NB_EV_PREPARE
:
46734 /* TODO: implement me. */
46743 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-as
46745 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
46746 struct nb_cb_modify_args
*args
)
46748 switch (args
->event
) {
46749 case NB_EV_VALIDATE
:
46750 case NB_EV_PREPARE
:
46753 /* TODO: implement me. */
46760 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
46761 struct nb_cb_destroy_args
*args
)
46763 switch (args
->event
) {
46764 case NB_EV_VALIDATE
:
46765 case NB_EV_PREPARE
:
46768 /* TODO: implement me. */
46777 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/as-path-options/allow-own-origin-as
46779 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
46780 struct nb_cb_modify_args
*args
)
46782 switch (args
->event
) {
46783 case NB_EV_VALIDATE
:
46784 case NB_EV_PREPARE
:
46787 /* TODO: implement me. */
46794 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
46795 struct nb_cb_destroy_args
*args
)
46797 switch (args
->event
) {
46798 case NB_EV_VALIDATE
:
46799 case NB_EV_PREPARE
:
46802 /* TODO: implement me. */
46811 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/as-path-options/replace-peer-as
46813 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
46814 struct nb_cb_modify_args
*args
)
46816 switch (args
->event
) {
46817 case NB_EV_VALIDATE
:
46818 case NB_EV_PREPARE
:
46822 return bgp_peer_group_afi_safi_flag_modify(
46823 args
, PEER_FLAG_AS_OVERRIDE
,
46824 yang_dnode_get_bool(args
->dnode
, NULL
));
46834 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/as-path-unchanged
46836 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
46837 struct nb_cb_modify_args
*args
)
46839 switch (args
->event
) {
46840 case NB_EV_VALIDATE
:
46841 case NB_EV_PREPARE
:
46845 return bgp_peer_group_afi_safi_flag_modify(
46846 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
46847 yang_dnode_get_bool(args
->dnode
, NULL
));
46857 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/next-hop-unchanged
46859 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
46860 struct nb_cb_modify_args
*args
)
46862 switch (args
->event
) {
46863 case NB_EV_VALIDATE
:
46864 case NB_EV_PREPARE
:
46868 return bgp_peer_group_afi_safi_flag_modify(
46869 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
46870 yang_dnode_get_bool(args
->dnode
, NULL
));
46880 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/med-unchanged
46882 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
46883 struct nb_cb_modify_args
*args
)
46885 switch (args
->event
) {
46886 case NB_EV_VALIDATE
:
46887 case NB_EV_PREPARE
:
46891 return bgp_peer_group_afi_safi_flag_modify(
46892 args
, PEER_FLAG_MED_UNCHANGED
,
46893 yang_dnode_get_bool(args
->dnode
, NULL
));
46903 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self
46905 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
46906 struct nb_cb_modify_args
*args
)
46908 switch (args
->event
) {
46909 case NB_EV_VALIDATE
:
46910 case NB_EV_PREPARE
:
46914 return bgp_peer_group_afi_safi_flag_modify(
46915 args
, PEER_FLAG_NEXTHOP_SELF
,
46916 yang_dnode_get_bool(args
->dnode
, NULL
));
46926 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/nexthop-self/next-hop-self-force
46928 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
46929 struct nb_cb_modify_args
*args
)
46931 switch (args
->event
) {
46932 case NB_EV_VALIDATE
:
46933 case NB_EV_PREPARE
:
46937 return bgp_peer_group_afi_safi_flag_modify(
46938 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
46939 yang_dnode_get_bool(args
->dnode
, NULL
));
46949 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/route-reflector/route-reflector-client
46951 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
46952 struct nb_cb_modify_args
*args
)
46954 switch (args
->event
) {
46955 case NB_EV_VALIDATE
:
46956 case NB_EV_PREPARE
:
46960 return bgp_peer_group_afi_safi_flag_modify(
46961 args
, PEER_FLAG_REFLECTOR_CLIENT
,
46962 yang_dnode_get_bool(args
->dnode
, NULL
));
46972 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/route-server/route-server-client
46974 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
46975 struct nb_cb_modify_args
*args
)
46977 switch (args
->event
) {
46978 case NB_EV_VALIDATE
:
46979 case NB_EV_PREPARE
:
46983 return bgp_peer_group_afi_safi_flag_modify(
46984 args
, PEER_FLAG_RSERVER_CLIENT
,
46985 yang_dnode_get_bool(args
->dnode
, NULL
));
46995 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
46997 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
46998 struct nb_cb_modify_args
*args
)
47000 switch (args
->event
) {
47001 case NB_EV_VALIDATE
:
47002 case NB_EV_PREPARE
:
47006 return bgp_peer_group_afi_safi_flag_modify(
47007 args
, PEER_FLAG_SOFT_RECONFIG
,
47008 yang_dnode_get_bool(args
->dnode
, NULL
));
47018 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/route-reflector/route-reflector-client
47020 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
47021 struct nb_cb_modify_args
*args
)
47023 switch (args
->event
) {
47024 case NB_EV_VALIDATE
:
47025 case NB_EV_PREPARE
:
47029 return bgp_peer_group_afi_safi_flag_modify(
47030 args
, PEER_FLAG_REFLECTOR_CLIENT
,
47031 yang_dnode_get_bool(args
->dnode
, NULL
));
47041 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/route-server/route-server-client
47043 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
47044 struct nb_cb_modify_args
*args
)
47046 switch (args
->event
) {
47047 case NB_EV_VALIDATE
:
47048 case NB_EV_PREPARE
:
47052 return bgp_peer_group_afi_safi_flag_modify(
47053 args
, PEER_FLAG_RSERVER_CLIENT
,
47054 yang_dnode_get_bool(args
->dnode
, NULL
));
47064 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
47066 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
47067 struct nb_cb_modify_args
*args
)
47069 switch (args
->event
) {
47070 case NB_EV_VALIDATE
:
47071 case NB_EV_PREPARE
:
47075 return bgp_peer_group_afi_safi_flag_modify(
47076 args
, PEER_FLAG_SOFT_RECONFIG
,
47077 yang_dnode_get_bool(args
->dnode
, NULL
));
47087 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-import
47089 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
47090 struct nb_cb_modify_args
*args
)
47092 switch (args
->event
) {
47093 case NB_EV_VALIDATE
:
47094 case NB_EV_PREPARE
:
47098 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
47104 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
47105 struct nb_cb_destroy_args
*args
)
47107 switch (args
->event
) {
47108 case NB_EV_VALIDATE
:
47109 case NB_EV_PREPARE
:
47113 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
47121 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-export
47123 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
47124 struct nb_cb_modify_args
*args
)
47126 switch (args
->event
) {
47127 case NB_EV_VALIDATE
:
47128 case NB_EV_PREPARE
:
47132 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
47138 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
47139 struct nb_cb_destroy_args
*args
)
47141 switch (args
->event
) {
47142 case NB_EV_VALIDATE
:
47143 case NB_EV_PREPARE
:
47147 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
47155 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-import
47157 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
47158 struct nb_cb_modify_args
*args
)
47160 switch (args
->event
) {
47161 case NB_EV_VALIDATE
:
47162 case NB_EV_PREPARE
:
47166 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
47172 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
47173 struct nb_cb_destroy_args
*args
)
47175 switch (args
->event
) {
47176 case NB_EV_VALIDATE
:
47177 case NB_EV_PREPARE
:
47181 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
47189 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-export
47191 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
47192 struct nb_cb_modify_args
*args
)
47194 switch (args
->event
) {
47195 case NB_EV_VALIDATE
:
47196 case NB_EV_PREPARE
:
47200 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
47206 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
47207 struct nb_cb_destroy_args
*args
)
47209 switch (args
->event
) {
47210 case NB_EV_VALIDATE
:
47211 case NB_EV_PREPARE
:
47215 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
47223 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-import
47225 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
47226 struct nb_cb_modify_args
*args
)
47228 switch (args
->event
) {
47229 case NB_EV_VALIDATE
:
47230 case NB_EV_PREPARE
:
47233 /* TODO: implement me. */
47240 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
47241 struct nb_cb_destroy_args
*args
)
47243 switch (args
->event
) {
47244 case NB_EV_VALIDATE
:
47245 case NB_EV_PREPARE
:
47248 /* TODO: implement me. */
47257 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/access-list-export
47259 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
47260 struct nb_cb_modify_args
*args
)
47262 switch (args
->event
) {
47263 case NB_EV_VALIDATE
:
47264 case NB_EV_PREPARE
:
47267 /* TODO: implement me. */
47274 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
47275 struct nb_cb_destroy_args
*args
)
47277 switch (args
->event
) {
47278 case NB_EV_VALIDATE
:
47279 case NB_EV_PREPARE
:
47282 /* TODO: implement me. */
47291 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-import
47293 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
47294 struct nb_cb_modify_args
*args
)
47296 switch (args
->event
) {
47297 case NB_EV_VALIDATE
:
47298 case NB_EV_PREPARE
:
47301 /* TODO: implement me. */
47308 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
47309 struct nb_cb_destroy_args
*args
)
47311 switch (args
->event
) {
47312 case NB_EV_VALIDATE
:
47313 case NB_EV_PREPARE
:
47316 /* TODO: implement me. */
47325 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/as-path-filter-list-export
47327 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
47328 struct nb_cb_modify_args
*args
)
47330 switch (args
->event
) {
47331 case NB_EV_VALIDATE
:
47332 case NB_EV_PREPARE
:
47335 /* TODO: implement me. */
47342 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
47343 struct nb_cb_destroy_args
*args
)
47345 switch (args
->event
) {
47346 case NB_EV_VALIDATE
:
47347 case NB_EV_PREPARE
:
47350 /* TODO: implement me. */
47359 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-import
47361 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
47362 struct nb_cb_modify_args
*args
)
47364 switch (args
->event
) {
47365 case NB_EV_VALIDATE
:
47366 case NB_EV_PREPARE
:
47369 /* TODO: implement me. */
47376 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
47377 struct nb_cb_destroy_args
*args
)
47379 switch (args
->event
) {
47380 case NB_EV_VALIDATE
:
47381 case NB_EV_PREPARE
:
47384 /* TODO: implement me. */
47393 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/filter-config/unsuppress-map-export
47395 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
47396 struct nb_cb_modify_args
*args
)
47398 switch (args
->event
) {
47399 case NB_EV_VALIDATE
:
47400 case NB_EV_PREPARE
:
47403 /* TODO: implement me. */
47410 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
47411 struct nb_cb_destroy_args
*args
)
47413 switch (args
->event
) {
47414 case NB_EV_VALIDATE
:
47415 case NB_EV_PREPARE
:
47418 /* TODO: implement me. */
47427 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/route-reflector/route-reflector-client
47429 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
47430 struct nb_cb_modify_args
*args
)
47432 switch (args
->event
) {
47433 case NB_EV_VALIDATE
:
47434 case NB_EV_PREPARE
:
47438 return bgp_peer_group_afi_safi_flag_modify(
47439 args
, PEER_FLAG_REFLECTOR_CLIENT
,
47440 yang_dnode_get_bool(args
->dnode
, NULL
));
47450 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/route-server/route-server-client
47452 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
47453 struct nb_cb_modify_args
*args
)
47455 switch (args
->event
) {
47456 case NB_EV_VALIDATE
:
47457 case NB_EV_PREPARE
:
47461 return bgp_peer_group_afi_safi_flag_modify(
47462 args
, PEER_FLAG_RSERVER_CLIENT
,
47463 yang_dnode_get_bool(args
->dnode
, NULL
));
47473 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
47475 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
47476 struct nb_cb_modify_args
*args
)
47478 switch (args
->event
) {
47479 case NB_EV_VALIDATE
:
47480 case NB_EV_PREPARE
:
47484 return bgp_peer_group_afi_safi_flag_modify(
47485 args
, PEER_FLAG_SOFT_RECONFIG
,
47486 yang_dnode_get_bool(args
->dnode
, NULL
));
47496 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-import
47498 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
47499 struct nb_cb_modify_args
*args
)
47501 switch (args
->event
) {
47502 case NB_EV_VALIDATE
:
47503 case NB_EV_PREPARE
:
47507 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
47513 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
47514 struct nb_cb_destroy_args
*args
)
47516 switch (args
->event
) {
47517 case NB_EV_VALIDATE
:
47518 case NB_EV_PREPARE
:
47522 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
47530 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-export
47532 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
47533 struct nb_cb_modify_args
*args
)
47535 switch (args
->event
) {
47536 case NB_EV_VALIDATE
:
47537 case NB_EV_PREPARE
:
47541 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
47547 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
47548 struct nb_cb_destroy_args
*args
)
47550 switch (args
->event
) {
47551 case NB_EV_VALIDATE
:
47552 case NB_EV_PREPARE
:
47556 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
47564 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-import
47566 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
47567 struct nb_cb_modify_args
*args
)
47569 switch (args
->event
) {
47570 case NB_EV_VALIDATE
:
47571 case NB_EV_PREPARE
:
47575 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
47581 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
47582 struct nb_cb_destroy_args
*args
)
47584 switch (args
->event
) {
47585 case NB_EV_VALIDATE
:
47586 case NB_EV_PREPARE
:
47590 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
47598 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-export
47600 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
47601 struct nb_cb_modify_args
*args
)
47603 switch (args
->event
) {
47604 case NB_EV_VALIDATE
:
47605 case NB_EV_PREPARE
:
47609 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
47615 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
47616 struct nb_cb_destroy_args
*args
)
47618 switch (args
->event
) {
47619 case NB_EV_VALIDATE
:
47620 case NB_EV_PREPARE
:
47624 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
47632 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-import
47634 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
47635 struct nb_cb_modify_args
*args
)
47637 switch (args
->event
) {
47638 case NB_EV_VALIDATE
:
47639 case NB_EV_PREPARE
:
47642 /* TODO: implement me. */
47649 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
47650 struct nb_cb_destroy_args
*args
)
47652 switch (args
->event
) {
47653 case NB_EV_VALIDATE
:
47654 case NB_EV_PREPARE
:
47657 /* TODO: implement me. */
47666 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/access-list-export
47668 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
47669 struct nb_cb_modify_args
*args
)
47671 switch (args
->event
) {
47672 case NB_EV_VALIDATE
:
47673 case NB_EV_PREPARE
:
47676 /* TODO: implement me. */
47683 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
47684 struct nb_cb_destroy_args
*args
)
47686 switch (args
->event
) {
47687 case NB_EV_VALIDATE
:
47688 case NB_EV_PREPARE
:
47691 /* TODO: implement me. */
47700 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-import
47702 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
47703 struct nb_cb_modify_args
*args
)
47705 switch (args
->event
) {
47706 case NB_EV_VALIDATE
:
47707 case NB_EV_PREPARE
:
47710 /* TODO: implement me. */
47717 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
47718 struct nb_cb_destroy_args
*args
)
47720 switch (args
->event
) {
47721 case NB_EV_VALIDATE
:
47722 case NB_EV_PREPARE
:
47725 /* TODO: implement me. */
47734 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/as-path-filter-list-export
47736 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
47737 struct nb_cb_modify_args
*args
)
47739 switch (args
->event
) {
47740 case NB_EV_VALIDATE
:
47741 case NB_EV_PREPARE
:
47744 /* TODO: implement me. */
47751 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
47752 struct nb_cb_destroy_args
*args
)
47754 switch (args
->event
) {
47755 case NB_EV_VALIDATE
:
47756 case NB_EV_PREPARE
:
47759 /* TODO: implement me. */
47768 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-import
47770 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
47771 struct nb_cb_modify_args
*args
)
47773 switch (args
->event
) {
47774 case NB_EV_VALIDATE
:
47775 case NB_EV_PREPARE
:
47778 /* TODO: implement me. */
47785 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
47786 struct nb_cb_destroy_args
*args
)
47788 switch (args
->event
) {
47789 case NB_EV_VALIDATE
:
47790 case NB_EV_PREPARE
:
47793 /* TODO: implement me. */
47802 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/filter-config/unsuppress-map-export
47804 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
47805 struct nb_cb_modify_args
*args
)
47807 switch (args
->event
) {
47808 case NB_EV_VALIDATE
:
47809 case NB_EV_PREPARE
:
47812 /* TODO: implement me. */
47819 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
47820 struct nb_cb_destroy_args
*args
)
47822 switch (args
->event
) {
47823 case NB_EV_VALIDATE
:
47824 case NB_EV_PREPARE
:
47827 /* TODO: implement me. */