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 DEFINE_HOOK(bgp_snmp_init_stats
, (struct bgp
*bgp
), (bgp
));
37 FRR_CFG_DEFAULT_ULONG(BGP_CONNECT_RETRY
,
38 { .val_ulong
= 10, .match_profile
= "datacenter", },
41 FRR_CFG_DEFAULT_ULONG(BGP_HOLDTIME
,
42 { .val_ulong
= 9, .match_profile
= "datacenter", },
45 FRR_CFG_DEFAULT_ULONG(BGP_KEEPALIVE
,
46 { .val_ulong
= 3, .match_profile
= "datacenter", },
50 int routing_control_plane_protocols_name_validate(
51 struct nb_cb_create_args
*args
)
55 name
= yang_dnode_get_string(args
->dnode
, "./name");
56 if (!strmatch(name
, "bgp")) {
57 snprintf(args
->errmsg
, args
->errmsg_len
,
58 "per vrf only one bgp instance is supported.");
59 return NB_ERR_VALIDATION
;
66 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp
68 int bgp_router_create(struct nb_cb_create_args
*args
)
70 const struct lyd_node
*vrf_dnode
;
73 const char *name
= NULL
;
75 enum bgp_instance_type inst_type
;
76 bool is_view_inst
= false;
80 inst_type
= BGP_INSTANCE_TYPE_DEFAULT
;
82 switch (args
->event
) {
88 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
89 "control-plane-protocol");
90 vrf_name
= yang_dnode_get_string(vrf_dnode
, "./vrf");
92 if (strmatch(vrf_name
, VRF_DEFAULT_NAME
)) {
96 inst_type
= BGP_INSTANCE_TYPE_VRF
;
99 as
= yang_dnode_get_uint32(args
->dnode
, "./global/local-as");
101 is_view_inst
= yang_dnode_get_bool(
102 args
->dnode
, "./global/instance-type-view");
104 inst_type
= BGP_INSTANCE_TYPE_VIEW
;
106 if (inst_type
== BGP_INSTANCE_TYPE_DEFAULT
)
107 is_new_bgp
= (bgp_lookup(as
, name
) == NULL
);
109 ret
= bgp_get_vty(&bgp
, &as
, name
, inst_type
);
110 if (ret
== BGP_ERR_INSTANCE_MISMATCH
) {
112 args
->errmsg
, args
->errmsg_len
,
113 "BGP instance name and AS number mismatch\nBGP instance is already running; AS is %u, input-as %u",
116 return NB_ERR_INCONSISTENCY
;
119 * If we just instantiated the default instance, complete
120 * any pending VRF-VPN leaking that was configured via
121 * earlier "router bgp X vrf FOO" blocks.
123 if (is_new_bgp
&& inst_type
== BGP_INSTANCE_TYPE_DEFAULT
)
124 vpn_leak_postchange_all();
126 if (inst_type
== BGP_INSTANCE_TYPE_VRF
)
127 bgp_vpn_leak_export(bgp
);
129 UNSET_FLAG(bgp
->vrf_flags
, BGP_VRF_AUTO
);
131 nb_running_set_entry(args
->dnode
, bgp
);
138 int bgp_router_destroy(struct nb_cb_destroy_args
*args
)
142 switch (args
->event
) {
144 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
150 snprintf(args
->errmsg
, args
->errmsg_len
,
151 "Please unconfigure l3vni %u", bgp
->l3vni
);
152 return NB_ERR_VALIDATION
;
155 /* Cannot delete default instance if vrf instances exist */
156 if (bgp
->inst_type
== BGP_INSTANCE_TYPE_DEFAULT
) {
157 struct listnode
*node
;
160 for (ALL_LIST_ELEMENTS_RO(bm
->bgp
, node
, tmp_bgp
)) {
161 if (tmp_bgp
->inst_type
162 == BGP_INSTANCE_TYPE_VRF
) {
164 args
->errmsg
, args
->errmsg_len
,
165 "Cannot delete default BGP instance. Dependent VRF instances exist\n");
166 return NB_ERR_VALIDATION
;
176 bgp
= nb_running_unset_entry(args
->dnode
);
188 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/local-as
190 int bgp_global_local_as_modify(struct nb_cb_modify_args
*args
)
194 const struct lyd_node
*vrf_dnode
;
195 const char *vrf_name
;
196 const char *name
= NULL
;
197 enum bgp_instance_type inst_type
;
199 bool is_view_inst
= false;
201 switch (args
->event
) {
203 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
205 inst_type
= BGP_INSTANCE_TYPE_DEFAULT
;
207 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
208 "control-plane-protocol");
209 vrf_name
= yang_dnode_get_string(vrf_dnode
, "./vrf");
211 if (strmatch(vrf_name
, VRF_DEFAULT_NAME
)) {
215 inst_type
= BGP_INSTANCE_TYPE_VRF
;
218 is_view_inst
= yang_dnode_get_bool(args
->dnode
,
219 "../instance-type-view");
221 inst_type
= BGP_INSTANCE_TYPE_VIEW
;
223 ret
= bgp_lookup_by_as_name_type(&bgp
, &as
, name
, inst_type
);
224 if (ret
== BGP_ERR_INSTANCE_MISMATCH
) {
226 args
->errmsg
, args
->errmsg_len
,
227 "BGP instance name and AS number mismatch\nBGP instance is already running; input-as %u",
230 return NB_ERR_VALIDATION
;
238 /* NOTE: handled in bgp_global_create callback, the as change
239 * will be rejected in validate phase.
241 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
242 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
244 snprintf(args
->errmsg
, args
->errmsg_len
,
245 "BGP instance is already running; AS is %u",
247 return NB_ERR_INCONSISTENCY
;
257 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/router-id
259 int bgp_global_router_id_modify(struct nb_cb_modify_args
*args
)
261 if (args
->event
!= NB_EV_APPLY
)
265 struct in_addr router_id
;
267 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
268 yang_dnode_get_ipv4(&router_id
, args
->dnode
, NULL
);
269 bgp_router_id_static_set(bgp
, router_id
);
274 int bgp_global_router_id_destroy(struct nb_cb_destroy_args
*args
)
276 if (args
->event
!= NB_EV_APPLY
)
280 struct in_addr router_id
;
282 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
284 router_id
.s_addr
= INADDR_ANY
;
285 bgp_router_id_static_set(bgp
, router_id
);
292 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/confederation/identifier
294 int bgp_global_confederation_identifier_modify(struct nb_cb_modify_args
*args
)
299 switch (args
->event
) {
301 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
303 snprintf(args
->errmsg
, args
->errmsg_len
, "Invalid AS.");
304 return NB_ERR_VALIDATION
;
312 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
314 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
316 bgp_confederation_id_set(bgp
, as
);
324 int bgp_global_confederation_identifier_destroy(struct nb_cb_destroy_args
*args
)
326 if (args
->event
!= NB_EV_APPLY
)
331 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
333 bgp_confederation_id_unset(bgp
);
340 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/confederation/member-as
342 int bgp_global_confederation_member_as_create(struct nb_cb_create_args
*args
)
348 switch (args
->event
) {
350 my_as
= yang_dnode_get_uint32(args
->dnode
,
351 "../../../global/local-as");
352 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
355 args
->errmsg
, args
->errmsg_len
,
356 "Local member-AS %u not allowed in confed peer list",
358 return NB_ERR_VALIDATION
;
366 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
367 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
369 ret
= bgp_confederation_peers_add(bgp
, as
);
370 if (ret
== BGP_ERR_INVALID_AS
) {
372 args
->errmsg
, args
->errmsg_len
,
373 "Local member-AS not alloed in confed peer list");
374 return NB_ERR_INCONSISTENCY
;
383 int bgp_global_confederation_member_as_destroy(struct nb_cb_destroy_args
*args
)
385 if (args
->event
!= NB_EV_APPLY
)
391 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
392 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
394 bgp_confederation_peers_remove(bgp
, as
);
401 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config
403 void bgp_global_med_config_apply_finish(struct nb_cb_apply_finish_args
*args
)
407 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
409 bgp_maxmed_update(bgp
);
414 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/enable-med-admin
416 int bgp_global_med_config_enable_med_admin_modify(
417 struct nb_cb_modify_args
*args
)
419 if (args
->event
!= NB_EV_APPLY
)
424 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
426 bgp
->v_maxmed_admin
= yang_dnode_get_bool(args
->dnode
, NULL
);
433 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-admin
435 int bgp_global_med_config_max_med_admin_modify(struct nb_cb_modify_args
*args
)
438 uint32_t med_admin_val
;
440 switch (args
->event
) {
442 med_admin_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
444 /* enable_med_admin is required to be enabled for max-med-admin
447 if (med_admin_val
!= BGP_MAXMED_VALUE_DEFAULT
448 && !yang_dnode_get_bool(args
->dnode
,
449 "../enable-med-admin")) {
450 snprintf(args
->errmsg
, args
->errmsg_len
,
451 "enable med admin is not set");
452 return NB_ERR_VALIDATION
;
460 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
462 med_admin_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
464 bgp
->maxmed_admin_value
= med_admin_val
;
474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-onstart-up-time
476 int bgp_global_med_config_max_med_onstart_up_time_modify(
477 struct nb_cb_modify_args
*args
)
481 switch (args
->event
) {
487 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
489 bgp
->v_maxmed_onstartup
=
490 yang_dnode_get_uint32(args
->dnode
, NULL
);
498 int bgp_global_med_config_max_med_onstart_up_time_destroy(
499 struct nb_cb_destroy_args
*args
)
503 switch (args
->event
) {
509 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
511 /* Cancel max-med onstartup if its on */
512 if (bgp
->t_maxmed_onstartup
) {
513 THREAD_OFF(bgp
->t_maxmed_onstartup
);
514 bgp
->maxmed_onstartup_over
= 1;
517 bgp
->v_maxmed_onstartup
= BGP_MAXMED_ONSTARTUP_UNCONFIGURED
;
518 /* Resetting onstartup value as part of dependent node is
521 bgp
->maxmed_onstartup_value
= BGP_MAXMED_VALUE_DEFAULT
;
531 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/med-config/max-med-onstart-up-value
533 int bgp_global_med_config_max_med_onstart_up_value_modify(
534 struct nb_cb_modify_args
*args
)
537 uint32_t onstartup_val
;
539 switch (args
->event
) {
541 onstartup_val
= yang_dnode_get_uint32(args
->dnode
, NULL
);
543 if (!yang_dnode_exists(args
->dnode
,
544 "../max-med-onstart-up-time")
545 && onstartup_val
!= BGP_MAXMED_VALUE_DEFAULT
) {
546 snprintf(args
->errmsg
, args
->errmsg_len
,
547 "max-med-onstart-up-time is not set.");
548 return NB_ERR_VALIDATION
;
556 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
558 bgp
->maxmed_onstartup_value
=
559 yang_dnode_get_uint32(args
->dnode
, NULL
);
569 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/route-reflector-cluster-id
571 int bgp_global_route_reflector_route_reflector_cluster_id_modify(
572 struct nb_cb_modify_args
*args
)
574 if (args
->event
!= NB_EV_APPLY
)
578 struct in_addr cluster_id
;
579 const struct lyd_node_leaf_list
*dleaf
;
581 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
583 dleaf
= (const struct lyd_node_leaf_list
*)args
->dnode
;
584 if (dleaf
->value_type
== LY_TYPE_STRING
)
585 yang_dnode_get_ipv4(&cluster_id
, args
->dnode
, NULL
);
587 (void)inet_aton(dleaf
->value_str
, &cluster_id
);
589 bgp_cluster_id_set(bgp
, &cluster_id
);
591 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
592 return NB_ERR_INCONSISTENCY
;
597 int bgp_global_route_reflector_route_reflector_cluster_id_destroy(
598 struct nb_cb_destroy_args
*args
)
600 if (args
->event
!= NB_EV_APPLY
)
605 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
607 bgp_cluster_id_unset(bgp
);
609 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
610 return NB_ERR_INCONSISTENCY
;
617 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/no-client-reflect
619 int bgp_global_route_reflector_no_client_reflect_modify(
620 struct nb_cb_modify_args
*args
)
622 if (args
->event
!= NB_EV_APPLY
)
627 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
629 if (yang_dnode_get_bool(args
->dnode
, NULL
))
630 SET_FLAG(bgp
->flags
, BGP_FLAG_NO_CLIENT_TO_CLIENT
);
632 UNSET_FLAG(bgp
->flags
, BGP_FLAG_NO_CLIENT_TO_CLIENT
);
634 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
635 return NB_ERR_INCONSISTENCY
;
642 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-reflector/allow-outbound-policy
644 int bgp_global_route_reflector_allow_outbound_policy_modify(
645 struct nb_cb_modify_args
*args
)
647 if (args
->event
!= NB_EV_APPLY
)
652 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
654 if (yang_dnode_get_bool(args
->dnode
, NULL
))
655 SET_FLAG(bgp
->flags
, BGP_FLAG_RR_ALLOW_OUTBOUND_POLICY
);
657 UNSET_FLAG(bgp
->flags
, BGP_FLAG_RR_ALLOW_OUTBOUND_POLICY
);
659 update_group_announce_rrclients(bgp
);
661 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
662 return NB_ERR_INCONSISTENCY
;
669 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options
671 void bgp_global_route_selection_options_apply_finish(
672 struct nb_cb_apply_finish_args
*args
)
676 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
678 bgp_recalculate_all_bestpaths(bgp
);
683 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/always-compare-med
685 int bgp_global_route_selection_options_always_compare_med_modify(
686 struct nb_cb_modify_args
*args
)
688 if (args
->event
!= NB_EV_APPLY
)
693 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
695 if (yang_dnode_get_bool(args
->dnode
, NULL
))
696 SET_FLAG(bgp
->flags
, BGP_FLAG_ALWAYS_COMPARE_MED
);
698 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ALWAYS_COMPARE_MED
);
706 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/deterministic-med
708 int bgp_global_route_selection_options_deterministic_med_modify(
709 struct nb_cb_modify_args
*args
)
712 int bestpath_per_as_used
;
716 struct listnode
*node
;
718 switch (args
->event
) {
720 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
725 /* for deconfiguring deterministic-med case */
726 if (!yang_dnode_get_bool(args
->dnode
, NULL
)
727 && CHECK_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
)) {
728 bestpath_per_as_used
= 0;
730 for (ALL_LIST_ELEMENTS_RO(bgp
->peer
, node
, peer
)) {
731 FOREACH_AFI_SAFI (afi
, safi
)
732 if (bgp_addpath_dmed_required(
733 peer
->addpath_type
[afi
]
735 bestpath_per_as_used
= 1;
739 if (bestpath_per_as_used
)
743 if (bestpath_per_as_used
) {
745 args
->errmsg
, args
->errmsg_len
,
746 "bgp deterministic-med cannot be disabled while addpath-tx-bestpath-per-AS is in use");
747 return NB_ERR_VALIDATION
;
756 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
758 if (yang_dnode_get_bool(args
->dnode
, NULL
))
759 SET_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
);
761 UNSET_FLAG(bgp
->flags
, BGP_FLAG_DETERMINISTIC_MED
);
771 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/confed-med
773 int bgp_global_route_selection_options_confed_med_modify(
774 struct nb_cb_modify_args
*args
)
776 if (args
->event
!= NB_EV_APPLY
)
781 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
783 if (yang_dnode_get_bool(args
->dnode
, NULL
))
784 SET_FLAG(bgp
->flags
, BGP_FLAG_MED_CONFED
);
786 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MED_CONFED
);
793 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/missing-as-worst-med
795 int bgp_global_route_selection_options_missing_as_worst_med_modify(
796 struct nb_cb_modify_args
*args
)
798 if (args
->event
!= NB_EV_APPLY
)
803 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
805 if (yang_dnode_get_bool(args
->dnode
, NULL
))
806 SET_FLAG(bgp
->flags
, BGP_FLAG_MED_MISSING_AS_WORST
);
808 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MED_MISSING_AS_WORST
);
815 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/aspath-confed
817 int bgp_global_route_selection_options_aspath_confed_modify(
818 struct nb_cb_modify_args
*args
)
820 switch (args
->event
) {
825 /* TODO: implement me. */
834 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/ignore-as-path-length
836 int bgp_global_route_selection_options_ignore_as_path_length_modify(
837 struct nb_cb_modify_args
*args
)
839 if (args
->event
!= NB_EV_APPLY
)
844 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
846 if (yang_dnode_get_bool(args
->dnode
, NULL
))
847 SET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_IGNORE
);
849 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_IGNORE
);
856 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/external-compare-router-id
858 int bgp_global_route_selection_options_external_compare_router_id_modify(
859 struct nb_cb_modify_args
*args
)
861 if (args
->event
!= NB_EV_APPLY
)
866 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
868 if (yang_dnode_get_bool(args
->dnode
, NULL
))
869 SET_FLAG(bgp
->flags
, BGP_FLAG_COMPARE_ROUTER_ID
);
871 UNSET_FLAG(bgp
->flags
, BGP_FLAG_COMPARE_ROUTER_ID
);
878 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/allow-multiple-as
880 int bgp_global_route_selection_options_allow_multiple_as_modify(
881 struct nb_cb_modify_args
*args
)
885 switch (args
->event
) {
891 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
893 if (yang_dnode_get_bool(args
->dnode
, NULL
)) {
894 SET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_MULTIPATH_RELAX
);
895 if (yang_dnode_get_bool(args
->dnode
,
896 "../multi-path-as-set")) {
898 BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
900 UNSET_FLAG(bgp
->flags
,
901 BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
904 UNSET_FLAG(bgp
->flags
, BGP_FLAG_ASPATH_MULTIPATH_RELAX
);
906 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
917 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/route-selection-options/multi-path-as-set
919 int bgp_global_route_selection_options_multi_path_as_set_modify(
920 struct nb_cb_modify_args
*args
)
924 switch (args
->event
) {
930 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
931 if (yang_dnode_get_bool(args
->dnode
, NULL
))
932 SET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
934 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
941 int bgp_global_route_selection_options_multi_path_as_set_destroy(
942 struct nb_cb_destroy_args
*args
)
946 switch (args
->event
) {
952 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
953 /* Only unset if it set, it is possible allow_multiple_as_modify
956 if (CHECK_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
)) {
957 UNSET_FLAG(bgp
->flags
, BGP_FLAG_MULTIPATH_RELAX_AS_SET
);
959 bgp_recalculate_all_bestpaths(bgp
);
970 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/dynamic-neighbors-limit
972 int bgp_global_global_neighbor_config_dynamic_neighbors_limit_modify(
973 struct nb_cb_modify_args
*args
)
975 if (args
->event
!= NB_EV_APPLY
)
979 uint32_t listen_limit
;
981 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
983 listen_limit
= yang_dnode_get_uint32(args
->dnode
, NULL
);
985 bgp_listen_limit_set(bgp
, listen_limit
);
990 int bgp_global_global_neighbor_config_dynamic_neighbors_limit_destroy(
991 struct nb_cb_destroy_args
*args
)
993 if (args
->event
!= NB_EV_APPLY
)
998 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1000 bgp_listen_limit_unset(bgp
);
1007 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/log-neighbor-changes
1009 int bgp_global_global_neighbor_config_log_neighbor_changes_modify(
1010 struct nb_cb_modify_args
*args
)
1012 if (args
->event
!= NB_EV_APPLY
)
1017 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1019 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1020 SET_FLAG(bgp
->flags
, BGP_FLAG_LOG_NEIGHBOR_CHANGES
);
1022 UNSET_FLAG(bgp
->flags
, BGP_FLAG_LOG_NEIGHBOR_CHANGES
);
1029 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/packet-quanta-config/wpkt-quanta
1031 int bgp_global_global_neighbor_config_packet_quanta_config_wpkt_quanta_modify(
1032 struct nb_cb_modify_args
*args
)
1034 if (args
->event
!= NB_EV_APPLY
)
1040 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1042 quanta
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1044 if (atomic_load_explicit(&bgp
->wpkt_quanta
, memory_order_relaxed
)
1045 == BGP_WRITE_PACKET_MAX
)
1046 bgp_wpkt_quanta_config_vty(bgp
, quanta
, true);
1048 bgp_wpkt_quanta_config_vty(bgp
, quanta
, false);
1055 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-neighbor-config/packet-quanta-config/rpkt-quanta
1057 int bgp_global_global_neighbor_config_packet_quanta_config_rpkt_quanta_modify(
1058 struct nb_cb_modify_args
*args
)
1060 if (args
->event
!= NB_EV_APPLY
)
1066 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1068 quanta
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1070 if (atomic_load_explicit(&bgp
->rpkt_quanta
, memory_order_relaxed
)
1071 == BGP_READ_PACKET_MAX
)
1072 bgp_rpkt_quanta_config_vty(bgp
, quanta
, true);
1074 bgp_rpkt_quanta_config_vty(bgp
, quanta
, false);
1081 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/enabled
1083 int bgp_global_graceful_restart_enabled_modify(struct nb_cb_modify_args
*args
)
1085 switch (args
->event
) {
1086 case NB_EV_VALIDATE
:
1090 /* TODO: implement me. */
1097 int bgp_global_graceful_restart_enabled_destroy(struct nb_cb_destroy_args
*args
)
1099 switch (args
->event
) {
1100 case NB_EV_VALIDATE
:
1104 /* TODO: implement me. */
1113 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/graceful-restart-disable
1115 int bgp_global_graceful_restart_graceful_restart_disable_modify(
1116 struct nb_cb_modify_args
*args
)
1118 switch (args
->event
) {
1119 case NB_EV_VALIDATE
:
1123 /* TODO: implement me. */
1130 int bgp_global_graceful_restart_graceful_restart_disable_destroy(
1131 struct nb_cb_destroy_args
*args
)
1133 switch (args
->event
) {
1134 case NB_EV_VALIDATE
:
1138 /* TODO: implement me. */
1147 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/preserve-fw-entry
1149 int bgp_global_graceful_restart_preserve_fw_entry_modify(
1150 struct nb_cb_modify_args
*args
)
1152 switch (args
->event
) {
1153 case NB_EV_VALIDATE
:
1157 /* TODO: implement me. */
1166 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/restart-time
1168 int bgp_global_graceful_restart_restart_time_modify(
1169 struct nb_cb_modify_args
*args
)
1171 switch (args
->event
) {
1172 case NB_EV_VALIDATE
:
1176 /* TODO: implement me. */
1185 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/stale-routes-time
1187 int bgp_global_graceful_restart_stale_routes_time_modify(
1188 struct nb_cb_modify_args
*args
)
1190 switch (args
->event
) {
1191 case NB_EV_VALIDATE
:
1195 /* TODO: implement me. */
1204 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/selection-deferral-time
1206 int bgp_global_graceful_restart_selection_deferral_time_modify(
1207 struct nb_cb_modify_args
*args
)
1209 switch (args
->event
) {
1210 case NB_EV_VALIDATE
:
1214 /* TODO: implement me. */
1223 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-restart/rib-stale-time
1225 int bgp_global_graceful_restart_rib_stale_time_modify(
1226 struct nb_cb_modify_args
*args
)
1228 switch (args
->event
) {
1229 case NB_EV_VALIDATE
:
1233 /* TODO: implement me. */
1242 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-update-group-config/subgroup-pkt-queue-size
1244 int bgp_global_global_update_group_config_subgroup_pkt_queue_size_modify(
1245 struct nb_cb_modify_args
*args
)
1247 if (args
->event
!= NB_EV_APPLY
)
1253 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1255 max_size
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1257 bgp_default_subgroup_pkt_queue_max_set(bgp
, max_size
);
1264 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-update-group-config/coalesce-time
1266 int bgp_global_global_update_group_config_coalesce_time_modify(
1267 struct nb_cb_modify_args
*args
)
1269 if (args
->event
!= NB_EV_APPLY
)
1273 uint32_t coalesce_time
;
1275 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1277 coalesce_time
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1279 if (coalesce_time
!= BGP_DEFAULT_SUBGROUP_COALESCE_TIME
) {
1280 bgp
->heuristic_coalesce
= false;
1281 bgp
->coalesce_time
= coalesce_time
;
1283 bgp
->heuristic_coalesce
= true;
1284 bgp
->coalesce_time
= BGP_DEFAULT_SUBGROUP_COALESCE_TIME
;
1292 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/rmap-delay-time
1294 int bgp_global_global_config_timers_rmap_delay_time_modify(
1295 struct nb_cb_modify_args
*args
)
1297 switch (args
->event
) {
1298 case NB_EV_VALIDATE
:
1302 /* TODO: implement me. */
1311 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/update-delay-time
1313 int bgp_global_global_config_timers_update_delay_time_modify(
1314 struct nb_cb_modify_args
*args
)
1316 switch (args
->event
) {
1317 case NB_EV_VALIDATE
:
1321 /* TODO: implement me. */
1328 int bgp_global_global_config_timers_update_delay_time_destroy(
1329 struct nb_cb_destroy_args
*args
)
1331 switch (args
->event
) {
1332 case NB_EV_VALIDATE
:
1336 /* TODO: implement me. */
1345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/establish-wait-time
1347 int bgp_global_global_config_timers_establish_wait_time_modify(
1348 struct nb_cb_modify_args
*args
)
1350 switch (args
->event
) {
1351 case NB_EV_VALIDATE
:
1355 /* TODO: implement me. */
1362 int bgp_global_global_config_timers_establish_wait_time_destroy(
1363 struct nb_cb_destroy_args
*args
)
1365 switch (args
->event
) {
1366 case NB_EV_VALIDATE
:
1370 /* TODO: implement me. */
1379 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/connect-retry-interval
1381 int bgp_global_global_config_timers_connect_retry_interval_modify(
1382 struct nb_cb_modify_args
*args
)
1384 switch (args
->event
) {
1385 case NB_EV_VALIDATE
:
1389 /* TODO: implement me. */
1398 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/hold-time
1400 int bgp_global_global_config_timers_hold_time_modify(
1401 struct nb_cb_modify_args
*args
)
1404 unsigned long keepalive
= 0;
1405 unsigned long holdtime
= 0;
1407 switch (args
->event
) {
1408 case NB_EV_VALIDATE
:
1409 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1410 /* Holdtime value check. */
1411 if (holdtime
< 3 && holdtime
!= 0) {
1413 args
->errmsg
, args
->errmsg_len
,
1414 "hold time value must be either 0 or greater than 3");
1415 return NB_ERR_VALIDATION
;
1423 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1425 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
1426 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1428 bgp_timers_set(bgp
, keepalive
, holdtime
, DFLT_BGP_CONNECT_RETRY
,
1429 BGP_DEFAULT_DELAYOPEN
);
1439 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/global-config-timers/keepalive
1441 int bgp_global_global_config_timers_keepalive_modify(
1442 struct nb_cb_modify_args
*args
)
1445 unsigned long keepalive
= 0;
1446 unsigned long holdtime
= 0;
1448 switch (args
->event
) {
1449 case NB_EV_VALIDATE
:
1450 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
1451 /* Holdtime value check. */
1452 if (holdtime
< 3 && holdtime
!= 0) {
1454 args
->errmsg
, args
->errmsg_len
,
1455 "hold time value must be either 0 or greater than 3");
1456 return NB_ERR_VALIDATION
;
1464 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1466 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
1467 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
1469 bgp_timers_set(bgp
, keepalive
, holdtime
, DFLT_BGP_CONNECT_RETRY
,
1470 BGP_DEFAULT_DELAYOPEN
);
1480 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/instance-type-view
1482 int bgp_global_instance_type_view_modify(struct nb_cb_modify_args
*args
)
1484 switch (args
->event
) {
1485 case NB_EV_VALIDATE
:
1489 /* TODO: implement me. */
1498 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/ebgp-multihop-connected-route-check
1500 int bgp_global_ebgp_multihop_connected_route_check_modify(
1501 struct nb_cb_modify_args
*args
)
1503 if (args
->event
!= NB_EV_APPLY
)
1508 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1510 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1511 SET_FLAG(bgp
->flags
, BGP_FLAG_DISABLE_NH_CONNECTED_CHK
);
1513 UNSET_FLAG(bgp
->flags
, BGP_FLAG_DISABLE_NH_CONNECTED_CHK
);
1515 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
1516 return NB_ERR_INCONSISTENCY
;
1523 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/fast-external-failover
1525 int bgp_global_fast_external_failover_modify(struct nb_cb_modify_args
*args
)
1527 if (args
->event
!= NB_EV_APPLY
)
1531 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1532 if (!yang_dnode_get_bool(args
->dnode
, NULL
)) {
1533 SET_FLAG(bgp
->flags
, BGP_FLAG_NO_FAST_EXT_FAILOVER
);
1535 UNSET_FLAG(bgp
->flags
, BGP_FLAG_NO_FAST_EXT_FAILOVER
);
1542 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/local-pref
1544 int bgp_global_local_pref_modify(struct nb_cb_modify_args
*args
)
1546 if (args
->event
!= NB_EV_APPLY
)
1549 uint32_t local_pref
;
1551 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1552 local_pref
= yang_dnode_get_uint32(args
->dnode
, NULL
);
1554 bgp_default_local_preference_set(bgp
, local_pref
);
1556 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
, args
->errmsg_len
))
1557 return NB_ERR_INCONSISTENCY
;
1564 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/default-shutdown
1566 int bgp_global_default_shutdown_modify(struct nb_cb_modify_args
*args
)
1568 if (args
->event
!= NB_EV_APPLY
)
1573 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1574 bgp
->autoshutdown
= yang_dnode_get_bool(args
->dnode
, NULL
);
1581 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/ebgp-requires-policy
1583 int bgp_global_ebgp_requires_policy_modify(struct nb_cb_modify_args
*args
)
1585 if (args
->event
!= NB_EV_APPLY
)
1590 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1592 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1593 SET_FLAG(bgp
->flags
, BGP_FLAG_EBGP_REQUIRES_POLICY
);
1595 UNSET_FLAG(bgp
->flags
, BGP_FLAG_EBGP_REQUIRES_POLICY
);
1602 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/suppress-duplicates
1604 int bgp_global_suppress_duplicates_modify(struct nb_cb_modify_args
*args
)
1606 if (args
->event
!= NB_EV_APPLY
)
1611 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1613 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1614 SET_FLAG(bgp
->flags
, BGP_FLAG_SUPPRESS_DUPLICATES
);
1616 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SUPPRESS_DUPLICATES
);
1623 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/show-hostname
1625 int bgp_global_show_hostname_modify(struct nb_cb_modify_args
*args
)
1627 if (args
->event
!= NB_EV_APPLY
)
1632 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1634 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1635 SET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_HOSTNAME
);
1637 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_HOSTNAME
);
1644 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/show-nexthop-hostname
1646 int bgp_global_show_nexthop_hostname_modify(struct nb_cb_modify_args
*args
)
1648 if (args
->event
!= NB_EV_APPLY
)
1653 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1655 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1656 SET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_NEXTHOP_HOSTNAME
);
1658 UNSET_FLAG(bgp
->flags
, BGP_FLAG_SHOW_NEXTHOP_HOSTNAME
);
1665 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/import-check
1667 int bgp_global_import_check_modify(struct nb_cb_modify_args
*args
)
1669 if (args
->event
!= NB_EV_APPLY
)
1674 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1676 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1677 SET_FLAG(bgp
->flags
, BGP_FLAG_IMPORT_CHECK
);
1679 UNSET_FLAG(bgp
->flags
, BGP_FLAG_IMPORT_CHECK
);
1681 bgp_static_redo_import_check(bgp
);
1688 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/graceful-shutdown/enable
1690 int bgp_global_graceful_shutdown_enable_modify(struct nb_cb_modify_args
*args
)
1694 switch (args
->event
) {
1695 case NB_EV_VALIDATE
:
1696 if (CHECK_FLAG(bm
->flags
, BM_FLAG_GRACEFUL_SHUTDOWN
)) {
1698 args
->errmsg
, args
->errmsg_len
,
1699 "%%Failed: per-vrf graceful-shutdown config not permitted with global graceful-shutdown");
1700 return NB_ERR_VALIDATION
;
1708 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
1710 if (yang_dnode_get_bool(args
->dnode
, NULL
))
1711 SET_FLAG(bgp
->flags
, BGP_FLAG_GRACEFUL_SHUTDOWN
);
1713 UNSET_FLAG(bgp
->flags
, BGP_FLAG_GRACEFUL_SHUTDOWN
);
1715 bgp_static_redo_import_check(bgp
);
1716 bgp_redistribute_redo(bgp
);
1718 if (bgp_clear_star_soft_out(bgp
->name
, args
->errmsg
,
1720 return NB_ERR_INCONSISTENCY
;
1722 if (bgp_clear_star_soft_in(bgp
->name
, args
->errmsg
,
1724 return NB_ERR_INCONSISTENCY
;
1734 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list
1736 int bgp_global_bmp_config_target_list_create(struct nb_cb_create_args
*args
)
1738 switch (args
->event
) {
1739 case NB_EV_VALIDATE
:
1743 /* TODO: implement me. */
1750 int bgp_global_bmp_config_target_list_destroy(struct nb_cb_destroy_args
*args
)
1752 switch (args
->event
) {
1753 case NB_EV_VALIDATE
:
1757 /* TODO: implement me. */
1766 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/incoming-session/session-list
1768 int bgp_global_bmp_config_target_list_incoming_session_session_list_create(
1769 struct nb_cb_create_args
*args
)
1771 switch (args
->event
) {
1772 case NB_EV_VALIDATE
:
1776 /* TODO: implement me. */
1783 int bgp_global_bmp_config_target_list_incoming_session_session_list_destroy(
1784 struct nb_cb_destroy_args
*args
)
1786 switch (args
->event
) {
1787 case NB_EV_VALIDATE
:
1791 /* TODO: implement me. */
1800 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list
1802 int bgp_global_bmp_config_target_list_outgoing_session_session_list_create(
1803 struct nb_cb_create_args
*args
)
1805 switch (args
->event
) {
1806 case NB_EV_VALIDATE
:
1810 /* TODO: implement me. */
1817 int bgp_global_bmp_config_target_list_outgoing_session_session_list_destroy(
1818 struct nb_cb_destroy_args
*args
)
1820 switch (args
->event
) {
1821 case NB_EV_VALIDATE
:
1825 /* TODO: implement me. */
1834 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list/min-retry-time
1836 int bgp_global_bmp_config_target_list_outgoing_session_session_list_min_retry_time_modify(
1837 struct nb_cb_modify_args
*args
)
1839 switch (args
->event
) {
1840 case NB_EV_VALIDATE
:
1844 /* TODO: implement me. */
1853 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/outgoing-session/session-list/max-retry-time
1855 int bgp_global_bmp_config_target_list_outgoing_session_session_list_max_retry_time_modify(
1856 struct nb_cb_modify_args
*args
)
1858 switch (args
->event
) {
1859 case NB_EV_VALIDATE
:
1863 /* TODO: implement me. */
1872 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/mirror
1874 int bgp_global_bmp_config_target_list_mirror_modify(
1875 struct nb_cb_modify_args
*args
)
1877 switch (args
->event
) {
1878 case NB_EV_VALIDATE
:
1882 /* TODO: implement me. */
1891 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/stats-time
1893 int bgp_global_bmp_config_target_list_stats_time_modify(
1894 struct nb_cb_modify_args
*args
)
1896 switch (args
->event
) {
1897 case NB_EV_VALIDATE
:
1901 /* TODO: implement me. */
1908 int bgp_global_bmp_config_target_list_stats_time_destroy(
1909 struct nb_cb_destroy_args
*args
)
1911 switch (args
->event
) {
1912 case NB_EV_VALIDATE
:
1916 /* TODO: implement me. */
1925 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/ipv4-access-list
1927 int bgp_global_bmp_config_target_list_ipv4_access_list_modify(
1928 struct nb_cb_modify_args
*args
)
1930 switch (args
->event
) {
1931 case NB_EV_VALIDATE
:
1935 /* TODO: implement me. */
1942 int bgp_global_bmp_config_target_list_ipv4_access_list_destroy(
1943 struct nb_cb_destroy_args
*args
)
1945 switch (args
->event
) {
1946 case NB_EV_VALIDATE
:
1950 /* TODO: implement me. */
1959 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/ipv6-access-list
1961 int bgp_global_bmp_config_target_list_ipv6_access_list_modify(
1962 struct nb_cb_modify_args
*args
)
1964 switch (args
->event
) {
1965 case NB_EV_VALIDATE
:
1969 /* TODO: implement me. */
1976 int bgp_global_bmp_config_target_list_ipv6_access_list_destroy(
1977 struct nb_cb_destroy_args
*args
)
1979 switch (args
->event
) {
1980 case NB_EV_VALIDATE
:
1984 /* TODO: implement me. */
1993 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/target-list/afi-safis/afi-safi
1995 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_create(
1996 struct nb_cb_create_args
*args
)
1998 switch (args
->event
) {
1999 case NB_EV_VALIDATE
:
2003 /* TODO: implement me. */
2010 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_destroy(
2011 struct nb_cb_destroy_args
*args
)
2013 switch (args
->event
) {
2014 case NB_EV_VALIDATE
:
2018 /* TODO: implement me. */
2027 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/bmp-config/mirror-buffer-limit
2029 int bgp_global_bmp_config_mirror_buffer_limit_modify(
2030 struct nb_cb_modify_args
*args
)
2032 switch (args
->event
) {
2033 case NB_EV_VALIDATE
:
2037 /* TODO: implement me. */
2044 int bgp_global_bmp_config_mirror_buffer_limit_destroy(
2045 struct nb_cb_destroy_args
*args
)
2047 switch (args
->event
) {
2048 case NB_EV_VALIDATE
:
2052 /* TODO: implement me. */
2061 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi
2063 int bgp_global_afi_safis_afi_safi_create(struct nb_cb_create_args
*args
)
2065 const struct lyd_node
*vrf_dnode
;
2066 const char *vrf_name
;
2067 const char *af_name
;
2071 switch (args
->event
) {
2072 case NB_EV_VALIDATE
:
2073 vrf_dnode
= yang_dnode_get_parent(args
->dnode
,
2074 "control-plane-protocol");
2075 vrf_name
= yang_dnode_get_string(vrf_dnode
, "./vrf");
2076 af_name
= yang_dnode_get_string(args
->dnode
, "./afi-safi-name");
2077 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
2079 if ((!strmatch(vrf_name
, VRF_DEFAULT_NAME
))
2080 && safi
!= SAFI_UNICAST
&& safi
!= SAFI_MULTICAST
2081 && safi
!= SAFI_EVPN
) {
2083 args
->errmsg
, args
->errmsg_len
,
2084 "Only Unicast/Multicast/EVPN SAFIs supported in non-core instances.");
2085 return NB_ERR_VALIDATION
;
2092 /* TODO: implement me. */
2099 int bgp_global_afi_safis_afi_safi_destroy(struct nb_cb_destroy_args
*args
)
2101 switch (args
->event
) {
2102 case NB_EV_VALIDATE
:
2106 /* TODO: implement me. */
2113 static struct peer
*bgp_neighbor_peer_lookup(struct bgp
*bgp
,
2114 const char *peer_str
, char *errmsg
,
2117 struct peer
*peer
= NULL
;
2120 str2sockunion(peer_str
, &su
);
2121 peer
= peer_lookup(bgp
, &su
);
2123 snprintf(errmsg
, errmsg_len
,
2124 "Specify remote-as or peer-group commands first");
2127 if (peer_dynamic_neighbor(peer
)) {
2128 snprintf(errmsg
, errmsg_len
,
2129 "Operation not allowed on a dynamic neighbor\n");
2137 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor
2139 int bgp_neighbors_neighbor_create(struct nb_cb_create_args
*args
)
2142 const char *peer_str
;
2145 switch (args
->event
) {
2146 case NB_EV_VALIDATE
:
2149 yang_dnode_get_string(args
->dnode
, "./remote-address");
2151 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
2155 str2sockunion(peer_str
, &su
);
2156 if (peer_address_self_check(bgp
, &su
)) {
2158 args
->errmsg
, args
->errmsg_len
,
2159 "Can not configure the local system as neighbor");
2160 return NB_ERR_VALIDATION
;
2168 /* Once bgp instance available check self peer addr */
2169 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2172 yang_dnode_get_string(args
->dnode
, "./remote-address");
2173 str2sockunion(peer_str
, &su
);
2174 if (peer_address_self_check(bgp
, &su
)) {
2176 args
->errmsg
, args
->errmsg_len
,
2177 "Can not configure the local system as neighbor");
2178 return NB_ERR_INCONSISTENCY
;
2186 int bgp_neighbors_neighbor_destroy(struct nb_cb_destroy_args
*args
)
2190 const char *peer_str
;
2192 struct peer
*peer
= NULL
;
2195 switch (args
->event
) {
2196 case NB_EV_VALIDATE
:
2197 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
2201 yang_dnode_get_string(args
->dnode
, "./remote-address");
2202 str2sockunion(peer_str
, &su
);
2204 peer
= peer_lookup(bgp
, &su
);
2206 if (peer_dynamic_neighbor(peer
)) {
2208 args
->errmsg
, args
->errmsg_len
,
2209 "Operation not allowed on a dynamic neighbor");
2210 return NB_ERR_VALIDATION
;
2219 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2222 yang_dnode_get_string(args
->dnode
, "./remote-address");
2223 str2sockunion(peer_str
, &su
);
2225 peer
= peer_lookup(bgp
, &su
);
2227 if (peer_dynamic_neighbor(peer
)) {
2229 args
->errmsg
, args
->errmsg_len
,
2230 "Operation not allowed on a dynamic neighbor");
2231 return NB_ERR_INCONSISTENCY
;
2234 other
= peer
->doppelganger
;
2236 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
2237 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
2239 peer_notify_unconfig(peer
);
2241 if (other
&& other
->status
!= Deleted
) {
2242 peer_notify_unconfig(other
);
2255 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-interface
2257 int bgp_neighbors_neighbor_local_interface_modify(
2258 struct nb_cb_modify_args
*args
)
2261 const char *peer_str
;
2262 const char *intf_str
;
2265 switch (args
->event
) {
2266 case NB_EV_VALIDATE
:
2271 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2273 yang_dnode_get_string(args
->dnode
, "../remote-address");
2274 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2277 snprintf(args
->errmsg
, args
->errmsg_len
,
2278 "BGP invalid peer %s", peer_str
);
2279 return NB_ERR_INCONSISTENCY
;
2282 if (peer
->conf_if
) {
2283 snprintf(args
->errmsg
, args
->errmsg_len
,
2284 "BGP invalid peer %s", peer_str
);
2285 return NB_ERR_INCONSISTENCY
;
2288 intf_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2290 peer_interface_set(peer
, intf_str
);
2298 int bgp_neighbors_neighbor_local_interface_destroy(
2299 struct nb_cb_destroy_args
*args
)
2302 const char *peer_str
;
2305 switch (args
->event
) {
2306 case NB_EV_VALIDATE
:
2311 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2313 yang_dnode_get_string(args
->dnode
, "../remote-address");
2314 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2317 snprintf(args
->errmsg
, args
->errmsg_len
,
2318 "BGP invalid peer %s", peer_str
);
2319 return NB_ERR_INCONSISTENCY
;
2322 if (peer
->conf_if
) {
2323 snprintf(args
->errmsg
, args
->errmsg_len
,
2324 "BGP invalid peer %s", peer_str
);
2325 return NB_ERR_INCONSISTENCY
;
2328 peer_interface_unset(peer
);
2338 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-port
2340 int bgp_neighbors_neighbor_local_port_modify(struct nb_cb_modify_args
*args
)
2343 const char *peer_str
;
2347 switch (args
->event
) {
2348 case NB_EV_VALIDATE
:
2353 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2355 yang_dnode_get_string(args
->dnode
, "../remote-address");
2356 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2359 snprintf(args
->errmsg
, args
->errmsg_len
,
2360 "BGP invalid peer %s", peer_str
);
2361 return NB_ERR_INCONSISTENCY
;
2364 port
= yang_dnode_get_uint16(args
->dnode
, NULL
);
2365 peer_port_set(peer
, port
);
2373 int bgp_neighbors_neighbor_local_port_destroy(struct nb_cb_destroy_args
*args
)
2376 const char *peer_str
;
2381 switch (args
->event
) {
2382 case NB_EV_VALIDATE
:
2387 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2389 yang_dnode_get_string(args
->dnode
, "../remote-address");
2390 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2393 snprintf(args
->errmsg
, args
->errmsg_len
,
2394 "BGP invalid peer %s", peer_str
);
2395 return NB_ERR_INCONSISTENCY
;
2398 sp
= getservbyname("bgp", "tcp");
2399 port
= (sp
== NULL
) ? BGP_PORT_DEFAULT
: ntohs(sp
->s_port
);
2400 peer_port_set(peer
, port
);
2410 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/peer-group
2412 int bgp_neighbors_neighbor_peer_group_modify(struct nb_cb_modify_args
*args
)
2415 const char *peer_str
;
2416 const char *peer_grp_str
;
2418 struct peer_group
*group
;
2422 char prgrp_xpath
[XPATH_MAXLEN
];
2423 const struct lyd_node
*bgp_dnode
;
2425 switch (args
->event
) {
2426 case NB_EV_VALIDATE
:
2427 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2428 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
2429 snprintf(prgrp_xpath
, sizeof(prgrp_xpath
),
2430 FRR_BGP_PEER_GROUP_XPATH
, peer_grp_str
, "");
2432 if (!yang_dnode_exists(bgp_dnode
, prgrp_xpath
)) {
2433 snprintf(args
->errmsg
, args
->errmsg_len
,
2434 "Configure the peer-group first %s",
2436 return NB_ERR_VALIDATION
;
2444 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2446 yang_dnode_get_string(args
->dnode
, "../remote-address");
2447 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2450 str2sockunion(peer_str
, &su
);
2452 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2453 group
= peer_group_lookup(bgp
, peer_grp_str
);
2455 snprintf(args
->errmsg
, args
->errmsg_len
,
2456 "Configure the peer-group first %s",
2458 return NB_ERR_INCONSISTENCY
;
2461 ret
= peer_group_bind(bgp
, &su
, peer
, group
, &as
);
2463 if (ret
== BGP_ERR_PEER_GROUP_PEER_TYPE_DIFFERENT
) {
2465 args
->errmsg
, args
->errmsg_len
,
2466 "Peer with AS %u cannot be in this peer-group, members must be all internal or all external\n",
2468 return NB_ERR_INCONSISTENCY
;
2471 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2473 return NB_ERR_INCONSISTENCY
;
2481 int bgp_neighbors_neighbor_peer_group_destroy(struct nb_cb_destroy_args
*args
)
2484 const char *peer_str
;
2488 switch (args
->event
) {
2489 case NB_EV_VALIDATE
:
2494 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2496 yang_dnode_get_string(args
->dnode
, "../remote-address");
2497 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2500 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
2501 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
2503 peer_notify_unconfig(peer
);
2504 ret
= peer_delete(peer
);
2506 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2508 return NB_ERR_INCONSISTENCY
;
2518 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/password
2520 int bgp_neighbors_neighbor_password_modify(struct nb_cb_modify_args
*args
)
2523 const char *peer_str
;
2524 const char *passwrd_str
;
2527 switch (args
->event
) {
2528 case NB_EV_VALIDATE
:
2533 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2535 yang_dnode_get_string(args
->dnode
, "../remote-address");
2536 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2539 return NB_ERR_INCONSISTENCY
;
2541 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2543 peer_password_set(peer
, passwrd_str
);
2551 int bgp_neighbors_neighbor_password_destroy(struct nb_cb_destroy_args
*args
)
2554 const char *peer_str
;
2557 switch (args
->event
) {
2558 case NB_EV_VALIDATE
:
2563 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2565 yang_dnode_get_string(args
->dnode
, "../remote-address");
2566 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2569 return NB_ERR_INCONSISTENCY
;
2571 peer_password_unset(peer
);
2581 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/ttl-security
2583 int bgp_neighbors_neighbor_ttl_security_modify(struct nb_cb_modify_args
*args
)
2586 const char *peer_str
;
2591 switch (args
->event
) {
2592 case NB_EV_VALIDATE
:
2597 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2599 yang_dnode_get_string(args
->dnode
, "../remote-address");
2600 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2603 return NB_ERR_INCONSISTENCY
;
2605 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
2607 * If 'neighbor swpX', then this is for directly connected
2608 * peers, we should not accept a ttl-security hops value greater
2611 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
2613 args
->errmsg
, args
->errmsg_len
,
2614 "%d is directly connected peer, hops cannot exceed 1\n",
2616 return NB_ERR_INCONSISTENCY
;
2619 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
2620 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
))
2621 return NB_ERR_INCONSISTENCY
;
2629 int bgp_neighbors_neighbor_ttl_security_destroy(struct nb_cb_destroy_args
*args
)
2632 const char *peer_str
;
2636 switch (args
->event
) {
2637 case NB_EV_VALIDATE
:
2642 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2644 yang_dnode_get_string(args
->dnode
, "../remote-address");
2645 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2648 return NB_ERR_INCONSISTENCY
;
2650 ret
= peer_ttl_security_hops_unset(peer
);
2651 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
2653 return NB_ERR_INCONSISTENCY
;
2664 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/solo
2666 int bgp_neighbors_neighbor_solo_modify(struct nb_cb_modify_args
*args
)
2668 switch (args
->event
) {
2669 case NB_EV_VALIDATE
:
2673 /* TODO: implement me. */
2682 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/enforce-first-as
2684 int bgp_neighbors_neighbor_enforce_first_as_modify(
2685 struct nb_cb_modify_args
*args
)
2688 const char *peer_str
;
2690 bool enable
= false;
2692 switch (args
->event
) {
2693 case NB_EV_VALIDATE
:
2698 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2700 yang_dnode_get_string(args
->dnode
, "../remote-address");
2701 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2704 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2706 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2707 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
2708 args
->errmsg
, args
->errmsg_len
);
2717 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/description
2719 int bgp_neighbors_neighbor_description_modify(struct nb_cb_modify_args
*args
)
2722 const char *peer_str
;
2723 const char *desc_str
;
2726 switch (args
->event
) {
2727 case NB_EV_VALIDATE
:
2732 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2734 yang_dnode_get_string(args
->dnode
, "../remote-address");
2736 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2739 return NB_ERR_INCONSISTENCY
;
2741 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
2743 peer_description_set(peer
, desc_str
);
2751 int bgp_neighbors_neighbor_description_destroy(struct nb_cb_destroy_args
*args
)
2754 const char *peer_str
;
2757 switch (args
->event
) {
2758 case NB_EV_VALIDATE
:
2763 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2765 yang_dnode_get_string(args
->dnode
, "../remote-address");
2766 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2769 return NB_ERR_INCONSISTENCY
;
2771 peer_description_unset(peer
);
2781 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/passive-mode
2783 int bgp_neighbors_neighbor_passive_mode_modify(struct nb_cb_modify_args
*args
)
2786 const char *peer_str
;
2790 switch (args
->event
) {
2791 case NB_EV_VALIDATE
:
2796 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2798 yang_dnode_get_string(args
->dnode
, "../remote-address");
2799 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2802 return NB_ERR_INCONSISTENCY
;
2804 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
2806 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
2807 set
, args
->errmsg
, args
->errmsg_len
)
2809 return NB_ERR_INCONSISTENCY
;
2819 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/dynamic-capability
2821 int bgp_neighbors_neighbor_capability_options_dynamic_capability_modify(
2822 struct nb_cb_modify_args
*args
)
2825 const char *peer_str
;
2827 bool enable
= false;
2829 switch (args
->event
) {
2830 case NB_EV_VALIDATE
:
2835 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2836 peer_str
= yang_dnode_get_string(args
->dnode
,
2837 "../../remote-address");
2838 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2841 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2843 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2844 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
2845 args
->errmsg
, args
->errmsg_len
);
2855 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/strict-capability
2857 int bgp_neighbors_neighbor_capability_options_strict_capability_modify(
2858 struct nb_cb_modify_args
*args
)
2861 const char *peer_str
;
2863 bool enable
= false;
2865 switch (args
->event
) {
2866 case NB_EV_VALIDATE
:
2871 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2872 peer_str
= yang_dnode_get_string(args
->dnode
,
2873 "../../remote-address");
2874 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2877 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2879 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2880 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
2881 args
->errmsg
, args
->errmsg_len
);
2891 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/extended-nexthop-capability
2893 int bgp_neighbors_neighbor_capability_options_extended_nexthop_capability_modify(
2894 struct nb_cb_modify_args
*args
)
2897 const char *peer_str
;
2899 bool enable
= false;
2901 switch (args
->event
) {
2902 case NB_EV_VALIDATE
:
2907 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2908 peer_str
= yang_dnode_get_string(args
->dnode
,
2909 "../../remote-address");
2910 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2913 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2915 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2916 PEER_FLAG_CAPABILITY_ENHE
, enable
,
2917 args
->errmsg
, args
->errmsg_len
);
2927 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/capability-negotiate
2929 int bgp_neighbors_neighbor_capability_options_capability_negotiate_modify(
2930 struct nb_cb_modify_args
*args
)
2932 switch (args
->event
) {
2933 case NB_EV_VALIDATE
:
2937 /* TODO: implement me. */
2946 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/capability-options/override-capability
2948 int bgp_neighbors_neighbor_capability_options_override_capability_modify(
2949 struct nb_cb_modify_args
*args
)
2952 const char *peer_str
;
2954 bool enable
= false;
2956 switch (args
->event
) {
2957 case NB_EV_VALIDATE
:
2962 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2963 peer_str
= yang_dnode_get_string(args
->dnode
,
2964 "../../remote-address");
2965 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
2968 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
2970 peer_flag_modify_nb(bgp
, peer_str
, peer
,
2971 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
2972 args
->errmsg
, args
->errmsg_len
);
2982 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/update-source/ip
2984 int bgp_neighbors_neighbor_update_source_ip_modify(
2985 struct nb_cb_modify_args
*args
)
2988 const char *peer_str
, *source_str
;
2992 switch (args
->event
) {
2993 case NB_EV_VALIDATE
:
2998 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
2999 peer_str
= yang_dnode_get_string(args
->dnode
,
3000 "../../remote-address");
3001 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3004 return NB_ERR_INCONSISTENCY
;
3006 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3008 str2sockunion(source_str
, &su
);
3009 peer_update_source_addr_set(peer
, &su
);
3017 int bgp_neighbors_neighbor_update_source_ip_destroy(
3018 struct nb_cb_destroy_args
*args
)
3021 const char *peer_str
;
3024 switch (args
->event
) {
3025 case NB_EV_VALIDATE
:
3030 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3031 peer_str
= yang_dnode_get_string(args
->dnode
,
3032 "../../remote-address");
3033 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3036 return NB_ERR_INCONSISTENCY
;
3038 peer_update_source_unset(peer
);
3048 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/update-source/interface
3050 int bgp_neighbors_neighbor_update_source_interface_modify(
3051 struct nb_cb_modify_args
*args
)
3054 const char *peer_str
, *source_str
;
3058 switch (args
->event
) {
3059 case NB_EV_VALIDATE
:
3060 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3061 if (str2prefix(source_str
, &p
)) {
3062 snprintf(args
->errmsg
, args
->errmsg_len
,
3063 "Invalid update-source, remove prefix length");
3064 return NB_ERR_VALIDATION
;
3071 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3072 peer_str
= yang_dnode_get_string(args
->dnode
,
3073 "../../remote-address");
3074 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3077 return NB_ERR_INCONSISTENCY
;
3079 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
3081 peer_update_source_if_set(peer
, source_str
);
3089 int bgp_neighbors_neighbor_update_source_interface_destroy(
3090 struct nb_cb_destroy_args
*args
)
3093 const char *peer_str
;
3096 switch (args
->event
) {
3097 case NB_EV_VALIDATE
:
3102 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3103 peer_str
= yang_dnode_get_string(args
->dnode
,
3104 "../../remote-address");
3105 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
3108 return NB_ERR_INCONSISTENCY
;
3110 peer_update_source_unset(peer
);
3120 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/neighbor-remote-as/remote-as-type
3122 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_type_modify(
3123 struct nb_cb_modify_args
*args
)
3126 const char *peer_str
;
3127 int as_type
= AS_SPECIFIED
;
3132 switch (args
->event
) {
3133 case NB_EV_VALIDATE
:
3138 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3140 peer_str
= yang_dnode_get_string(args
->dnode
,
3141 "../../remote-address");
3142 as_type
= yang_dnode_get_enum(args
->dnode
, "../remote-as-type");
3143 /* When remote-as-type is as-specified, the peer will be
3144 * created in remote_as_modify callback */
3145 if (yang_dnode_exists(args
->dnode
, "../remote-as"))
3148 str2sockunion(peer_str
, &su
);
3149 ret
= peer_remote_as(bgp
, &su
, NULL
, &as
, as_type
);
3150 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
3152 return NB_ERR_INCONSISTENCY
;
3161 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_type_destroy(
3162 struct nb_cb_destroy_args
*args
)
3164 switch (args
->event
) {
3165 case NB_EV_VALIDATE
:
3169 /* TODO: implement me. */
3178 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/neighbor-remote-as/remote-as
3180 int bgp_neighbors_neighbor_neighbor_remote_as_remote_as_modify(
3181 struct nb_cb_modify_args
*args
)
3184 const char *peer_str
;
3185 int as_type
= AS_SPECIFIED
;
3190 switch (args
->event
) {
3191 case NB_EV_VALIDATE
:
3196 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
3198 peer_str
= yang_dnode_get_string(args
->dnode
,
3199 "../../remote-address");
3200 as_type
= yang_dnode_get_enum(args
->dnode
, "../remote-as-type");
3201 as
= yang_dnode_get_uint32(args
->dnode
, NULL
);
3203 str2sockunion(peer_str
, &su
);
3204 ret
= peer_remote_as(bgp
, &su
, NULL
, &as
, as_type
);
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
, v6_only
,
4372 peer_grp_str
, as_type
, as
,
4373 args
->errmsg
, args
->errmsg_len
))
4374 return NB_ERR_INCONSISTENCY
;
4382 int bgp_neighbors_unnumbered_neighbor_destroy(struct nb_cb_destroy_args
*args
)
4385 const char *peer_str
;
4388 switch (args
->event
) {
4389 case NB_EV_VALIDATE
:
4394 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4396 peer_str
= yang_dnode_get_string(args
->dnode
, "./interface");
4397 /* look up for neighbor by interface name config. */
4398 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
4400 /* Request zebra to terminate IPv6 RAs on this
4403 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
4404 peer_notify_unconfig(peer
);
4407 snprintf(args
->errmsg
, args
->errmsg_len
,
4408 "Create the peer-group first");
4409 return NB_ERR_INCONSISTENCY
;
4420 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/v6only
4422 int bgp_neighbors_unnumbered_neighbor_v6only_modify(
4423 struct nb_cb_modify_args
*args
)
4426 const char *peer_str
;
4427 bool v6_only
= false;
4429 switch (args
->event
) {
4430 case NB_EV_VALIDATE
:
4435 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4436 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4438 v6_only
= yang_dnode_get_bool(args
->dnode
, NULL
);
4440 if (peer_conf_interface_create(bgp
, peer_str
, v6_only
, NULL
,
4441 AS_UNSPECIFIED
, 0, args
->errmsg
,
4443 return NB_ERR_INCONSISTENCY
;
4453 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/peer-group
4455 int bgp_neighbors_unnumbered_neighbor_peer_group_modify(
4456 struct nb_cb_modify_args
*args
)
4459 const char *peer_str
;
4460 const char *peer_grp_str
;
4462 struct peer_group
*group
;
4466 char prgrp_xpath
[XPATH_MAXLEN
];
4467 const struct lyd_node
*bgp_dnode
;
4469 switch (args
->event
) {
4470 case NB_EV_VALIDATE
:
4471 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4472 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
4473 snprintf(prgrp_xpath
, sizeof(prgrp_xpath
),
4474 FRR_BGP_PEER_GROUP_XPATH
, peer_grp_str
, "");
4476 if (!yang_dnode_exists(bgp_dnode
, prgrp_xpath
)) {
4477 snprintf(args
->errmsg
, args
->errmsg_len
,
4478 "Configure the peer-group first %s",
4480 return NB_ERR_VALIDATION
;
4488 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4489 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4490 peer
= bgp_unnumbered_neighbor_peer_lookup(
4491 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4493 peer_grp_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4494 group
= peer_group_lookup(bgp
, peer_grp_str
);
4496 snprintf(args
->errmsg
, args
->errmsg_len
,
4497 "Configure the peer-group first\n");
4498 return NB_ERR_INCONSISTENCY
;
4501 ret
= peer_group_bind(bgp
, &su
, peer
, group
, &as
);
4502 if (ret
== BGP_ERR_PEER_GROUP_PEER_TYPE_DIFFERENT
) {
4504 args
->errmsg
, args
->errmsg_len
,
4505 "Peer with AS %u cannot be in this peer-group, members must be all internal or all external\n",
4507 return NB_ERR_INCONSISTENCY
;
4510 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
4518 int bgp_neighbors_unnumbered_neighbor_peer_group_destroy(
4519 struct nb_cb_destroy_args
*args
)
4522 const char *peer_str
;
4526 switch (args
->event
) {
4527 case NB_EV_VALIDATE
:
4532 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4534 yang_dnode_get_string(args
->dnode
, "../remote-address");
4535 peer
= bgp_unnumbered_neighbor_peer_lookup(
4536 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4538 if (CHECK_FLAG(peer
->flags
, PEER_FLAG_CAPABILITY_ENHE
))
4539 bgp_zebra_terminate_radv(peer
->bgp
, peer
);
4541 peer_notify_unconfig(peer
);
4542 ret
= peer_delete(peer
);
4544 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4546 return NB_ERR_INCONSISTENCY
;
4556 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/password
4558 int bgp_neighbors_unnumbered_neighbor_password_modify(
4559 struct nb_cb_modify_args
*args
)
4562 const char *peer_str
;
4563 const char *passwrd_str
;
4564 struct peer
*peer
= NULL
;
4566 switch (args
->event
) {
4567 case NB_EV_VALIDATE
:
4572 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4573 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4574 peer
= bgp_unnumbered_neighbor_peer_lookup(
4575 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4577 return NB_ERR_INCONSISTENCY
;
4579 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4580 peer_password_set(peer
, passwrd_str
);
4588 int bgp_neighbors_unnumbered_neighbor_password_destroy(
4589 struct nb_cb_destroy_args
*args
)
4592 const char *peer_str
;
4593 struct peer
*peer
= NULL
;
4595 switch (args
->event
) {
4596 case NB_EV_VALIDATE
:
4601 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4602 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4603 peer
= bgp_unnumbered_neighbor_peer_lookup(
4604 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4606 return NB_ERR_INCONSISTENCY
;
4608 peer_password_unset(peer
);
4618 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ttl-security
4620 int bgp_neighbors_unnumbered_neighbor_ttl_security_modify(
4621 struct nb_cb_modify_args
*args
)
4624 const char *peer_str
;
4629 switch (args
->event
) {
4630 case NB_EV_VALIDATE
:
4635 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4636 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4637 peer
= bgp_unnumbered_neighbor_peer_lookup(
4638 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4640 return NB_ERR_INCONSISTENCY
;
4642 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
4644 * If 'neighbor swpX', then this is for directly connected
4645 * peers, we should not accept a ttl-security hops value greater
4648 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
4650 args
->errmsg
, args
->errmsg_len
,
4651 "%d is directly connected peer, hops cannot exceed 1\n",
4653 return NB_ERR_INCONSISTENCY
;
4656 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
4657 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
4659 return NB_ERR_INCONSISTENCY
;
4667 int bgp_neighbors_unnumbered_neighbor_ttl_security_destroy(
4668 struct nb_cb_destroy_args
*args
)
4671 const char *peer_str
;
4675 switch (args
->event
) {
4676 case NB_EV_VALIDATE
:
4681 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4682 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4683 peer
= bgp_unnumbered_neighbor_peer_lookup(
4684 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4686 return NB_ERR_INCONSISTENCY
;
4688 ret
= peer_ttl_security_hops_unset(peer
);
4689 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
4699 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/solo
4701 int bgp_neighbors_unnumbered_neighbor_solo_modify(
4702 struct nb_cb_modify_args
*args
)
4704 switch (args
->event
) {
4705 case NB_EV_VALIDATE
:
4709 /* TODO: implement me. */
4718 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/enforce-first-as
4720 int bgp_neighbors_unnumbered_neighbor_enforce_first_as_modify(
4721 struct nb_cb_modify_args
*args
)
4724 const char *peer_str
;
4726 bool enable
= false;
4728 switch (args
->event
) {
4729 case NB_EV_VALIDATE
:
4734 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4735 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4736 peer
= bgp_unnumbered_neighbor_peer_lookup(
4737 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4739 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4741 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4742 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
4743 args
->errmsg
, args
->errmsg_len
);
4753 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/description
4755 int bgp_neighbors_unnumbered_neighbor_description_modify(
4756 struct nb_cb_modify_args
*args
)
4759 const char *peer_str
;
4760 const char *desc_str
;
4761 struct peer
*peer
= NULL
;
4763 switch (args
->event
) {
4764 case NB_EV_VALIDATE
:
4769 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4770 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4772 peer
= bgp_unnumbered_neighbor_peer_lookup(
4773 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4775 return NB_ERR_INCONSISTENCY
;
4777 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
4779 peer_description_set(peer
, desc_str
);
4787 int bgp_neighbors_unnumbered_neighbor_description_destroy(
4788 struct nb_cb_destroy_args
*args
)
4791 const char *peer_str
;
4792 struct peer
*peer
= NULL
;
4794 switch (args
->event
) {
4795 case NB_EV_VALIDATE
:
4800 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4801 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4803 peer
= bgp_unnumbered_neighbor_peer_lookup(
4804 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4806 return NB_ERR_INCONSISTENCY
;
4808 peer_description_unset(peer
);
4818 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/passive-mode
4820 int bgp_neighbors_unnumbered_neighbor_passive_mode_modify(
4821 struct nb_cb_modify_args
*args
)
4824 const char *peer_str
;
4828 switch (args
->event
) {
4829 case NB_EV_VALIDATE
:
4834 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4835 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
4836 peer
= bgp_unnumbered_neighbor_peer_lookup(
4837 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4839 return NB_ERR_INCONSISTENCY
;
4841 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
4843 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
4844 set
, args
->errmsg
, args
->errmsg_len
)
4846 return NB_ERR_INCONSISTENCY
;
4856 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/dynamic-capability
4858 int bgp_neighbors_unnumbered_neighbor_capability_options_dynamic_capability_modify(
4859 struct nb_cb_modify_args
*args
)
4862 const char *peer_str
;
4864 bool enable
= false;
4866 switch (args
->event
) {
4867 case NB_EV_VALIDATE
:
4872 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4874 yang_dnode_get_string(args
->dnode
, "../../interface");
4875 peer
= bgp_unnumbered_neighbor_peer_lookup(
4876 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4878 return NB_ERR_INCONSISTENCY
;
4880 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4882 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4883 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
4884 args
->errmsg
, args
->errmsg_len
);
4894 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/strict-capability
4896 int bgp_neighbors_unnumbered_neighbor_capability_options_strict_capability_modify(
4897 struct nb_cb_modify_args
*args
)
4900 const char *peer_str
;
4902 bool enable
= false;
4904 switch (args
->event
) {
4905 case NB_EV_VALIDATE
:
4910 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4912 yang_dnode_get_string(args
->dnode
, "../../interface");
4913 peer
= bgp_unnumbered_neighbor_peer_lookup(
4914 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4916 return NB_ERR_INCONSISTENCY
;
4918 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4920 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4921 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
4922 args
->errmsg
, args
->errmsg_len
);
4932 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/extended-nexthop-capability
4934 int bgp_neighbors_unnumbered_neighbor_capability_options_extended_nexthop_capability_modify(
4935 struct nb_cb_modify_args
*args
)
4938 const char *peer_str
;
4940 bool enable
= false;
4942 switch (args
->event
) {
4943 case NB_EV_VALIDATE
:
4948 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
4950 yang_dnode_get_string(args
->dnode
, "../../interface");
4951 peer
= bgp_unnumbered_neighbor_peer_lookup(
4952 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
4954 return NB_ERR_INCONSISTENCY
;
4956 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
4958 peer_flag_modify_nb(bgp
, peer_str
, peer
,
4959 PEER_FLAG_CAPABILITY_ENHE
, enable
,
4960 args
->errmsg
, args
->errmsg_len
);
4970 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/capability-negotiate
4972 int bgp_neighbors_unnumbered_neighbor_capability_options_capability_negotiate_modify(
4973 struct nb_cb_modify_args
*args
)
4975 switch (args
->event
) {
4976 case NB_EV_VALIDATE
:
4980 /* TODO: implement me. */
4989 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/capability-options/override-capability
4991 int bgp_neighbors_unnumbered_neighbor_capability_options_override_capability_modify(
4992 struct nb_cb_modify_args
*args
)
4995 const char *peer_str
;
4997 bool enable
= false;
4999 switch (args
->event
) {
5000 case NB_EV_VALIDATE
:
5005 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5007 yang_dnode_get_string(args
->dnode
, "../../interface");
5008 peer
= bgp_unnumbered_neighbor_peer_lookup(
5009 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5011 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
5013 peer_flag_modify_nb(bgp
, peer_str
, peer
,
5014 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
5015 args
->errmsg
, args
->errmsg_len
);
5025 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/update-source/ip
5027 int bgp_neighbors_unnumbered_neighbor_update_source_ip_modify(
5028 struct nb_cb_modify_args
*args
)
5031 const char *peer_str
, *source_str
;
5035 switch (args
->event
) {
5036 case NB_EV_VALIDATE
:
5041 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5043 yang_dnode_get_string(args
->dnode
, "../../interface");
5044 peer
= bgp_unnumbered_neighbor_peer_lookup(
5045 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5047 return NB_ERR_INCONSISTENCY
;
5049 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5051 str2sockunion(source_str
, &su
);
5052 peer_update_source_addr_set(peer
, &su
);
5060 int bgp_neighbors_unnumbered_neighbor_update_source_ip_destroy(
5061 struct nb_cb_destroy_args
*args
)
5064 const char *peer_str
;
5067 switch (args
->event
) {
5068 case NB_EV_VALIDATE
:
5073 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5075 yang_dnode_get_string(args
->dnode
, "../../interface");
5076 peer
= bgp_unnumbered_neighbor_peer_lookup(
5077 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5079 return NB_ERR_INCONSISTENCY
;
5081 peer_update_source_unset(peer
);
5091 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/update-source/interface
5093 int bgp_neighbors_unnumbered_neighbor_update_source_interface_modify(
5094 struct nb_cb_modify_args
*args
)
5097 const char *peer_str
, *source_str
;
5101 switch (args
->event
) {
5102 case NB_EV_VALIDATE
:
5103 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5104 if (str2prefix(source_str
, &p
)) {
5105 snprintf(args
->errmsg
, args
->errmsg_len
,
5106 "Invalid update-source, remove prefix length");
5107 return NB_ERR_VALIDATION
;
5114 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5116 yang_dnode_get_string(args
->dnode
, "../../interface");
5117 peer
= bgp_unnumbered_neighbor_peer_lookup(
5118 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5120 return NB_ERR_INCONSISTENCY
;
5122 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
5124 peer_update_source_if_set(peer
, source_str
);
5132 int bgp_neighbors_unnumbered_neighbor_update_source_interface_destroy(
5133 struct nb_cb_destroy_args
*args
)
5136 const char *peer_str
;
5139 switch (args
->event
) {
5140 case NB_EV_VALIDATE
:
5145 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5147 yang_dnode_get_string(args
->dnode
, "../../interface");
5148 peer
= bgp_unnumbered_neighbor_peer_lookup(
5149 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
5151 return NB_ERR_INCONSISTENCY
;
5153 peer_update_source_unset(peer
);
5163 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as
5165 void bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_apply_finish(
5166 struct nb_cb_apply_finish_args
*args
)
5169 const char *peer_str
;
5170 int as_type
= AS_SPECIFIED
;
5173 struct peer
*peer
= NULL
;
5175 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5176 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5177 as_type
= yang_dnode_get_enum(args
->dnode
, "./remote-as-type");
5178 if (yang_dnode_exists(args
->dnode
, "./remote-as"))
5179 as
= yang_dnode_get_uint32(args
->dnode
, "./remote-as");
5181 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5183 ret
= peer_remote_as(bgp
, NULL
, peer_str
, &as
, as_type
);
5185 if (ret
< 0 && !peer
) {
5186 snprintf(args
->errmsg
, args
->errmsg_len
,
5187 "Create the peer-group or interface first");
5191 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5196 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as/remote-as-type
5198 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_type_modify(
5199 struct nb_cb_modify_args
*args
)
5201 switch (args
->event
) {
5202 case NB_EV_VALIDATE
:
5206 /* TODO: implement me. */
5213 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_type_destroy(
5214 struct nb_cb_destroy_args
*args
)
5217 const char *peer_str
;
5220 switch (args
->event
) {
5221 case NB_EV_VALIDATE
:
5226 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5228 yang_dnode_get_string(args
->dnode
, "../../interface");
5229 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5231 /* remote-as set to 0 and as_type to unspecified */
5233 peer_as_change(peer
, 0, AS_UNSPECIFIED
);
5243 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/neighbor-remote-as/remote-as
5245 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_modify(
5246 struct nb_cb_modify_args
*args
)
5248 switch (args
->event
) {
5249 case NB_EV_VALIDATE
:
5253 /* TODO: implement me. */
5260 int bgp_neighbors_unnumbered_neighbor_neighbor_remote_as_remote_as_destroy(
5261 struct nb_cb_destroy_args
*args
)
5263 switch (args
->event
) {
5264 case NB_EV_VALIDATE
:
5268 /* TODO: implement me. */
5277 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/enabled
5279 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_enabled_modify(
5280 struct nb_cb_modify_args
*args
)
5283 const char *peer_str
;
5287 uint8_t ttl
= MAXTTL
;
5289 switch (args
->event
) {
5290 case NB_EV_VALIDATE
:
5295 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5297 yang_dnode_get_string(args
->dnode
, "../../interface");
5298 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5300 return NB_ERR_INCONSISTENCY
;
5302 if (peer
->conf_if
) {
5303 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
5304 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
5306 return NB_ERR_INCONSISTENCY
;
5309 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
5312 ret
= peer_ebgp_multihop_set(peer
, ttl
);
5314 ret
= peer_ebgp_multihop_unset(peer
);
5316 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5324 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_enabled_destroy(
5325 struct nb_cb_destroy_args
*args
)
5328 const char *peer_str
;
5332 switch (args
->event
) {
5333 case NB_EV_VALIDATE
:
5338 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5340 yang_dnode_get_string(args
->dnode
, "../../interface");
5341 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5343 return NB_ERR_INCONSISTENCY
;
5345 ret
= peer_ebgp_multihop_unset(peer
);
5347 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5357 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/multihop-ttl
5359 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_multihop_ttl_modify(
5360 struct nb_cb_modify_args
*args
)
5363 const char *peer_str
;
5366 uint8_t ttl
= MAXTTL
;
5368 switch (args
->event
) {
5369 case NB_EV_VALIDATE
:
5374 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5376 yang_dnode_get_string(args
->dnode
, "../../interface");
5377 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5379 return NB_ERR_INCONSISTENCY
;
5381 if (peer
->conf_if
) {
5382 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
5383 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
5385 return NB_ERR_INCONSISTENCY
;
5388 ttl
= yang_dnode_get_uint8(args
->dnode
, NULL
);
5390 ret
= peer_ebgp_multihop_set(peer
, ttl
);
5392 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5400 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_multihop_ttl_destroy(
5401 struct nb_cb_destroy_args
*args
)
5404 const char *peer_str
;
5408 switch (args
->event
) {
5409 case NB_EV_VALIDATE
:
5414 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5416 yang_dnode_get_string(args
->dnode
, "../../interface");
5417 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5419 return NB_ERR_INCONSISTENCY
;
5421 ret
= peer_ebgp_multihop_unset(peer
);
5423 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5433 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/ebgp-multihop/disable-connected-check
5435 int bgp_neighbors_unnumbered_neighbor_ebgp_multihop_disable_connected_check_modify(
5436 struct nb_cb_modify_args
*args
)
5439 const char *peer_str
;
5443 switch (args
->event
) {
5444 case NB_EV_VALIDATE
:
5449 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5451 yang_dnode_get_string(args
->dnode
, "../../interface");
5452 peer
= peer_lookup_by_conf_if(bgp
, peer_str
);
5454 return NB_ERR_INCONSISTENCY
;
5456 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
5458 if (peer_flag_modify_nb(bgp
, peer_str
, peer
,
5459 PEER_FLAG_DISABLE_CONNECTED_CHECK
, set
,
5460 args
->errmsg
, args
->errmsg_len
)
5462 return NB_ERR_INCONSISTENCY
;
5472 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/local-as
5474 void bgp_neighbors_unnumbered_neighbor_local_as_apply_finish(
5475 struct nb_cb_apply_finish_args
*args
)
5480 const char *peer_str
;
5481 struct peer
*peer
= NULL
;
5482 bool no_prepend
= 0;
5483 bool replace_as
= 0;
5485 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5486 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5488 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
5491 if (yang_dnode_exists(args
->dnode
, "./local-as"))
5492 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
5493 if (yang_dnode_exists(args
->dnode
, "./no-prepend"))
5494 no_prepend
= yang_dnode_get_bool(args
->dnode
, "./no-prepend");
5495 if (yang_dnode_exists(args
->dnode
, "./no-replace-as"))
5497 yang_dnode_get_bool(args
->dnode
, "./no-replace-as");
5499 if (!as
&& !no_prepend
&& !replace_as
)
5500 ret
= peer_local_as_unset(peer
);
5502 ret
= peer_local_as_set(peer
, as
, no_prepend
, replace_as
);
5504 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
5509 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/local-as
5511 int bgp_neighbors_unnumbered_neighbor_local_as_local_as_modify(
5512 struct nb_cb_modify_args
*args
)
5514 switch (args
->event
) {
5515 case NB_EV_VALIDATE
:
5519 /* TODO: implement me. */
5526 int bgp_neighbors_unnumbered_neighbor_local_as_local_as_destroy(
5527 struct nb_cb_destroy_args
*args
)
5529 switch (args
->event
) {
5530 case NB_EV_VALIDATE
:
5534 /* TODO: implement me. */
5543 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/no-prepend
5545 int bgp_neighbors_unnumbered_neighbor_local_as_no_prepend_modify(
5546 struct nb_cb_modify_args
*args
)
5548 switch (args
->event
) {
5549 case NB_EV_VALIDATE
:
5553 /* TODO: implement me. */
5560 int bgp_neighbors_unnumbered_neighbor_local_as_no_prepend_destroy(
5561 struct nb_cb_destroy_args
*args
)
5563 switch (args
->event
) {
5564 case NB_EV_VALIDATE
:
5568 /* TODO: implement me. */
5577 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/local-as/no-replace-as
5579 int bgp_neighbors_unnumbered_neighbor_local_as_no_replace_as_modify(
5580 struct nb_cb_modify_args
*args
)
5582 switch (args
->event
) {
5583 case NB_EV_VALIDATE
:
5587 /* TODO: implement me. */
5596 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/enable
5598 int bgp_neighbors_unnumbered_neighbor_bfd_options_enable_modify(
5599 struct nb_cb_modify_args
*args
)
5601 switch (args
->event
) {
5602 case NB_EV_VALIDATE
:
5606 /* TODO: implement me. */
5615 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/detect-multiplier
5617 int bgp_neighbors_unnumbered_neighbor_bfd_options_detect_multiplier_modify(
5618 struct nb_cb_modify_args
*args
)
5620 switch (args
->event
) {
5621 case NB_EV_VALIDATE
:
5625 /* TODO: implement me. */
5632 int bgp_neighbors_unnumbered_neighbor_bfd_options_detect_multiplier_destroy(
5633 struct nb_cb_destroy_args
*args
)
5635 switch (args
->event
) {
5636 case NB_EV_VALIDATE
:
5640 /* TODO: implement me. */
5649 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/required-min-rx
5651 int bgp_neighbors_unnumbered_neighbor_bfd_options_required_min_rx_modify(
5652 struct nb_cb_modify_args
*args
)
5654 switch (args
->event
) {
5655 case NB_EV_VALIDATE
:
5659 /* TODO: implement me. */
5666 int bgp_neighbors_unnumbered_neighbor_bfd_options_required_min_rx_destroy(
5667 struct nb_cb_destroy_args
*args
)
5669 switch (args
->event
) {
5670 case NB_EV_VALIDATE
:
5674 /* TODO: implement me. */
5683 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/desired-min-tx
5685 int bgp_neighbors_unnumbered_neighbor_bfd_options_desired_min_tx_modify(
5686 struct nb_cb_modify_args
*args
)
5688 switch (args
->event
) {
5689 case NB_EV_VALIDATE
:
5693 /* TODO: implement me. */
5700 int bgp_neighbors_unnumbered_neighbor_bfd_options_desired_min_tx_destroy(
5701 struct nb_cb_destroy_args
*args
)
5703 switch (args
->event
) {
5704 case NB_EV_VALIDATE
:
5708 /* TODO: implement me. */
5717 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/session-type
5719 int bgp_neighbors_unnumbered_neighbor_bfd_options_session_type_modify(
5720 struct nb_cb_modify_args
*args
)
5722 switch (args
->event
) {
5723 case NB_EV_VALIDATE
:
5727 /* TODO: implement me. */
5734 int bgp_neighbors_unnumbered_neighbor_bfd_options_session_type_destroy(
5735 struct nb_cb_destroy_args
*args
)
5737 switch (args
->event
) {
5738 case NB_EV_VALIDATE
:
5742 /* TODO: implement me. */
5751 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/bfd-options/check-cp-failure
5753 int bgp_neighbors_unnumbered_neighbor_bfd_options_check_cp_failure_modify(
5754 struct nb_cb_modify_args
*args
)
5756 switch (args
->event
) {
5757 case NB_EV_VALIDATE
:
5761 /* TODO: implement me. */
5768 int bgp_neighbors_unnumbered_neighbor_bfd_options_check_cp_failure_destroy(
5769 struct nb_cb_destroy_args
*args
)
5771 switch (args
->event
) {
5772 case NB_EV_VALIDATE
:
5776 /* TODO: implement me. */
5785 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown
5787 void bgp_neighbors_unnumbered_neighbor_admin_shutdown_apply_finish(
5788 struct nb_cb_apply_finish_args
*args
)
5791 const char *peer_str
;
5793 bool enable
= false;
5794 const char *message
;
5796 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
5797 peer_str
= yang_dnode_get_string(args
->dnode
, "../interface");
5798 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
5801 if (yang_dnode_exists(args
->dnode
, "./message")) {
5802 message
= yang_dnode_get_string(args
->dnode
, "./message");
5803 peer_tx_shutdown_message_set(peer
, message
);
5805 enable
= yang_dnode_get_bool(args
->dnode
, "./enable");
5807 peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_SHUTDOWN
, enable
,
5808 args
->errmsg
, args
->errmsg_len
);
5813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown/enable
5815 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_enable_modify(
5816 struct nb_cb_modify_args
*args
)
5818 switch (args
->event
) {
5819 case NB_EV_VALIDATE
:
5823 /* TODO: implement me. */
5830 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_enable_destroy(
5831 struct nb_cb_destroy_args
*args
)
5833 switch (args
->event
) {
5834 case NB_EV_VALIDATE
:
5838 /* TODO: implement me. */
5847 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/admin-shutdown/message
5849 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_message_modify(
5850 struct nb_cb_modify_args
*args
)
5852 switch (args
->event
) {
5853 case NB_EV_VALIDATE
:
5857 /* TODO: implement me. */
5864 int bgp_neighbors_unnumbered_neighbor_admin_shutdown_message_destroy(
5865 struct nb_cb_destroy_args
*args
)
5867 switch (args
->event
) {
5868 case NB_EV_VALIDATE
:
5872 /* TODO: implement me. */
5881 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/enable
5883 int bgp_neighbors_unnumbered_neighbor_graceful_restart_enable_modify(
5884 struct nb_cb_modify_args
*args
)
5886 switch (args
->event
) {
5887 case NB_EV_VALIDATE
:
5891 /* TODO: implement me. */
5898 int bgp_neighbors_unnumbered_neighbor_graceful_restart_enable_destroy(
5899 struct nb_cb_destroy_args
*args
)
5901 switch (args
->event
) {
5902 case NB_EV_VALIDATE
:
5906 /* TODO: implement me. */
5915 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/graceful-restart-helper
5917 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_helper_modify(
5918 struct nb_cb_modify_args
*args
)
5920 switch (args
->event
) {
5921 case NB_EV_VALIDATE
:
5925 /* TODO: implement me. */
5932 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_helper_destroy(
5933 struct nb_cb_destroy_args
*args
)
5935 switch (args
->event
) {
5936 case NB_EV_VALIDATE
:
5940 /* TODO: implement me. */
5949 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/graceful-restart/graceful-restart-disable
5951 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_disable_modify(
5952 struct nb_cb_modify_args
*args
)
5954 switch (args
->event
) {
5955 case NB_EV_VALIDATE
:
5959 /* TODO: implement me. */
5966 int bgp_neighbors_unnumbered_neighbor_graceful_restart_graceful_restart_disable_destroy(
5967 struct nb_cb_destroy_args
*args
)
5969 switch (args
->event
) {
5970 case NB_EV_VALIDATE
:
5974 /* TODO: implement me. */
5983 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/advertise-interval
5985 int bgp_neighbors_unnumbered_neighbor_timers_advertise_interval_modify(
5986 struct nb_cb_modify_args
*args
)
5989 const char *peer_str
;
5994 switch (args
->event
) {
5995 case NB_EV_VALIDATE
:
6000 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6002 yang_dnode_get_string(args
->dnode
, "../../interface");
6003 peer
= bgp_unnumbered_neighbor_peer_lookup(
6004 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6005 routeadv
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6007 ret
= peer_advertise_interval_set(peer
, routeadv
);
6008 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6016 int bgp_neighbors_unnumbered_neighbor_timers_advertise_interval_destroy(
6017 struct nb_cb_destroy_args
*args
)
6020 const char *peer_str
;
6024 switch (args
->event
) {
6025 case NB_EV_VALIDATE
:
6030 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6032 yang_dnode_get_string(args
->dnode
, "../../interface");
6033 peer
= bgp_unnumbered_neighbor_peer_lookup(
6034 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6036 ret
= peer_advertise_interval_unset(peer
);
6037 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6047 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/connect-time
6049 int bgp_neighbors_unnumbered_neighbor_timers_connect_time_modify(
6050 struct nb_cb_modify_args
*args
)
6053 const char *peer_str
;
6058 switch (args
->event
) {
6059 case NB_EV_VALIDATE
:
6064 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6066 yang_dnode_get_string(args
->dnode
, "../../interface");
6067 peer
= bgp_unnumbered_neighbor_peer_lookup(
6068 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6069 connect
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6071 ret
= peer_timers_connect_set(peer
, connect
);
6072 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
6080 int bgp_neighbors_unnumbered_neighbor_timers_connect_time_destroy(
6081 struct nb_cb_destroy_args
*args
)
6084 const char *peer_str
;
6088 switch (args
->event
) {
6089 case NB_EV_VALIDATE
:
6094 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6096 yang_dnode_get_string(args
->dnode
, "../../interface");
6097 peer
= bgp_unnumbered_neighbor_peer_lookup(
6098 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6099 ret
= peer_timers_connect_unset(peer
);
6100 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6102 return NB_ERR_INCONSISTENCY
;
6112 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/hold-time
6114 int bgp_neighbors_unnumbered_neighbor_timers_hold_time_modify(
6115 struct nb_cb_modify_args
*args
)
6118 const char *peer_str
;
6120 uint16_t keepalive
= 0;
6121 uint16_t holdtime
= 0;
6124 switch (args
->event
) {
6125 case NB_EV_VALIDATE
:
6130 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6132 yang_dnode_get_string(args
->dnode
, "../../interface");
6133 peer
= bgp_unnumbered_neighbor_peer_lookup(
6134 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6136 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
6137 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6139 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
6140 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
6141 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
6143 ret
= peer_timers_unset(peer
);
6145 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6147 return NB_ERR_INCONSISTENCY
;
6157 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/timers/keepalive
6159 int bgp_neighbors_unnumbered_neighbor_timers_keepalive_modify(
6160 struct nb_cb_modify_args
*args
)
6163 const char *peer_str
;
6165 uint16_t keepalive
= 0, curr_keep
= 0;
6166 uint16_t holdtime
= 0;
6169 switch (args
->event
) {
6170 case NB_EV_VALIDATE
:
6175 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6177 yang_dnode_get_string(args
->dnode
, "../../interface");
6178 peer
= bgp_unnumbered_neighbor_peer_lookup(
6179 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6181 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
6182 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
6184 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
6185 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
6186 if (peer
->holdtime
== holdtime
) {
6187 curr_keep
= (keepalive
< holdtime
/ 3
6190 if (curr_keep
== keepalive
)
6193 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
6195 ret
= peer_timers_unset(peer
);
6197 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6199 return NB_ERR_INCONSISTENCY
;
6209 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi
6211 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_create(
6212 struct nb_cb_create_args
*args
)
6214 switch (args
->event
) {
6215 case NB_EV_VALIDATE
:
6219 /* TODO: implement me. */
6226 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_destroy(
6227 struct nb_cb_destroy_args
*args
)
6229 switch (args
->event
) {
6230 case NB_EV_VALIDATE
:
6234 /* TODO: implement me. */
6243 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/enabled
6245 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_enabled_modify(
6246 struct nb_cb_modify_args
*args
)
6249 const char *peer_str
;
6250 const char *af_name
;
6253 bool activate
= false;
6257 switch (args
->event
) {
6258 case NB_EV_VALIDATE
:
6263 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6265 yang_dnode_get_string(args
->dnode
, "../afi-safi-name");
6266 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
6267 peer_str
= yang_dnode_get_string(args
->dnode
,
6268 "../../../interface");
6270 peer
= bgp_unnumbered_neighbor_peer_lookup(
6271 bgp
, peer_str
, args
->errmsg
, args
->errmsg_len
);
6273 activate
= yang_dnode_get_bool(args
->dnode
, NULL
);
6276 ret
= peer_activate(peer
, afi
, safi
);
6278 ret
= peer_deactivate(peer
, afi
, safi
);
6280 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6282 return NB_ERR_INCONSISTENCY
;
6290 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_enabled_destroy(
6291 struct nb_cb_destroy_args
*args
)
6293 switch (args
->event
) {
6294 case NB_EV_VALIDATE
:
6298 /* TODO: implement me. */
6305 static struct peer
*bgp_peer_group_peer_lookup(struct bgp
*bgp
,
6306 const char *peer_str
)
6308 struct peer_group
*group
= NULL
;
6310 group
= peer_group_lookup(bgp
, peer_str
);
6320 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group
6322 int bgp_peer_groups_peer_group_create(struct nb_cb_create_args
*args
)
6324 const char *peer_grp_str
;
6326 struct peer_group
*group
;
6328 char unnbr_xpath
[XPATH_MAXLEN
];
6329 const struct lyd_node
*bgp_dnode
;
6331 switch (args
->event
) {
6332 case NB_EV_VALIDATE
:
6334 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6335 bgp_dnode
= yang_dnode_get_parent(args
->dnode
, "bgp");
6336 snprintf(unnbr_xpath
, sizeof(unnbr_xpath
),
6337 FRR_BGP_NEIGHBOR_UNNUM_XPATH
, peer_grp_str
, "");
6339 if (yang_dnode_exists(bgp_dnode
, unnbr_xpath
)) {
6340 snprintf(args
->errmsg
, args
->errmsg_len
,
6341 "Name conflict with interface: %s",
6343 return NB_ERR_VALIDATION
;
6351 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6353 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6354 peer
= peer_lookup_by_conf_if(bgp
, peer_grp_str
);
6356 snprintf(args
->errmsg
, args
->errmsg_len
,
6357 "Name conflict with interface:");
6358 return NB_ERR_INCONSISTENCY
;
6361 group
= peer_group_get(bgp
, peer_grp_str
);
6363 snprintf(args
->errmsg
, args
->errmsg_len
,
6364 "BGP failed to find or create peer-group");
6365 return NB_ERR_INCONSISTENCY
;
6373 int bgp_peer_groups_peer_group_destroy(struct nb_cb_destroy_args
*args
)
6375 const char *peer_grp_str
;
6376 struct peer_group
*group
;
6379 switch (args
->event
) {
6380 case NB_EV_VALIDATE
:
6385 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6387 yang_dnode_get_string(args
->dnode
, "./peer-group-name");
6389 group
= peer_group_lookup(bgp
, peer_grp_str
);
6391 peer_group_notify_unconfig(group
);
6392 peer_group_delete(group
);
6403 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ipv4-listen-range
6405 int bgp_peer_groups_peer_group_ipv4_listen_range_create(
6406 struct nb_cb_create_args
*args
)
6408 switch (args
->event
) {
6409 case NB_EV_VALIDATE
:
6413 /* TODO: implement me. */
6420 int bgp_peer_groups_peer_group_ipv4_listen_range_destroy(
6421 struct nb_cb_destroy_args
*args
)
6423 switch (args
->event
) {
6424 case NB_EV_VALIDATE
:
6428 /* TODO: implement me. */
6437 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ipv6-listen-range
6439 int bgp_peer_groups_peer_group_ipv6_listen_range_create(
6440 struct nb_cb_create_args
*args
)
6442 switch (args
->event
) {
6443 case NB_EV_VALIDATE
:
6447 /* TODO: implement me. */
6454 int bgp_peer_groups_peer_group_ipv6_listen_range_destroy(
6455 struct nb_cb_destroy_args
*args
)
6457 switch (args
->event
) {
6458 case NB_EV_VALIDATE
:
6462 /* TODO: implement me. */
6471 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/password
6473 int bgp_peer_groups_peer_group_password_modify(struct nb_cb_modify_args
*args
)
6476 const char *peer_str
;
6477 const char *passwrd_str
;
6478 struct peer
*peer
= NULL
;
6480 switch (args
->event
) {
6481 case NB_EV_VALIDATE
:
6486 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6487 peer_str
= yang_dnode_get_string(args
->dnode
,
6488 "../peer-group-name");
6489 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6491 passwrd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6492 peer_password_set(peer
, passwrd_str
);
6500 int bgp_peer_groups_peer_group_password_destroy(struct nb_cb_destroy_args
*args
)
6503 const char *peer_str
;
6504 struct peer
*peer
= NULL
;
6506 switch (args
->event
) {
6507 case NB_EV_VALIDATE
:
6512 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6513 peer_str
= yang_dnode_get_string(args
->dnode
,
6514 "../peer-group-name");
6515 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6517 peer_password_unset(peer
);
6527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ttl-security
6529 int bgp_peer_groups_peer_group_ttl_security_modify(
6530 struct nb_cb_modify_args
*args
)
6533 const char *peer_str
;
6538 switch (args
->event
) {
6539 case NB_EV_VALIDATE
:
6544 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6545 peer_str
= yang_dnode_get_string(args
->dnode
,
6546 "../peer-group-name");
6547 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6549 return NB_ERR_INCONSISTENCY
;
6551 gtsm_hops
= yang_dnode_get_uint8(args
->dnode
, NULL
);
6553 * If 'neighbor swpX', then this is for directly connected
6554 * peers, we should not accept a ttl-security hops value greater
6557 if (peer
->conf_if
&& (gtsm_hops
> BGP_GTSM_HOPS_CONNECTED
)) {
6559 args
->errmsg
, args
->errmsg_len
,
6560 "%d is directly connected peer, hops cannot exceed 1\n",
6562 return NB_ERR_INCONSISTENCY
;
6565 ret
= peer_ttl_security_hops_set(peer
, gtsm_hops
);
6566 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6568 return NB_ERR_INCONSISTENCY
;
6576 int bgp_peer_groups_peer_group_ttl_security_destroy(
6577 struct nb_cb_destroy_args
*args
)
6580 const char *peer_str
;
6584 switch (args
->event
) {
6585 case NB_EV_VALIDATE
:
6590 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6591 peer_str
= yang_dnode_get_string(args
->dnode
,
6592 "../peer-group-name");
6593 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6595 return NB_ERR_INCONSISTENCY
;
6597 ret
= peer_ttl_security_hops_unset(peer
);
6598 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
6600 return NB_ERR_INCONSISTENCY
;
6610 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/solo
6612 int bgp_peer_groups_peer_group_solo_modify(struct nb_cb_modify_args
*args
)
6614 switch (args
->event
) {
6615 case NB_EV_VALIDATE
:
6619 /* TODO: implement me. */
6628 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/enforce-first-as
6630 int bgp_peer_groups_peer_group_enforce_first_as_modify(
6631 struct nb_cb_modify_args
*args
)
6634 const char *peer_str
;
6636 bool enable
= false;
6638 switch (args
->event
) {
6639 case NB_EV_VALIDATE
:
6644 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6645 peer_str
= yang_dnode_get_string(args
->dnode
,
6646 "../peer-group-name");
6647 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6649 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6651 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6652 PEER_FLAG_ENFORCE_FIRST_AS
, enable
,
6653 args
->errmsg
, args
->errmsg_len
);
6663 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/description
6665 int bgp_peer_groups_peer_group_description_modify(
6666 struct nb_cb_modify_args
*args
)
6669 const char *peer_str
;
6670 const char *desc_str
;
6671 struct peer
*peer
= NULL
;
6673 switch (args
->event
) {
6674 case NB_EV_VALIDATE
:
6679 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6680 peer_str
= yang_dnode_get_string(args
->dnode
,
6681 "../peer-group-name");
6682 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6684 desc_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6686 peer_description_set(peer
, desc_str
);
6694 int bgp_peer_groups_peer_group_description_destroy(
6695 struct nb_cb_destroy_args
*args
)
6698 const char *peer_str
;
6699 struct peer
*peer
= NULL
;
6701 switch (args
->event
) {
6702 case NB_EV_VALIDATE
:
6707 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6708 peer_str
= yang_dnode_get_string(args
->dnode
,
6709 "../peer-group-name");
6710 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6712 return NB_ERR_INCONSISTENCY
;
6714 peer_description_unset(peer
);
6724 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/passive-mode
6726 int bgp_peer_groups_peer_group_passive_mode_modify(
6727 struct nb_cb_modify_args
*args
)
6730 const char *peer_str
;
6734 switch (args
->event
) {
6735 case NB_EV_VALIDATE
:
6740 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6741 peer_str
= yang_dnode_get_string(args
->dnode
,
6742 "../peer-group-name");
6743 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6745 return NB_ERR_INCONSISTENCY
;
6747 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
6749 if (peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_PASSIVE
,
6750 set
, args
->errmsg
, args
->errmsg_len
)
6752 return NB_ERR_INCONSISTENCY
;
6762 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/dynamic-capability
6764 int bgp_peer_groups_peer_group_capability_options_dynamic_capability_modify(
6765 struct nb_cb_modify_args
*args
)
6768 const char *peer_str
;
6770 bool enable
= false;
6772 switch (args
->event
) {
6773 case NB_EV_VALIDATE
:
6778 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6779 peer_str
= yang_dnode_get_string(args
->dnode
,
6780 "../../peer-group-name");
6781 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6783 return NB_ERR_INCONSISTENCY
;
6785 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6787 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6788 PEER_FLAG_DYNAMIC_CAPABILITY
, enable
,
6789 args
->errmsg
, args
->errmsg_len
);
6799 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/strict-capability
6801 int bgp_peer_groups_peer_group_capability_options_strict_capability_modify(
6802 struct nb_cb_modify_args
*args
)
6805 const char *peer_str
;
6807 bool enable
= false;
6809 switch (args
->event
) {
6810 case NB_EV_VALIDATE
:
6815 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6816 peer_str
= yang_dnode_get_string(args
->dnode
,
6817 "../../peer-group-name");
6818 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6820 return NB_ERR_INCONSISTENCY
;
6822 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6824 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6825 PEER_FLAG_STRICT_CAP_MATCH
, enable
,
6826 args
->errmsg
, args
->errmsg_len
);
6836 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/extended-nexthop-capability
6838 int bgp_peer_groups_peer_group_capability_options_extended_nexthop_capability_modify(
6839 struct nb_cb_modify_args
*args
)
6842 const char *peer_str
;
6844 bool enable
= false;
6846 switch (args
->event
) {
6847 case NB_EV_VALIDATE
:
6852 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6853 peer_str
= yang_dnode_get_string(args
->dnode
,
6854 "../../peer-group-name");
6855 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6857 return NB_ERR_INCONSISTENCY
;
6859 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6861 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6862 PEER_FLAG_CAPABILITY_ENHE
, enable
,
6863 args
->errmsg
, args
->errmsg_len
);
6873 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/capability-negotiate
6875 int bgp_peer_groups_peer_group_capability_options_capability_negotiate_modify(
6876 struct nb_cb_modify_args
*args
)
6878 switch (args
->event
) {
6879 case NB_EV_VALIDATE
:
6883 /* TODO: implement me. */
6892 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/capability-options/override-capability
6894 int bgp_peer_groups_peer_group_capability_options_override_capability_modify(
6895 struct nb_cb_modify_args
*args
)
6898 const char *peer_str
;
6900 bool enable
= false;
6902 switch (args
->event
) {
6903 case NB_EV_VALIDATE
:
6908 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6909 peer_str
= yang_dnode_get_string(args
->dnode
,
6910 "../../peer-group-name");
6911 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6913 return NB_ERR_INCONSISTENCY
;
6915 enable
= yang_dnode_get_bool(args
->dnode
, NULL
);
6917 peer_flag_modify_nb(bgp
, peer_str
, peer
,
6918 PEER_FLAG_OVERRIDE_CAPABILITY
, enable
,
6919 args
->errmsg
, args
->errmsg_len
);
6929 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/update-source/ip
6931 int bgp_peer_groups_peer_group_update_source_ip_modify(
6932 struct nb_cb_modify_args
*args
)
6935 const char *peer_str
, *source_str
;
6939 switch (args
->event
) {
6940 case NB_EV_VALIDATE
:
6945 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6946 peer_str
= yang_dnode_get_string(args
->dnode
,
6947 "../../peer-group-name");
6948 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6950 return NB_ERR_INCONSISTENCY
;
6952 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
6954 str2sockunion(source_str
, &su
);
6955 peer_update_source_addr_set(peer
, &su
);
6963 int bgp_peer_groups_peer_group_update_source_ip_destroy(
6964 struct nb_cb_destroy_args
*args
)
6967 const char *peer_str
;
6970 switch (args
->event
) {
6971 case NB_EV_VALIDATE
:
6976 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
6977 peer_str
= yang_dnode_get_string(args
->dnode
,
6978 "../../peer-group-name");
6979 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
6981 return NB_ERR_INCONSISTENCY
;
6983 peer_update_source_unset(peer
);
6993 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/update-source/interface
6995 int bgp_peer_groups_peer_group_update_source_interface_modify(
6996 struct nb_cb_modify_args
*args
)
6999 const char *peer_str
, *source_str
;
7003 switch (args
->event
) {
7004 case NB_EV_VALIDATE
:
7005 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
7006 if (str2prefix(source_str
, &p
)) {
7007 snprintf(args
->errmsg
, args
->errmsg_len
,
7008 "Invalid update-source, remove prefix length");
7009 return NB_ERR_VALIDATION
;
7016 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7017 peer_str
= yang_dnode_get_string(args
->dnode
,
7018 "../../peer-group-name");
7019 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7021 return NB_ERR_INCONSISTENCY
;
7023 source_str
= yang_dnode_get_string(args
->dnode
, NULL
);
7025 peer_update_source_if_set(peer
, source_str
);
7033 int bgp_peer_groups_peer_group_update_source_interface_destroy(
7034 struct nb_cb_destroy_args
*args
)
7037 const char *peer_str
;
7040 switch (args
->event
) {
7041 case NB_EV_VALIDATE
:
7046 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7047 peer_str
= yang_dnode_get_string(args
->dnode
,
7048 "../../peer-group-name");
7049 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7051 return NB_ERR_INCONSISTENCY
;
7053 peer_update_source_unset(peer
);
7063 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as
7065 void bgp_peer_group_neighbor_remote_as_apply_finish(
7066 struct nb_cb_apply_finish_args
*args
)
7069 const char *peer_str
;
7070 int as_type
= AS_SPECIFIED
;
7074 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7075 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7076 as_type
= yang_dnode_get_enum(args
->dnode
, "./remote-as-type");
7077 if (yang_dnode_exists(args
->dnode
, "./remote-as"))
7078 as
= yang_dnode_get_uint32(args
->dnode
, "./remote-as");
7080 ret
= peer_group_remote_as(bgp
, peer_str
, &as
, as_type
);
7082 snprintf(args
->errmsg
, args
->errmsg_len
,
7083 "Create the peer-group or interface first");
7090 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as/remote-as-type
7092 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_type_modify(
7093 struct nb_cb_modify_args
*args
)
7095 switch (args
->event
) {
7096 case NB_EV_VALIDATE
:
7100 /* TODO: implement me. */
7107 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_type_destroy(
7108 struct nb_cb_destroy_args
*args
)
7111 const char *peer_str
;
7112 struct peer_group
*group
;
7114 switch (args
->event
) {
7115 case NB_EV_VALIDATE
:
7120 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7121 peer_str
= yang_dnode_get_string(args
->dnode
,
7122 "../../peer-group-name");
7123 group
= peer_group_lookup(bgp
, peer_str
);
7125 peer_group_remote_as_delete(group
);
7135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/neighbor-remote-as/remote-as
7137 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_modify(
7138 struct nb_cb_modify_args
*args
)
7140 switch (args
->event
) {
7141 case NB_EV_VALIDATE
:
7145 /* TODO: implement me. */
7152 int bgp_peer_groups_peer_group_neighbor_remote_as_remote_as_destroy(
7153 struct nb_cb_destroy_args
*args
)
7155 switch (args
->event
) {
7156 case NB_EV_VALIDATE
:
7160 /* TODO: implement me. */
7169 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/enabled
7171 int bgp_peer_groups_peer_group_ebgp_multihop_enabled_modify(
7172 struct nb_cb_modify_args
*args
)
7175 const char *peer_str
;
7179 uint8_t ttl
= MAXTTL
;
7181 switch (args
->event
) {
7182 case NB_EV_VALIDATE
:
7187 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7188 peer_str
= yang_dnode_get_string(args
->dnode
,
7189 "../../peer-group-name");
7190 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7192 return NB_ERR_INCONSISTENCY
;
7194 if (peer
->conf_if
) {
7195 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
7196 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
7198 return NB_ERR_INCONSISTENCY
;
7201 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
7204 ret
= peer_ebgp_multihop_set(peer
, ttl
);
7206 ret
= peer_ebgp_multihop_unset(peer
);
7208 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7210 return NB_ERR_INCONSISTENCY
;
7218 int bgp_peer_groups_peer_group_ebgp_multihop_enabled_destroy(
7219 struct nb_cb_destroy_args
*args
)
7222 const char *peer_str
;
7226 switch (args
->event
) {
7227 case NB_EV_VALIDATE
:
7232 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7233 peer_str
= yang_dnode_get_string(args
->dnode
,
7234 "../../peer-group-name");
7235 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7237 return NB_ERR_INCONSISTENCY
;
7239 ret
= peer_ebgp_multihop_unset(peer
);
7241 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7243 return NB_ERR_INCONSISTENCY
;
7253 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/multihop-ttl
7255 int bgp_peer_groups_peer_group_ebgp_multihop_multihop_ttl_modify(
7256 struct nb_cb_modify_args
*args
)
7259 const char *peer_str
;
7262 uint8_t ttl
= MAXTTL
;
7264 switch (args
->event
) {
7265 case NB_EV_VALIDATE
:
7270 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7271 peer_str
= yang_dnode_get_string(args
->dnode
,
7272 "../../peer-group-name");
7273 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7275 return NB_ERR_INCONSISTENCY
;
7277 if (peer
->conf_if
) {
7278 ret
= BGP_ERR_INVALID_FOR_DIRECT_PEER
;
7279 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
,
7281 return NB_ERR_INCONSISTENCY
;
7284 ttl
= yang_dnode_get_uint8(args
->dnode
, NULL
);
7286 ret
= peer_ebgp_multihop_set(peer
, ttl
);
7288 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7290 return NB_ERR_INCONSISTENCY
;
7298 int bgp_peer_groups_peer_group_ebgp_multihop_multihop_ttl_destroy(
7299 struct nb_cb_destroy_args
*args
)
7302 const char *peer_str
;
7306 switch (args
->event
) {
7307 case NB_EV_VALIDATE
:
7312 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7313 peer_str
= yang_dnode_get_string(args
->dnode
,
7314 "../../peer-group-name");
7315 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7317 return NB_ERR_INCONSISTENCY
;
7319 ret
= peer_ebgp_multihop_unset(peer
);
7321 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7323 return NB_ERR_INCONSISTENCY
;
7333 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/ebgp-multihop/disable-connected-check
7335 int bgp_peer_groups_peer_group_ebgp_multihop_disable_connected_check_modify(
7336 struct nb_cb_modify_args
*args
)
7339 const char *peer_str
;
7343 switch (args
->event
) {
7344 case NB_EV_VALIDATE
:
7349 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7350 peer_str
= yang_dnode_get_string(args
->dnode
,
7351 "../../peer-group-name");
7352 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7354 return NB_ERR_INCONSISTENCY
;
7356 set
= yang_dnode_get_bool(args
->dnode
, NULL
);
7358 if (peer_flag_modify_nb(bgp
, peer_str
, peer
,
7359 PEER_FLAG_DISABLE_CONNECTED_CHECK
, set
,
7360 args
->errmsg
, args
->errmsg_len
)
7362 return NB_ERR_INCONSISTENCY
;
7372 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as
7374 void bgp_peer_groups_peer_group_local_as_apply_finish(
7375 struct nb_cb_apply_finish_args
*args
)
7380 const char *peer_str
;
7381 struct peer
*peer
= NULL
;
7382 bool no_prepend
= false;
7383 bool replace_as
= false;
7385 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7386 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7388 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7390 if (yang_dnode_exists(args
->dnode
, "./local-as"))
7391 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
7393 if (yang_dnode_exists(args
->dnode
, "./local-as"))
7394 as
= yang_dnode_get_uint32(args
->dnode
, "./local-as");
7395 if (yang_dnode_exists(args
->dnode
, "./no-prepend"))
7396 no_prepend
= yang_dnode_get_bool(args
->dnode
, "./no-prepend");
7397 if (yang_dnode_exists(args
->dnode
, "./no-replace-as"))
7399 yang_dnode_get_bool(args
->dnode
, "./no-replace-as");
7401 if (!as
&& !no_prepend
&& !replace_as
)
7402 ret
= peer_local_as_unset(peer
);
7404 ret
= peer_local_as_set(peer
, as
, no_prepend
, replace_as
);
7406 bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
7411 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/local-as
7413 int bgp_peer_groups_peer_group_local_as_local_as_modify(
7414 struct nb_cb_modify_args
*args
)
7416 switch (args
->event
) {
7417 case NB_EV_VALIDATE
:
7421 /* TODO: implement me. */
7428 int bgp_peer_groups_peer_group_local_as_local_as_destroy(
7429 struct nb_cb_destroy_args
*args
)
7432 const char *peer_str
;
7436 switch (args
->event
) {
7437 case NB_EV_VALIDATE
:
7442 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7443 peer_str
= yang_dnode_get_string(args
->dnode
,
7444 "../../peer-group-name");
7445 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7447 ret
= peer_local_as_unset(peer
);
7448 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7450 return NB_ERR_INCONSISTENCY
;
7460 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/no-prepend
7462 int bgp_peer_groups_peer_group_local_as_no_prepend_modify(
7463 struct nb_cb_modify_args
*args
)
7465 switch (args
->event
) {
7466 case NB_EV_VALIDATE
:
7470 /* TODO: implement me. */
7477 int bgp_peer_groups_peer_group_local_as_no_prepend_destroy(
7478 struct nb_cb_destroy_args
*args
)
7480 switch (args
->event
) {
7481 case NB_EV_VALIDATE
:
7485 /* TODO: implement me. */
7494 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/local-as/no-replace-as
7496 int bgp_peer_groups_peer_group_local_as_no_replace_as_modify(
7497 struct nb_cb_modify_args
*args
)
7499 switch (args
->event
) {
7500 case NB_EV_VALIDATE
:
7504 /* TODO: implement me. */
7513 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/enable
7515 int bgp_peer_groups_peer_group_bfd_options_enable_modify(
7516 struct nb_cb_modify_args
*args
)
7518 switch (args
->event
) {
7519 case NB_EV_VALIDATE
:
7523 /* TODO: implement me. */
7532 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/detect-multiplier
7534 int bgp_peer_groups_peer_group_bfd_options_detect_multiplier_modify(
7535 struct nb_cb_modify_args
*args
)
7537 switch (args
->event
) {
7538 case NB_EV_VALIDATE
:
7542 /* TODO: implement me. */
7549 int bgp_peer_groups_peer_group_bfd_options_detect_multiplier_destroy(
7550 struct nb_cb_destroy_args
*args
)
7552 switch (args
->event
) {
7553 case NB_EV_VALIDATE
:
7557 /* TODO: implement me. */
7566 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/required-min-rx
7568 int bgp_peer_groups_peer_group_bfd_options_required_min_rx_modify(
7569 struct nb_cb_modify_args
*args
)
7571 switch (args
->event
) {
7572 case NB_EV_VALIDATE
:
7576 /* TODO: implement me. */
7583 int bgp_peer_groups_peer_group_bfd_options_required_min_rx_destroy(
7584 struct nb_cb_destroy_args
*args
)
7586 switch (args
->event
) {
7587 case NB_EV_VALIDATE
:
7591 /* TODO: implement me. */
7600 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/desired-min-tx
7602 int bgp_peer_groups_peer_group_bfd_options_desired_min_tx_modify(
7603 struct nb_cb_modify_args
*args
)
7605 switch (args
->event
) {
7606 case NB_EV_VALIDATE
:
7610 /* TODO: implement me. */
7617 int bgp_peer_groups_peer_group_bfd_options_desired_min_tx_destroy(
7618 struct nb_cb_destroy_args
*args
)
7620 switch (args
->event
) {
7621 case NB_EV_VALIDATE
:
7625 /* TODO: implement me. */
7634 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/session-type
7636 int bgp_peer_groups_peer_group_bfd_options_session_type_modify(
7637 struct nb_cb_modify_args
*args
)
7639 switch (args
->event
) {
7640 case NB_EV_VALIDATE
:
7644 /* TODO: implement me. */
7651 int bgp_peer_groups_peer_group_bfd_options_session_type_destroy(
7652 struct nb_cb_destroy_args
*args
)
7654 switch (args
->event
) {
7655 case NB_EV_VALIDATE
:
7659 /* TODO: implement me. */
7668 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/bfd-options/check-cp-failure
7670 int bgp_peer_groups_peer_group_bfd_options_check_cp_failure_modify(
7671 struct nb_cb_modify_args
*args
)
7673 switch (args
->event
) {
7674 case NB_EV_VALIDATE
:
7678 /* TODO: implement me. */
7685 int bgp_peer_groups_peer_group_bfd_options_check_cp_failure_destroy(
7686 struct nb_cb_destroy_args
*args
)
7688 switch (args
->event
) {
7689 case NB_EV_VALIDATE
:
7693 /* TODO: implement me. */
7702 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown
7704 void bgp_peer_groups_peer_group_admin_shutdown_apply_finish(
7705 struct nb_cb_apply_finish_args
*args
)
7708 const char *peer_str
;
7710 bool enable
= false;
7711 const char *message
;
7713 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7714 peer_str
= yang_dnode_get_string(args
->dnode
, "../peer-group-name");
7715 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7717 if (yang_dnode_exists(args
->dnode
, "./message")) {
7718 message
= yang_dnode_get_string(args
->dnode
, "./message");
7719 peer_tx_shutdown_message_set(peer
, message
);
7721 enable
= yang_dnode_get_bool(args
->dnode
, "./enable");
7723 peer_flag_modify_nb(bgp
, peer_str
, peer
, PEER_FLAG_SHUTDOWN
, enable
,
7724 args
->errmsg
, args
->errmsg_len
);
7729 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown/enable
7731 int bgp_peer_groups_peer_group_admin_shutdown_enable_modify(
7732 struct nb_cb_modify_args
*args
)
7734 switch (args
->event
) {
7735 case NB_EV_VALIDATE
:
7739 /* TODO: implement me. */
7746 int bgp_peer_groups_peer_group_admin_shutdown_enable_destroy(
7747 struct nb_cb_destroy_args
*args
)
7749 switch (args
->event
) {
7750 case NB_EV_VALIDATE
:
7754 /* TODO: implement me. */
7763 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/admin-shutdown/message
7765 int bgp_peer_groups_peer_group_admin_shutdown_message_modify(
7766 struct nb_cb_modify_args
*args
)
7768 switch (args
->event
) {
7769 case NB_EV_VALIDATE
:
7773 /* TODO: implement me. */
7780 int bgp_peer_groups_peer_group_admin_shutdown_message_destroy(
7781 struct nb_cb_destroy_args
*args
)
7783 switch (args
->event
) {
7784 case NB_EV_VALIDATE
:
7788 /* TODO: implement me. */
7797 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/enable
7799 int bgp_peer_groups_peer_group_graceful_restart_enable_modify(
7800 struct nb_cb_modify_args
*args
)
7802 switch (args
->event
) {
7803 case NB_EV_VALIDATE
:
7807 /* TODO: implement me. */
7814 int bgp_peer_groups_peer_group_graceful_restart_enable_destroy(
7815 struct nb_cb_destroy_args
*args
)
7817 switch (args
->event
) {
7818 case NB_EV_VALIDATE
:
7822 /* TODO: implement me. */
7831 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/graceful-restart-helper
7833 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_helper_modify(
7834 struct nb_cb_modify_args
*args
)
7836 switch (args
->event
) {
7837 case NB_EV_VALIDATE
:
7841 /* TODO: implement me. */
7848 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_helper_destroy(
7849 struct nb_cb_destroy_args
*args
)
7851 switch (args
->event
) {
7852 case NB_EV_VALIDATE
:
7856 /* TODO: implement me. */
7865 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/graceful-restart/graceful-restart-disable
7867 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_disable_modify(
7868 struct nb_cb_modify_args
*args
)
7870 switch (args
->event
) {
7871 case NB_EV_VALIDATE
:
7875 /* TODO: implement me. */
7882 int bgp_peer_groups_peer_group_graceful_restart_graceful_restart_disable_destroy(
7883 struct nb_cb_destroy_args
*args
)
7885 switch (args
->event
) {
7886 case NB_EV_VALIDATE
:
7890 /* TODO: implement me. */
7899 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/advertise-interval
7901 int bgp_peer_groups_peer_group_timers_advertise_interval_modify(
7902 struct nb_cb_modify_args
*args
)
7905 const char *peer_str
;
7910 switch (args
->event
) {
7911 case NB_EV_VALIDATE
:
7916 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7917 peer_str
= yang_dnode_get_string(args
->dnode
,
7918 "../../peer-group-name");
7919 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7920 routeadv
= yang_dnode_get_uint16(args
->dnode
, NULL
);
7922 ret
= peer_advertise_interval_set(peer
, routeadv
);
7923 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7925 return NB_ERR_INCONSISTENCY
;
7933 int bgp_peer_groups_peer_group_timers_advertise_interval_destroy(
7934 struct nb_cb_destroy_args
*args
)
7937 const char *peer_str
;
7941 switch (args
->event
) {
7942 case NB_EV_VALIDATE
:
7947 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7948 peer_str
= yang_dnode_get_string(args
->dnode
,
7949 "../../peer-group-name");
7950 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7952 ret
= peer_advertise_interval_unset(peer
);
7953 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7955 return NB_ERR_INCONSISTENCY
;
7965 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/connect-time
7967 int bgp_peer_groups_peer_group_timers_connect_time_modify(
7968 struct nb_cb_modify_args
*args
)
7971 const char *peer_str
;
7976 switch (args
->event
) {
7977 case NB_EV_VALIDATE
:
7982 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
7983 peer_str
= yang_dnode_get_string(args
->dnode
,
7984 "../../peer-group-name");
7985 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
7986 connect
= yang_dnode_get_uint16(args
->dnode
, NULL
);
7988 ret
= peer_timers_connect_set(peer
, connect
);
7989 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
7991 return NB_ERR_INCONSISTENCY
;
7999 int bgp_peer_groups_peer_group_timers_connect_time_destroy(
8000 struct nb_cb_destroy_args
*args
)
8003 const char *peer_str
;
8007 switch (args
->event
) {
8008 case NB_EV_VALIDATE
:
8013 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8014 peer_str
= yang_dnode_get_string(args
->dnode
,
8015 "../../peer-group-name");
8016 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8018 ret
= peer_timers_connect_unset(peer
);
8019 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8021 return NB_ERR_INCONSISTENCY
;
8031 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/hold-time
8033 int bgp_peer_groups_peer_group_timers_hold_time_modify(
8034 struct nb_cb_modify_args
*args
)
8037 const char *peer_str
;
8039 uint16_t keepalive
= 0;
8040 uint16_t holdtime
= 0;
8043 switch (args
->event
) {
8044 case NB_EV_VALIDATE
:
8049 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8050 peer_str
= yang_dnode_get_string(args
->dnode
,
8051 "../../peer-group-name");
8052 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8054 keepalive
= yang_dnode_get_uint16(args
->dnode
, "../keepalive");
8055 holdtime
= yang_dnode_get_uint16(args
->dnode
, NULL
);
8057 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
8058 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
8059 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
8061 ret
= peer_timers_unset(peer
);
8063 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8065 return NB_ERR_INCONSISTENCY
;
8075 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/timers/keepalive
8077 int bgp_peer_groups_peer_group_timers_keepalive_modify(
8078 struct nb_cb_modify_args
*args
)
8081 const char *peer_str
;
8083 uint16_t keepalive
= 0, curr_keep
= 0;
8084 uint16_t holdtime
= 0;
8087 switch (args
->event
) {
8088 case NB_EV_VALIDATE
:
8093 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8094 peer_str
= yang_dnode_get_string(args
->dnode
,
8095 "../../peer-group-name");
8096 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8098 keepalive
= yang_dnode_get_uint16(args
->dnode
, NULL
);
8099 holdtime
= yang_dnode_get_uint16(args
->dnode
, "../hold-time");
8101 if (keepalive
!= BGP_DEFAULT_KEEPALIVE
8102 && holdtime
!= BGP_DEFAULT_HOLDTIME
) {
8103 if (peer
->holdtime
== holdtime
) {
8104 curr_keep
= (keepalive
< holdtime
/ 3
8107 if (curr_keep
== keepalive
) {
8108 // zlog_debug("%s holdtime %u keepalive
8109 // %u value is already set, skipping
8111 // __func__, holdtime, keepalive);
8115 ret
= peer_timers_set(peer
, keepalive
, holdtime
);
8117 ret
= peer_timers_unset(peer
);
8119 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8121 return NB_ERR_INCONSISTENCY
;
8131 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi
8133 int bgp_peer_groups_peer_group_afi_safis_afi_safi_create(
8134 struct nb_cb_create_args
*args
)
8136 switch (args
->event
) {
8137 case NB_EV_VALIDATE
:
8141 /* TODO: implement me. */
8148 int bgp_peer_groups_peer_group_afi_safis_afi_safi_destroy(
8149 struct nb_cb_destroy_args
*args
)
8151 switch (args
->event
) {
8152 case NB_EV_VALIDATE
:
8156 /* TODO: implement me. */
8165 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/enabled
8167 int bgp_peer_groups_peer_group_afi_safis_afi_safi_enabled_modify(
8168 struct nb_cb_modify_args
*args
)
8171 const char *peer_str
;
8172 const char *af_name
;
8175 bool activate
= false;
8179 switch (args
->event
) {
8180 case NB_EV_VALIDATE
:
8185 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
8187 yang_dnode_get_string(args
->dnode
, "../afi-safi-name");
8188 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8189 peer_str
= yang_dnode_get_string(args
->dnode
,
8190 "../../../peer-group-name");
8191 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
8193 activate
= yang_dnode_get_bool(args
->dnode
, NULL
);
8195 ret
= peer_activate(peer
, afi
, safi
);
8197 ret
= peer_deactivate(peer
, afi
, safi
);
8199 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
)
8201 return NB_ERR_INCONSISTENCY
;
8209 int bgp_peer_groups_peer_group_afi_safis_afi_safi_enabled_destroy(
8210 struct nb_cb_destroy_args
*args
)
8212 switch (args
->event
) {
8213 case NB_EV_VALIDATE
:
8217 /* TODO: implement me. */
8224 void bgp_global_afi_safis_afi_safi_network_config_apply_finish(
8225 struct nb_cb_apply_finish_args
*args
)
8227 const struct lyd_node
*af_dnode
;
8229 const char *af_name
;
8230 struct prefix prefix
;
8231 bool is_backdoor
= false;
8232 uint32_t label_index
= BGP_INVALID_LABEL_INDEX
;
8233 const char *rmap_name
= NULL
;
8237 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8238 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8239 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8240 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8242 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8244 is_backdoor
= yang_dnode_get_bool(args
->dnode
, "./backdoor");
8246 if (yang_dnode_exists(args
->dnode
, "./label-index"))
8248 yang_dnode_get_uint32(args
->dnode
, "./label-index");
8250 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8251 rmap_name
= yang_dnode_get_string(args
->dnode
,
8252 "./rmap-policy-export");
8254 bgp_static_set(bgp
, NULL
, &prefix
, afi
, safi
, rmap_name
, is_backdoor
,
8255 label_index
, args
->errmsg
, args
->errmsg_len
);
8258 static int bgp_global_afi_safis_afi_safi_network_config_destroy(
8259 struct nb_cb_destroy_args
*args
)
8261 const struct lyd_node
*af_dnode
;
8263 const char *af_name
;
8264 struct prefix prefix
;
8265 uint32_t label_index
= BGP_INVALID_LABEL_INDEX
;
8266 const char *rmap_name
= NULL
;
8267 bool is_backdoor
= false;
8272 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8273 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8274 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8275 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8277 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8279 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8280 rmap_name
= yang_dnode_get_string(args
->dnode
,
8281 "./rmap-policy-export");
8283 if (yang_dnode_exists(args
->dnode
, "./label-index"))
8285 yang_dnode_get_uint32(args
->dnode
, "./label-index");
8287 if (yang_dnode_exists(args
->dnode
, "./backdoor"))
8288 is_backdoor
= yang_dnode_get_bool(args
->dnode
, "./backdoor");
8290 ret
= bgp_static_set(bgp
, "no", &prefix
, afi
, safi
, rmap_name
,
8291 is_backdoor
, label_index
, args
->errmsg
,
8294 return NB_ERR_INCONSISTENCY
;
8301 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config
8303 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_create(
8304 struct nb_cb_create_args
*args
)
8306 /* Handled in network_config_apply_finish callback */
8311 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_destroy(
8312 struct nb_cb_destroy_args
*args
)
8314 switch (args
->event
) {
8315 case NB_EV_VALIDATE
:
8320 return bgp_global_afi_safis_afi_safi_network_config_destroy(
8331 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/backdoor
8333 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_backdoor_modify(
8334 struct nb_cb_modify_args
*args
)
8336 /* Handled in unicast_network_config_apply_finish callback */
8343 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/label-index
8345 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_label_index_modify(
8346 struct nb_cb_modify_args
*args
)
8348 const struct lyd_node
*af_dnode
;
8350 const char *af_name
;
8351 struct prefix prefix
;
8352 uint32_t label_index
;
8355 struct bgp_dest
*dest
;
8356 struct bgp_static
*bgp_static
;
8358 switch (args
->event
) {
8359 case NB_EV_VALIDATE
:
8360 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
8364 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8365 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8366 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8367 yang_dnode_get_prefix(&prefix
, args
->dnode
, "../prefix");
8368 apply_mask(&prefix
);
8370 label_index
= yang_dnode_get_uint32(args
->dnode
, NULL
);
8372 dest
= bgp_node_get(bgp
->route
[afi
][safi
], &prefix
);
8373 bgp_static
= bgp_dest_get_bgp_static_info(dest
);
8375 if (bgp_static
->label_index
!= label_index
) {
8377 args
->errmsg
, args
->errmsg_len
,
8378 "Cannot change label-index: curr %u input %u\n",
8379 bgp_static
->label_index
, label_index
);
8380 return NB_ERR_VALIDATION
;
8394 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_label_index_destroy(
8395 struct nb_cb_destroy_args
*args
)
8397 /* Handled in unicast_network_config_apply_finish callback */
8404 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/network-config/rmap-policy-export
8406 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_rmap_policy_export_modify(
8407 struct nb_cb_modify_args
*args
)
8409 /* Handled in unicast_network_config_apply_finish callback */
8414 int bgp_global_afi_safis_afi_safi_ipv4_unicast_network_config_rmap_policy_export_destroy(
8415 struct nb_cb_destroy_args
*args
)
8417 /* rmap destory alone is not supported by backend, the entire network
8418 * config needs to be destroyed.
8420 switch (args
->event
) {
8421 case NB_EV_VALIDATE
:
8425 /* TODO: implement me. */
8432 void bgp_global_afi_safi_aggregate_route_apply_finish(
8433 struct nb_cb_apply_finish_args
*args
)
8435 const struct lyd_node
*af_dnode
;
8437 const char *af_name
;
8438 struct prefix prefix
;
8439 const char *rmap_name
= NULL
;
8443 int summary_only
= 0;
8444 uint8_t origin
= BGP_ORIGIN_UNSPECIFIED
;
8445 bool match_med
= false;
8446 const char *suppress_map
= NULL
;
8448 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8449 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8450 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8451 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8453 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8455 if (yang_dnode_exists(args
->dnode
, "./as-set"))
8456 as_set
= yang_dnode_get_bool(args
->dnode
, "./as-set");
8458 summary_only
= yang_dnode_get_bool(args
->dnode
, "./summary-only");
8460 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-export"))
8461 rmap_name
= yang_dnode_get_string(args
->dnode
,
8462 "./rmap-policy-export");
8464 origin
= yang_dnode_get_enum(args
->dnode
, "./origin");
8465 match_med
= yang_dnode_get_bool(args
->dnode
, "./match-med");
8466 if (yang_dnode_exists(args
->dnode
, "./suppress-map"))
8468 yang_dnode_get_string(args
->dnode
, "./suppress-map");
8470 bgp_aggregate_set(bgp
, &prefix
, afi
, safi
, rmap_name
, summary_only
,
8471 as_set
, origin
, match_med
, suppress_map
, args
->errmsg
,
8476 bgp_global_afi_safi_aggregate_route_destroy(struct nb_cb_destroy_args
*args
)
8478 const struct lyd_node
*af_dnode
;
8480 const char *af_name
;
8481 struct prefix prefix
;
8486 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8487 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8488 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8489 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8491 yang_dnode_get_prefix(&prefix
, args
->dnode
, "./prefix");
8493 ret
= bgp_aggregate_unset(bgp
, &prefix
, afi
, safi
, args
->errmsg
,
8497 return NB_ERR_INCONSISTENCY
;
8504 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route
8506 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_create(
8507 struct nb_cb_create_args
*args
)
8509 switch (args
->event
) {
8510 case NB_EV_VALIDATE
:
8514 /* TODO: implement me. */
8521 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_destroy(
8522 struct nb_cb_destroy_args
*args
)
8524 switch (args
->event
) {
8525 case NB_EV_VALIDATE
:
8530 return bgp_global_afi_safi_aggregate_route_destroy(args
);
8538 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/as-set
8540 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_as_set_modify(
8541 struct nb_cb_modify_args
*args
)
8543 switch (args
->event
) {
8544 case NB_EV_VALIDATE
:
8548 /* TODO: implement me. */
8557 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/summary-only
8559 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_summary_only_modify(
8560 struct nb_cb_modify_args
*args
)
8562 switch (args
->event
) {
8563 case NB_EV_VALIDATE
:
8567 /* TODO: implement me. */
8576 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/rmap-policy-export
8578 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_rmap_policy_export_modify(
8579 struct nb_cb_modify_args
*args
)
8581 switch (args
->event
) {
8582 case NB_EV_VALIDATE
:
8586 /* TODO: implement me. */
8593 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_rmap_policy_export_destroy(
8594 struct nb_cb_destroy_args
*args
)
8596 switch (args
->event
) {
8597 case NB_EV_VALIDATE
:
8601 /* TODO: implement me. */
8610 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/origin
8612 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_origin_modify(
8613 struct nb_cb_modify_args
*args
)
8615 switch (args
->event
) {
8616 case NB_EV_VALIDATE
:
8620 /* TODO: implement me. */
8629 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/match-med
8631 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_match_med_modify(
8632 struct nb_cb_modify_args
*args
)
8634 switch (args
->event
) {
8635 case NB_EV_VALIDATE
:
8639 /* TODO: implement me. */
8648 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/aggregate-route/suppress-map
8650 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_suppress_map_modify(
8651 struct nb_cb_modify_args
*args
)
8653 switch (args
->event
) {
8654 case NB_EV_VALIDATE
:
8658 /* TODO: implement me. */
8665 int bgp_global_afi_safis_afi_safi_ipv4_unicast_aggregate_route_suppress_map_destroy(
8666 struct nb_cb_destroy_args
*args
)
8668 switch (args
->event
) {
8669 case NB_EV_VALIDATE
:
8673 /* TODO: implement me. */
8680 void bgp_global_afi_safi_admin_distance_route_apply_finish(
8681 struct nb_cb_apply_finish_args
*args
)
8683 const struct lyd_node
*af_dnode
;
8684 const char *af_name
;
8685 const char *prefix_str
= NULL
;
8686 const char *access_list_str
= NULL
;
8691 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8692 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8693 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8695 prefix_str
= yang_dnode_get_string(args
->dnode
, "./prefix");
8696 distance
= yang_dnode_get_uint8(args
->dnode
, "./distance");
8697 if (yang_dnode_exists(args
->dnode
, "./access-list-policy-export"))
8698 access_list_str
= yang_dnode_get_string(
8699 args
->dnode
, "./access-list-policy-export");
8701 bgp_distance_set(distance
, prefix_str
, access_list_str
, afi
, safi
,
8702 args
->errmsg
, args
->errmsg_len
);
8705 static int bgp_global_afi_safi_admin_distance_route_destroy(
8706 struct nb_cb_destroy_args
*args
)
8708 const struct lyd_node
*af_dnode
;
8709 const char *af_name
;
8710 const char *prefix_str
= NULL
;
8711 const char *access_list_str
= NULL
;
8716 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8717 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8718 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8720 prefix_str
= yang_dnode_get_string(args
->dnode
, "./prefix");
8721 distance
= yang_dnode_get_uint8(args
->dnode
, "./distance");
8722 if (yang_dnode_exists(args
->dnode
, "./access-list-policy-export"))
8723 access_list_str
= yang_dnode_get_string(
8724 args
->dnode
, "./access-list-policy-export");
8726 if (bgp_distance_unset(distance
, prefix_str
, access_list_str
, afi
, safi
,
8727 args
->errmsg
, args
->errmsg_len
)
8729 return NB_ERR_INCONSISTENCY
;
8736 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance-route
8738 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_create(
8739 struct nb_cb_create_args
*args
)
8741 switch (args
->event
) {
8742 case NB_EV_VALIDATE
:
8746 /* TODO: implement me. */
8753 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_destroy(
8754 struct nb_cb_destroy_args
*args
)
8756 switch (args
->event
) {
8757 case NB_EV_VALIDATE
:
8762 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
8770 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance-route/distance
8772 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_distance_modify(
8773 struct nb_cb_modify_args
*args
)
8775 switch (args
->event
) {
8776 case NB_EV_VALIDATE
:
8780 /* TODO: implement me. */
8789 * /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
8791 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_access_list_policy_export_modify(
8792 struct nb_cb_modify_args
*args
)
8794 switch (args
->event
) {
8795 case NB_EV_VALIDATE
:
8799 /* TODO: implement me. */
8806 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_route_access_list_policy_export_destroy(
8807 struct nb_cb_destroy_args
*args
)
8809 switch (args
->event
) {
8810 case NB_EV_VALIDATE
:
8814 /* TODO: implement me. */
8821 void bgp_global_afi_safis_afi_safi_route_flap_dampening_apply_finish(
8822 struct nb_cb_apply_finish_args
*args
)
8824 const struct lyd_node
*af_dnode
;
8826 const char *af_name
;
8829 int half
= DEFAULT_HALF_LIFE
* 60;
8830 int reuse
= DEFAULT_REUSE
;
8831 int suppress
= DEFAULT_SUPPRESS
;
8833 char ab_xpath
[XPATH_MAXLEN
];
8835 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
8836 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
8837 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
8838 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
8840 if (!yang_dnode_get_bool(args
->dnode
, "./enable")) {
8841 bgp_damp_disable(bgp
, afi
, safi
);
8843 half
= yang_dnode_get_uint8(args
->dnode
, "./reach-decay");
8845 reuse
= yang_dnode_get_uint16(args
->dnode
, "./reuse-above");
8848 yang_dnode_get_uint16(args
->dnode
, "./suppress-above");
8850 max
= yang_dnode_get_uint8(args
->dnode
, "./unreach-decay");
8851 yang_dnode_get_path(args
->dnode
, ab_xpath
, sizeof(ab_xpath
));
8852 strlcat(ab_xpath
, "/unreach-decay", sizeof(ab_xpath
));
8853 if (yang_get_default_uint8(ab_xpath
) == max
)
8858 bgp_damp_enable(bgp
, afi
, safi
, half
, reuse
, suppress
, max
);
8863 bgp_global_afi_safi_route_flap_validation(struct nb_cb_modify_args
*args
)
8868 if (yang_dnode_exists(args
->dnode
, "../suppress-above")
8869 && yang_dnode_exists(args
->dnode
, "../reuse-above")) {
8871 yang_dnode_get_uint16(args
->dnode
, "../suppress-above");
8872 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
8873 if (suppress
< reuse
) {
8875 args
->errmsg
, args
->errmsg_len
,
8876 "Suppress value cannot be less than reuse value \n");
8877 return NB_ERR_VALIDATION
;
8885 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/enable
8887 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_enable_modify(
8888 struct nb_cb_modify_args
*args
)
8890 switch (args
->event
) {
8891 case NB_EV_VALIDATE
:
8892 return bgp_global_afi_safi_route_flap_validation(args
);
8904 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/reach-decay
8906 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reach_decay_modify(
8907 struct nb_cb_modify_args
*args
)
8909 switch (args
->event
) {
8910 case NB_EV_VALIDATE
:
8914 /* TODO: implement me. */
8921 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reach_decay_destroy(
8922 struct nb_cb_destroy_args
*args
)
8924 switch (args
->event
) {
8925 case NB_EV_VALIDATE
:
8929 /* TODO: implement me. */
8938 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/reuse-above
8940 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reuse_above_modify(
8941 struct nb_cb_modify_args
*args
)
8943 int reuse
= DEFAULT_REUSE
;
8944 int suppress
= DEFAULT_SUPPRESS
;
8946 switch (args
->event
) {
8947 case NB_EV_VALIDATE
:
8948 if (yang_dnode_exists(args
->dnode
, "../suppress-above"))
8949 suppress
= yang_dnode_get_uint16(args
->dnode
,
8950 "../suppress-above");
8951 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
8952 if (suppress
< reuse
) {
8954 args
->errmsg
, args
->errmsg_len
,
8955 "Suppress value cannot be less than reuse value \n");
8956 return NB_ERR_VALIDATION
;
8962 /* TODO: implement me. */
8969 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_reuse_above_destroy(
8970 struct nb_cb_destroy_args
*args
)
8972 switch (args
->event
) {
8973 case NB_EV_VALIDATE
:
8977 /* TODO: implement me. */
8986 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/suppress-above
8988 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_suppress_above_modify(
8989 struct nb_cb_modify_args
*args
)
8991 switch (args
->event
) {
8992 case NB_EV_VALIDATE
:
8996 /* TODO: implement me. */
9003 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_suppress_above_destroy(
9004 struct nb_cb_destroy_args
*args
)
9006 switch (args
->event
) {
9007 case NB_EV_VALIDATE
:
9011 /* TODO: implement me. */
9020 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/route-flap-dampening/unreach-decay
9022 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_unreach_decay_modify(
9023 struct nb_cb_modify_args
*args
)
9025 switch (args
->event
) {
9026 case NB_EV_VALIDATE
:
9030 /* TODO: implement me. */
9037 int bgp_global_afi_safis_afi_safi_ipv4_unicast_route_flap_dampening_unreach_decay_destroy(
9038 struct nb_cb_destroy_args
*args
)
9040 switch (args
->event
) {
9041 case NB_EV_VALIDATE
:
9045 /* TODO: implement me. */
9053 bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9054 struct nb_cb_modify_args
*args
)
9056 const struct lyd_node
*af_dnode
;
9058 const char *af_name
;
9061 uint16_t maxpaths
, default_maxpaths
;
9063 char xpath
[XPATH_MAXLEN
];
9064 char afi_xpath
[XPATH_MAXLEN
];
9066 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9067 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9068 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9069 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9070 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9072 snprintf(xpath
, sizeof(xpath
), FRR_BGP_GLOBAL_XPATH
, "frr-bgp:bgp",
9073 "bgp", bgp
->name
? bgp
->name
: VRF_DEFAULT_NAME
);
9075 afi_xpath
, sizeof(afi_xpath
),
9076 "/global/afi-safis/afi-safi[afi-safi-name='%s']/%s/use-multiple-paths/ebgp/maximum-paths",
9077 yang_afi_safi_value2identity(afi
, safi
),
9078 bgp_afi_safi_get_container_str(afi
, safi
));
9079 strlcat(xpath
, afi_xpath
, sizeof(xpath
));
9080 default_maxpaths
= yang_get_default_uint16(xpath
);
9082 ret
= bgp_maxpaths_config_vty(bgp
, afi
, safi
, BGP_PEER_EBGP
, maxpaths
,
9083 0, maxpaths
!= default_maxpaths
? 1 : 0,
9084 args
->errmsg
, args
->errmsg_len
);
9085 if (ret
!= CMD_SUCCESS
)
9086 return NB_ERR_INCONSISTENCY
;
9093 * /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
9095 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9096 struct nb_cb_modify_args
*args
)
9100 switch (args
->event
) {
9101 case NB_EV_VALIDATE
:
9102 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9103 if (maxpaths
> multipath_num
) {
9104 snprintf(args
->errmsg
, args
->errmsg_len
,
9105 "maxpaths %u is out of range %u", maxpaths
,
9107 return NB_ERR_VALIDATION
;
9114 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
9123 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/use-multiple-paths/ibgp
9125 void bgp_global_afi_safi_ip_unicast_use_multiple_paths_ibgp_maximum_paths_apply_finish(
9126 struct nb_cb_apply_finish_args
*args
)
9128 const struct lyd_node
*af_dnode
;
9130 const char *af_name
;
9133 uint16_t maxpaths
, default_maxpaths
;
9134 char xpath
[XPATH_MAXLEN
];
9135 char afi_xpath
[XPATH_MAXLEN
];
9136 uint16_t options
= 0;
9138 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9139 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9140 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9141 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9143 maxpaths
= yang_dnode_get_uint16(args
->dnode
, "./maximum-paths");
9144 if (yang_dnode_get_bool(args
->dnode
, "./cluster-length-list"))
9145 options
= BGP_FLAG_IBGP_MULTIPATH_SAME_CLUSTERLEN
;
9147 snprintf(xpath
, sizeof(xpath
), FRR_BGP_GLOBAL_XPATH
, "frr-bgp:bgp",
9148 "bgp", bgp
->name
? bgp
->name
: VRF_DEFAULT_NAME
);
9150 afi_xpath
, sizeof(afi_xpath
),
9151 "/global/afi-safis/afi-safi[afi-safi-name='%s']/%s/use-multiple-paths/ibgp/maximum-paths",
9152 yang_afi_safi_value2identity(afi
, safi
),
9153 bgp_afi_safi_get_container_str(afi
, safi
));
9154 strlcat(xpath
, afi_xpath
, sizeof(xpath
));
9155 default_maxpaths
= yang_get_default_uint16(xpath
);
9157 bgp_maxpaths_config_vty(bgp
, afi
, safi
, BGP_PEER_IBGP
, maxpaths
,
9158 options
, maxpaths
!= default_maxpaths
? 1 : 0,
9159 args
->errmsg
, args
->errmsg_len
);
9164 * /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
9166 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
9167 struct nb_cb_modify_args
*args
)
9171 switch (args
->event
) {
9172 case NB_EV_VALIDATE
:
9173 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
9174 if (maxpaths
> multipath_num
) {
9175 snprintf(args
->errmsg
, args
->errmsg_len
,
9176 "maxpaths %u is out of range %u", maxpaths
,
9178 return NB_ERR_VALIDATION
;
9193 * /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
9195 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
9196 struct nb_cb_modify_args
*args
)
9198 switch (args
->event
) {
9199 case NB_EV_VALIDATE
:
9203 /* TODO: implement me. */
9210 int bgp_global_afi_safis_afi_safi_ipv4_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
9211 struct nb_cb_destroy_args
*args
)
9213 switch (args
->event
) {
9214 case NB_EV_VALIDATE
:
9218 /* TODO: implement me. */
9225 void bgp_global_afi_safi_ip_unicast_redistribution_list_apply_finish(
9226 struct nb_cb_apply_finish_args
*args
)
9228 const struct lyd_node
*af_dnode
;
9230 const char *af_name
;
9235 struct bgp_redist
*red
;
9236 bool changed
= false;
9237 struct route_map
*route_map
= NULL
;
9238 const char *rmap_name
= NULL
;
9239 uint32_t metric
= 0;
9241 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9242 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9243 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9244 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9246 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
9247 route_instance
= yang_dnode_get_uint16(args
->dnode
, "./route-instance");
9249 red
= bgp_redist_add(bgp
, afi
, route_type
, route_instance
);
9251 if (yang_dnode_exists(args
->dnode
, "./rmap-policy-import")) {
9252 rmap_name
= yang_dnode_get_string(args
->dnode
,
9253 "./rmap-policy-import");
9254 route_map
= route_map_lookup_by_name(rmap_name
);
9256 changed
= bgp_redistribute_rmap_set(red
, rmap_name
, route_map
);
9259 if (yang_dnode_exists(args
->dnode
, "./metric")) {
9260 metric
= yang_dnode_get_uint32(args
->dnode
, "./metric");
9261 changed
|= bgp_redistribute_metric_set(bgp
, red
, afi
,
9262 route_type
, metric
);
9265 bgp_redistribute_set(bgp
, afi
, route_type
, route_instance
, changed
);
9270 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list
9272 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_create(
9273 struct nb_cb_create_args
*args
)
9275 switch (args
->event
) {
9276 case NB_EV_VALIDATE
:
9280 /* TODO: implement me. */
9287 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_destroy(
9288 struct nb_cb_destroy_args
*args
)
9290 const struct lyd_node
*af_dnode
;
9292 const char *af_name
;
9298 switch (args
->event
) {
9299 case NB_EV_VALIDATE
:
9304 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9305 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9306 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9307 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9309 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
9311 yang_dnode_get_uint16(args
->dnode
, "./route-instance");
9313 bgp_redistribute_unset(bgp
, afi
, route_type
, route_instance
);
9323 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list/metric
9325 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_metric_modify(
9326 struct nb_cb_modify_args
*args
)
9328 switch (args
->event
) {
9329 case NB_EV_VALIDATE
:
9333 /* TODO: implement me. */
9340 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_metric_destroy(
9341 struct nb_cb_destroy_args
*args
)
9343 switch (args
->event
) {
9344 case NB_EV_VALIDATE
:
9348 /* TODO: implement me. */
9357 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/redistribution-list/rmap-policy-import
9359 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_rmap_policy_import_modify(
9360 struct nb_cb_modify_args
*args
)
9362 switch (args
->event
) {
9363 case NB_EV_VALIDATE
:
9367 /* TODO: implement me. */
9374 int bgp_global_afi_safis_afi_safi_ipv4_unicast_redistribution_list_rmap_policy_import_destroy(
9375 struct nb_cb_destroy_args
*args
)
9377 switch (args
->event
) {
9378 case NB_EV_VALIDATE
:
9382 /* TODO: implement me. */
9390 bgp_global_afi_safis_admin_distance_modify(struct nb_cb_apply_finish_args
*args
)
9393 const struct lyd_node
*af_dnode
;
9394 const char *af_name
;
9397 uint8_t distance_ebgp
, distance_ibgp
, distance_local
;
9399 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9400 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9401 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9402 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9404 distance_ebgp
= yang_dnode_get_uint8(args
->dnode
, "./external");
9405 distance_ibgp
= yang_dnode_get_uint8(args
->dnode
, "./internal");
9406 distance_local
= yang_dnode_get_uint8(args
->dnode
, "./local");
9408 bgp
->distance_ebgp
[afi
][safi
] = distance_ebgp
;
9409 bgp
->distance_ibgp
[afi
][safi
] = distance_ibgp
;
9410 bgp
->distance_local
[afi
][safi
] = distance_local
;
9412 bgp_announce_routes_distance_update(bgp
, afi
, safi
);
9419 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance
9421 void bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_apply_finish(
9422 struct nb_cb_apply_finish_args
*args
)
9424 bgp_global_afi_safis_admin_distance_modify(args
);
9429 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/external
9431 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_external_modify(
9432 struct nb_cb_modify_args
*args
)
9434 /* Handled in admin_distance_apply_finish callback */
9441 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/internal
9443 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_internal_modify(
9444 struct nb_cb_modify_args
*args
)
9446 /* Handled in admin_distance_apply_finish callback */
9453 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/admin-distance/local
9455 int bgp_global_afi_safis_afi_safi_ipv4_unicast_admin_distance_local_modify(
9456 struct nb_cb_modify_args
*args
)
9458 /* Handled in admin_distance_apply_finish callback */
9465 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
9467 int bgp_global_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
9468 struct nb_cb_modify_args
*args
)
9470 switch (args
->event
) {
9471 case NB_EV_VALIDATE
:
9475 /* TODO: implement me. */
9482 int bgp_global_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
9483 struct nb_cb_destroy_args
*args
)
9485 switch (args
->event
) {
9486 case NB_EV_VALIDATE
:
9490 /* TODO: implement me. */
9497 static int bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
9498 struct nb_cb_modify_args
*args
)
9501 const struct lyd_node
*af_dnode
;
9502 const char *af_name
;
9505 const char *rd_str
= NULL
;
9506 struct prefix_rd prd
;
9508 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
9510 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9511 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9512 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9514 rd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
9515 if (!str2prefix_rd(rd_str
, &prd
)) {
9516 snprintf(args
->errmsg
, args
->errmsg_len
, "Malformed rd %s\n",
9518 return NB_ERR_INCONSISTENCY
;
9522 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9524 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9527 bgp
->vpn_policy
[afi
].tovpn_rd
= prd
;
9528 SET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_RD_SET
);
9530 /* post-change: re-export vpn routes */
9531 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9537 static int bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
9538 struct nb_cb_destroy_args
*args
)
9541 const struct lyd_node
*af_dnode
;
9542 const char *af_name
;
9545 const char *rd_str
= NULL
;
9546 struct prefix_rd prd
;
9548 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9549 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9550 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9551 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9553 rd_str
= yang_dnode_get_string(args
->dnode
, NULL
);
9554 if (!str2prefix_rd(rd_str
, &prd
)) {
9555 snprintf(args
->errmsg
, args
->errmsg_len
, "Malformed rd %s \n",
9557 return NB_ERR_INCONSISTENCY
;
9561 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9563 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9566 UNSET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_RD_SET
);
9568 /* post-change: re-export vpn routes */
9569 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9576 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rd
9578 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rd_modify(
9579 struct nb_cb_modify_args
*args
)
9582 const struct lyd_node
*af_dnode
;
9583 const char *af_name
;
9587 switch (args
->event
) {
9588 case NB_EV_VALIDATE
:
9589 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9593 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9594 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9595 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9597 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
9598 args
->errmsg
, args
->errmsg_len
))
9599 return NB_ERR_VALIDATION
;
9606 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
9615 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rd_destroy(
9616 struct nb_cb_destroy_args
*args
)
9618 switch (args
->event
) {
9619 case NB_EV_VALIDATE
:
9624 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
9633 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/label
9635 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_modify(
9636 struct nb_cb_modify_args
*args
)
9638 switch (args
->event
) {
9639 case NB_EV_VALIDATE
:
9643 /* TODO: implement me. */
9650 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_destroy(
9651 struct nb_cb_destroy_args
*args
)
9653 switch (args
->event
) {
9654 case NB_EV_VALIDATE
:
9658 /* TODO: implement me. */
9667 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/label-auto
9669 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_auto_modify(
9670 struct nb_cb_modify_args
*args
)
9672 switch (args
->event
) {
9673 case NB_EV_VALIDATE
:
9677 /* TODO: implement me. */
9684 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_label_auto_destroy(
9685 struct nb_cb_destroy_args
*args
)
9687 switch (args
->event
) {
9688 case NB_EV_VALIDATE
:
9692 /* TODO: implement me. */
9699 static int bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
9700 struct nb_cb_modify_args
*args
)
9703 const struct lyd_node
*af_dnode
;
9704 const char *af_name
;
9709 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9710 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9711 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9712 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9714 yang_dnode_get_prefix(&p
, args
->dnode
, NULL
);
9717 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9719 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9722 bgp
->vpn_policy
[afi
].tovpn_nexthop
= p
;
9723 SET_FLAG(bgp
->vpn_policy
[afi
].flags
, BGP_VPN_POLICY_TOVPN_NEXTHOP_SET
);
9725 /* post-change: re-export vpn routes */
9726 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9732 static int bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
9733 struct nb_cb_destroy_args
*args
)
9736 const struct lyd_node
*af_dnode
;
9737 const char *af_name
;
9742 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9743 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9744 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9745 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9747 yang_dnode_get_prefix(&p
, args
->dnode
, NULL
);
9750 * pre-change: un-export vpn routes (vpn->vrf routes unaffected)
9752 vpn_leak_prechange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9754 UNSET_FLAG(bgp
->vpn_policy
[afi
].flags
,
9755 BGP_VPN_POLICY_TOVPN_NEXTHOP_SET
);
9756 /* post-change: re-export vpn routes */
9757 vpn_leak_postchange(BGP_VPN_POLICY_DIR_TOVPN
, afi
, bgp_get_default(),
9764 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/nexthop
9766 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_nexthop_modify(
9767 struct nb_cb_modify_args
*args
)
9770 const struct lyd_node
*af_dnode
;
9771 const char *af_name
;
9775 switch (args
->event
) {
9776 case NB_EV_VALIDATE
:
9777 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9780 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9781 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9782 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9784 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
9785 args
->errmsg
, args
->errmsg_len
))
9786 return NB_ERR_VALIDATION
;
9793 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
9800 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_nexthop_destroy(
9801 struct nb_cb_destroy_args
*args
)
9803 switch (args
->event
) {
9804 case NB_EV_VALIDATE
:
9809 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
9816 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9817 struct nb_cb_modify_args
*args
, const char *direction_str
,
9821 const struct lyd_node
*af_dnode
;
9822 const char *af_name
;
9827 vpn_policy_direction_t dir
;
9829 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9830 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9831 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9832 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9834 if (!strcmp(direction_str
, "import")) {
9835 flag
= BGP_CONFIG_MPLSVPN_TO_VRF_IMPORT
;
9836 dir
= BGP_VPN_POLICY_DIR_FROMVPN
;
9837 } else if (!strcmp(direction_str
, "export")) {
9838 flag
= BGP_CONFIG_VRF_TO_MPLSVPN_EXPORT
;
9839 dir
= BGP_VPN_POLICY_DIR_TOVPN
;
9841 snprintf(args
->errmsg
, args
->errmsg_len
,
9842 "unknown direction %s\n", direction_str
);
9843 return NB_ERR_INCONSISTENCY
;
9846 previous_state
= CHECK_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9849 SET_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9850 if (!previous_state
) {
9851 /* trigger export current vrf */
9852 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
9855 if (previous_state
) {
9856 /* trigger un-export current vrf */
9857 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
9859 UNSET_FLAG(bgp
->af_flags
[afi
][safi
], flag
);
9862 hook_call(bgp_snmp_init_stats
, bgp
);
9868 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-vpn
9870 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vpn_modify(
9871 struct nb_cb_modify_args
*args
)
9873 bool is_enable
= false;
9876 switch (args
->event
) {
9877 case NB_EV_VALIDATE
:
9878 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9882 if (BGP_INSTANCE_TYPE_VRF
!= bgp
->inst_type
9883 && BGP_INSTANCE_TYPE_DEFAULT
!= bgp
->inst_type
) {
9885 args
->errmsg
, args
->errmsg_len
,
9886 "import|export vpn valid only for bgp vrf or default instance");
9887 return NB_ERR_VALIDATION
;
9895 if (yang_dnode_get_bool(args
->dnode
, NULL
))
9898 return bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9899 args
, "import", is_enable
);
9907 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/export-vpn
9909 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_vpn_modify(
9910 struct nb_cb_modify_args
*args
)
9912 bool is_enable
= false;
9915 switch (args
->event
) {
9916 case NB_EV_VALIDATE
:
9917 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
9921 if (BGP_INSTANCE_TYPE_VRF
!= bgp
->inst_type
9922 && BGP_INSTANCE_TYPE_DEFAULT
!= bgp
->inst_type
) {
9924 args
->errmsg
, args
->errmsg_len
,
9925 "import|export vpn valid only for bgp vrf or default instance");
9926 return NB_ERR_VALIDATION
;
9933 if (yang_dnode_get_bool(args
->dnode
, NULL
))
9936 return bgp_global_afi_safi_ip_unicast_vpn_config_import_export_vpn_modify(
9937 args
, "export", is_enable
);
9944 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
9945 struct nb_cb_create_args
*args
)
9948 const struct lyd_node
*af_dnode
;
9949 const char *af_name
;
9954 struct bgp
*vrf_bgp
, *bgp_default
;
9955 const char *import_name
;
9957 enum bgp_instance_type bgp_type
= BGP_INSTANCE_TYPE_VRF
;
9958 struct listnode
*node
;
9960 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
9961 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
9962 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
9963 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
9966 import_name
= yang_dnode_get_string(args
->dnode
, "./vrf");
9968 if (((BGP_INSTANCE_TYPE_DEFAULT
== bgp
->inst_type
)
9969 && (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0))
9970 || (bgp
->name
&& (strcmp(import_name
, bgp
->name
) == 0))) {
9971 snprintf(args
->errmsg
, args
->errmsg_len
,
9972 "Cannot %s vrf %s into itself\n", "import",
9974 return NB_ERR_INCONSISTENCY
;
9977 bgp_default
= bgp_get_default();
9979 /* Auto-create assuming the same AS */
9980 ret
= bgp_get_vty(&bgp_default
, &as
, NULL
,
9981 BGP_INSTANCE_TYPE_DEFAULT
);
9985 args
->errmsg
, args
->errmsg_len
,
9986 "VRF default is not configured as a bgp instance");
9987 return NB_ERR_INCONSISTENCY
;
9991 vrf_bgp
= bgp_lookup_by_name(import_name
);
9993 if (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0)
9994 vrf_bgp
= bgp_default
;
9996 /* Auto-create assuming the same AS */
9997 ret
= bgp_get_vty(&vrf_bgp
, &as
, import_name
, bgp_type
);
10000 snprintf(args
->errmsg
, args
->errmsg_len
,
10001 "VRF %s is not configured as a bgp instance\n",
10003 return NB_ERR_INCONSISTENCY
;
10007 /* Already importing from "import_vrf"? */
10008 for (ALL_LIST_ELEMENTS_RO(bgp
->vpn_policy
[afi
].import_vrf
, node
,
10010 if (strcmp(vname
, import_name
) == 0) {
10011 snprintf(args
->errmsg
, args
->errmsg_len
,
10012 "already importing from vrf %s", import_name
);
10013 return NB_ERR_INCONSISTENCY
;
10017 vrf_import_from_vrf(bgp
, vrf_bgp
, afi
, safi
);
10023 static int bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
10024 struct nb_cb_destroy_args
*args
)
10027 const struct lyd_node
*af_dnode
;
10028 const char *af_name
;
10033 struct bgp
*vrf_bgp
, *bgp_default
;
10034 const char *import_name
;
10035 enum bgp_instance_type bgp_type
= BGP_INSTANCE_TYPE_VRF
;
10037 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10038 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10039 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10040 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10043 import_name
= yang_dnode_get_string(args
->dnode
, "./vrf");
10045 if (((BGP_INSTANCE_TYPE_DEFAULT
== bgp
->inst_type
)
10046 && (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0))
10047 || (bgp
->name
&& (strcmp(import_name
, bgp
->name
) == 0))) {
10048 snprintf(args
->errmsg
, args
->errmsg_len
,
10049 "Cannot %s vrf %s into itself\n", "unimport",
10051 return NB_ERR_INCONSISTENCY
;
10054 bgp_default
= bgp_get_default();
10055 if (!bgp_default
) {
10056 /* Auto-create assuming the same AS */
10057 ret
= bgp_get_vty(&bgp_default
, &as
, NULL
,
10058 BGP_INSTANCE_TYPE_DEFAULT
);
10062 args
->errmsg
, args
->errmsg_len
, "%s",
10063 "VRF default is not configured as a bgp instance");
10064 return NB_ERR_INCONSISTENCY
;
10068 vrf_bgp
= bgp_lookup_by_name(import_name
);
10070 if (strcmp(import_name
, VRF_DEFAULT_NAME
) == 0)
10071 vrf_bgp
= bgp_default
;
10073 /* Auto-create assuming the same AS */
10074 ret
= bgp_get_vty(&vrf_bgp
, &as
, import_name
, bgp_type
);
10077 snprintf(args
->errmsg
, args
->errmsg_len
,
10078 "VRF %s is not configured as a bgp instance\n",
10080 return NB_ERR_INCONSISTENCY
;
10084 vrf_unimport_from_vrf(bgp
, vrf_bgp
, afi
, safi
);
10092 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-vrf-list
10094 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vrf_list_create(
10095 struct nb_cb_create_args
*args
)
10098 const struct lyd_node
*af_dnode
;
10099 const char *af_name
;
10103 switch (args
->event
) {
10104 case NB_EV_VALIDATE
:
10105 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10108 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10109 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10110 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10112 if (!vpn_policy_check_import(bgp
, afi
, safi
, true, args
->errmsg
,
10114 return NB_ERR_VALIDATION
;
10117 case NB_EV_PREPARE
:
10121 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
10128 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_vrf_list_destroy(
10129 struct nb_cb_destroy_args
*args
)
10131 switch (args
->event
) {
10132 case NB_EV_VALIDATE
:
10133 case NB_EV_PREPARE
:
10137 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
10144 static int bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10145 struct nb_cb_modify_args
*args
, const char *dstr
)
10148 const struct lyd_node
*af_dnode
;
10149 const char *af_name
;
10152 const char *rmap_str
= NULL
;
10153 int dodir
[BGP_VPN_POLICY_DIR_MAX
] = {0};
10154 vpn_policy_direction_t dir
;
10156 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10157 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10158 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10159 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10161 if (!strcmp(dstr
, "import")) {
10162 rmap_str
= yang_dnode_get_string(args
->dnode
, NULL
);
10163 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10164 } else if (!strcmp(dstr
, "export")) {
10165 rmap_str
= yang_dnode_get_string(args
->dnode
, NULL
);
10166 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10167 } else if (!strcmp(dstr
, "both")) {
10168 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10169 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10172 for (dir
= 0; dir
< BGP_VPN_POLICY_DIR_MAX
; ++dir
) {
10176 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
10178 if (bgp
->vpn_policy
[afi
].rmap_name
[dir
])
10179 XFREE(MTYPE_ROUTE_MAP_NAME
,
10180 bgp
->vpn_policy
[afi
].rmap_name
[dir
]);
10181 bgp
->vpn_policy
[afi
].rmap_name
[dir
] =
10182 XSTRDUP(MTYPE_ROUTE_MAP_NAME
, rmap_str
);
10183 bgp
->vpn_policy
[afi
].rmap
[dir
] =
10184 route_map_lookup_by_name(rmap_str
);
10185 if (!bgp
->vpn_policy
[afi
].rmap
[dir
])
10189 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
10195 static int bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10196 struct nb_cb_destroy_args
*args
, const char *dstr
)
10199 const struct lyd_node
*af_dnode
;
10200 const char *af_name
;
10203 int dodir
[BGP_VPN_POLICY_DIR_MAX
] = {0};
10204 vpn_policy_direction_t dir
;
10206 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10207 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10208 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10209 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
10211 if (!strcmp(dstr
, "import")) {
10212 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10213 } else if (!strcmp(dstr
, "export")) {
10214 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10215 } else if (!strcmp(dstr
, "both")) {
10216 dodir
[BGP_VPN_POLICY_DIR_FROMVPN
] = 1;
10217 dodir
[BGP_VPN_POLICY_DIR_TOVPN
] = 1;
10220 for (dir
= 0; dir
< BGP_VPN_POLICY_DIR_MAX
; ++dir
) {
10224 vpn_leak_prechange(dir
, afi
, bgp_get_default(), bgp
);
10226 if (bgp
->vpn_policy
[afi
].rmap_name
[dir
])
10227 XFREE(MTYPE_ROUTE_MAP_NAME
,
10228 bgp
->vpn_policy
[afi
].rmap_name
[dir
]);
10229 bgp
->vpn_policy
[afi
].rmap_name
[dir
] = NULL
;
10230 bgp
->vpn_policy
[afi
].rmap
[dir
] = NULL
;
10232 vpn_leak_postchange(dir
, afi
, bgp_get_default(), bgp
);
10240 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rmap-import
10242 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_import_modify(
10243 struct nb_cb_modify_args
*args
)
10246 const struct lyd_node
*af_dnode
;
10247 const char *af_name
;
10251 switch (args
->event
) {
10252 case NB_EV_VALIDATE
:
10253 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10256 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10257 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10258 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10260 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
10261 args
->errmsg
, args
->errmsg_len
))
10262 return NB_ERR_VALIDATION
;
10264 case NB_EV_PREPARE
:
10268 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10275 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_import_destroy(
10276 struct nb_cb_destroy_args
*args
)
10279 const struct lyd_node
*af_dnode
;
10280 const char *af_name
;
10284 switch (args
->event
) {
10285 case NB_EV_VALIDATE
:
10286 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
10289 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
10290 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
10291 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
10293 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
10294 args
->errmsg
, args
->errmsg_len
))
10295 return NB_ERR_VALIDATION
;
10297 case NB_EV_PREPARE
:
10301 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10310 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rmap-export
10312 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_export_modify(
10313 struct nb_cb_modify_args
*args
)
10315 switch (args
->event
) {
10316 case NB_EV_VALIDATE
:
10317 case NB_EV_PREPARE
:
10321 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
10328 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rmap_export_destroy(
10329 struct nb_cb_destroy_args
*args
)
10331 switch (args
->event
) {
10332 case NB_EV_VALIDATE
:
10333 case NB_EV_PREPARE
:
10337 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
10347 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/redirect-rt
10349 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_redirect_rt_modify(
10350 struct nb_cb_modify_args
*args
)
10352 switch (args
->event
) {
10353 case NB_EV_VALIDATE
:
10354 case NB_EV_PREPARE
:
10357 /* TODO: implement me. */
10364 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_redirect_rt_destroy(
10365 struct nb_cb_destroy_args
*args
)
10367 switch (args
->event
) {
10368 case NB_EV_VALIDATE
:
10369 case NB_EV_PREPARE
:
10372 /* TODO: implement me. */
10381 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/import-rt-list
10383 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_rt_list_create(
10384 struct nb_cb_create_args
*args
)
10386 switch (args
->event
) {
10387 case NB_EV_VALIDATE
:
10388 case NB_EV_PREPARE
:
10391 /* TODO: implement me. */
10398 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_import_rt_list_destroy(
10399 struct nb_cb_destroy_args
*args
)
10401 switch (args
->event
) {
10402 case NB_EV_VALIDATE
:
10403 case NB_EV_PREPARE
:
10406 /* TODO: implement me. */
10415 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/export-rt-list
10417 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_rt_list_create(
10418 struct nb_cb_create_args
*args
)
10420 switch (args
->event
) {
10421 case NB_EV_VALIDATE
:
10422 case NB_EV_PREPARE
:
10425 /* TODO: implement me. */
10432 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_export_rt_list_destroy(
10433 struct nb_cb_destroy_args
*args
)
10435 switch (args
->event
) {
10436 case NB_EV_VALIDATE
:
10437 case NB_EV_PREPARE
:
10440 /* TODO: implement me. */
10449 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-unicast/vpn-config/rt-list
10451 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rt_list_create(
10452 struct nb_cb_create_args
*args
)
10454 switch (args
->event
) {
10455 case NB_EV_VALIDATE
:
10456 case NB_EV_PREPARE
:
10459 /* TODO: implement me. */
10466 int bgp_global_afi_safis_afi_safi_ipv4_unicast_vpn_config_rt_list_destroy(
10467 struct nb_cb_destroy_args
*args
)
10469 switch (args
->event
) {
10470 case NB_EV_VALIDATE
:
10471 case NB_EV_PREPARE
:
10474 /* TODO: implement me. */
10483 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config
10485 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_create(
10486 struct nb_cb_create_args
*args
)
10488 /* Handled in network_config_apply_finish callback */
10493 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_destroy(
10494 struct nb_cb_destroy_args
*args
)
10496 switch (args
->event
) {
10497 case NB_EV_VALIDATE
:
10498 case NB_EV_PREPARE
:
10502 return bgp_global_afi_safis_afi_safi_network_config_destroy(
10512 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/backdoor
10514 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_backdoor_modify(
10515 struct nb_cb_modify_args
*args
)
10517 /* Handled in unicast_network_config_apply_finish callback */
10524 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/label-index
10526 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_label_index_modify(
10527 struct nb_cb_modify_args
*args
)
10529 /* Handled in unicast_network_config_apply_finish callback */
10534 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_label_index_destroy(
10535 struct nb_cb_destroy_args
*args
)
10537 switch (args
->event
) {
10538 case NB_EV_VALIDATE
:
10539 case NB_EV_PREPARE
:
10542 /* TODO: implement me. */
10551 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/network-config/rmap-policy-export
10553 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_rmap_policy_export_modify(
10554 struct nb_cb_modify_args
*args
)
10556 /* Handled in unicast_network_config_apply_finish callback */
10561 int bgp_global_afi_safis_afi_safi_ipv6_unicast_network_config_rmap_policy_export_destroy(
10562 struct nb_cb_destroy_args
*args
)
10564 switch (args
->event
) {
10565 case NB_EV_VALIDATE
:
10566 case NB_EV_PREPARE
:
10569 /* TODO: implement me. */
10578 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route
10580 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_create(
10581 struct nb_cb_create_args
*args
)
10583 switch (args
->event
) {
10584 case NB_EV_VALIDATE
:
10585 case NB_EV_PREPARE
:
10588 /* TODO: implement me. */
10595 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_destroy(
10596 struct nb_cb_destroy_args
*args
)
10598 switch (args
->event
) {
10599 case NB_EV_VALIDATE
:
10600 case NB_EV_PREPARE
:
10604 return bgp_global_afi_safi_aggregate_route_destroy(args
);
10612 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/as-set
10614 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_as_set_modify(
10615 struct nb_cb_modify_args
*args
)
10617 switch (args
->event
) {
10618 case NB_EV_VALIDATE
:
10619 case NB_EV_PREPARE
:
10622 /* TODO: implement me. */
10631 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/summary-only
10633 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_summary_only_modify(
10634 struct nb_cb_modify_args
*args
)
10636 switch (args
->event
) {
10637 case NB_EV_VALIDATE
:
10638 case NB_EV_PREPARE
:
10641 /* TODO: implement me. */
10650 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/rmap-policy-export
10652 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_rmap_policy_export_modify(
10653 struct nb_cb_modify_args
*args
)
10655 switch (args
->event
) {
10656 case NB_EV_VALIDATE
:
10657 case NB_EV_PREPARE
:
10660 /* TODO: implement me. */
10667 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_rmap_policy_export_destroy(
10668 struct nb_cb_destroy_args
*args
)
10670 switch (args
->event
) {
10671 case NB_EV_VALIDATE
:
10672 case NB_EV_PREPARE
:
10675 /* TODO: implement me. */
10684 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/origin
10686 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_origin_modify(
10687 struct nb_cb_modify_args
*args
)
10689 switch (args
->event
) {
10690 case NB_EV_VALIDATE
:
10691 case NB_EV_PREPARE
:
10694 /* TODO: implement me. */
10703 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/match-med
10705 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_match_med_modify(
10706 struct nb_cb_modify_args
*args
)
10708 switch (args
->event
) {
10709 case NB_EV_VALIDATE
:
10710 case NB_EV_PREPARE
:
10713 /* TODO: implement me. */
10722 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/aggregate-route/suppress-map
10724 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_suppress_map_modify(
10725 struct nb_cb_modify_args
*args
)
10727 switch (args
->event
) {
10728 case NB_EV_VALIDATE
:
10729 case NB_EV_PREPARE
:
10732 /* TODO: implement me. */
10739 int bgp_global_afi_safis_afi_safi_ipv6_unicast_aggregate_route_suppress_map_destroy(
10740 struct nb_cb_destroy_args
*args
)
10742 switch (args
->event
) {
10743 case NB_EV_VALIDATE
:
10744 case NB_EV_PREPARE
:
10747 /* TODO: implement me. */
10756 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance-route
10758 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_create(
10759 struct nb_cb_create_args
*args
)
10761 switch (args
->event
) {
10762 case NB_EV_VALIDATE
:
10763 case NB_EV_PREPARE
:
10766 /* TODO: implement me. */
10773 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_destroy(
10774 struct nb_cb_destroy_args
*args
)
10776 switch (args
->event
) {
10777 case NB_EV_VALIDATE
:
10778 case NB_EV_PREPARE
:
10782 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
10790 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance-route/distance
10792 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_distance_modify(
10793 struct nb_cb_modify_args
*args
)
10795 switch (args
->event
) {
10796 case NB_EV_VALIDATE
:
10797 case NB_EV_PREPARE
:
10800 /* TODO: implement me. */
10809 * /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
10811 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_access_list_policy_export_modify(
10812 struct nb_cb_modify_args
*args
)
10814 switch (args
->event
) {
10815 case NB_EV_VALIDATE
:
10816 case NB_EV_PREPARE
:
10819 /* TODO: implement me. */
10826 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_route_access_list_policy_export_destroy(
10827 struct nb_cb_destroy_args
*args
)
10829 switch (args
->event
) {
10830 case NB_EV_VALIDATE
:
10831 case NB_EV_PREPARE
:
10834 /* TODO: implement me. */
10843 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/enable
10845 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_enable_modify(
10846 struct nb_cb_modify_args
*args
)
10848 switch (args
->event
) {
10849 case NB_EV_VALIDATE
:
10850 return bgp_global_afi_safi_route_flap_validation(args
);
10851 case NB_EV_PREPARE
:
10862 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/reach-decay
10864 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reach_decay_modify(
10865 struct nb_cb_modify_args
*args
)
10867 switch (args
->event
) {
10868 case NB_EV_VALIDATE
:
10869 case NB_EV_PREPARE
:
10872 /* TODO: implement me. */
10879 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reach_decay_destroy(
10880 struct nb_cb_destroy_args
*args
)
10882 switch (args
->event
) {
10883 case NB_EV_VALIDATE
:
10884 case NB_EV_PREPARE
:
10887 /* TODO: implement me. */
10896 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/reuse-above
10898 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reuse_above_modify(
10899 struct nb_cb_modify_args
*args
)
10901 int reuse
= DEFAULT_REUSE
;
10902 int suppress
= DEFAULT_SUPPRESS
;
10904 switch (args
->event
) {
10905 case NB_EV_VALIDATE
:
10906 if (yang_dnode_exists(args
->dnode
, "../suppress-above"))
10907 suppress
= yang_dnode_get_uint16(args
->dnode
,
10908 "../suppress-above");
10909 reuse
= yang_dnode_get_uint16(args
->dnode
, "../reuse-above");
10910 if (suppress
< reuse
) {
10912 args
->errmsg
, args
->errmsg_len
,
10913 "Suppress value cannot be less than reuse value \n");
10914 return NB_ERR_VALIDATION
;
10917 case NB_EV_PREPARE
:
10920 /* TODO: implement me. */
10927 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_reuse_above_destroy(
10928 struct nb_cb_destroy_args
*args
)
10930 switch (args
->event
) {
10931 case NB_EV_VALIDATE
:
10932 case NB_EV_PREPARE
:
10935 /* TODO: implement me. */
10944 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/suppress-above
10946 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_suppress_above_modify(
10947 struct nb_cb_modify_args
*args
)
10949 switch (args
->event
) {
10950 case NB_EV_VALIDATE
:
10951 case NB_EV_PREPARE
:
10954 /* TODO: implement me. */
10961 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_suppress_above_destroy(
10962 struct nb_cb_destroy_args
*args
)
10964 switch (args
->event
) {
10965 case NB_EV_VALIDATE
:
10966 case NB_EV_PREPARE
:
10969 /* TODO: implement me. */
10978 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/route-flap-dampening/unreach-decay
10980 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_unreach_decay_modify(
10981 struct nb_cb_modify_args
*args
)
10983 switch (args
->event
) {
10984 case NB_EV_VALIDATE
:
10985 case NB_EV_PREPARE
:
10988 /* TODO: implement me. */
10995 int bgp_global_afi_safis_afi_safi_ipv6_unicast_route_flap_dampening_unreach_decay_destroy(
10996 struct nb_cb_destroy_args
*args
)
10998 switch (args
->event
) {
10999 case NB_EV_VALIDATE
:
11000 case NB_EV_PREPARE
:
11003 /* TODO: implement me. */
11012 * /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
11014 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11015 struct nb_cb_modify_args
*args
)
11019 switch (args
->event
) {
11020 case NB_EV_VALIDATE
:
11021 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
11022 if (maxpaths
> multipath_num
) {
11023 snprintf(args
->errmsg
, args
->errmsg_len
,
11024 "maxpaths %u is out of range %u", maxpaths
,
11026 return NB_ERR_VALIDATION
;
11029 case NB_EV_PREPARE
:
11033 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11042 * /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
11044 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
11045 struct nb_cb_modify_args
*args
)
11047 switch (args
->event
) {
11048 case NB_EV_VALIDATE
:
11049 case NB_EV_PREPARE
:
11052 /* TODO: implement me. */
11061 * /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
11063 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
11064 struct nb_cb_modify_args
*args
)
11066 switch (args
->event
) {
11067 case NB_EV_VALIDATE
:
11068 case NB_EV_PREPARE
:
11071 /* TODO: implement me. */
11078 int bgp_global_afi_safis_afi_safi_ipv6_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
11079 struct nb_cb_destroy_args
*args
)
11081 switch (args
->event
) {
11082 case NB_EV_VALIDATE
:
11083 case NB_EV_PREPARE
:
11086 /* TODO: implement me. */
11095 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list
11097 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_create(
11098 struct nb_cb_create_args
*args
)
11100 switch (args
->event
) {
11101 case NB_EV_VALIDATE
:
11102 case NB_EV_PREPARE
:
11105 /* TODO: implement me. */
11112 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_destroy(
11113 struct nb_cb_destroy_args
*args
)
11115 const struct lyd_node
*af_dnode
;
11117 const char *af_name
;
11121 int route_instance
;
11123 switch (args
->event
) {
11124 case NB_EV_VALIDATE
:
11125 case NB_EV_PREPARE
:
11129 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11130 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11131 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11132 bgp
= nb_running_get_entry(af_dnode
, NULL
, true);
11134 route_type
= yang_dnode_get_enum(args
->dnode
, "./route-type");
11136 yang_dnode_get_uint16(args
->dnode
, "./route-instance");
11138 bgp_redistribute_unset(bgp
, afi
, route_type
, route_instance
);
11148 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list/metric
11150 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_metric_modify(
11151 struct nb_cb_modify_args
*args
)
11153 switch (args
->event
) {
11154 case NB_EV_VALIDATE
:
11155 case NB_EV_PREPARE
:
11158 /* TODO: implement me. */
11165 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_metric_destroy(
11166 struct nb_cb_destroy_args
*args
)
11168 switch (args
->event
) {
11169 case NB_EV_VALIDATE
:
11170 case NB_EV_PREPARE
:
11173 /* TODO: implement me. */
11182 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/redistribution-list/rmap-policy-import
11184 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_rmap_policy_import_modify(
11185 struct nb_cb_modify_args
*args
)
11187 switch (args
->event
) {
11188 case NB_EV_VALIDATE
:
11189 case NB_EV_PREPARE
:
11192 /* TODO: implement me. */
11199 int bgp_global_afi_safis_afi_safi_ipv6_unicast_redistribution_list_rmap_policy_import_destroy(
11200 struct nb_cb_destroy_args
*args
)
11202 switch (args
->event
) {
11203 case NB_EV_VALIDATE
:
11204 case NB_EV_PREPARE
:
11207 /* TODO: implement me. */
11216 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance
11218 void bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_apply_finish(
11219 struct nb_cb_apply_finish_args
*args
)
11221 bgp_global_afi_safis_admin_distance_modify(args
);
11226 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/external
11228 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_external_modify(
11229 struct nb_cb_modify_args
*args
)
11231 /* Handled in admin_distance_apply_finish callback */
11238 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/internal
11240 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_internal_modify(
11241 struct nb_cb_modify_args
*args
)
11243 /* Handled in admin_distance_apply_finish callback */
11250 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/admin-distance/local
11252 int bgp_global_afi_safis_afi_safi_ipv6_unicast_admin_distance_local_modify(
11253 struct nb_cb_modify_args
*args
)
11255 /* Handled in admin_distance_apply_finish callback */
11262 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
11264 int bgp_global_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
11265 struct nb_cb_modify_args
*args
)
11267 switch (args
->event
) {
11268 case NB_EV_VALIDATE
:
11269 case NB_EV_PREPARE
:
11272 /* TODO: implement me. */
11279 int bgp_global_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
11280 struct nb_cb_destroy_args
*args
)
11282 switch (args
->event
) {
11283 case NB_EV_VALIDATE
:
11284 case NB_EV_PREPARE
:
11287 /* TODO: implement me. */
11296 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rd
11298 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rd_modify(
11299 struct nb_cb_modify_args
*args
)
11302 const struct lyd_node
*af_dnode
;
11303 const char *af_name
;
11307 switch (args
->event
) {
11308 case NB_EV_VALIDATE
:
11309 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11313 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11314 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11315 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11317 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
11318 args
->errmsg
, args
->errmsg_len
))
11319 return NB_ERR_VALIDATION
;
11322 case NB_EV_PREPARE
:
11326 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_modify(
11333 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rd_destroy(
11334 struct nb_cb_destroy_args
*args
)
11336 switch (args
->event
) {
11337 case NB_EV_VALIDATE
:
11338 case NB_EV_PREPARE
:
11342 return bgp_global_afi_safi_ip_unicast_vpn_config_rd_destroy(
11351 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/label
11353 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_modify(
11354 struct nb_cb_modify_args
*args
)
11356 switch (args
->event
) {
11357 case NB_EV_VALIDATE
:
11358 case NB_EV_PREPARE
:
11361 /* TODO: implement me. */
11368 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_destroy(
11369 struct nb_cb_destroy_args
*args
)
11371 switch (args
->event
) {
11372 case NB_EV_VALIDATE
:
11373 case NB_EV_PREPARE
:
11376 /* TODO: implement me. */
11385 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/label-auto
11387 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_auto_modify(
11388 struct nb_cb_modify_args
*args
)
11390 switch (args
->event
) {
11391 case NB_EV_VALIDATE
:
11392 case NB_EV_PREPARE
:
11395 /* TODO: implement me. */
11402 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_label_auto_destroy(
11403 struct nb_cb_destroy_args
*args
)
11405 switch (args
->event
) {
11406 case NB_EV_VALIDATE
:
11407 case NB_EV_PREPARE
:
11410 /* TODO: implement me. */
11419 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/nexthop
11421 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_nexthop_modify(
11422 struct nb_cb_modify_args
*args
)
11425 const struct lyd_node
*af_dnode
;
11426 const char *af_name
;
11430 switch (args
->event
) {
11431 case NB_EV_VALIDATE
:
11432 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11436 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11437 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11438 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11440 if (!vpn_policy_check_import(bgp
, afi
, safi
, false,
11441 args
->errmsg
, args
->errmsg_len
))
11442 return NB_ERR_VALIDATION
;
11445 case NB_EV_PREPARE
:
11449 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_modify(
11456 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_nexthop_destroy(
11457 struct nb_cb_destroy_args
*args
)
11459 switch (args
->event
) {
11460 case NB_EV_VALIDATE
:
11461 case NB_EV_PREPARE
:
11465 return bgp_global_afi_safi_ip_unicast_vpn_config_nexthop_destroy(
11474 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-vpn
11476 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vpn_modify(
11477 struct nb_cb_modify_args
*args
)
11479 switch (args
->event
) {
11480 case NB_EV_VALIDATE
:
11481 case NB_EV_PREPARE
:
11484 /* TODO: implement me. */
11493 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/export-vpn
11495 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_vpn_modify(
11496 struct nb_cb_modify_args
*args
)
11498 switch (args
->event
) {
11499 case NB_EV_VALIDATE
:
11500 case NB_EV_PREPARE
:
11503 /* TODO: implement me. */
11512 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-vrf-list
11514 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vrf_list_create(
11515 struct nb_cb_create_args
*args
)
11518 const struct lyd_node
*af_dnode
;
11519 const char *af_name
;
11523 switch (args
->event
) {
11524 case NB_EV_VALIDATE
:
11525 bgp
= nb_running_get_entry(args
->dnode
, NULL
, false);
11528 af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
11529 af_name
= yang_dnode_get_string(af_dnode
, "./afi-safi-name");
11530 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
11532 if (!vpn_policy_check_import(bgp
, afi
, safi
, true, args
->errmsg
,
11534 return NB_ERR_VALIDATION
;
11537 case NB_EV_PREPARE
:
11541 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrfs_create(
11548 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_vrf_list_destroy(
11549 struct nb_cb_destroy_args
*args
)
11551 switch (args
->event
) {
11552 case NB_EV_VALIDATE
:
11553 case NB_EV_PREPARE
:
11557 return bgp_global_afi_safi_ip_unicast_vpn_config_import_vrf_list_destroy(
11566 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rmap-import
11568 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_import_modify(
11569 struct nb_cb_modify_args
*args
)
11571 switch (args
->event
) {
11572 case NB_EV_VALIDATE
:
11573 case NB_EV_PREPARE
:
11577 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
11584 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_import_destroy(
11585 struct nb_cb_destroy_args
*args
)
11587 switch (args
->event
) {
11588 case NB_EV_VALIDATE
:
11589 case NB_EV_PREPARE
:
11593 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
11602 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rmap-export
11604 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_export_modify(
11605 struct nb_cb_modify_args
*args
)
11607 switch (args
->event
) {
11608 case NB_EV_VALIDATE
:
11609 case NB_EV_PREPARE
:
11613 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_modify(
11620 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rmap_export_destroy(
11621 struct nb_cb_destroy_args
*args
)
11623 switch (args
->event
) {
11624 case NB_EV_VALIDATE
:
11625 case NB_EV_PREPARE
:
11629 return bgp_global_afi_safi_ip_unicast_vpn_config_rmap_import_destroy(
11638 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/redirect-rt
11640 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_redirect_rt_modify(
11641 struct nb_cb_modify_args
*args
)
11643 switch (args
->event
) {
11644 case NB_EV_VALIDATE
:
11645 case NB_EV_PREPARE
:
11648 /* TODO: implement me. */
11655 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_redirect_rt_destroy(
11656 struct nb_cb_destroy_args
*args
)
11658 switch (args
->event
) {
11659 case NB_EV_VALIDATE
:
11660 case NB_EV_PREPARE
:
11663 /* TODO: implement me. */
11672 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/import-rt-list
11674 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_rt_list_create(
11675 struct nb_cb_create_args
*args
)
11677 switch (args
->event
) {
11678 case NB_EV_VALIDATE
:
11679 case NB_EV_PREPARE
:
11682 /* TODO: implement me. */
11689 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_import_rt_list_destroy(
11690 struct nb_cb_destroy_args
*args
)
11692 switch (args
->event
) {
11693 case NB_EV_VALIDATE
:
11694 case NB_EV_PREPARE
:
11697 /* TODO: implement me. */
11706 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/export-rt-list
11708 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_rt_list_create(
11709 struct nb_cb_create_args
*args
)
11711 switch (args
->event
) {
11712 case NB_EV_VALIDATE
:
11713 case NB_EV_PREPARE
:
11716 /* TODO: implement me. */
11723 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_export_rt_list_destroy(
11724 struct nb_cb_destroy_args
*args
)
11726 switch (args
->event
) {
11727 case NB_EV_VALIDATE
:
11728 case NB_EV_PREPARE
:
11731 /* TODO: implement me. */
11740 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-unicast/vpn-config/rt-list
11742 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rt_list_create(
11743 struct nb_cb_create_args
*args
)
11745 switch (args
->event
) {
11746 case NB_EV_VALIDATE
:
11747 case NB_EV_PREPARE
:
11750 /* TODO: implement me. */
11757 int bgp_global_afi_safis_afi_safi_ipv6_unicast_vpn_config_rt_list_destroy(
11758 struct nb_cb_destroy_args
*args
)
11760 switch (args
->event
) {
11761 case NB_EV_VALIDATE
:
11762 case NB_EV_PREPARE
:
11765 /* TODO: implement me. */
11774 * /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
11776 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11777 struct nb_cb_modify_args
*args
)
11781 switch (args
->event
) {
11782 case NB_EV_VALIDATE
:
11783 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
11784 if (maxpaths
> multipath_num
) {
11785 snprintf(args
->errmsg
, args
->errmsg_len
,
11786 "maxpaths %u is out of range %u", maxpaths
,
11788 return NB_ERR_VALIDATION
;
11791 case NB_EV_PREPARE
:
11795 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
11804 * /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
11806 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
11807 struct nb_cb_modify_args
*args
)
11809 switch (args
->event
) {
11810 case NB_EV_VALIDATE
:
11811 case NB_EV_PREPARE
:
11814 /* TODO: implement me. */
11823 * /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
11825 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
11826 struct nb_cb_modify_args
*args
)
11828 switch (args
->event
) {
11829 case NB_EV_VALIDATE
:
11830 case NB_EV_PREPARE
:
11833 /* TODO: implement me. */
11840 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
11841 struct nb_cb_destroy_args
*args
)
11843 switch (args
->event
) {
11844 case NB_EV_VALIDATE
:
11845 case NB_EV_PREPARE
:
11848 /* TODO: implement me. */
11857 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-labeled-unicast/route-flap-dampening/enable
11859 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_enable_modify(
11860 struct nb_cb_modify_args
*args
)
11862 switch (args
->event
) {
11863 case NB_EV_VALIDATE
:
11864 return bgp_global_afi_safi_route_flap_validation(args
);
11865 case NB_EV_PREPARE
:
11876 * /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
11878 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reach_decay_modify(
11879 struct nb_cb_modify_args
*args
)
11881 switch (args
->event
) {
11882 case NB_EV_VALIDATE
:
11883 case NB_EV_PREPARE
:
11886 /* TODO: implement me. */
11893 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reach_decay_destroy(
11894 struct nb_cb_destroy_args
*args
)
11896 switch (args
->event
) {
11897 case NB_EV_VALIDATE
:
11898 case NB_EV_PREPARE
:
11901 /* TODO: implement me. */
11910 * /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
11912 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reuse_above_modify(
11913 struct nb_cb_modify_args
*args
)
11915 switch (args
->event
) {
11916 case NB_EV_VALIDATE
:
11917 case NB_EV_PREPARE
:
11920 /* TODO: implement me. */
11927 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_reuse_above_destroy(
11928 struct nb_cb_destroy_args
*args
)
11930 switch (args
->event
) {
11931 case NB_EV_VALIDATE
:
11932 case NB_EV_PREPARE
:
11935 /* TODO: implement me. */
11944 * /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
11946 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_suppress_above_modify(
11947 struct nb_cb_modify_args
*args
)
11949 switch (args
->event
) {
11950 case NB_EV_VALIDATE
:
11951 case NB_EV_PREPARE
:
11954 /* TODO: implement me. */
11961 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_suppress_above_destroy(
11962 struct nb_cb_destroy_args
*args
)
11964 switch (args
->event
) {
11965 case NB_EV_VALIDATE
:
11966 case NB_EV_PREPARE
:
11969 /* TODO: implement me. */
11978 * /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
11980 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_unreach_decay_modify(
11981 struct nb_cb_modify_args
*args
)
11983 switch (args
->event
) {
11984 case NB_EV_VALIDATE
:
11985 case NB_EV_PREPARE
:
11988 /* TODO: implement me. */
11995 int bgp_global_afi_safis_afi_safi_ipv4_labeled_unicast_route_flap_dampening_unreach_decay_destroy(
11996 struct nb_cb_destroy_args
*args
)
11998 switch (args
->event
) {
11999 case NB_EV_VALIDATE
:
12000 case NB_EV_PREPARE
:
12003 /* TODO: implement me. */
12012 * /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
12014 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
12015 struct nb_cb_modify_args
*args
)
12019 switch (args
->event
) {
12020 case NB_EV_VALIDATE
:
12021 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
12022 if (maxpaths
> multipath_num
) {
12023 snprintf(args
->errmsg
, args
->errmsg_len
,
12024 "maxpaths %u is out of range %u", maxpaths
,
12026 return NB_ERR_VALIDATION
;
12029 case NB_EV_PREPARE
:
12033 return bgp_global_afi_safi_ip_unicast_use_multiple_paths_ebgp_maximum_paths_modify(
12042 * /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
12044 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_maximum_paths_modify(
12045 struct nb_cb_modify_args
*args
)
12049 switch (args
->event
) {
12050 case NB_EV_VALIDATE
:
12051 maxpaths
= yang_dnode_get_uint16(args
->dnode
, NULL
);
12052 if (maxpaths
> multipath_num
) {
12053 snprintf(args
->errmsg
, args
->errmsg_len
,
12054 "maxpaths %u is out of range %u", maxpaths
,
12056 return NB_ERR_VALIDATION
;
12059 case NB_EV_PREPARE
:
12062 /* TODO: implement me. */
12071 * /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
12073 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_modify(
12074 struct nb_cb_modify_args
*args
)
12076 switch (args
->event
) {
12077 case NB_EV_VALIDATE
:
12078 case NB_EV_PREPARE
:
12081 /* TODO: implement me. */
12088 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_use_multiple_paths_ibgp_cluster_length_list_destroy(
12089 struct nb_cb_destroy_args
*args
)
12091 switch (args
->event
) {
12092 case NB_EV_VALIDATE
:
12093 case NB_EV_PREPARE
:
12096 /* TODO: implement me. */
12105 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-labeled-unicast/route-flap-dampening/enable
12107 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_enable_modify(
12108 struct nb_cb_modify_args
*args
)
12110 switch (args
->event
) {
12111 case NB_EV_VALIDATE
:
12112 return bgp_global_afi_safi_route_flap_validation(args
);
12113 case NB_EV_PREPARE
:
12124 * /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
12126 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reach_decay_modify(
12127 struct nb_cb_modify_args
*args
)
12129 switch (args
->event
) {
12130 case NB_EV_VALIDATE
:
12131 case NB_EV_PREPARE
:
12134 /* TODO: implement me. */
12141 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reach_decay_destroy(
12142 struct nb_cb_destroy_args
*args
)
12144 switch (args
->event
) {
12145 case NB_EV_VALIDATE
:
12146 case NB_EV_PREPARE
:
12149 /* TODO: implement me. */
12158 * /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
12160 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reuse_above_modify(
12161 struct nb_cb_modify_args
*args
)
12163 switch (args
->event
) {
12164 case NB_EV_VALIDATE
:
12165 case NB_EV_PREPARE
:
12168 /* TODO: implement me. */
12175 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_reuse_above_destroy(
12176 struct nb_cb_destroy_args
*args
)
12178 switch (args
->event
) {
12179 case NB_EV_VALIDATE
:
12180 case NB_EV_PREPARE
:
12183 /* TODO: implement me. */
12192 * /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
12194 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_suppress_above_modify(
12195 struct nb_cb_modify_args
*args
)
12197 switch (args
->event
) {
12198 case NB_EV_VALIDATE
:
12199 case NB_EV_PREPARE
:
12202 /* TODO: implement me. */
12209 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_suppress_above_destroy(
12210 struct nb_cb_destroy_args
*args
)
12212 switch (args
->event
) {
12213 case NB_EV_VALIDATE
:
12214 case NB_EV_PREPARE
:
12217 /* TODO: implement me. */
12226 * /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
12228 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_unreach_decay_modify(
12229 struct nb_cb_modify_args
*args
)
12231 switch (args
->event
) {
12232 case NB_EV_VALIDATE
:
12233 case NB_EV_PREPARE
:
12236 /* TODO: implement me. */
12243 int bgp_global_afi_safis_afi_safi_ipv6_labeled_unicast_route_flap_dampening_unreach_decay_destroy(
12244 struct nb_cb_destroy_args
*args
)
12246 switch (args
->event
) {
12247 case NB_EV_VALIDATE
:
12248 case NB_EV_PREPARE
:
12251 /* TODO: implement me. */
12260 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config
12262 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_create(
12263 struct nb_cb_create_args
*args
)
12265 /* Handled in network_config_apply_finish callback */
12270 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_destroy(
12271 struct nb_cb_destroy_args
*args
)
12273 switch (args
->event
) {
12274 case NB_EV_VALIDATE
:
12275 case NB_EV_PREPARE
:
12279 return bgp_global_afi_safis_afi_safi_network_config_destroy(
12289 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/backdoor
12291 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_backdoor_modify(
12292 struct nb_cb_modify_args
*args
)
12294 switch (args
->event
) {
12295 case NB_EV_VALIDATE
:
12296 case NB_EV_PREPARE
:
12299 /* TODO: implement me. */
12308 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/label-index
12310 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_label_index_modify(
12311 struct nb_cb_modify_args
*args
)
12313 switch (args
->event
) {
12314 case NB_EV_VALIDATE
:
12315 case NB_EV_PREPARE
:
12318 /* TODO: implement me. */
12325 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_label_index_destroy(
12326 struct nb_cb_destroy_args
*args
)
12328 switch (args
->event
) {
12329 case NB_EV_VALIDATE
:
12330 case NB_EV_PREPARE
:
12333 /* TODO: implement me. */
12342 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/network-config/rmap-policy-export
12344 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_rmap_policy_export_modify(
12345 struct nb_cb_modify_args
*args
)
12347 switch (args
->event
) {
12348 case NB_EV_VALIDATE
:
12349 case NB_EV_PREPARE
:
12352 /* TODO: implement me. */
12359 int bgp_global_afi_safis_afi_safi_ipv4_multicast_network_config_rmap_policy_export_destroy(
12360 struct nb_cb_destroy_args
*args
)
12362 switch (args
->event
) {
12363 case NB_EV_VALIDATE
:
12364 case NB_EV_PREPARE
:
12367 /* TODO: implement me. */
12376 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route
12378 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_create(
12379 struct nb_cb_create_args
*args
)
12381 switch (args
->event
) {
12382 case NB_EV_VALIDATE
:
12383 case NB_EV_PREPARE
:
12386 /* TODO: implement me. */
12393 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_destroy(
12394 struct nb_cb_destroy_args
*args
)
12396 switch (args
->event
) {
12397 case NB_EV_VALIDATE
:
12398 case NB_EV_PREPARE
:
12401 /* TODO: implement me. */
12410 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/as-set
12412 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_as_set_modify(
12413 struct nb_cb_modify_args
*args
)
12415 switch (args
->event
) {
12416 case NB_EV_VALIDATE
:
12417 case NB_EV_PREPARE
:
12420 /* TODO: implement me. */
12429 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/summary-only
12431 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_summary_only_modify(
12432 struct nb_cb_modify_args
*args
)
12434 switch (args
->event
) {
12435 case NB_EV_VALIDATE
:
12436 case NB_EV_PREPARE
:
12439 /* TODO: implement me. */
12448 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/rmap-policy-export
12450 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_rmap_policy_export_modify(
12451 struct nb_cb_modify_args
*args
)
12453 switch (args
->event
) {
12454 case NB_EV_VALIDATE
:
12455 case NB_EV_PREPARE
:
12458 /* TODO: implement me. */
12465 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_rmap_policy_export_destroy(
12466 struct nb_cb_destroy_args
*args
)
12468 switch (args
->event
) {
12469 case NB_EV_VALIDATE
:
12470 case NB_EV_PREPARE
:
12473 /* TODO: implement me. */
12482 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/origin
12484 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_origin_modify(
12485 struct nb_cb_modify_args
*args
)
12487 switch (args
->event
) {
12488 case NB_EV_VALIDATE
:
12489 case NB_EV_PREPARE
:
12492 /* TODO: implement me. */
12501 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/match-med
12503 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_match_med_modify(
12504 struct nb_cb_modify_args
*args
)
12506 switch (args
->event
) {
12507 case NB_EV_VALIDATE
:
12508 case NB_EV_PREPARE
:
12511 /* TODO: implement me. */
12520 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/aggregate-route/suppress-map
12522 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_suppress_map_modify(
12523 struct nb_cb_modify_args
*args
)
12525 switch (args
->event
) {
12526 case NB_EV_VALIDATE
:
12527 case NB_EV_PREPARE
:
12530 /* TODO: implement me. */
12537 int bgp_global_afi_safis_afi_safi_ipv4_multicast_aggregate_route_suppress_map_destroy(
12538 struct nb_cb_destroy_args
*args
)
12540 switch (args
->event
) {
12541 case NB_EV_VALIDATE
:
12542 case NB_EV_PREPARE
:
12545 /* TODO: implement me. */
12554 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance-route
12556 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_create(
12557 struct nb_cb_create_args
*args
)
12559 switch (args
->event
) {
12560 case NB_EV_VALIDATE
:
12561 case NB_EV_PREPARE
:
12564 /* TODO: implement me. */
12571 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_destroy(
12572 struct nb_cb_destroy_args
*args
)
12574 switch (args
->event
) {
12575 case NB_EV_VALIDATE
:
12576 case NB_EV_PREPARE
:
12580 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
12588 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance-route/distance
12590 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_distance_modify(
12591 struct nb_cb_modify_args
*args
)
12593 switch (args
->event
) {
12594 case NB_EV_VALIDATE
:
12595 case NB_EV_PREPARE
:
12598 /* TODO: implement me. */
12607 * /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
12609 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_access_list_policy_export_modify(
12610 struct nb_cb_modify_args
*args
)
12612 switch (args
->event
) {
12613 case NB_EV_VALIDATE
:
12614 case NB_EV_PREPARE
:
12617 /* TODO: implement me. */
12624 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_route_access_list_policy_export_destroy(
12625 struct nb_cb_destroy_args
*args
)
12627 switch (args
->event
) {
12628 case NB_EV_VALIDATE
:
12629 case NB_EV_PREPARE
:
12632 /* TODO: implement me. */
12641 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance-route/distance
12643 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_distance_modify(
12644 struct nb_cb_modify_args
*args
)
12646 switch (args
->event
) {
12647 case NB_EV_VALIDATE
:
12648 case NB_EV_PREPARE
:
12651 /* TODO: implement me. */
12660 * /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
12662 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_access_list_policy_export_modify(
12663 struct nb_cb_modify_args
*args
)
12665 switch (args
->event
) {
12666 case NB_EV_VALIDATE
:
12667 case NB_EV_PREPARE
:
12670 /* TODO: implement me. */
12677 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_access_list_policy_export_destroy(
12678 struct nb_cb_destroy_args
*args
)
12680 switch (args
->event
) {
12681 case NB_EV_VALIDATE
:
12682 case NB_EV_PREPARE
:
12685 /* TODO: implement me. */
12694 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/enable
12696 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_enable_modify(
12697 struct nb_cb_modify_args
*args
)
12699 switch (args
->event
) {
12700 case NB_EV_VALIDATE
:
12701 return bgp_global_afi_safi_route_flap_validation(args
);
12702 case NB_EV_PREPARE
:
12713 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/reach-decay
12715 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reach_decay_modify(
12716 struct nb_cb_modify_args
*args
)
12718 switch (args
->event
) {
12719 case NB_EV_VALIDATE
:
12720 case NB_EV_PREPARE
:
12723 /* TODO: implement me. */
12730 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reach_decay_destroy(
12731 struct nb_cb_destroy_args
*args
)
12733 switch (args
->event
) {
12734 case NB_EV_VALIDATE
:
12735 case NB_EV_PREPARE
:
12738 /* TODO: implement me. */
12747 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/reuse-above
12749 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reuse_above_modify(
12750 struct nb_cb_modify_args
*args
)
12752 switch (args
->event
) {
12753 case NB_EV_VALIDATE
:
12754 case NB_EV_PREPARE
:
12757 /* TODO: implement me. */
12764 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_reuse_above_destroy(
12765 struct nb_cb_destroy_args
*args
)
12767 switch (args
->event
) {
12768 case NB_EV_VALIDATE
:
12769 case NB_EV_PREPARE
:
12772 /* TODO: implement me. */
12781 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/suppress-above
12783 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_suppress_above_modify(
12784 struct nb_cb_modify_args
*args
)
12786 switch (args
->event
) {
12787 case NB_EV_VALIDATE
:
12788 case NB_EV_PREPARE
:
12791 /* TODO: implement me. */
12798 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_suppress_above_destroy(
12799 struct nb_cb_destroy_args
*args
)
12801 switch (args
->event
) {
12802 case NB_EV_VALIDATE
:
12803 case NB_EV_PREPARE
:
12806 /* TODO: implement me. */
12815 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/route-flap-dampening/unreach-decay
12817 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_unreach_decay_modify(
12818 struct nb_cb_modify_args
*args
)
12820 switch (args
->event
) {
12821 case NB_EV_VALIDATE
:
12822 case NB_EV_PREPARE
:
12825 /* TODO: implement me. */
12832 int bgp_global_afi_safis_afi_safi_ipv6_multicast_route_flap_dampening_unreach_decay_destroy(
12833 struct nb_cb_destroy_args
*args
)
12835 switch (args
->event
) {
12836 case NB_EV_VALIDATE
:
12837 case NB_EV_PREPARE
:
12840 /* TODO: implement me. */
12849 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance
12851 void bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_apply_finish(
12852 struct nb_cb_apply_finish_args
*args
)
12854 bgp_global_afi_safis_admin_distance_modify(args
);
12859 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/external
12861 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_external_modify(
12862 struct nb_cb_modify_args
*args
)
12864 /* Handled in admin_distance_apply_finish callback */
12871 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/internal
12873 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_internal_modify(
12874 struct nb_cb_modify_args
*args
)
12876 /* Handled in admin_distance_apply_finish callback */
12883 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance/local
12885 int bgp_global_afi_safis_afi_safi_ipv4_multicast_admin_distance_local_modify(
12886 struct nb_cb_modify_args
*args
)
12888 /* Handled in admin_distance_apply_finish callback */
12895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/enable
12897 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_enable_modify(
12898 struct nb_cb_modify_args
*args
)
12900 switch (args
->event
) {
12901 case NB_EV_VALIDATE
:
12902 return bgp_global_afi_safi_route_flap_validation(args
);
12903 case NB_EV_PREPARE
:
12914 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/reach-decay
12916 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reach_decay_modify(
12917 struct nb_cb_modify_args
*args
)
12919 switch (args
->event
) {
12920 case NB_EV_VALIDATE
:
12921 case NB_EV_PREPARE
:
12924 /* TODO: implement me. */
12931 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reach_decay_destroy(
12932 struct nb_cb_destroy_args
*args
)
12934 switch (args
->event
) {
12935 case NB_EV_VALIDATE
:
12936 case NB_EV_PREPARE
:
12939 /* TODO: implement me. */
12948 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/reuse-above
12950 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reuse_above_modify(
12951 struct nb_cb_modify_args
*args
)
12953 switch (args
->event
) {
12954 case NB_EV_VALIDATE
:
12955 case NB_EV_PREPARE
:
12958 /* TODO: implement me. */
12965 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_reuse_above_destroy(
12966 struct nb_cb_destroy_args
*args
)
12968 switch (args
->event
) {
12969 case NB_EV_VALIDATE
:
12970 case NB_EV_PREPARE
:
12973 /* TODO: implement me. */
12982 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/suppress-above
12984 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_suppress_above_modify(
12985 struct nb_cb_modify_args
*args
)
12987 switch (args
->event
) {
12988 case NB_EV_VALIDATE
:
12989 case NB_EV_PREPARE
:
12992 /* TODO: implement me. */
12999 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_suppress_above_destroy(
13000 struct nb_cb_destroy_args
*args
)
13002 switch (args
->event
) {
13003 case NB_EV_VALIDATE
:
13004 case NB_EV_PREPARE
:
13007 /* TODO: implement me. */
13016 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/route-flap-dampening/unreach-decay
13018 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_unreach_decay_modify(
13019 struct nb_cb_modify_args
*args
)
13021 switch (args
->event
) {
13022 case NB_EV_VALIDATE
:
13023 case NB_EV_PREPARE
:
13026 /* TODO: implement me. */
13033 int bgp_global_afi_safis_afi_safi_ipv4_multicast_route_flap_dampening_unreach_decay_destroy(
13034 struct nb_cb_destroy_args
*args
)
13036 switch (args
->event
) {
13037 case NB_EV_VALIDATE
:
13038 case NB_EV_PREPARE
:
13041 /* TODO: implement me. */
13050 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
13052 int bgp_global_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
13053 struct nb_cb_modify_args
*args
)
13055 switch (args
->event
) {
13056 case NB_EV_VALIDATE
:
13057 case NB_EV_PREPARE
:
13060 /* TODO: implement me. */
13067 int bgp_global_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
13068 struct nb_cb_destroy_args
*args
)
13070 switch (args
->event
) {
13071 case NB_EV_VALIDATE
:
13072 case NB_EV_PREPARE
:
13075 /* TODO: implement me. */
13084 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config
13086 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_create(
13087 struct nb_cb_create_args
*args
)
13089 /* Handled in network_config_apply_finish callback */
13094 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_destroy(
13095 struct nb_cb_destroy_args
*args
)
13097 switch (args
->event
) {
13098 case NB_EV_VALIDATE
:
13099 case NB_EV_PREPARE
:
13103 return bgp_global_afi_safis_afi_safi_network_config_destroy(
13114 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/backdoor
13116 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_backdoor_modify(
13117 struct nb_cb_modify_args
*args
)
13119 switch (args
->event
) {
13120 case NB_EV_VALIDATE
:
13121 case NB_EV_PREPARE
:
13124 /* TODO: implement me. */
13133 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/label-index
13135 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_label_index_modify(
13136 struct nb_cb_modify_args
*args
)
13138 switch (args
->event
) {
13139 case NB_EV_VALIDATE
:
13140 case NB_EV_PREPARE
:
13143 /* TODO: implement me. */
13150 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_label_index_destroy(
13151 struct nb_cb_destroy_args
*args
)
13153 switch (args
->event
) {
13154 case NB_EV_VALIDATE
:
13155 case NB_EV_PREPARE
:
13158 /* TODO: implement me. */
13167 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/network-config/rmap-policy-export
13169 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_rmap_policy_export_modify(
13170 struct nb_cb_modify_args
*args
)
13172 switch (args
->event
) {
13173 case NB_EV_VALIDATE
:
13174 case NB_EV_PREPARE
:
13177 /* TODO: implement me. */
13184 int bgp_global_afi_safis_afi_safi_ipv6_multicast_network_config_rmap_policy_export_destroy(
13185 struct nb_cb_destroy_args
*args
)
13187 switch (args
->event
) {
13188 case NB_EV_VALIDATE
:
13189 case NB_EV_PREPARE
:
13192 /* TODO: implement me. */
13201 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route
13203 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_create(
13204 struct nb_cb_create_args
*args
)
13206 switch (args
->event
) {
13207 case NB_EV_VALIDATE
:
13208 case NB_EV_PREPARE
:
13211 /* TODO: implement me. */
13218 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_destroy(
13219 struct nb_cb_destroy_args
*args
)
13221 switch (args
->event
) {
13222 case NB_EV_VALIDATE
:
13223 case NB_EV_PREPARE
:
13226 /* TODO: implement me. */
13235 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/as-set
13237 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_as_set_modify(
13238 struct nb_cb_modify_args
*args
)
13240 switch (args
->event
) {
13241 case NB_EV_VALIDATE
:
13242 case NB_EV_PREPARE
:
13245 /* TODO: implement me. */
13254 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/summary-only
13256 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_summary_only_modify(
13257 struct nb_cb_modify_args
*args
)
13259 switch (args
->event
) {
13260 case NB_EV_VALIDATE
:
13261 case NB_EV_PREPARE
:
13264 /* TODO: implement me. */
13273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/rmap-policy-export
13275 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_rmap_policy_export_modify(
13276 struct nb_cb_modify_args
*args
)
13278 switch (args
->event
) {
13279 case NB_EV_VALIDATE
:
13280 case NB_EV_PREPARE
:
13283 /* TODO: implement me. */
13290 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_rmap_policy_export_destroy(
13291 struct nb_cb_destroy_args
*args
)
13293 switch (args
->event
) {
13294 case NB_EV_VALIDATE
:
13295 case NB_EV_PREPARE
:
13298 /* TODO: implement me. */
13307 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/origin
13309 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_origin_modify(
13310 struct nb_cb_modify_args
*args
)
13312 switch (args
->event
) {
13313 case NB_EV_VALIDATE
:
13314 case NB_EV_PREPARE
:
13317 /* TODO: implement me. */
13326 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/match-med
13328 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_match_med_modify(
13329 struct nb_cb_modify_args
*args
)
13331 switch (args
->event
) {
13332 case NB_EV_VALIDATE
:
13333 case NB_EV_PREPARE
:
13336 /* TODO: implement me. */
13345 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/aggregate-route/suppress-map
13347 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_suppress_map_modify(
13348 struct nb_cb_modify_args
*args
)
13350 switch (args
->event
) {
13351 case NB_EV_VALIDATE
:
13352 case NB_EV_PREPARE
:
13355 /* TODO: implement me. */
13362 int bgp_global_afi_safis_afi_safi_ipv6_multicast_aggregate_route_suppress_map_destroy(
13363 struct nb_cb_destroy_args
*args
)
13365 switch (args
->event
) {
13366 case NB_EV_VALIDATE
:
13367 case NB_EV_PREPARE
:
13370 /* TODO: implement me. */
13379 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance-route
13381 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_create(
13382 struct nb_cb_create_args
*args
)
13384 switch (args
->event
) {
13385 case NB_EV_VALIDATE
:
13386 case NB_EV_PREPARE
:
13389 /* TODO: implement me. */
13396 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_route_destroy(
13397 struct nb_cb_destroy_args
*args
)
13399 switch (args
->event
) {
13400 case NB_EV_VALIDATE
:
13401 case NB_EV_PREPARE
:
13405 return bgp_global_afi_safi_admin_distance_route_destroy(args
);
13413 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-multicast/admin-distance
13415 void bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_apply_finish(
13416 struct nb_cb_apply_finish_args
*args
)
13418 bgp_global_afi_safis_admin_distance_modify(args
);
13423 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/external
13425 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_external_modify(
13426 struct nb_cb_modify_args
*args
)
13428 /* Handled in admin_distance_apply_finish callback */
13435 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/internal
13437 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_internal_modify(
13438 struct nb_cb_modify_args
*args
)
13440 /* Handled in admin_distance_apply_finish callback */
13447 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv6-multicast/admin-distance/local
13449 int bgp_global_afi_safis_afi_safi_ipv6_multicast_admin_distance_local_modify(
13450 struct nb_cb_modify_args
*args
)
13452 /* Handled in admin_distance_apply_finish callback */
13459 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/ipv4-flowspec/flow-spec-config/interface
13461 int bgp_global_afi_safis_afi_safi_ipv4_flowspec_flow_spec_config_interface_modify(
13462 struct nb_cb_modify_args
*args
)
13464 switch (args
->event
) {
13465 case NB_EV_VALIDATE
:
13466 case NB_EV_PREPARE
:
13469 /* TODO: implement me. */
13476 int bgp_global_afi_safis_afi_safi_ipv4_flowspec_flow_spec_config_interface_destroy(
13477 struct nb_cb_destroy_args
*args
)
13479 switch (args
->event
) {
13480 case NB_EV_VALIDATE
:
13481 case NB_EV_PREPARE
:
13484 /* TODO: implement me. */
13493 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config
13495 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_create(
13496 struct nb_cb_create_args
*args
)
13498 switch (args
->event
) {
13499 case NB_EV_VALIDATE
:
13500 case NB_EV_PREPARE
:
13503 /* TODO: implement me. */
13510 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_destroy(
13511 struct nb_cb_destroy_args
*args
)
13513 switch (args
->event
) {
13514 case NB_EV_VALIDATE
:
13515 case NB_EV_PREPARE
:
13518 /* TODO: implement me. */
13527 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv4-unicast/network-config/prefix-list
13529 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_create(
13530 struct nb_cb_create_args
*args
)
13532 switch (args
->event
) {
13533 case NB_EV_VALIDATE
:
13534 case NB_EV_PREPARE
:
13537 /* TODO: implement me. */
13544 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_destroy(
13545 struct nb_cb_destroy_args
*args
)
13547 switch (args
->event
) {
13548 case NB_EV_VALIDATE
:
13549 case NB_EV_PREPARE
:
13552 /* TODO: implement me. */
13561 * /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
13563 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_label_index_modify(
13564 struct nb_cb_modify_args
*args
)
13566 switch (args
->event
) {
13567 case NB_EV_VALIDATE
:
13568 case NB_EV_PREPARE
:
13571 /* TODO: implement me. */
13580 * /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
13582 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_rmap_policy_export_modify(
13583 struct nb_cb_modify_args
*args
)
13585 switch (args
->event
) {
13586 case NB_EV_VALIDATE
:
13587 case NB_EV_PREPARE
:
13590 /* TODO: implement me. */
13597 int bgp_global_afi_safis_afi_safi_l3vpn_ipv4_unicast_network_config_prefix_list_rmap_policy_export_destroy(
13598 struct nb_cb_destroy_args
*args
)
13600 switch (args
->event
) {
13601 case NB_EV_VALIDATE
:
13602 case NB_EV_PREPARE
:
13605 /* TODO: implement me. */
13614 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config
13616 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_create(
13617 struct nb_cb_create_args
*args
)
13619 switch (args
->event
) {
13620 case NB_EV_VALIDATE
:
13621 case NB_EV_PREPARE
:
13624 /* TODO: implement me. */
13631 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_destroy(
13632 struct nb_cb_destroy_args
*args
)
13634 switch (args
->event
) {
13635 case NB_EV_VALIDATE
:
13636 case NB_EV_PREPARE
:
13639 /* TODO: implement me. */
13648 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/global/afi-safis/afi-safi/l3vpn-ipv6-unicast/network-config/prefix-list
13650 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_create(
13651 struct nb_cb_create_args
*args
)
13653 switch (args
->event
) {
13654 case NB_EV_VALIDATE
:
13655 case NB_EV_PREPARE
:
13658 /* TODO: implement me. */
13665 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_destroy(
13666 struct nb_cb_destroy_args
*args
)
13668 switch (args
->event
) {
13669 case NB_EV_VALIDATE
:
13670 case NB_EV_PREPARE
:
13673 /* TODO: implement me. */
13682 * /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
13684 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_label_index_modify(
13685 struct nb_cb_modify_args
*args
)
13687 switch (args
->event
) {
13688 case NB_EV_VALIDATE
:
13689 case NB_EV_PREPARE
:
13692 /* TODO: implement me. */
13701 * /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
13703 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_rmap_policy_export_modify(
13704 struct nb_cb_modify_args
*args
)
13706 switch (args
->event
) {
13707 case NB_EV_VALIDATE
:
13708 case NB_EV_PREPARE
:
13711 /* TODO: implement me. */
13718 int bgp_global_afi_safis_afi_safi_l3vpn_ipv6_unicast_network_config_prefix_list_rmap_policy_export_destroy(
13719 struct nb_cb_destroy_args
*args
)
13721 switch (args
->event
) {
13722 case NB_EV_VALIDATE
:
13723 case NB_EV_PREPARE
:
13726 /* TODO: implement me. */
13735 * /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
13737 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_unicast_common_config_pre_policy_modify(
13738 struct nb_cb_modify_args
*args
)
13740 switch (args
->event
) {
13741 case NB_EV_VALIDATE
:
13742 case NB_EV_PREPARE
:
13745 /* TODO: implement me. */
13754 * /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
13756 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_unicast_common_config_post_policy_modify(
13757 struct nb_cb_modify_args
*args
)
13759 switch (args
->event
) {
13760 case NB_EV_VALIDATE
:
13761 case NB_EV_PREPARE
:
13764 /* TODO: implement me. */
13773 * /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
13775 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_multicast_common_config_pre_policy_modify(
13776 struct nb_cb_modify_args
*args
)
13778 switch (args
->event
) {
13779 case NB_EV_VALIDATE
:
13780 case NB_EV_PREPARE
:
13783 /* TODO: implement me. */
13792 * /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
13794 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv4_multicast_common_config_post_policy_modify(
13795 struct nb_cb_modify_args
*args
)
13797 switch (args
->event
) {
13798 case NB_EV_VALIDATE
:
13799 case NB_EV_PREPARE
:
13802 /* TODO: implement me. */
13811 * /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
13813 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_unicast_common_config_pre_policy_modify(
13814 struct nb_cb_modify_args
*args
)
13816 switch (args
->event
) {
13817 case NB_EV_VALIDATE
:
13818 case NB_EV_PREPARE
:
13821 /* TODO: implement me. */
13830 * /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
13832 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_unicast_common_config_post_policy_modify(
13833 struct nb_cb_modify_args
*args
)
13835 switch (args
->event
) {
13836 case NB_EV_VALIDATE
:
13837 case NB_EV_PREPARE
:
13840 /* TODO: implement me. */
13849 * /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
13851 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_multicast_common_config_pre_policy_modify(
13852 struct nb_cb_modify_args
*args
)
13854 switch (args
->event
) {
13855 case NB_EV_VALIDATE
:
13856 case NB_EV_PREPARE
:
13859 /* TODO: implement me. */
13868 * /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
13870 int bgp_global_bmp_config_target_list_afi_safis_afi_safi_ipv6_multicast_common_config_post_policy_modify(
13871 struct nb_cb_modify_args
*args
)
13873 switch (args
->event
) {
13874 case NB_EV_VALIDATE
:
13875 case NB_EV_PREPARE
:
13878 /* TODO: implement me. */
13885 static int bgp_neighbor_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
13886 uint32_t flags
, bool set
)
13889 const char *peer_str
;
13891 const struct lyd_node
*nbr_dnode
;
13892 const struct lyd_node
*nbr_af_dnode
;
13893 const char *af_name
;
13897 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
13898 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
13899 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
13901 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
13902 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
13903 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
13904 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
13907 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
13910 return NB_ERR_INCONSISTENCY
;
13917 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/add-paths/path-type
13919 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
13920 struct nb_cb_modify_args
*args
)
13922 switch (args
->event
) {
13923 case NB_EV_VALIDATE
:
13924 case NB_EV_PREPARE
:
13927 /* TODO: implement me. */
13936 * /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
13938 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
13939 struct nb_cb_modify_args
*args
)
13941 switch (args
->event
) {
13942 case NB_EV_VALIDATE
:
13943 case NB_EV_PREPARE
:
13946 /* TODO: implement me. */
13953 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
13954 struct nb_cb_destroy_args
*args
)
13956 switch (args
->event
) {
13957 case NB_EV_VALIDATE
:
13958 case NB_EV_PREPARE
:
13961 /* TODO: implement me. */
13970 * /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
13972 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
13973 struct nb_cb_modify_args
*args
)
13975 switch (args
->event
) {
13976 case NB_EV_VALIDATE
:
13977 case NB_EV_PREPARE
:
13980 /* TODO: implement me. */
13987 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
13988 struct nb_cb_destroy_args
*args
)
13990 switch (args
->event
) {
13991 case NB_EV_VALIDATE
:
13992 case NB_EV_PREPARE
:
13995 /* TODO: implement me. */
14004 * /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
14006 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
14007 struct nb_cb_modify_args
*args
)
14009 switch (args
->event
) {
14010 case NB_EV_VALIDATE
:
14011 case NB_EV_PREPARE
:
14015 return bgp_neighbor_afi_safi_flag_modify(
14016 args
, PEER_FLAG_AS_OVERRIDE
,
14017 yang_dnode_get_bool(args
->dnode
, NULL
));
14026 bgp_peer_afi_safi_default_originate_apply(struct nb_cb_apply_finish_args
*args
,
14027 struct peer
*peer
, afi_t afi
,
14030 bool originate
= false;
14032 struct route_map
*route_map
= NULL
;
14033 const char *rmap
= NULL
;
14035 originate
= yang_dnode_get_bool(args
->dnode
, "./originate");
14037 if (yang_dnode_exists(args
->dnode
, "./route-map")) {
14038 rmap
= yang_dnode_get_string(args
->dnode
, "./route-map");
14039 route_map
= route_map_lookup_by_name(rmap
);
14041 snprintf(args
->errmsg
, args
->errmsg_len
,
14042 "The route-map '%s' does not exist.", rmap
);
14047 // zlog_debug("%s: originate %u route-map %s", __func__, originate,
14050 ret
= peer_default_originate_set(peer
, afi
, safi
, rmap
,
14053 ret
= peer_default_originate_unset(peer
, afi
, safi
);
14055 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
14060 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
14062 void bgp_neighbor_afi_safi_default_originate_apply_finish(
14063 struct nb_cb_apply_finish_args
*args
)
14066 const char *peer_str
;
14068 const struct lyd_node
*nbr_dnode
;
14069 const struct lyd_node
*nbr_af_dnode
;
14070 const char *af_name
;
14074 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14075 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14076 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14078 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14079 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14080 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14081 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14086 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
14091 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/originate
14093 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
14094 struct nb_cb_modify_args
*args
)
14096 switch (args
->event
) {
14097 case NB_EV_VALIDATE
:
14098 case NB_EV_PREPARE
:
14101 /* TODO: implement me. */
14110 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/route-map
14112 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
14113 struct nb_cb_modify_args
*args
)
14115 switch (args
->event
) {
14116 case NB_EV_VALIDATE
:
14117 case NB_EV_PREPARE
:
14120 /* TODO: implement me. */
14127 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
14128 struct nb_cb_destroy_args
*args
)
14130 switch (args
->event
) {
14131 case NB_EV_VALIDATE
:
14132 case NB_EV_PREPARE
:
14135 /* TODO: implement me. */
14143 bgp_neighbor_afi_safi_prefix_limit_list_destroy(struct nb_cb_destroy_args
*args
)
14146 const char *peer_str
;
14148 const struct lyd_node
*nbr_dnode
;
14149 const struct lyd_node
*nbr_af_dnode
;
14150 const char *af_name
;
14155 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14156 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14157 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14159 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14160 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14161 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14162 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14165 return NB_ERR_INCONSISTENCY
;
14167 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
14169 switch (direction
) {
14171 peer_maximum_prefix_unset(peer
, afi
, safi
);
14174 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
14175 peer
->pmax_out
[afi
][safi
] = 0;
14184 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/prefix-limit/direction-list
14186 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
14187 struct nb_cb_create_args
*args
)
14189 switch (args
->event
) {
14190 case NB_EV_VALIDATE
:
14191 case NB_EV_PREPARE
:
14194 /* TODO: implement me. */
14201 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
14202 struct nb_cb_destroy_args
*args
)
14204 switch (args
->event
) {
14205 case NB_EV_VALIDATE
:
14206 case NB_EV_PREPARE
:
14210 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
14217 bgp_peer_afi_safi_maximum_prefix_set(struct nb_cb_apply_finish_args
*args
,
14218 struct peer
*peer
, afi_t afi
, safi_t safi
)
14222 uint8_t threshold
= MAXIMUM_PREFIX_THRESHOLD_DEFAULT
;
14223 uint16_t restart
= 0;
14224 bool warning
= false;
14227 max
= yang_dnode_get_uint32(args
->dnode
, "./max-prefixes");
14228 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
14229 switch (direction
) {
14231 force
= yang_dnode_get_bool(args
->dnode
, "./force-check");
14233 if (yang_dnode_exists(args
->dnode
,
14234 "./options/shutdown-threshold-pct"))
14235 threshold
= yang_dnode_get_uint8(
14237 "./options/shutdown-threshold-pct");
14238 if (yang_dnode_exists(args
->dnode
,
14239 "./options/tw-shutdown-threshold-pct"))
14240 threshold
= yang_dnode_get_uint8(
14242 "./options/tw-shutdown-threshold-pct");
14243 if (yang_dnode_exists(args
->dnode
,
14244 "./options/tr-shutdown-threshold-pct"))
14245 threshold
= yang_dnode_get_uint8(
14247 "./options/tr-shutdown-threshold-pct");
14249 if (yang_dnode_exists(args
->dnode
, "./options/warning-only"))
14250 warning
= yang_dnode_get_bool(args
->dnode
,
14251 "./options/warning-only");
14252 if (yang_dnode_exists(args
->dnode
, "./options/tw-warning-only"))
14253 warning
= yang_dnode_get_bool(
14254 args
->dnode
, "./options/tw-warning-only");
14256 if (yang_dnode_exists(args
->dnode
, "./options/restart-timer"))
14257 restart
= yang_dnode_get_uint16(
14258 args
->dnode
, "./options/restart-timer");
14259 if (yang_dnode_exists(args
->dnode
,
14260 "./options/tr-restart-timer"))
14261 restart
= yang_dnode_get_uint16(
14262 args
->dnode
, "./options/tr-restart-timer");
14264 peer_maximum_prefix_set(peer
, afi
, safi
, max
, threshold
,
14265 warning
, restart
, force
);
14269 SET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
14270 peer
->pmax_out
[afi
][safi
] = max
;
14276 void bgp_neighbors_neighbor_afi_safi_prefix_limit_apply_finish(
14277 struct nb_cb_apply_finish_args
*args
)
14280 const char *peer_str
;
14282 const struct lyd_node
*nbr_dnode
;
14283 const struct lyd_node
*nbr_af_dnode
;
14284 const char *af_name
;
14288 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14289 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14290 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14292 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14293 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14294 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14295 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14300 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
14305 * /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
14307 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
14308 struct nb_cb_modify_args
*args
)
14310 switch (args
->event
) {
14311 case NB_EV_VALIDATE
:
14312 case NB_EV_PREPARE
:
14315 /* TODO: implement me. */
14324 * /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
14326 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
14327 struct nb_cb_modify_args
*args
)
14329 switch (args
->event
) {
14330 case NB_EV_VALIDATE
:
14331 case NB_EV_PREPARE
:
14334 /* TODO: implement me. */
14343 * /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
14345 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
14346 struct nb_cb_modify_args
*args
)
14348 switch (args
->event
) {
14349 case NB_EV_VALIDATE
:
14350 case NB_EV_PREPARE
:
14353 /* TODO: implement me. */
14360 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
14361 struct nb_cb_destroy_args
*args
)
14363 switch (args
->event
) {
14364 case NB_EV_VALIDATE
:
14365 case NB_EV_PREPARE
:
14368 /* TODO: implement me. */
14377 * /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
14379 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
14380 struct nb_cb_modify_args
*args
)
14382 switch (args
->event
) {
14383 case NB_EV_VALIDATE
:
14384 case NB_EV_PREPARE
:
14387 /* TODO: implement me. */
14394 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
14395 struct nb_cb_destroy_args
*args
)
14397 switch (args
->event
) {
14398 case NB_EV_VALIDATE
:
14399 case NB_EV_PREPARE
:
14402 /* TODO: implement me. */
14411 * /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
14413 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
14414 struct nb_cb_modify_args
*args
)
14416 switch (args
->event
) {
14417 case NB_EV_VALIDATE
:
14418 case NB_EV_PREPARE
:
14421 /* TODO: implement me. */
14428 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
14429 struct nb_cb_destroy_args
*args
)
14431 switch (args
->event
) {
14432 case NB_EV_VALIDATE
:
14433 case NB_EV_PREPARE
:
14436 /* TODO: implement me. */
14445 * /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
14447 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
14448 struct nb_cb_modify_args
*args
)
14450 switch (args
->event
) {
14451 case NB_EV_VALIDATE
:
14452 case NB_EV_PREPARE
:
14455 /* TODO: implement me. */
14462 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
14463 struct nb_cb_destroy_args
*args
)
14465 switch (args
->event
) {
14466 case NB_EV_VALIDATE
:
14467 case NB_EV_PREPARE
:
14470 /* TODO: implement me. */
14479 * /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
14481 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
14482 struct nb_cb_modify_args
*args
)
14484 switch (args
->event
) {
14485 case NB_EV_VALIDATE
:
14486 case NB_EV_PREPARE
:
14489 /* TODO: implement me. */
14496 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
14497 struct nb_cb_destroy_args
*args
)
14499 switch (args
->event
) {
14500 case NB_EV_VALIDATE
:
14501 case NB_EV_PREPARE
:
14504 /* TODO: implement me. */
14513 * /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
14515 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
14516 struct nb_cb_modify_args
*args
)
14518 switch (args
->event
) {
14519 case NB_EV_VALIDATE
:
14520 case NB_EV_PREPARE
:
14523 /* TODO: implement me. */
14530 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
14531 struct nb_cb_destroy_args
*args
)
14533 switch (args
->event
) {
14534 case NB_EV_VALIDATE
:
14535 case NB_EV_PREPARE
:
14538 /* TODO: implement me. */
14547 * /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
14549 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
14550 struct nb_cb_modify_args
*args
)
14552 switch (args
->event
) {
14553 case NB_EV_VALIDATE
:
14554 case NB_EV_PREPARE
:
14557 /* TODO: implement me. */
14564 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
14565 struct nb_cb_destroy_args
*args
)
14567 switch (args
->event
) {
14568 case NB_EV_VALIDATE
:
14569 case NB_EV_PREPARE
:
14572 /* TODO: implement me. */
14581 * /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
14583 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
14584 struct nb_cb_modify_args
*args
)
14586 switch (args
->event
) {
14587 case NB_EV_VALIDATE
:
14588 case NB_EV_PREPARE
:
14592 return bgp_neighbor_afi_safi_flag_modify(
14593 args
, PEER_FLAG_NEXTHOP_SELF
,
14594 yang_dnode_get_bool(args
->dnode
, NULL
));
14604 * /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
14606 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
14607 struct nb_cb_modify_args
*args
)
14609 switch (args
->event
) {
14610 case NB_EV_VALIDATE
:
14611 case NB_EV_PREPARE
:
14615 return bgp_neighbor_afi_safi_flag_modify(
14616 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
14617 yang_dnode_get_bool(args
->dnode
, NULL
));
14627 * /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
14629 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
14630 struct nb_cb_modify_args
*args
)
14632 switch (args
->event
) {
14633 case NB_EV_VALIDATE
:
14634 case NB_EV_PREPARE
:
14638 return bgp_neighbor_afi_safi_flag_modify(
14639 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
14640 yang_dnode_get_bool(args
->dnode
, NULL
));
14650 * /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
14652 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
14653 struct nb_cb_modify_args
*args
)
14655 switch (args
->event
) {
14656 case NB_EV_VALIDATE
:
14657 case NB_EV_PREPARE
:
14661 return bgp_neighbor_afi_safi_flag_modify(
14662 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
14663 yang_dnode_get_bool(args
->dnode
, NULL
));
14673 * /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
14675 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
14676 struct nb_cb_modify_args
*args
)
14678 switch (args
->event
) {
14679 case NB_EV_VALIDATE
:
14680 case NB_EV_PREPARE
:
14684 return bgp_neighbor_afi_safi_flag_modify(
14685 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
14686 yang_dnode_get_bool(args
->dnode
, NULL
));
14696 * /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
14698 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
14699 struct nb_cb_modify_args
*args
)
14701 switch (args
->event
) {
14702 case NB_EV_VALIDATE
:
14703 case NB_EV_PREPARE
:
14707 return bgp_neighbor_afi_safi_flag_modify(
14708 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
14709 yang_dnode_get_bool(args
->dnode
, NULL
));
14717 static int bgp_neighbor_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
14720 const char *peer_str
;
14722 const struct lyd_node
*nbr_dnode
;
14723 const struct lyd_node
*nbr_af_dnode
;
14724 const char *af_name
;
14730 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14731 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14732 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14734 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14735 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14736 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14737 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14740 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
14742 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
14743 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
14744 return NB_ERR_INCONSISTENCY
;
14749 static int bgp_neighbor_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
14752 const char *peer_str
;
14754 const struct lyd_node
*nbr_dnode
;
14755 const struct lyd_node
*nbr_af_dnode
;
14756 const char *af_name
;
14761 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
14762 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
14763 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
14765 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
14766 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
14767 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
14768 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
14771 ret
= peer_weight_unset(peer
, afi
, safi
);
14772 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
14773 return NB_ERR_INCONSISTENCY
;
14780 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/weight/weight-attribute
14782 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
14783 struct nb_cb_modify_args
*args
)
14785 switch (args
->event
) {
14786 case NB_EV_VALIDATE
:
14787 case NB_EV_PREPARE
:
14791 return bgp_neighbor_afi_safi_weight_modify(args
);
14799 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
14800 struct nb_cb_destroy_args
*args
)
14802 switch (args
->event
) {
14803 case NB_EV_VALIDATE
:
14804 case NB_EV_PREPARE
:
14808 return bgp_neighbor_afi_safi_weight_destroy(args
);
14818 * /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
14820 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
14821 struct nb_cb_modify_args
*args
)
14823 switch (args
->event
) {
14824 case NB_EV_VALIDATE
:
14825 case NB_EV_PREPARE
:
14829 return bgp_neighbor_afi_safi_flag_modify(
14830 args
, PEER_FLAG_REFLECTOR_CLIENT
,
14831 yang_dnode_get_bool(args
->dnode
, NULL
));
14841 * /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
14843 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
14844 struct nb_cb_modify_args
*args
)
14846 switch (args
->event
) {
14847 case NB_EV_VALIDATE
:
14848 case NB_EV_PREPARE
:
14852 return bgp_neighbor_afi_safi_flag_modify(
14853 args
, PEER_FLAG_RSERVER_CLIENT
,
14854 yang_dnode_get_bool(args
->dnode
, NULL
));
14864 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/send-community/send-community
14866 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
14867 struct nb_cb_modify_args
*args
)
14869 switch (args
->event
) {
14870 case NB_EV_VALIDATE
:
14871 case NB_EV_PREPARE
:
14875 return bgp_neighbor_afi_safi_flag_modify(
14876 args
, PEER_FLAG_SEND_COMMUNITY
,
14877 yang_dnode_get_bool(args
->dnode
, NULL
));
14887 * /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
14889 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
14890 struct nb_cb_modify_args
*args
)
14892 switch (args
->event
) {
14893 case NB_EV_VALIDATE
:
14894 case NB_EV_PREPARE
:
14898 return bgp_neighbor_afi_safi_flag_modify(
14899 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
14900 yang_dnode_get_bool(args
->dnode
, NULL
));
14910 * /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
14912 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
14913 struct nb_cb_modify_args
*args
)
14915 switch (args
->event
) {
14916 case NB_EV_VALIDATE
:
14917 case NB_EV_PREPARE
:
14921 return bgp_neighbor_afi_safi_flag_modify(
14922 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
14923 yang_dnode_get_bool(args
->dnode
, NULL
));
14933 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
14935 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
14936 struct nb_cb_modify_args
*args
)
14938 switch (args
->event
) {
14939 case NB_EV_VALIDATE
:
14940 case NB_EV_PREPARE
:
14944 return bgp_neighbor_afi_safi_flag_modify(
14945 args
, PEER_FLAG_SOFT_RECONFIG
,
14946 yang_dnode_get_bool(args
->dnode
, NULL
));
14956 * /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
14958 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
14959 struct nb_cb_modify_args
*args
)
14961 switch (args
->event
) {
14962 case NB_EV_VALIDATE
:
14963 case NB_EV_PREPARE
:
14967 return bgp_neighbor_afi_safi_flag_modify(
14968 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
14969 yang_dnode_get_bool(args
->dnode
, NULL
));
14979 * /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
14981 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
14982 struct nb_cb_modify_args
*args
)
14984 switch (args
->event
) {
14985 case NB_EV_VALIDATE
:
14986 case NB_EV_PREPARE
:
14990 return bgp_neighbor_afi_safi_flag_modify(
14991 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
14992 yang_dnode_get_bool(args
->dnode
, NULL
));
15002 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/attr-unchanged/med-unchanged
15004 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
15005 struct nb_cb_modify_args
*args
)
15007 switch (args
->event
) {
15008 case NB_EV_VALIDATE
:
15009 case NB_EV_PREPARE
:
15013 return bgp_neighbor_afi_safi_flag_modify(
15014 args
, PEER_FLAG_MED_UNCHANGED
,
15015 yang_dnode_get_bool(args
->dnode
, NULL
));
15025 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-send
15027 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
15028 struct nb_cb_modify_args
*args
)
15030 switch (args
->event
) {
15031 case NB_EV_VALIDATE
:
15032 case NB_EV_PREPARE
:
15035 /* TODO: implement me. */
15042 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
15043 struct nb_cb_destroy_args
*args
)
15045 switch (args
->event
) {
15046 case NB_EV_VALIDATE
:
15047 case NB_EV_PREPARE
:
15050 /* TODO: implement me. */
15059 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-receive
15061 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
15062 struct nb_cb_modify_args
*args
)
15064 switch (args
->event
) {
15065 case NB_EV_VALIDATE
:
15066 case NB_EV_PREPARE
:
15069 /* TODO: implement me. */
15076 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
15077 struct nb_cb_destroy_args
*args
)
15079 switch (args
->event
) {
15080 case NB_EV_VALIDATE
:
15081 case NB_EV_PREPARE
:
15084 /* TODO: implement me. */
15093 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/orf-capability/orf-both
15095 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
15096 struct nb_cb_modify_args
*args
)
15098 switch (args
->event
) {
15099 case NB_EV_VALIDATE
:
15100 case NB_EV_PREPARE
:
15103 /* TODO: implement me. */
15110 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
15111 struct nb_cb_destroy_args
*args
)
15113 switch (args
->event
) {
15114 case NB_EV_VALIDATE
:
15115 case NB_EV_PREPARE
:
15118 /* TODO: implement me. */
15125 static int bgp_neighbor_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
15129 const char *peer_str
;
15131 const struct lyd_node
*nbr_dnode
;
15132 const struct lyd_node
*nbr_af_dnode
;
15133 const char *af_name
;
15136 const char *name_str
;
15137 struct route_map
*route_map
;
15140 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15141 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15142 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15144 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15145 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15146 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15147 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15150 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
15151 route_map
= route_map_lookup_by_name(name_str
);
15152 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
15154 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
15157 static int bgp_neighbor_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
15161 const char *peer_str
;
15163 const struct lyd_node
*nbr_dnode
;
15164 const struct lyd_node
*nbr_af_dnode
;
15165 const char *af_name
;
15170 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15171 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15172 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15174 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15175 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15176 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15177 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15180 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
15182 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
15187 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-import
15189 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
15190 struct nb_cb_modify_args
*args
)
15192 switch (args
->event
) {
15193 case NB_EV_VALIDATE
:
15194 case NB_EV_PREPARE
:
15198 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
15204 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
15205 struct nb_cb_destroy_args
*args
)
15207 switch (args
->event
) {
15208 case NB_EV_VALIDATE
:
15209 case NB_EV_PREPARE
:
15213 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
15221 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/rmap-export
15223 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
15224 struct nb_cb_modify_args
*args
)
15226 switch (args
->event
) {
15227 case NB_EV_VALIDATE
:
15228 case NB_EV_PREPARE
:
15232 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
15238 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
15239 struct nb_cb_destroy_args
*args
)
15241 switch (args
->event
) {
15242 case NB_EV_VALIDATE
:
15243 case NB_EV_PREPARE
:
15247 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
15253 static int bgp_neighbor_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
15257 const char *peer_str
;
15259 const struct lyd_node
*nbr_dnode
;
15260 const struct lyd_node
*nbr_af_dnode
;
15261 const char *af_name
;
15264 const char *name_str
;
15266 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15267 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15268 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15270 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15271 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15272 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15273 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15276 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
15277 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
15278 return NB_ERR_INCONSISTENCY
;
15283 static int bgp_neighbor_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
15287 const char *peer_str
;
15289 const struct lyd_node
*nbr_dnode
;
15290 const struct lyd_node
*nbr_af_dnode
;
15291 const char *af_name
;
15295 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
15296 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
15297 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
15299 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "neighbor");
15300 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
15301 peer_str
= yang_dnode_get_string(nbr_dnode
, "./remote-address");
15302 peer
= bgp_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
15305 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
15306 return NB_ERR_INCONSISTENCY
;
15313 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-import
15315 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
15316 struct nb_cb_modify_args
*args
)
15318 switch (args
->event
) {
15319 case NB_EV_VALIDATE
:
15320 case NB_EV_PREPARE
:
15324 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
15330 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
15331 struct nb_cb_destroy_args
*args
)
15333 switch (args
->event
) {
15334 case NB_EV_VALIDATE
:
15335 case NB_EV_PREPARE
:
15339 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
15347 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-unicast/filter-config/plist-export
15349 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
15350 struct nb_cb_modify_args
*args
)
15352 switch (args
->event
) {
15353 case NB_EV_VALIDATE
:
15354 case NB_EV_PREPARE
:
15358 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
15364 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
15365 struct nb_cb_destroy_args
*args
)
15367 switch (args
->event
) {
15368 case NB_EV_VALIDATE
:
15369 case NB_EV_PREPARE
:
15373 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
15381 * /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
15383 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
15384 struct nb_cb_modify_args
*args
)
15386 switch (args
->event
) {
15387 case NB_EV_VALIDATE
:
15388 case NB_EV_PREPARE
:
15391 /* TODO: implement me. */
15398 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
15399 struct nb_cb_destroy_args
*args
)
15401 switch (args
->event
) {
15402 case NB_EV_VALIDATE
:
15403 case NB_EV_PREPARE
:
15406 /* TODO: implement me. */
15415 * /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
15417 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
15418 struct nb_cb_modify_args
*args
)
15420 switch (args
->event
) {
15421 case NB_EV_VALIDATE
:
15422 case NB_EV_PREPARE
:
15425 /* TODO: implement me. */
15432 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
15433 struct nb_cb_destroy_args
*args
)
15435 switch (args
->event
) {
15436 case NB_EV_VALIDATE
:
15437 case NB_EV_PREPARE
:
15440 /* TODO: implement me. */
15449 * /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
15451 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
15452 struct nb_cb_modify_args
*args
)
15454 switch (args
->event
) {
15455 case NB_EV_VALIDATE
:
15456 case NB_EV_PREPARE
:
15459 /* TODO: implement me. */
15466 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
15467 struct nb_cb_destroy_args
*args
)
15469 switch (args
->event
) {
15470 case NB_EV_VALIDATE
:
15471 case NB_EV_PREPARE
:
15474 /* TODO: implement me. */
15483 * /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
15485 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
15486 struct nb_cb_modify_args
*args
)
15488 switch (args
->event
) {
15489 case NB_EV_VALIDATE
:
15490 case NB_EV_PREPARE
:
15493 /* TODO: implement me. */
15500 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
15501 struct nb_cb_destroy_args
*args
)
15503 switch (args
->event
) {
15504 case NB_EV_VALIDATE
:
15505 case NB_EV_PREPARE
:
15508 /* TODO: implement me. */
15517 * /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
15519 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
15520 struct nb_cb_modify_args
*args
)
15522 switch (args
->event
) {
15523 case NB_EV_VALIDATE
:
15524 case NB_EV_PREPARE
:
15527 /* TODO: implement me. */
15534 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
15535 struct nb_cb_destroy_args
*args
)
15537 switch (args
->event
) {
15538 case NB_EV_VALIDATE
:
15539 case NB_EV_PREPARE
:
15542 /* TODO: implement me. */
15551 * /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
15553 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
15554 struct nb_cb_modify_args
*args
)
15556 switch (args
->event
) {
15557 case NB_EV_VALIDATE
:
15558 case NB_EV_PREPARE
:
15561 /* TODO: implement me. */
15568 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
15569 struct nb_cb_destroy_args
*args
)
15571 switch (args
->event
) {
15572 case NB_EV_VALIDATE
:
15573 case NB_EV_PREPARE
:
15576 /* TODO: implement me. */
15585 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-local-unchanged
15587 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
15588 struct nb_cb_modify_args
*args
)
15590 switch (args
->event
) {
15591 case NB_EV_VALIDATE
:
15592 case NB_EV_PREPARE
:
15595 /* TODO: implement me. */
15604 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/add-paths/path-type
15606 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
15607 struct nb_cb_modify_args
*args
)
15609 switch (args
->event
) {
15610 case NB_EV_VALIDATE
:
15611 case NB_EV_PREPARE
:
15614 /* TODO: implement me. */
15623 * /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
15625 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
15626 struct nb_cb_modify_args
*args
)
15628 switch (args
->event
) {
15629 case NB_EV_VALIDATE
:
15630 case NB_EV_PREPARE
:
15633 /* TODO: implement me. */
15640 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
15641 struct nb_cb_destroy_args
*args
)
15643 switch (args
->event
) {
15644 case NB_EV_VALIDATE
:
15645 case NB_EV_PREPARE
:
15648 /* TODO: implement me. */
15657 * /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
15659 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
15660 struct nb_cb_modify_args
*args
)
15662 switch (args
->event
) {
15663 case NB_EV_VALIDATE
:
15664 case NB_EV_PREPARE
:
15667 /* TODO: implement me. */
15674 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
15675 struct nb_cb_destroy_args
*args
)
15677 switch (args
->event
) {
15678 case NB_EV_VALIDATE
:
15679 case NB_EV_PREPARE
:
15682 /* TODO: implement me. */
15691 * /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
15693 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
15694 struct nb_cb_modify_args
*args
)
15696 switch (args
->event
) {
15697 case NB_EV_VALIDATE
:
15698 case NB_EV_PREPARE
:
15702 return bgp_neighbor_afi_safi_flag_modify(
15703 args
, PEER_FLAG_AS_OVERRIDE
,
15704 yang_dnode_get_bool(args
->dnode
, NULL
));
15714 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/originate
15716 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
15717 struct nb_cb_modify_args
*args
)
15719 switch (args
->event
) {
15720 case NB_EV_VALIDATE
:
15721 case NB_EV_PREPARE
:
15724 /* TODO: implement me. */
15733 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/route-map
15735 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
15736 struct nb_cb_modify_args
*args
)
15738 switch (args
->event
) {
15739 case NB_EV_VALIDATE
:
15740 case NB_EV_PREPARE
:
15743 /* TODO: implement me. */
15750 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
15751 struct nb_cb_destroy_args
*args
)
15753 switch (args
->event
) {
15754 case NB_EV_VALIDATE
:
15755 case NB_EV_PREPARE
:
15758 /* TODO: implement me. */
15767 * /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
15769 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
15770 struct nb_cb_modify_args
*args
)
15772 switch (args
->event
) {
15773 case NB_EV_VALIDATE
:
15774 case NB_EV_PREPARE
:
15778 return bgp_neighbor_afi_safi_flag_modify(
15779 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
15780 yang_dnode_get_bool(args
->dnode
, NULL
));
15790 * /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
15792 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
15793 struct nb_cb_modify_args
*args
)
15795 switch (args
->event
) {
15796 case NB_EV_VALIDATE
:
15797 case NB_EV_PREPARE
:
15801 return bgp_neighbor_afi_safi_flag_modify(
15802 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
15803 yang_dnode_get_bool(args
->dnode
, NULL
));
15813 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/attr-unchanged/med-unchanged
15815 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
15816 struct nb_cb_modify_args
*args
)
15818 switch (args
->event
) {
15819 case NB_EV_VALIDATE
:
15820 case NB_EV_PREPARE
:
15824 return bgp_neighbor_afi_safi_flag_modify(
15825 args
, PEER_FLAG_MED_UNCHANGED
,
15826 yang_dnode_get_bool(args
->dnode
, NULL
));
15836 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-send
15838 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
15839 struct nb_cb_modify_args
*args
)
15841 switch (args
->event
) {
15842 case NB_EV_VALIDATE
:
15843 case NB_EV_PREPARE
:
15846 /* TODO: implement me. */
15853 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
15854 struct nb_cb_destroy_args
*args
)
15856 switch (args
->event
) {
15857 case NB_EV_VALIDATE
:
15858 case NB_EV_PREPARE
:
15861 /* TODO: implement me. */
15870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-receive
15872 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
15873 struct nb_cb_modify_args
*args
)
15875 switch (args
->event
) {
15876 case NB_EV_VALIDATE
:
15877 case NB_EV_PREPARE
:
15880 /* TODO: implement me. */
15887 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
15888 struct nb_cb_destroy_args
*args
)
15890 switch (args
->event
) {
15891 case NB_EV_VALIDATE
:
15892 case NB_EV_PREPARE
:
15895 /* TODO: implement me. */
15904 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/orf-capability/orf-both
15906 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
15907 struct nb_cb_modify_args
*args
)
15909 switch (args
->event
) {
15910 case NB_EV_VALIDATE
:
15911 case NB_EV_PREPARE
:
15914 /* TODO: implement me. */
15921 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
15922 struct nb_cb_destroy_args
*args
)
15924 switch (args
->event
) {
15925 case NB_EV_VALIDATE
:
15926 case NB_EV_PREPARE
:
15929 /* TODO: implement me. */
15938 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/prefix-limit/direction-list
15940 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
15941 struct nb_cb_create_args
*args
)
15943 switch (args
->event
) {
15944 case NB_EV_VALIDATE
:
15945 case NB_EV_PREPARE
:
15948 /* TODO: implement me. */
15955 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
15956 struct nb_cb_destroy_args
*args
)
15958 switch (args
->event
) {
15959 case NB_EV_VALIDATE
:
15960 case NB_EV_PREPARE
:
15964 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
15972 * /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
15974 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
15975 struct nb_cb_modify_args
*args
)
15977 switch (args
->event
) {
15978 case NB_EV_VALIDATE
:
15979 case NB_EV_PREPARE
:
15982 /* TODO: implement me. */
15991 * /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
15993 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
15994 struct nb_cb_modify_args
*args
)
15996 switch (args
->event
) {
15997 case NB_EV_VALIDATE
:
15998 case NB_EV_PREPARE
:
16001 /* TODO: implement me. */
16010 * /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
16012 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
16013 struct nb_cb_modify_args
*args
)
16015 switch (args
->event
) {
16016 case NB_EV_VALIDATE
:
16017 case NB_EV_PREPARE
:
16020 /* TODO: implement me. */
16027 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
16028 struct nb_cb_destroy_args
*args
)
16030 switch (args
->event
) {
16031 case NB_EV_VALIDATE
:
16032 case NB_EV_PREPARE
:
16035 /* TODO: implement me. */
16044 * /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
16046 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
16047 struct nb_cb_modify_args
*args
)
16049 switch (args
->event
) {
16050 case NB_EV_VALIDATE
:
16051 case NB_EV_PREPARE
:
16054 /* TODO: implement me. */
16061 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
16062 struct nb_cb_destroy_args
*args
)
16064 switch (args
->event
) {
16065 case NB_EV_VALIDATE
:
16066 case NB_EV_PREPARE
:
16069 /* TODO: implement me. */
16078 * /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
16080 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
16081 struct nb_cb_modify_args
*args
)
16083 switch (args
->event
) {
16084 case NB_EV_VALIDATE
:
16085 case NB_EV_PREPARE
:
16088 /* TODO: implement me. */
16095 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
16096 struct nb_cb_destroy_args
*args
)
16098 switch (args
->event
) {
16099 case NB_EV_VALIDATE
:
16100 case NB_EV_PREPARE
:
16103 /* TODO: implement me. */
16112 * /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
16114 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
16115 struct nb_cb_modify_args
*args
)
16117 switch (args
->event
) {
16118 case NB_EV_VALIDATE
:
16119 case NB_EV_PREPARE
:
16122 /* TODO: implement me. */
16129 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
16130 struct nb_cb_destroy_args
*args
)
16132 switch (args
->event
) {
16133 case NB_EV_VALIDATE
:
16134 case NB_EV_PREPARE
:
16137 /* TODO: implement me. */
16146 * /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
16148 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
16149 struct nb_cb_modify_args
*args
)
16151 switch (args
->event
) {
16152 case NB_EV_VALIDATE
:
16153 case NB_EV_PREPARE
:
16156 /* TODO: implement me. */
16163 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
16164 struct nb_cb_destroy_args
*args
)
16166 switch (args
->event
) {
16167 case NB_EV_VALIDATE
:
16168 case NB_EV_PREPARE
:
16171 /* TODO: implement me. */
16180 * /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
16182 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
16183 struct nb_cb_modify_args
*args
)
16185 switch (args
->event
) {
16186 case NB_EV_VALIDATE
:
16187 case NB_EV_PREPARE
:
16190 /* TODO: implement me. */
16197 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
16198 struct nb_cb_destroy_args
*args
)
16200 switch (args
->event
) {
16201 case NB_EV_VALIDATE
:
16202 case NB_EV_PREPARE
:
16205 /* TODO: implement me. */
16214 * /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
16216 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
16217 struct nb_cb_modify_args
*args
)
16219 switch (args
->event
) {
16220 case NB_EV_VALIDATE
:
16221 case NB_EV_PREPARE
:
16224 /* TODO: implement me. */
16231 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
16232 struct nb_cb_destroy_args
*args
)
16234 switch (args
->event
) {
16235 case NB_EV_VALIDATE
:
16236 case NB_EV_PREPARE
:
16239 /* TODO: implement me. */
16248 * /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
16250 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
16251 struct nb_cb_modify_args
*args
)
16253 switch (args
->event
) {
16254 case NB_EV_VALIDATE
:
16255 case NB_EV_PREPARE
:
16259 return bgp_neighbor_afi_safi_flag_modify(
16260 args
, PEER_FLAG_NEXTHOP_SELF
,
16261 yang_dnode_get_bool(args
->dnode
, NULL
));
16271 * /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
16273 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
16274 struct nb_cb_modify_args
*args
)
16276 switch (args
->event
) {
16277 case NB_EV_VALIDATE
:
16278 case NB_EV_PREPARE
:
16282 return bgp_neighbor_afi_safi_flag_modify(
16283 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
16284 yang_dnode_get_bool(args
->dnode
, NULL
));
16294 * /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
16296 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
16297 struct nb_cb_modify_args
*args
)
16299 switch (args
->event
) {
16300 case NB_EV_VALIDATE
:
16301 case NB_EV_PREPARE
:
16305 return bgp_neighbor_afi_safi_flag_modify(
16306 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
16307 yang_dnode_get_bool(args
->dnode
, NULL
));
16317 * /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
16319 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
16320 struct nb_cb_modify_args
*args
)
16322 switch (args
->event
) {
16323 case NB_EV_VALIDATE
:
16324 case NB_EV_PREPARE
:
16328 return bgp_neighbor_afi_safi_flag_modify(
16329 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
16330 yang_dnode_get_bool(args
->dnode
, NULL
));
16340 * /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
16342 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
16343 struct nb_cb_modify_args
*args
)
16345 switch (args
->event
) {
16346 case NB_EV_VALIDATE
:
16347 case NB_EV_PREPARE
:
16351 return bgp_neighbor_afi_safi_flag_modify(
16352 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
16353 yang_dnode_get_bool(args
->dnode
, NULL
));
16363 * /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
16365 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
16366 struct nb_cb_modify_args
*args
)
16368 switch (args
->event
) {
16369 case NB_EV_VALIDATE
:
16370 case NB_EV_PREPARE
:
16374 return bgp_neighbor_afi_safi_flag_modify(
16375 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
16376 yang_dnode_get_bool(args
->dnode
, NULL
));
16386 * /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
16388 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
16389 struct nb_cb_modify_args
*args
)
16391 switch (args
->event
) {
16392 case NB_EV_VALIDATE
:
16393 case NB_EV_PREPARE
:
16397 return bgp_neighbor_afi_safi_flag_modify(
16398 args
, PEER_FLAG_REFLECTOR_CLIENT
,
16399 yang_dnode_get_bool(args
->dnode
, NULL
));
16409 * /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
16411 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
16412 struct nb_cb_modify_args
*args
)
16414 switch (args
->event
) {
16415 case NB_EV_VALIDATE
:
16416 case NB_EV_PREPARE
:
16420 return bgp_neighbor_afi_safi_flag_modify(
16421 args
, PEER_FLAG_RSERVER_CLIENT
,
16422 yang_dnode_get_bool(args
->dnode
, NULL
));
16432 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/send-community/send-community
16434 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
16435 struct nb_cb_modify_args
*args
)
16437 switch (args
->event
) {
16438 case NB_EV_VALIDATE
:
16439 case NB_EV_PREPARE
:
16443 return bgp_neighbor_afi_safi_flag_modify(
16444 args
, PEER_FLAG_SEND_COMMUNITY
,
16445 yang_dnode_get_bool(args
->dnode
, NULL
));
16455 * /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
16457 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
16458 struct nb_cb_modify_args
*args
)
16460 switch (args
->event
) {
16461 case NB_EV_VALIDATE
:
16462 case NB_EV_PREPARE
:
16466 return bgp_neighbor_afi_safi_flag_modify(
16467 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
16468 yang_dnode_get_bool(args
->dnode
, NULL
));
16478 * /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
16480 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
16481 struct nb_cb_modify_args
*args
)
16483 switch (args
->event
) {
16484 case NB_EV_VALIDATE
:
16485 case NB_EV_PREPARE
:
16489 return bgp_neighbor_afi_safi_flag_modify(
16490 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
16491 yang_dnode_get_bool(args
->dnode
, NULL
));
16501 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
16503 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
16504 struct nb_cb_modify_args
*args
)
16506 switch (args
->event
) {
16507 case NB_EV_VALIDATE
:
16508 case NB_EV_PREPARE
:
16512 return bgp_neighbor_afi_safi_flag_modify(
16513 args
, PEER_FLAG_SOFT_RECONFIG
,
16514 yang_dnode_get_bool(args
->dnode
, NULL
));
16524 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/weight/weight-attribute
16526 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
16527 struct nb_cb_modify_args
*args
)
16529 switch (args
->event
) {
16530 case NB_EV_VALIDATE
:
16531 case NB_EV_PREPARE
:
16535 return bgp_neighbor_afi_safi_weight_modify(args
);
16543 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
16544 struct nb_cb_destroy_args
*args
)
16546 switch (args
->event
) {
16547 case NB_EV_VALIDATE
:
16548 case NB_EV_PREPARE
:
16552 return bgp_neighbor_afi_safi_weight_destroy(args
);
16562 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-import
16564 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
16565 struct nb_cb_modify_args
*args
)
16567 switch (args
->event
) {
16568 case NB_EV_VALIDATE
:
16569 case NB_EV_PREPARE
:
16573 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
16579 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
16580 struct nb_cb_destroy_args
*args
)
16582 switch (args
->event
) {
16583 case NB_EV_VALIDATE
:
16584 case NB_EV_PREPARE
:
16588 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
16596 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/rmap-export
16598 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
16599 struct nb_cb_modify_args
*args
)
16601 switch (args
->event
) {
16602 case NB_EV_VALIDATE
:
16603 case NB_EV_PREPARE
:
16607 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
16613 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
16614 struct nb_cb_destroy_args
*args
)
16616 switch (args
->event
) {
16617 case NB_EV_VALIDATE
:
16618 case NB_EV_PREPARE
:
16622 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
16630 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-import
16632 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
16633 struct nb_cb_modify_args
*args
)
16635 switch (args
->event
) {
16636 case NB_EV_VALIDATE
:
16637 case NB_EV_PREPARE
:
16641 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
16647 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
16648 struct nb_cb_destroy_args
*args
)
16650 switch (args
->event
) {
16651 case NB_EV_VALIDATE
:
16652 case NB_EV_PREPARE
:
16656 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
16664 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-unicast/filter-config/plist-export
16666 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
16667 struct nb_cb_modify_args
*args
)
16669 switch (args
->event
) {
16670 case NB_EV_VALIDATE
:
16671 case NB_EV_PREPARE
:
16675 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
16681 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
16682 struct nb_cb_destroy_args
*args
)
16684 switch (args
->event
) {
16685 case NB_EV_VALIDATE
:
16686 case NB_EV_PREPARE
:
16690 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
16698 * /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
16700 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
16701 struct nb_cb_modify_args
*args
)
16703 switch (args
->event
) {
16704 case NB_EV_VALIDATE
:
16705 case NB_EV_PREPARE
:
16708 /* TODO: implement me. */
16715 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
16716 struct nb_cb_destroy_args
*args
)
16718 switch (args
->event
) {
16719 case NB_EV_VALIDATE
:
16720 case NB_EV_PREPARE
:
16723 /* TODO: implement me. */
16732 * /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
16734 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
16735 struct nb_cb_modify_args
*args
)
16737 switch (args
->event
) {
16738 case NB_EV_VALIDATE
:
16739 case NB_EV_PREPARE
:
16742 /* TODO: implement me. */
16749 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
16750 struct nb_cb_destroy_args
*args
)
16752 switch (args
->event
) {
16753 case NB_EV_VALIDATE
:
16754 case NB_EV_PREPARE
:
16757 /* TODO: implement me. */
16766 * /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
16768 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
16769 struct nb_cb_modify_args
*args
)
16771 switch (args
->event
) {
16772 case NB_EV_VALIDATE
:
16773 case NB_EV_PREPARE
:
16776 /* TODO: implement me. */
16783 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
16784 struct nb_cb_destroy_args
*args
)
16786 switch (args
->event
) {
16787 case NB_EV_VALIDATE
:
16788 case NB_EV_PREPARE
:
16791 /* TODO: implement me. */
16800 * /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
16802 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
16803 struct nb_cb_modify_args
*args
)
16805 switch (args
->event
) {
16806 case NB_EV_VALIDATE
:
16807 case NB_EV_PREPARE
:
16810 /* TODO: implement me. */
16817 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
16818 struct nb_cb_destroy_args
*args
)
16820 switch (args
->event
) {
16821 case NB_EV_VALIDATE
:
16822 case NB_EV_PREPARE
:
16825 /* TODO: implement me. */
16834 * /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
16836 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
16837 struct nb_cb_modify_args
*args
)
16839 switch (args
->event
) {
16840 case NB_EV_VALIDATE
:
16841 case NB_EV_PREPARE
:
16844 /* TODO: implement me. */
16851 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
16852 struct nb_cb_destroy_args
*args
)
16854 switch (args
->event
) {
16855 case NB_EV_VALIDATE
:
16856 case NB_EV_PREPARE
:
16859 /* TODO: implement me. */
16868 * /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
16870 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
16871 struct nb_cb_modify_args
*args
)
16873 switch (args
->event
) {
16874 case NB_EV_VALIDATE
:
16875 case NB_EV_PREPARE
:
16878 /* TODO: implement me. */
16885 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
16886 struct nb_cb_destroy_args
*args
)
16888 switch (args
->event
) {
16889 case NB_EV_VALIDATE
:
16890 case NB_EV_PREPARE
:
16893 /* TODO: implement me. */
16903 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/add-paths/path-type
16905 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
16906 struct nb_cb_modify_args
*args
)
16908 switch (args
->event
) {
16909 case NB_EV_VALIDATE
:
16910 case NB_EV_PREPARE
:
16913 /* TODO: implement me. */
16922 * /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
16924 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
16925 struct nb_cb_modify_args
*args
)
16927 switch (args
->event
) {
16928 case NB_EV_VALIDATE
:
16929 case NB_EV_PREPARE
:
16932 /* TODO: implement me. */
16939 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
16940 struct nb_cb_destroy_args
*args
)
16942 switch (args
->event
) {
16943 case NB_EV_VALIDATE
:
16944 case NB_EV_PREPARE
:
16947 /* TODO: implement me. */
16956 * /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
16958 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
16959 struct nb_cb_modify_args
*args
)
16961 switch (args
->event
) {
16962 case NB_EV_VALIDATE
:
16963 case NB_EV_PREPARE
:
16966 /* TODO: implement me. */
16973 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
16974 struct nb_cb_destroy_args
*args
)
16976 switch (args
->event
) {
16977 case NB_EV_VALIDATE
:
16978 case NB_EV_PREPARE
:
16981 /* TODO: implement me. */
16990 * /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
16992 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
16993 struct nb_cb_modify_args
*args
)
16995 switch (args
->event
) {
16996 case NB_EV_VALIDATE
:
16997 case NB_EV_PREPARE
:
17001 return bgp_neighbor_afi_safi_flag_modify(
17002 args
, PEER_FLAG_AS_OVERRIDE
,
17003 yang_dnode_get_bool(args
->dnode
, NULL
));
17013 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/originate
17015 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
17016 struct nb_cb_modify_args
*args
)
17018 switch (args
->event
) {
17019 case NB_EV_VALIDATE
:
17020 case NB_EV_PREPARE
:
17023 /* TODO: implement me. */
17032 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/route-map
17034 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
17035 struct nb_cb_modify_args
*args
)
17037 switch (args
->event
) {
17038 case NB_EV_VALIDATE
:
17039 case NB_EV_PREPARE
:
17042 /* TODO: implement me. */
17049 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
17050 struct nb_cb_destroy_args
*args
)
17052 switch (args
->event
) {
17053 case NB_EV_VALIDATE
:
17054 case NB_EV_PREPARE
:
17057 /* TODO: implement me. */
17066 * /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
17068 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
17069 struct nb_cb_modify_args
*args
)
17071 switch (args
->event
) {
17072 case NB_EV_VALIDATE
:
17073 case NB_EV_PREPARE
:
17077 return bgp_neighbor_afi_safi_flag_modify(
17078 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
17079 yang_dnode_get_bool(args
->dnode
, NULL
));
17089 * /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
17091 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
17092 struct nb_cb_modify_args
*args
)
17094 switch (args
->event
) {
17095 case NB_EV_VALIDATE
:
17096 case NB_EV_PREPARE
:
17100 return bgp_neighbor_afi_safi_flag_modify(
17101 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
17102 yang_dnode_get_bool(args
->dnode
, NULL
));
17112 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/attr-unchanged/med-unchanged
17114 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
17115 struct nb_cb_modify_args
*args
)
17117 switch (args
->event
) {
17118 case NB_EV_VALIDATE
:
17119 case NB_EV_PREPARE
:
17123 return bgp_neighbor_afi_safi_flag_modify(
17124 args
, PEER_FLAG_MED_UNCHANGED
,
17125 yang_dnode_get_bool(args
->dnode
, NULL
));
17135 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-send
17137 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
17138 struct nb_cb_modify_args
*args
)
17140 switch (args
->event
) {
17141 case NB_EV_VALIDATE
:
17142 case NB_EV_PREPARE
:
17145 /* TODO: implement me. */
17152 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
17153 struct nb_cb_destroy_args
*args
)
17155 switch (args
->event
) {
17156 case NB_EV_VALIDATE
:
17157 case NB_EV_PREPARE
:
17160 /* TODO: implement me. */
17169 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-receive
17171 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
17172 struct nb_cb_modify_args
*args
)
17174 switch (args
->event
) {
17175 case NB_EV_VALIDATE
:
17176 case NB_EV_PREPARE
:
17179 /* TODO: implement me. */
17186 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
17187 struct nb_cb_destroy_args
*args
)
17189 switch (args
->event
) {
17190 case NB_EV_VALIDATE
:
17191 case NB_EV_PREPARE
:
17194 /* TODO: implement me. */
17203 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/orf-capability/orf-both
17205 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
17206 struct nb_cb_modify_args
*args
)
17208 switch (args
->event
) {
17209 case NB_EV_VALIDATE
:
17210 case NB_EV_PREPARE
:
17213 /* TODO: implement me. */
17220 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
17221 struct nb_cb_destroy_args
*args
)
17223 switch (args
->event
) {
17224 case NB_EV_VALIDATE
:
17225 case NB_EV_PREPARE
:
17228 /* TODO: implement me. */
17237 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/prefix-limit/direction-list
17239 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
17240 struct nb_cb_create_args
*args
)
17242 switch (args
->event
) {
17243 case NB_EV_VALIDATE
:
17244 case NB_EV_PREPARE
:
17247 /* TODO: implement me. */
17254 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
17255 struct nb_cb_destroy_args
*args
)
17257 switch (args
->event
) {
17258 case NB_EV_VALIDATE
:
17259 case NB_EV_PREPARE
:
17263 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
17271 * /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
17273 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
17274 struct nb_cb_modify_args
*args
)
17276 switch (args
->event
) {
17277 case NB_EV_VALIDATE
:
17278 case NB_EV_PREPARE
:
17281 /* TODO: implement me. */
17290 * /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
17292 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
17293 struct nb_cb_modify_args
*args
)
17295 switch (args
->event
) {
17296 case NB_EV_VALIDATE
:
17297 case NB_EV_PREPARE
:
17300 /* TODO: implement me. */
17309 * /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
17311 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
17312 struct nb_cb_modify_args
*args
)
17314 switch (args
->event
) {
17315 case NB_EV_VALIDATE
:
17316 case NB_EV_PREPARE
:
17319 /* TODO: implement me. */
17326 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
17327 struct nb_cb_destroy_args
*args
)
17329 switch (args
->event
) {
17330 case NB_EV_VALIDATE
:
17331 case NB_EV_PREPARE
:
17334 /* TODO: implement me. */
17343 * /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
17345 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
17346 struct nb_cb_modify_args
*args
)
17348 switch (args
->event
) {
17349 case NB_EV_VALIDATE
:
17350 case NB_EV_PREPARE
:
17353 /* TODO: implement me. */
17360 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
17361 struct nb_cb_destroy_args
*args
)
17363 switch (args
->event
) {
17364 case NB_EV_VALIDATE
:
17365 case NB_EV_PREPARE
:
17368 /* TODO: implement me. */
17377 * /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
17379 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
17380 struct nb_cb_modify_args
*args
)
17382 switch (args
->event
) {
17383 case NB_EV_VALIDATE
:
17384 case NB_EV_PREPARE
:
17387 /* TODO: implement me. */
17394 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
17395 struct nb_cb_destroy_args
*args
)
17397 switch (args
->event
) {
17398 case NB_EV_VALIDATE
:
17399 case NB_EV_PREPARE
:
17402 /* TODO: implement me. */
17411 * /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
17413 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
17414 struct nb_cb_modify_args
*args
)
17416 switch (args
->event
) {
17417 case NB_EV_VALIDATE
:
17418 case NB_EV_PREPARE
:
17421 /* TODO: implement me. */
17428 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
17429 struct nb_cb_destroy_args
*args
)
17431 switch (args
->event
) {
17432 case NB_EV_VALIDATE
:
17433 case NB_EV_PREPARE
:
17436 /* TODO: implement me. */
17445 * /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
17447 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
17448 struct nb_cb_modify_args
*args
)
17450 switch (args
->event
) {
17451 case NB_EV_VALIDATE
:
17452 case NB_EV_PREPARE
:
17455 /* TODO: implement me. */
17462 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
17463 struct nb_cb_destroy_args
*args
)
17465 switch (args
->event
) {
17466 case NB_EV_VALIDATE
:
17467 case NB_EV_PREPARE
:
17470 /* TODO: implement me. */
17479 * /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
17481 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
17482 struct nb_cb_modify_args
*args
)
17484 switch (args
->event
) {
17485 case NB_EV_VALIDATE
:
17486 case NB_EV_PREPARE
:
17489 /* TODO: implement me. */
17496 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
17497 struct nb_cb_destroy_args
*args
)
17499 switch (args
->event
) {
17500 case NB_EV_VALIDATE
:
17501 case NB_EV_PREPARE
:
17504 /* TODO: implement me. */
17513 * /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
17515 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
17516 struct nb_cb_modify_args
*args
)
17518 switch (args
->event
) {
17519 case NB_EV_VALIDATE
:
17520 case NB_EV_PREPARE
:
17523 /* TODO: implement me. */
17530 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
17531 struct nb_cb_destroy_args
*args
)
17533 switch (args
->event
) {
17534 case NB_EV_VALIDATE
:
17535 case NB_EV_PREPARE
:
17538 /* TODO: implement me. */
17547 * /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
17549 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
17550 struct nb_cb_modify_args
*args
)
17552 switch (args
->event
) {
17553 case NB_EV_VALIDATE
:
17554 case NB_EV_PREPARE
:
17558 return bgp_neighbor_afi_safi_flag_modify(
17559 args
, PEER_FLAG_NEXTHOP_SELF
,
17560 yang_dnode_get_bool(args
->dnode
, NULL
));
17570 * /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
17572 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
17573 struct nb_cb_modify_args
*args
)
17575 switch (args
->event
) {
17576 case NB_EV_VALIDATE
:
17577 case NB_EV_PREPARE
:
17581 return bgp_neighbor_afi_safi_flag_modify(
17582 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
17583 yang_dnode_get_bool(args
->dnode
, NULL
));
17593 * /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
17595 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
17596 struct nb_cb_modify_args
*args
)
17598 switch (args
->event
) {
17599 case NB_EV_VALIDATE
:
17600 case NB_EV_PREPARE
:
17604 return bgp_neighbor_afi_safi_flag_modify(
17605 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
17606 yang_dnode_get_bool(args
->dnode
, NULL
));
17616 * /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
17618 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
17619 struct nb_cb_modify_args
*args
)
17621 switch (args
->event
) {
17622 case NB_EV_VALIDATE
:
17623 case NB_EV_PREPARE
:
17627 return bgp_neighbor_afi_safi_flag_modify(
17628 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
17629 yang_dnode_get_bool(args
->dnode
, NULL
));
17639 * /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
17641 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
17642 struct nb_cb_modify_args
*args
)
17644 switch (args
->event
) {
17645 case NB_EV_VALIDATE
:
17646 case NB_EV_PREPARE
:
17650 return bgp_neighbor_afi_safi_flag_modify(
17651 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
17652 yang_dnode_get_bool(args
->dnode
, NULL
));
17662 * /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
17664 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
17665 struct nb_cb_modify_args
*args
)
17667 switch (args
->event
) {
17668 case NB_EV_VALIDATE
:
17669 case NB_EV_PREPARE
:
17673 return bgp_neighbor_afi_safi_flag_modify(
17674 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
17675 yang_dnode_get_bool(args
->dnode
, NULL
));
17685 * /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
17687 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
17688 struct nb_cb_modify_args
*args
)
17690 switch (args
->event
) {
17691 case NB_EV_VALIDATE
:
17692 case NB_EV_PREPARE
:
17696 return bgp_neighbor_afi_safi_flag_modify(
17697 args
, PEER_FLAG_REFLECTOR_CLIENT
,
17698 yang_dnode_get_bool(args
->dnode
, NULL
));
17708 * /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
17710 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
17711 struct nb_cb_modify_args
*args
)
17713 switch (args
->event
) {
17714 case NB_EV_VALIDATE
:
17715 case NB_EV_PREPARE
:
17719 return bgp_neighbor_afi_safi_flag_modify(
17720 args
, PEER_FLAG_RSERVER_CLIENT
,
17721 yang_dnode_get_bool(args
->dnode
, NULL
));
17731 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/send-community/send-community
17733 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
17734 struct nb_cb_modify_args
*args
)
17736 switch (args
->event
) {
17737 case NB_EV_VALIDATE
:
17738 case NB_EV_PREPARE
:
17742 return bgp_neighbor_afi_safi_flag_modify(
17743 args
, PEER_FLAG_SEND_COMMUNITY
,
17744 yang_dnode_get_bool(args
->dnode
, NULL
));
17754 * /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
17756 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
17757 struct nb_cb_modify_args
*args
)
17759 switch (args
->event
) {
17760 case NB_EV_VALIDATE
:
17761 case NB_EV_PREPARE
:
17765 return bgp_neighbor_afi_safi_flag_modify(
17766 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
17767 yang_dnode_get_bool(args
->dnode
, NULL
));
17777 * /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
17779 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
17780 struct nb_cb_modify_args
*args
)
17782 switch (args
->event
) {
17783 case NB_EV_VALIDATE
:
17784 case NB_EV_PREPARE
:
17788 return bgp_neighbor_afi_safi_flag_modify(
17789 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
17790 yang_dnode_get_bool(args
->dnode
, NULL
));
17800 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
17802 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
17803 struct nb_cb_modify_args
*args
)
17805 switch (args
->event
) {
17806 case NB_EV_VALIDATE
:
17807 case NB_EV_PREPARE
:
17811 return bgp_neighbor_afi_safi_flag_modify(
17812 args
, PEER_FLAG_SOFT_RECONFIG
,
17813 yang_dnode_get_bool(args
->dnode
, NULL
));
17823 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/weight/weight-attribute
17825 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
17826 struct nb_cb_modify_args
*args
)
17828 switch (args
->event
) {
17829 case NB_EV_VALIDATE
:
17830 case NB_EV_PREPARE
:
17834 return bgp_neighbor_afi_safi_weight_modify(args
);
17842 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
17843 struct nb_cb_destroy_args
*args
)
17845 switch (args
->event
) {
17846 case NB_EV_VALIDATE
:
17847 case NB_EV_PREPARE
:
17851 return bgp_neighbor_afi_safi_weight_destroy(args
);
17861 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-import
17863 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
17864 struct nb_cb_modify_args
*args
)
17866 switch (args
->event
) {
17867 case NB_EV_VALIDATE
:
17868 case NB_EV_PREPARE
:
17872 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
17878 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
17879 struct nb_cb_destroy_args
*args
)
17881 switch (args
->event
) {
17882 case NB_EV_VALIDATE
:
17883 case NB_EV_PREPARE
:
17887 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
17895 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/rmap-export
17897 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
17898 struct nb_cb_modify_args
*args
)
17900 switch (args
->event
) {
17901 case NB_EV_VALIDATE
:
17902 case NB_EV_PREPARE
:
17906 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
17912 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
17913 struct nb_cb_destroy_args
*args
)
17915 switch (args
->event
) {
17916 case NB_EV_VALIDATE
:
17917 case NB_EV_PREPARE
:
17921 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
17929 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-import
17931 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
17932 struct nb_cb_modify_args
*args
)
17934 switch (args
->event
) {
17935 case NB_EV_VALIDATE
:
17936 case NB_EV_PREPARE
:
17940 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
17946 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
17947 struct nb_cb_destroy_args
*args
)
17949 switch (args
->event
) {
17950 case NB_EV_VALIDATE
:
17951 case NB_EV_PREPARE
:
17955 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
17963 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-multicast/filter-config/plist-export
17965 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
17966 struct nb_cb_modify_args
*args
)
17968 switch (args
->event
) {
17969 case NB_EV_VALIDATE
:
17970 case NB_EV_PREPARE
:
17974 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
17980 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
17981 struct nb_cb_destroy_args
*args
)
17983 switch (args
->event
) {
17984 case NB_EV_VALIDATE
:
17985 case NB_EV_PREPARE
:
17989 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
17997 * /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
17999 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
18000 struct nb_cb_modify_args
*args
)
18002 switch (args
->event
) {
18003 case NB_EV_VALIDATE
:
18004 case NB_EV_PREPARE
:
18007 /* TODO: implement me. */
18014 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
18015 struct nb_cb_destroy_args
*args
)
18017 switch (args
->event
) {
18018 case NB_EV_VALIDATE
:
18019 case NB_EV_PREPARE
:
18022 /* TODO: implement me. */
18031 * /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
18033 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
18034 struct nb_cb_modify_args
*args
)
18036 switch (args
->event
) {
18037 case NB_EV_VALIDATE
:
18038 case NB_EV_PREPARE
:
18041 /* TODO: implement me. */
18048 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
18049 struct nb_cb_destroy_args
*args
)
18051 switch (args
->event
) {
18052 case NB_EV_VALIDATE
:
18053 case NB_EV_PREPARE
:
18056 /* TODO: implement me. */
18065 * /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
18067 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
18068 struct nb_cb_modify_args
*args
)
18070 switch (args
->event
) {
18071 case NB_EV_VALIDATE
:
18072 case NB_EV_PREPARE
:
18075 /* TODO: implement me. */
18082 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
18083 struct nb_cb_destroy_args
*args
)
18085 switch (args
->event
) {
18086 case NB_EV_VALIDATE
:
18087 case NB_EV_PREPARE
:
18090 /* TODO: implement me. */
18099 * /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
18101 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
18102 struct nb_cb_modify_args
*args
)
18104 switch (args
->event
) {
18105 case NB_EV_VALIDATE
:
18106 case NB_EV_PREPARE
:
18109 /* TODO: implement me. */
18116 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
18117 struct nb_cb_destroy_args
*args
)
18119 switch (args
->event
) {
18120 case NB_EV_VALIDATE
:
18121 case NB_EV_PREPARE
:
18124 /* TODO: implement me. */
18133 * /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
18135 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
18136 struct nb_cb_modify_args
*args
)
18138 switch (args
->event
) {
18139 case NB_EV_VALIDATE
:
18140 case NB_EV_PREPARE
:
18143 /* TODO: implement me. */
18150 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
18151 struct nb_cb_destroy_args
*args
)
18153 switch (args
->event
) {
18154 case NB_EV_VALIDATE
:
18155 case NB_EV_PREPARE
:
18158 /* TODO: implement me. */
18167 * /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
18169 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
18170 struct nb_cb_modify_args
*args
)
18172 switch (args
->event
) {
18173 case NB_EV_VALIDATE
:
18174 case NB_EV_PREPARE
:
18177 /* TODO: implement me. */
18184 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
18185 struct nb_cb_destroy_args
*args
)
18187 switch (args
->event
) {
18188 case NB_EV_VALIDATE
:
18189 case NB_EV_PREPARE
:
18192 /* TODO: implement me. */
18201 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/add-paths/path-type
18203 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
18204 struct nb_cb_modify_args
*args
)
18206 switch (args
->event
) {
18207 case NB_EV_VALIDATE
:
18208 case NB_EV_PREPARE
:
18211 /* TODO: implement me. */
18220 * /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
18222 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
18223 struct nb_cb_modify_args
*args
)
18225 switch (args
->event
) {
18226 case NB_EV_VALIDATE
:
18227 case NB_EV_PREPARE
:
18230 /* TODO: implement me. */
18237 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
18238 struct nb_cb_destroy_args
*args
)
18240 switch (args
->event
) {
18241 case NB_EV_VALIDATE
:
18242 case NB_EV_PREPARE
:
18245 /* TODO: implement me. */
18254 * /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
18256 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
18257 struct nb_cb_modify_args
*args
)
18259 switch (args
->event
) {
18260 case NB_EV_VALIDATE
:
18261 case NB_EV_PREPARE
:
18264 /* TODO: implement me. */
18271 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
18272 struct nb_cb_destroy_args
*args
)
18274 switch (args
->event
) {
18275 case NB_EV_VALIDATE
:
18276 case NB_EV_PREPARE
:
18279 /* TODO: implement me. */
18288 * /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
18290 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
18291 struct nb_cb_modify_args
*args
)
18293 switch (args
->event
) {
18294 case NB_EV_VALIDATE
:
18295 case NB_EV_PREPARE
:
18299 return bgp_neighbor_afi_safi_flag_modify(
18300 args
, PEER_FLAG_AS_OVERRIDE
,
18301 yang_dnode_get_bool(args
->dnode
, NULL
));
18311 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/originate
18313 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
18314 struct nb_cb_modify_args
*args
)
18316 switch (args
->event
) {
18317 case NB_EV_VALIDATE
:
18318 case NB_EV_PREPARE
:
18321 /* TODO: implement me. */
18330 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/route-map
18332 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
18333 struct nb_cb_modify_args
*args
)
18335 switch (args
->event
) {
18336 case NB_EV_VALIDATE
:
18337 case NB_EV_PREPARE
:
18340 /* TODO: implement me. */
18347 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
18348 struct nb_cb_destroy_args
*args
)
18350 switch (args
->event
) {
18351 case NB_EV_VALIDATE
:
18352 case NB_EV_PREPARE
:
18355 /* TODO: implement me. */
18364 * /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
18366 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
18367 struct nb_cb_modify_args
*args
)
18369 switch (args
->event
) {
18370 case NB_EV_VALIDATE
:
18371 case NB_EV_PREPARE
:
18375 return bgp_neighbor_afi_safi_flag_modify(
18376 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
18377 yang_dnode_get_bool(args
->dnode
, NULL
));
18387 * /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
18389 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
18390 struct nb_cb_modify_args
*args
)
18392 switch (args
->event
) {
18393 case NB_EV_VALIDATE
:
18394 case NB_EV_PREPARE
:
18398 return bgp_neighbor_afi_safi_flag_modify(
18399 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
18400 yang_dnode_get_bool(args
->dnode
, NULL
));
18410 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/attr-unchanged/med-unchanged
18412 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
18413 struct nb_cb_modify_args
*args
)
18415 switch (args
->event
) {
18416 case NB_EV_VALIDATE
:
18417 case NB_EV_PREPARE
:
18421 return bgp_neighbor_afi_safi_flag_modify(
18422 args
, PEER_FLAG_MED_UNCHANGED
,
18423 yang_dnode_get_bool(args
->dnode
, NULL
));
18433 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-send
18435 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
18436 struct nb_cb_modify_args
*args
)
18438 switch (args
->event
) {
18439 case NB_EV_VALIDATE
:
18440 case NB_EV_PREPARE
:
18443 /* TODO: implement me. */
18450 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
18451 struct nb_cb_destroy_args
*args
)
18453 switch (args
->event
) {
18454 case NB_EV_VALIDATE
:
18455 case NB_EV_PREPARE
:
18458 /* TODO: implement me. */
18467 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-receive
18469 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
18470 struct nb_cb_modify_args
*args
)
18472 switch (args
->event
) {
18473 case NB_EV_VALIDATE
:
18474 case NB_EV_PREPARE
:
18477 /* TODO: implement me. */
18484 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
18485 struct nb_cb_destroy_args
*args
)
18487 switch (args
->event
) {
18488 case NB_EV_VALIDATE
:
18489 case NB_EV_PREPARE
:
18492 /* TODO: implement me. */
18501 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/orf-capability/orf-both
18503 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
18504 struct nb_cb_modify_args
*args
)
18506 switch (args
->event
) {
18507 case NB_EV_VALIDATE
:
18508 case NB_EV_PREPARE
:
18511 /* TODO: implement me. */
18518 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
18519 struct nb_cb_destroy_args
*args
)
18521 switch (args
->event
) {
18522 case NB_EV_VALIDATE
:
18523 case NB_EV_PREPARE
:
18526 /* TODO: implement me. */
18535 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/prefix-limit/direction-list
18537 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
18538 struct nb_cb_create_args
*args
)
18540 switch (args
->event
) {
18541 case NB_EV_VALIDATE
:
18542 case NB_EV_PREPARE
:
18545 /* TODO: implement me. */
18552 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
18553 struct nb_cb_destroy_args
*args
)
18555 switch (args
->event
) {
18556 case NB_EV_VALIDATE
:
18557 case NB_EV_PREPARE
:
18561 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
18569 * /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
18571 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
18572 struct nb_cb_modify_args
*args
)
18574 switch (args
->event
) {
18575 case NB_EV_VALIDATE
:
18576 case NB_EV_PREPARE
:
18579 /* TODO: implement me. */
18588 * /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
18590 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
18591 struct nb_cb_modify_args
*args
)
18593 switch (args
->event
) {
18594 case NB_EV_VALIDATE
:
18595 case NB_EV_PREPARE
:
18598 /* TODO: implement me. */
18607 * /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
18609 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
18610 struct nb_cb_modify_args
*args
)
18612 switch (args
->event
) {
18613 case NB_EV_VALIDATE
:
18614 case NB_EV_PREPARE
:
18617 /* TODO: implement me. */
18624 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
18625 struct nb_cb_destroy_args
*args
)
18627 switch (args
->event
) {
18628 case NB_EV_VALIDATE
:
18629 case NB_EV_PREPARE
:
18632 /* TODO: implement me. */
18641 * /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
18643 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
18644 struct nb_cb_modify_args
*args
)
18646 switch (args
->event
) {
18647 case NB_EV_VALIDATE
:
18648 case NB_EV_PREPARE
:
18651 /* TODO: implement me. */
18658 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
18659 struct nb_cb_destroy_args
*args
)
18661 switch (args
->event
) {
18662 case NB_EV_VALIDATE
:
18663 case NB_EV_PREPARE
:
18666 /* TODO: implement me. */
18675 * /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
18677 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
18678 struct nb_cb_modify_args
*args
)
18680 switch (args
->event
) {
18681 case NB_EV_VALIDATE
:
18682 case NB_EV_PREPARE
:
18685 /* TODO: implement me. */
18692 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
18693 struct nb_cb_destroy_args
*args
)
18695 switch (args
->event
) {
18696 case NB_EV_VALIDATE
:
18697 case NB_EV_PREPARE
:
18700 /* TODO: implement me. */
18709 * /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
18711 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
18712 struct nb_cb_modify_args
*args
)
18714 switch (args
->event
) {
18715 case NB_EV_VALIDATE
:
18716 case NB_EV_PREPARE
:
18719 /* TODO: implement me. */
18726 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
18727 struct nb_cb_destroy_args
*args
)
18729 switch (args
->event
) {
18730 case NB_EV_VALIDATE
:
18731 case NB_EV_PREPARE
:
18734 /* TODO: implement me. */
18743 * /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
18745 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
18746 struct nb_cb_modify_args
*args
)
18748 switch (args
->event
) {
18749 case NB_EV_VALIDATE
:
18750 case NB_EV_PREPARE
:
18753 /* TODO: implement me. */
18760 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
18761 struct nb_cb_destroy_args
*args
)
18763 switch (args
->event
) {
18764 case NB_EV_VALIDATE
:
18765 case NB_EV_PREPARE
:
18768 /* TODO: implement me. */
18777 * /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
18779 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
18780 struct nb_cb_modify_args
*args
)
18782 switch (args
->event
) {
18783 case NB_EV_VALIDATE
:
18784 case NB_EV_PREPARE
:
18787 /* TODO: implement me. */
18794 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
18795 struct nb_cb_destroy_args
*args
)
18797 switch (args
->event
) {
18798 case NB_EV_VALIDATE
:
18799 case NB_EV_PREPARE
:
18802 /* TODO: implement me. */
18811 * /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
18813 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
18814 struct nb_cb_modify_args
*args
)
18816 switch (args
->event
) {
18817 case NB_EV_VALIDATE
:
18818 case NB_EV_PREPARE
:
18821 /* TODO: implement me. */
18828 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
18829 struct nb_cb_destroy_args
*args
)
18831 switch (args
->event
) {
18832 case NB_EV_VALIDATE
:
18833 case NB_EV_PREPARE
:
18836 /* TODO: implement me. */
18845 * /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
18847 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
18848 struct nb_cb_modify_args
*args
)
18850 switch (args
->event
) {
18851 case NB_EV_VALIDATE
:
18852 case NB_EV_PREPARE
:
18856 return bgp_neighbor_afi_safi_flag_modify(
18857 args
, PEER_FLAG_NEXTHOP_SELF
,
18858 yang_dnode_get_bool(args
->dnode
, NULL
));
18868 * /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
18870 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
18871 struct nb_cb_modify_args
*args
)
18873 switch (args
->event
) {
18874 case NB_EV_VALIDATE
:
18875 case NB_EV_PREPARE
:
18879 return bgp_neighbor_afi_safi_flag_modify(
18880 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
18881 yang_dnode_get_bool(args
->dnode
, NULL
));
18891 * /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
18893 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
18894 struct nb_cb_modify_args
*args
)
18896 switch (args
->event
) {
18897 case NB_EV_VALIDATE
:
18898 case NB_EV_PREPARE
:
18902 return bgp_neighbor_afi_safi_flag_modify(
18903 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
18904 yang_dnode_get_bool(args
->dnode
, NULL
));
18914 * /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
18916 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
18917 struct nb_cb_modify_args
*args
)
18919 switch (args
->event
) {
18920 case NB_EV_VALIDATE
:
18921 case NB_EV_PREPARE
:
18925 return bgp_neighbor_afi_safi_flag_modify(
18926 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
18927 yang_dnode_get_bool(args
->dnode
, NULL
));
18937 * /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
18939 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
18940 struct nb_cb_modify_args
*args
)
18942 switch (args
->event
) {
18943 case NB_EV_VALIDATE
:
18944 case NB_EV_PREPARE
:
18948 return bgp_neighbor_afi_safi_flag_modify(
18949 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
18950 yang_dnode_get_bool(args
->dnode
, NULL
));
18960 * /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
18962 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
18963 struct nb_cb_modify_args
*args
)
18965 switch (args
->event
) {
18966 case NB_EV_VALIDATE
:
18967 case NB_EV_PREPARE
:
18971 return bgp_neighbor_afi_safi_flag_modify(
18972 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
18973 yang_dnode_get_bool(args
->dnode
, NULL
));
18983 * /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
18985 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
18986 struct nb_cb_modify_args
*args
)
18988 switch (args
->event
) {
18989 case NB_EV_VALIDATE
:
18990 case NB_EV_PREPARE
:
18994 return bgp_neighbor_afi_safi_flag_modify(
18995 args
, PEER_FLAG_REFLECTOR_CLIENT
,
18996 yang_dnode_get_bool(args
->dnode
, NULL
));
19006 * /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
19008 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
19009 struct nb_cb_modify_args
*args
)
19011 switch (args
->event
) {
19012 case NB_EV_VALIDATE
:
19013 case NB_EV_PREPARE
:
19017 return bgp_neighbor_afi_safi_flag_modify(
19018 args
, PEER_FLAG_RSERVER_CLIENT
,
19019 yang_dnode_get_bool(args
->dnode
, NULL
));
19029 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/send-community/send-community
19031 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
19032 struct nb_cb_modify_args
*args
)
19034 switch (args
->event
) {
19035 case NB_EV_VALIDATE
:
19036 case NB_EV_PREPARE
:
19040 return bgp_neighbor_afi_safi_flag_modify(
19041 args
, PEER_FLAG_SEND_COMMUNITY
,
19042 yang_dnode_get_bool(args
->dnode
, NULL
));
19052 * /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
19054 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
19055 struct nb_cb_modify_args
*args
)
19057 switch (args
->event
) {
19058 case NB_EV_VALIDATE
:
19059 case NB_EV_PREPARE
:
19063 return bgp_neighbor_afi_safi_flag_modify(
19064 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
19065 yang_dnode_get_bool(args
->dnode
, NULL
));
19075 * /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
19077 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
19078 struct nb_cb_modify_args
*args
)
19080 switch (args
->event
) {
19081 case NB_EV_VALIDATE
:
19082 case NB_EV_PREPARE
:
19086 return bgp_neighbor_afi_safi_flag_modify(
19087 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
19088 yang_dnode_get_bool(args
->dnode
, NULL
));
19098 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
19100 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
19101 struct nb_cb_modify_args
*args
)
19103 switch (args
->event
) {
19104 case NB_EV_VALIDATE
:
19105 case NB_EV_PREPARE
:
19109 return bgp_neighbor_afi_safi_flag_modify(
19110 args
, PEER_FLAG_SOFT_RECONFIG
,
19111 yang_dnode_get_bool(args
->dnode
, NULL
));
19121 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/weight/weight-attribute
19123 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
19124 struct nb_cb_modify_args
*args
)
19126 switch (args
->event
) {
19127 case NB_EV_VALIDATE
:
19128 case NB_EV_PREPARE
:
19132 return bgp_neighbor_afi_safi_weight_modify(args
);
19140 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
19141 struct nb_cb_destroy_args
*args
)
19143 switch (args
->event
) {
19144 case NB_EV_VALIDATE
:
19145 case NB_EV_PREPARE
:
19149 return bgp_neighbor_afi_safi_weight_destroy(args
);
19159 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-import
19161 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
19162 struct nb_cb_modify_args
*args
)
19164 switch (args
->event
) {
19165 case NB_EV_VALIDATE
:
19166 case NB_EV_PREPARE
:
19170 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
19176 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
19177 struct nb_cb_destroy_args
*args
)
19179 switch (args
->event
) {
19180 case NB_EV_VALIDATE
:
19181 case NB_EV_PREPARE
:
19185 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
19193 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/rmap-export
19195 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
19196 struct nb_cb_modify_args
*args
)
19198 switch (args
->event
) {
19199 case NB_EV_VALIDATE
:
19200 case NB_EV_PREPARE
:
19204 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
19210 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
19211 struct nb_cb_destroy_args
*args
)
19213 switch (args
->event
) {
19214 case NB_EV_VALIDATE
:
19215 case NB_EV_PREPARE
:
19219 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
19227 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-import
19229 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
19230 struct nb_cb_modify_args
*args
)
19232 switch (args
->event
) {
19233 case NB_EV_VALIDATE
:
19234 case NB_EV_PREPARE
:
19238 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
19244 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
19245 struct nb_cb_destroy_args
*args
)
19247 switch (args
->event
) {
19248 case NB_EV_VALIDATE
:
19249 case NB_EV_PREPARE
:
19253 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
19261 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-multicast/filter-config/plist-export
19263 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
19264 struct nb_cb_modify_args
*args
)
19266 switch (args
->event
) {
19267 case NB_EV_VALIDATE
:
19268 case NB_EV_PREPARE
:
19272 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
19278 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
19279 struct nb_cb_destroy_args
*args
)
19281 switch (args
->event
) {
19282 case NB_EV_VALIDATE
:
19283 case NB_EV_PREPARE
:
19287 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
19295 * /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
19297 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
19298 struct nb_cb_modify_args
*args
)
19300 switch (args
->event
) {
19301 case NB_EV_VALIDATE
:
19302 case NB_EV_PREPARE
:
19305 /* TODO: implement me. */
19312 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
19313 struct nb_cb_destroy_args
*args
)
19315 switch (args
->event
) {
19316 case NB_EV_VALIDATE
:
19317 case NB_EV_PREPARE
:
19320 /* TODO: implement me. */
19329 * /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
19331 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
19332 struct nb_cb_modify_args
*args
)
19334 switch (args
->event
) {
19335 case NB_EV_VALIDATE
:
19336 case NB_EV_PREPARE
:
19339 /* TODO: implement me. */
19346 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
19347 struct nb_cb_destroy_args
*args
)
19349 switch (args
->event
) {
19350 case NB_EV_VALIDATE
:
19351 case NB_EV_PREPARE
:
19354 /* TODO: implement me. */
19363 * /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
19365 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
19366 struct nb_cb_modify_args
*args
)
19368 switch (args
->event
) {
19369 case NB_EV_VALIDATE
:
19370 case NB_EV_PREPARE
:
19373 /* TODO: implement me. */
19380 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
19381 struct nb_cb_destroy_args
*args
)
19383 switch (args
->event
) {
19384 case NB_EV_VALIDATE
:
19385 case NB_EV_PREPARE
:
19388 /* TODO: implement me. */
19397 * /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
19399 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
19400 struct nb_cb_modify_args
*args
)
19402 switch (args
->event
) {
19403 case NB_EV_VALIDATE
:
19404 case NB_EV_PREPARE
:
19407 /* TODO: implement me. */
19414 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
19415 struct nb_cb_destroy_args
*args
)
19417 switch (args
->event
) {
19418 case NB_EV_VALIDATE
:
19419 case NB_EV_PREPARE
:
19422 /* TODO: implement me. */
19431 * /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
19433 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
19434 struct nb_cb_modify_args
*args
)
19436 switch (args
->event
) {
19437 case NB_EV_VALIDATE
:
19438 case NB_EV_PREPARE
:
19441 /* TODO: implement me. */
19448 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
19449 struct nb_cb_destroy_args
*args
)
19451 switch (args
->event
) {
19452 case NB_EV_VALIDATE
:
19453 case NB_EV_PREPARE
:
19456 /* TODO: implement me. */
19465 * /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
19467 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
19468 struct nb_cb_modify_args
*args
)
19470 switch (args
->event
) {
19471 case NB_EV_VALIDATE
:
19472 case NB_EV_PREPARE
:
19475 /* TODO: implement me. */
19482 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
19483 struct nb_cb_destroy_args
*args
)
19485 switch (args
->event
) {
19486 case NB_EV_VALIDATE
:
19487 case NB_EV_PREPARE
:
19490 /* TODO: implement me. */
19499 * /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
19501 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
19502 struct nb_cb_modify_args
*args
)
19504 switch (args
->event
) {
19505 case NB_EV_VALIDATE
:
19506 case NB_EV_PREPARE
:
19509 /* TODO: implement me. */
19518 * /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
19520 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
19521 struct nb_cb_modify_args
*args
)
19523 switch (args
->event
) {
19524 case NB_EV_VALIDATE
:
19525 case NB_EV_PREPARE
:
19528 /* TODO: implement me. */
19535 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
19536 struct nb_cb_destroy_args
*args
)
19538 switch (args
->event
) {
19539 case NB_EV_VALIDATE
:
19540 case NB_EV_PREPARE
:
19543 /* TODO: implement me. */
19552 * /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
19554 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
19555 struct nb_cb_modify_args
*args
)
19557 switch (args
->event
) {
19558 case NB_EV_VALIDATE
:
19559 case NB_EV_PREPARE
:
19562 /* TODO: implement me. */
19569 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
19570 struct nb_cb_destroy_args
*args
)
19572 switch (args
->event
) {
19573 case NB_EV_VALIDATE
:
19574 case NB_EV_PREPARE
:
19577 /* TODO: implement me. */
19586 * /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
19588 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
19589 struct nb_cb_modify_args
*args
)
19591 switch (args
->event
) {
19592 case NB_EV_VALIDATE
:
19593 case NB_EV_PREPARE
:
19597 return bgp_neighbor_afi_safi_flag_modify(
19598 args
, PEER_FLAG_AS_OVERRIDE
,
19599 yang_dnode_get_bool(args
->dnode
, NULL
));
19609 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/default-originate/originate
19611 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
19612 struct nb_cb_modify_args
*args
)
19614 switch (args
->event
) {
19615 case NB_EV_VALIDATE
:
19616 case NB_EV_PREPARE
:
19619 /* TODO: implement me. */
19628 * /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
19630 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
19631 struct nb_cb_modify_args
*args
)
19633 switch (args
->event
) {
19634 case NB_EV_VALIDATE
:
19635 case NB_EV_PREPARE
:
19638 /* TODO: implement me. */
19645 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
19646 struct nb_cb_destroy_args
*args
)
19648 switch (args
->event
) {
19649 case NB_EV_VALIDATE
:
19650 case NB_EV_PREPARE
:
19653 /* TODO: implement me. */
19662 * /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
19664 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
19665 struct nb_cb_modify_args
*args
)
19667 switch (args
->event
) {
19668 case NB_EV_VALIDATE
:
19669 case NB_EV_PREPARE
:
19673 return bgp_neighbor_afi_safi_flag_modify(
19674 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
19675 yang_dnode_get_bool(args
->dnode
, NULL
));
19685 * /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
19687 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
19688 struct nb_cb_modify_args
*args
)
19690 switch (args
->event
) {
19691 case NB_EV_VALIDATE
:
19692 case NB_EV_PREPARE
:
19696 return bgp_neighbor_afi_safi_flag_modify(
19697 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
19698 yang_dnode_get_bool(args
->dnode
, NULL
));
19708 * /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
19710 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
19711 struct nb_cb_modify_args
*args
)
19713 switch (args
->event
) {
19714 case NB_EV_VALIDATE
:
19715 case NB_EV_PREPARE
:
19719 return bgp_neighbor_afi_safi_flag_modify(
19720 args
, PEER_FLAG_MED_UNCHANGED
,
19721 yang_dnode_get_bool(args
->dnode
, NULL
));
19731 * /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
19733 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
19734 struct nb_cb_modify_args
*args
)
19736 switch (args
->event
) {
19737 case NB_EV_VALIDATE
:
19738 case NB_EV_PREPARE
:
19741 /* TODO: implement me. */
19748 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
19749 struct nb_cb_destroy_args
*args
)
19751 switch (args
->event
) {
19752 case NB_EV_VALIDATE
:
19753 case NB_EV_PREPARE
:
19756 /* TODO: implement me. */
19765 * /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
19767 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
19768 struct nb_cb_modify_args
*args
)
19770 switch (args
->event
) {
19771 case NB_EV_VALIDATE
:
19772 case NB_EV_PREPARE
:
19775 /* TODO: implement me. */
19782 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
19783 struct nb_cb_destroy_args
*args
)
19785 switch (args
->event
) {
19786 case NB_EV_VALIDATE
:
19787 case NB_EV_PREPARE
:
19790 /* TODO: implement me. */
19799 * /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
19801 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
19802 struct nb_cb_modify_args
*args
)
19804 switch (args
->event
) {
19805 case NB_EV_VALIDATE
:
19806 case NB_EV_PREPARE
:
19809 /* TODO: implement me. */
19816 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
19817 struct nb_cb_destroy_args
*args
)
19819 switch (args
->event
) {
19820 case NB_EV_VALIDATE
:
19821 case NB_EV_PREPARE
:
19824 /* TODO: implement me. */
19833 * /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
19835 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
19836 struct nb_cb_create_args
*args
)
19838 switch (args
->event
) {
19839 case NB_EV_VALIDATE
:
19840 case NB_EV_PREPARE
:
19843 /* TODO: implement me. */
19850 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
19851 struct nb_cb_destroy_args
*args
)
19853 switch (args
->event
) {
19854 case NB_EV_VALIDATE
:
19855 case NB_EV_PREPARE
:
19859 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
19867 * /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
19869 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
19870 struct nb_cb_modify_args
*args
)
19872 switch (args
->event
) {
19873 case NB_EV_VALIDATE
:
19874 case NB_EV_PREPARE
:
19877 /* TODO: implement me. */
19886 * /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
19888 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
19889 struct nb_cb_modify_args
*args
)
19891 switch (args
->event
) {
19892 case NB_EV_VALIDATE
:
19893 case NB_EV_PREPARE
:
19896 /* TODO: implement me. */
19905 * /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
19907 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
19908 struct nb_cb_modify_args
*args
)
19910 switch (args
->event
) {
19911 case NB_EV_VALIDATE
:
19912 case NB_EV_PREPARE
:
19915 /* TODO: implement me. */
19922 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
19923 struct nb_cb_destroy_args
*args
)
19925 switch (args
->event
) {
19926 case NB_EV_VALIDATE
:
19927 case NB_EV_PREPARE
:
19930 /* TODO: implement me. */
19939 * /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
19941 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
19942 struct nb_cb_modify_args
*args
)
19944 switch (args
->event
) {
19945 case NB_EV_VALIDATE
:
19946 case NB_EV_PREPARE
:
19949 /* TODO: implement me. */
19956 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
19957 struct nb_cb_destroy_args
*args
)
19959 switch (args
->event
) {
19960 case NB_EV_VALIDATE
:
19961 case NB_EV_PREPARE
:
19964 /* TODO: implement me. */
19973 * /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
19975 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
19976 struct nb_cb_modify_args
*args
)
19978 switch (args
->event
) {
19979 case NB_EV_VALIDATE
:
19980 case NB_EV_PREPARE
:
19983 /* TODO: implement me. */
19990 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
19991 struct nb_cb_destroy_args
*args
)
19993 switch (args
->event
) {
19994 case NB_EV_VALIDATE
:
19995 case NB_EV_PREPARE
:
19998 /* TODO: implement me. */
20007 * /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
20009 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
20010 struct nb_cb_modify_args
*args
)
20012 switch (args
->event
) {
20013 case NB_EV_VALIDATE
:
20014 case NB_EV_PREPARE
:
20017 /* TODO: implement me. */
20024 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
20025 struct nb_cb_destroy_args
*args
)
20027 switch (args
->event
) {
20028 case NB_EV_VALIDATE
:
20029 case NB_EV_PREPARE
:
20032 /* TODO: implement me. */
20041 * /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
20043 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
20044 struct nb_cb_modify_args
*args
)
20046 switch (args
->event
) {
20047 case NB_EV_VALIDATE
:
20048 case NB_EV_PREPARE
:
20051 /* TODO: implement me. */
20058 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
20059 struct nb_cb_destroy_args
*args
)
20061 switch (args
->event
) {
20062 case NB_EV_VALIDATE
:
20063 case NB_EV_PREPARE
:
20066 /* TODO: implement me. */
20075 * /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
20077 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
20078 struct nb_cb_modify_args
*args
)
20080 switch (args
->event
) {
20081 case NB_EV_VALIDATE
:
20082 case NB_EV_PREPARE
:
20085 /* TODO: implement me. */
20092 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
20093 struct nb_cb_destroy_args
*args
)
20095 switch (args
->event
) {
20096 case NB_EV_VALIDATE
:
20097 case NB_EV_PREPARE
:
20100 /* TODO: implement me. */
20109 * /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
20111 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
20112 struct nb_cb_modify_args
*args
)
20114 switch (args
->event
) {
20115 case NB_EV_VALIDATE
:
20116 case NB_EV_PREPARE
:
20119 /* TODO: implement me. */
20126 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
20127 struct nb_cb_destroy_args
*args
)
20129 switch (args
->event
) {
20130 case NB_EV_VALIDATE
:
20131 case NB_EV_PREPARE
:
20134 /* TODO: implement me. */
20143 * /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
20145 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
20146 struct nb_cb_modify_args
*args
)
20148 switch (args
->event
) {
20149 case NB_EV_VALIDATE
:
20150 case NB_EV_PREPARE
:
20154 return bgp_neighbor_afi_safi_flag_modify(
20155 args
, PEER_FLAG_NEXTHOP_SELF
,
20156 yang_dnode_get_bool(args
->dnode
, NULL
));
20166 * /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
20168 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
20169 struct nb_cb_modify_args
*args
)
20171 switch (args
->event
) {
20172 case NB_EV_VALIDATE
:
20173 case NB_EV_PREPARE
:
20177 return bgp_neighbor_afi_safi_flag_modify(
20178 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
20179 yang_dnode_get_bool(args
->dnode
, NULL
));
20189 * /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
20191 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
20192 struct nb_cb_modify_args
*args
)
20194 switch (args
->event
) {
20195 case NB_EV_VALIDATE
:
20196 case NB_EV_PREPARE
:
20200 return bgp_neighbor_afi_safi_flag_modify(
20201 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
20202 yang_dnode_get_bool(args
->dnode
, NULL
));
20212 * /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
20214 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
20215 struct nb_cb_modify_args
*args
)
20217 switch (args
->event
) {
20218 case NB_EV_VALIDATE
:
20219 case NB_EV_PREPARE
:
20223 return bgp_neighbor_afi_safi_flag_modify(
20224 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
20225 yang_dnode_get_bool(args
->dnode
, NULL
));
20235 * /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
20237 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
20238 struct nb_cb_modify_args
*args
)
20240 switch (args
->event
) {
20241 case NB_EV_VALIDATE
:
20242 case NB_EV_PREPARE
:
20246 return bgp_neighbor_afi_safi_flag_modify(
20247 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
20248 yang_dnode_get_bool(args
->dnode
, NULL
));
20258 * /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
20260 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
20261 struct nb_cb_modify_args
*args
)
20263 switch (args
->event
) {
20264 case NB_EV_VALIDATE
:
20265 case NB_EV_PREPARE
:
20269 return bgp_neighbor_afi_safi_flag_modify(
20270 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
20271 yang_dnode_get_bool(args
->dnode
, NULL
));
20281 * /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
20283 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
20284 struct nb_cb_modify_args
*args
)
20286 switch (args
->event
) {
20287 case NB_EV_VALIDATE
:
20288 case NB_EV_PREPARE
:
20292 return bgp_neighbor_afi_safi_flag_modify(
20293 args
, PEER_FLAG_REFLECTOR_CLIENT
,
20294 yang_dnode_get_bool(args
->dnode
, NULL
));
20304 * /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
20306 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
20307 struct nb_cb_modify_args
*args
)
20309 switch (args
->event
) {
20310 case NB_EV_VALIDATE
:
20311 case NB_EV_PREPARE
:
20315 return bgp_neighbor_afi_safi_flag_modify(
20316 args
, PEER_FLAG_RSERVER_CLIENT
,
20317 yang_dnode_get_bool(args
->dnode
, NULL
));
20327 * /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
20329 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
20330 struct nb_cb_modify_args
*args
)
20332 switch (args
->event
) {
20333 case NB_EV_VALIDATE
:
20334 case NB_EV_PREPARE
:
20338 return bgp_neighbor_afi_safi_flag_modify(
20339 args
, PEER_FLAG_SEND_COMMUNITY
,
20340 yang_dnode_get_bool(args
->dnode
, NULL
));
20350 * /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
20352 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
20353 struct nb_cb_modify_args
*args
)
20355 switch (args
->event
) {
20356 case NB_EV_VALIDATE
:
20357 case NB_EV_PREPARE
:
20361 return bgp_neighbor_afi_safi_flag_modify(
20362 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
20363 yang_dnode_get_bool(args
->dnode
, NULL
));
20373 * /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
20375 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
20376 struct nb_cb_modify_args
*args
)
20378 switch (args
->event
) {
20379 case NB_EV_VALIDATE
:
20380 case NB_EV_PREPARE
:
20384 return bgp_neighbor_afi_safi_flag_modify(
20385 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
20386 yang_dnode_get_bool(args
->dnode
, NULL
));
20396 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/soft-reconfiguration
20398 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
20399 struct nb_cb_modify_args
*args
)
20401 switch (args
->event
) {
20402 case NB_EV_VALIDATE
:
20403 case NB_EV_PREPARE
:
20407 return bgp_neighbor_afi_safi_flag_modify(
20408 args
, PEER_FLAG_SOFT_RECONFIG
,
20409 yang_dnode_get_bool(args
->dnode
, NULL
));
20419 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/weight/weight-attribute
20421 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
20422 struct nb_cb_modify_args
*args
)
20424 switch (args
->event
) {
20425 case NB_EV_VALIDATE
:
20426 case NB_EV_PREPARE
:
20430 return bgp_neighbor_afi_safi_weight_modify(args
);
20438 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
20439 struct nb_cb_destroy_args
*args
)
20441 switch (args
->event
) {
20442 case NB_EV_VALIDATE
:
20443 case NB_EV_PREPARE
:
20447 return bgp_neighbor_afi_safi_weight_destroy(args
);
20457 * /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
20459 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
20460 struct nb_cb_modify_args
*args
)
20462 switch (args
->event
) {
20463 case NB_EV_VALIDATE
:
20464 case NB_EV_PREPARE
:
20468 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
20474 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
20475 struct nb_cb_destroy_args
*args
)
20477 switch (args
->event
) {
20478 case NB_EV_VALIDATE
:
20479 case NB_EV_PREPARE
:
20483 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
20491 * /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
20493 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
20494 struct nb_cb_modify_args
*args
)
20496 switch (args
->event
) {
20497 case NB_EV_VALIDATE
:
20498 case NB_EV_PREPARE
:
20502 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
20508 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
20509 struct nb_cb_destroy_args
*args
)
20511 switch (args
->event
) {
20512 case NB_EV_VALIDATE
:
20513 case NB_EV_PREPARE
:
20517 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
20525 * /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
20527 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
20528 struct nb_cb_modify_args
*args
)
20530 switch (args
->event
) {
20531 case NB_EV_VALIDATE
:
20532 case NB_EV_PREPARE
:
20536 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
20542 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
20543 struct nb_cb_destroy_args
*args
)
20545 switch (args
->event
) {
20546 case NB_EV_VALIDATE
:
20547 case NB_EV_PREPARE
:
20551 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
20559 * /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
20561 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
20562 struct nb_cb_modify_args
*args
)
20564 switch (args
->event
) {
20565 case NB_EV_VALIDATE
:
20566 case NB_EV_PREPARE
:
20570 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
20576 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
20577 struct nb_cb_destroy_args
*args
)
20579 switch (args
->event
) {
20580 case NB_EV_VALIDATE
:
20581 case NB_EV_PREPARE
:
20585 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
20593 * /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
20595 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
20596 struct nb_cb_modify_args
*args
)
20598 switch (args
->event
) {
20599 case NB_EV_VALIDATE
:
20600 case NB_EV_PREPARE
:
20603 /* TODO: implement me. */
20610 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
20611 struct nb_cb_destroy_args
*args
)
20613 switch (args
->event
) {
20614 case NB_EV_VALIDATE
:
20615 case NB_EV_PREPARE
:
20618 /* TODO: implement me. */
20627 * /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
20629 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
20630 struct nb_cb_modify_args
*args
)
20632 switch (args
->event
) {
20633 case NB_EV_VALIDATE
:
20634 case NB_EV_PREPARE
:
20637 /* TODO: implement me. */
20644 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
20645 struct nb_cb_destroy_args
*args
)
20647 switch (args
->event
) {
20648 case NB_EV_VALIDATE
:
20649 case NB_EV_PREPARE
:
20652 /* TODO: implement me. */
20661 * /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
20663 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
20664 struct nb_cb_modify_args
*args
)
20666 switch (args
->event
) {
20667 case NB_EV_VALIDATE
:
20668 case NB_EV_PREPARE
:
20671 /* TODO: implement me. */
20678 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
20679 struct nb_cb_destroy_args
*args
)
20681 switch (args
->event
) {
20682 case NB_EV_VALIDATE
:
20683 case NB_EV_PREPARE
:
20686 /* TODO: implement me. */
20695 * /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
20697 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
20698 struct nb_cb_modify_args
*args
)
20700 switch (args
->event
) {
20701 case NB_EV_VALIDATE
:
20702 case NB_EV_PREPARE
:
20705 /* TODO: implement me. */
20712 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
20713 struct nb_cb_destroy_args
*args
)
20715 switch (args
->event
) {
20716 case NB_EV_VALIDATE
:
20717 case NB_EV_PREPARE
:
20720 /* TODO: implement me. */
20729 * /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
20731 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
20732 struct nb_cb_modify_args
*args
)
20734 switch (args
->event
) {
20735 case NB_EV_VALIDATE
:
20736 case NB_EV_PREPARE
:
20739 /* TODO: implement me. */
20746 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
20747 struct nb_cb_destroy_args
*args
)
20749 switch (args
->event
) {
20750 case NB_EV_VALIDATE
:
20751 case NB_EV_PREPARE
:
20754 /* TODO: implement me. */
20763 * /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
20765 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
20766 struct nb_cb_modify_args
*args
)
20768 switch (args
->event
) {
20769 case NB_EV_VALIDATE
:
20770 case NB_EV_PREPARE
:
20773 /* TODO: implement me. */
20780 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
20781 struct nb_cb_destroy_args
*args
)
20783 switch (args
->event
) {
20784 case NB_EV_VALIDATE
:
20785 case NB_EV_PREPARE
:
20788 /* TODO: implement me. */
20797 * /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
20799 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
20800 struct nb_cb_modify_args
*args
)
20802 switch (args
->event
) {
20803 case NB_EV_VALIDATE
:
20804 case NB_EV_PREPARE
:
20807 /* TODO: implement me. */
20816 * /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
20818 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
20819 struct nb_cb_modify_args
*args
)
20821 switch (args
->event
) {
20822 case NB_EV_VALIDATE
:
20823 case NB_EV_PREPARE
:
20826 /* TODO: implement me. */
20833 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
20834 struct nb_cb_destroy_args
*args
)
20836 switch (args
->event
) {
20837 case NB_EV_VALIDATE
:
20838 case NB_EV_PREPARE
:
20841 /* TODO: implement me. */
20850 * /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
20852 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
20853 struct nb_cb_modify_args
*args
)
20855 switch (args
->event
) {
20856 case NB_EV_VALIDATE
:
20857 case NB_EV_PREPARE
:
20860 /* TODO: implement me. */
20867 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
20868 struct nb_cb_destroy_args
*args
)
20870 switch (args
->event
) {
20871 case NB_EV_VALIDATE
:
20872 case NB_EV_PREPARE
:
20875 /* TODO: implement me. */
20884 * /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
20886 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
20887 struct nb_cb_modify_args
*args
)
20889 switch (args
->event
) {
20890 case NB_EV_VALIDATE
:
20891 case NB_EV_PREPARE
:
20895 return bgp_neighbor_afi_safi_flag_modify(
20896 args
, PEER_FLAG_AS_OVERRIDE
,
20897 yang_dnode_get_bool(args
->dnode
, NULL
));
20907 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/default-originate/originate
20909 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
20910 struct nb_cb_modify_args
*args
)
20912 switch (args
->event
) {
20913 case NB_EV_VALIDATE
:
20914 case NB_EV_PREPARE
:
20917 /* TODO: implement me. */
20926 * /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
20928 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
20929 struct nb_cb_modify_args
*args
)
20931 switch (args
->event
) {
20932 case NB_EV_VALIDATE
:
20933 case NB_EV_PREPARE
:
20936 /* TODO: implement me. */
20943 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
20944 struct nb_cb_destroy_args
*args
)
20946 switch (args
->event
) {
20947 case NB_EV_VALIDATE
:
20948 case NB_EV_PREPARE
:
20951 /* TODO: implement me. */
20960 * /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
20962 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
20963 struct nb_cb_modify_args
*args
)
20965 switch (args
->event
) {
20966 case NB_EV_VALIDATE
:
20967 case NB_EV_PREPARE
:
20971 return bgp_neighbor_afi_safi_flag_modify(
20972 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
20973 yang_dnode_get_bool(args
->dnode
, NULL
));
20983 * /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
20985 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
20986 struct nb_cb_modify_args
*args
)
20988 switch (args
->event
) {
20989 case NB_EV_VALIDATE
:
20990 case NB_EV_PREPARE
:
20994 return bgp_neighbor_afi_safi_flag_modify(
20995 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
20996 yang_dnode_get_bool(args
->dnode
, NULL
));
21006 * /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
21008 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
21009 struct nb_cb_modify_args
*args
)
21011 switch (args
->event
) {
21012 case NB_EV_VALIDATE
:
21013 case NB_EV_PREPARE
:
21017 return bgp_neighbor_afi_safi_flag_modify(
21018 args
, PEER_FLAG_MED_UNCHANGED
,
21019 yang_dnode_get_bool(args
->dnode
, NULL
));
21029 * /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
21031 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
21032 struct nb_cb_modify_args
*args
)
21034 switch (args
->event
) {
21035 case NB_EV_VALIDATE
:
21036 case NB_EV_PREPARE
:
21039 /* TODO: implement me. */
21046 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
21047 struct nb_cb_destroy_args
*args
)
21049 switch (args
->event
) {
21050 case NB_EV_VALIDATE
:
21051 case NB_EV_PREPARE
:
21054 /* TODO: implement me. */
21063 * /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
21065 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
21066 struct nb_cb_modify_args
*args
)
21068 switch (args
->event
) {
21069 case NB_EV_VALIDATE
:
21070 case NB_EV_PREPARE
:
21073 /* TODO: implement me. */
21080 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
21081 struct nb_cb_destroy_args
*args
)
21083 switch (args
->event
) {
21084 case NB_EV_VALIDATE
:
21085 case NB_EV_PREPARE
:
21088 /* TODO: implement me. */
21097 * /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
21099 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
21100 struct nb_cb_modify_args
*args
)
21102 switch (args
->event
) {
21103 case NB_EV_VALIDATE
:
21104 case NB_EV_PREPARE
:
21107 /* TODO: implement me. */
21114 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
21115 struct nb_cb_destroy_args
*args
)
21117 switch (args
->event
) {
21118 case NB_EV_VALIDATE
:
21119 case NB_EV_PREPARE
:
21122 /* TODO: implement me. */
21131 * /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
21133 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
21134 struct nb_cb_create_args
*args
)
21136 switch (args
->event
) {
21137 case NB_EV_VALIDATE
:
21138 case NB_EV_PREPARE
:
21141 /* TODO: implement me. */
21148 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
21149 struct nb_cb_destroy_args
*args
)
21151 switch (args
->event
) {
21152 case NB_EV_VALIDATE
:
21153 case NB_EV_PREPARE
:
21157 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
21165 * /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
21167 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
21168 struct nb_cb_modify_args
*args
)
21170 switch (args
->event
) {
21171 case NB_EV_VALIDATE
:
21172 case NB_EV_PREPARE
:
21175 /* TODO: implement me. */
21184 * /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
21186 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
21187 struct nb_cb_modify_args
*args
)
21189 switch (args
->event
) {
21190 case NB_EV_VALIDATE
:
21191 case NB_EV_PREPARE
:
21194 /* TODO: implement me. */
21203 * /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
21205 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
21206 struct nb_cb_modify_args
*args
)
21208 switch (args
->event
) {
21209 case NB_EV_VALIDATE
:
21210 case NB_EV_PREPARE
:
21213 /* TODO: implement me. */
21220 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
21221 struct nb_cb_destroy_args
*args
)
21223 switch (args
->event
) {
21224 case NB_EV_VALIDATE
:
21225 case NB_EV_PREPARE
:
21228 /* TODO: implement me. */
21237 * /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
21239 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
21240 struct nb_cb_modify_args
*args
)
21242 switch (args
->event
) {
21243 case NB_EV_VALIDATE
:
21244 case NB_EV_PREPARE
:
21247 /* TODO: implement me. */
21254 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
21255 struct nb_cb_destroy_args
*args
)
21257 switch (args
->event
) {
21258 case NB_EV_VALIDATE
:
21259 case NB_EV_PREPARE
:
21262 /* TODO: implement me. */
21271 * /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
21273 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
21274 struct nb_cb_modify_args
*args
)
21276 switch (args
->event
) {
21277 case NB_EV_VALIDATE
:
21278 case NB_EV_PREPARE
:
21281 /* TODO: implement me. */
21288 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
21289 struct nb_cb_destroy_args
*args
)
21291 switch (args
->event
) {
21292 case NB_EV_VALIDATE
:
21293 case NB_EV_PREPARE
:
21296 /* TODO: implement me. */
21305 * /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
21307 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
21308 struct nb_cb_modify_args
*args
)
21310 switch (args
->event
) {
21311 case NB_EV_VALIDATE
:
21312 case NB_EV_PREPARE
:
21315 /* TODO: implement me. */
21322 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
21323 struct nb_cb_destroy_args
*args
)
21325 switch (args
->event
) {
21326 case NB_EV_VALIDATE
:
21327 case NB_EV_PREPARE
:
21330 /* TODO: implement me. */
21339 * /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
21341 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
21342 struct nb_cb_modify_args
*args
)
21344 switch (args
->event
) {
21345 case NB_EV_VALIDATE
:
21346 case NB_EV_PREPARE
:
21349 /* TODO: implement me. */
21356 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
21357 struct nb_cb_destroy_args
*args
)
21359 switch (args
->event
) {
21360 case NB_EV_VALIDATE
:
21361 case NB_EV_PREPARE
:
21364 /* TODO: implement me. */
21373 * /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
21375 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
21376 struct nb_cb_modify_args
*args
)
21378 switch (args
->event
) {
21379 case NB_EV_VALIDATE
:
21380 case NB_EV_PREPARE
:
21383 /* TODO: implement me. */
21390 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
21391 struct nb_cb_destroy_args
*args
)
21393 switch (args
->event
) {
21394 case NB_EV_VALIDATE
:
21395 case NB_EV_PREPARE
:
21398 /* TODO: implement me. */
21407 * /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
21409 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
21410 struct nb_cb_modify_args
*args
)
21412 switch (args
->event
) {
21413 case NB_EV_VALIDATE
:
21414 case NB_EV_PREPARE
:
21417 /* TODO: implement me. */
21424 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
21425 struct nb_cb_destroy_args
*args
)
21427 switch (args
->event
) {
21428 case NB_EV_VALIDATE
:
21429 case NB_EV_PREPARE
:
21432 /* TODO: implement me. */
21441 * /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
21443 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
21444 struct nb_cb_modify_args
*args
)
21446 switch (args
->event
) {
21447 case NB_EV_VALIDATE
:
21448 case NB_EV_PREPARE
:
21452 return bgp_neighbor_afi_safi_flag_modify(
21453 args
, PEER_FLAG_NEXTHOP_SELF
,
21454 yang_dnode_get_bool(args
->dnode
, NULL
));
21464 * /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
21466 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
21467 struct nb_cb_modify_args
*args
)
21469 switch (args
->event
) {
21470 case NB_EV_VALIDATE
:
21471 case NB_EV_PREPARE
:
21475 return bgp_neighbor_afi_safi_flag_modify(
21476 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
21477 yang_dnode_get_bool(args
->dnode
, NULL
));
21487 * /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
21489 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
21490 struct nb_cb_modify_args
*args
)
21492 switch (args
->event
) {
21493 case NB_EV_VALIDATE
:
21494 case NB_EV_PREPARE
:
21498 return bgp_neighbor_afi_safi_flag_modify(
21499 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
21500 yang_dnode_get_bool(args
->dnode
, NULL
));
21510 * /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
21512 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
21513 struct nb_cb_modify_args
*args
)
21515 switch (args
->event
) {
21516 case NB_EV_VALIDATE
:
21517 case NB_EV_PREPARE
:
21521 return bgp_neighbor_afi_safi_flag_modify(
21522 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
21523 yang_dnode_get_bool(args
->dnode
, NULL
));
21533 * /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
21535 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
21536 struct nb_cb_modify_args
*args
)
21538 switch (args
->event
) {
21539 case NB_EV_VALIDATE
:
21540 case NB_EV_PREPARE
:
21544 return bgp_neighbor_afi_safi_flag_modify(
21545 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
21546 yang_dnode_get_bool(args
->dnode
, NULL
));
21556 * /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
21558 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
21559 struct nb_cb_modify_args
*args
)
21561 switch (args
->event
) {
21562 case NB_EV_VALIDATE
:
21563 case NB_EV_PREPARE
:
21567 return bgp_neighbor_afi_safi_flag_modify(
21568 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
21569 yang_dnode_get_bool(args
->dnode
, NULL
));
21579 * /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
21581 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
21582 struct nb_cb_modify_args
*args
)
21584 switch (args
->event
) {
21585 case NB_EV_VALIDATE
:
21586 case NB_EV_PREPARE
:
21590 return bgp_neighbor_afi_safi_flag_modify(
21591 args
, PEER_FLAG_REFLECTOR_CLIENT
,
21592 yang_dnode_get_bool(args
->dnode
, NULL
));
21602 * /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
21604 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
21605 struct nb_cb_modify_args
*args
)
21607 switch (args
->event
) {
21608 case NB_EV_VALIDATE
:
21609 case NB_EV_PREPARE
:
21613 return bgp_neighbor_afi_safi_flag_modify(
21614 args
, PEER_FLAG_RSERVER_CLIENT
,
21615 yang_dnode_get_bool(args
->dnode
, NULL
));
21625 * /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
21627 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
21628 struct nb_cb_modify_args
*args
)
21630 switch (args
->event
) {
21631 case NB_EV_VALIDATE
:
21632 case NB_EV_PREPARE
:
21636 return bgp_neighbor_afi_safi_flag_modify(
21637 args
, PEER_FLAG_SEND_COMMUNITY
,
21638 yang_dnode_get_bool(args
->dnode
, NULL
));
21648 * /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
21650 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
21651 struct nb_cb_modify_args
*args
)
21653 switch (args
->event
) {
21654 case NB_EV_VALIDATE
:
21655 case NB_EV_PREPARE
:
21659 return bgp_neighbor_afi_safi_flag_modify(
21660 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
21661 yang_dnode_get_bool(args
->dnode
, NULL
));
21671 * /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
21673 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
21674 struct nb_cb_modify_args
*args
)
21676 switch (args
->event
) {
21677 case NB_EV_VALIDATE
:
21678 case NB_EV_PREPARE
:
21682 return bgp_neighbor_afi_safi_flag_modify(
21683 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
21684 yang_dnode_get_bool(args
->dnode
, NULL
));
21694 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/soft-reconfiguration
21696 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
21697 struct nb_cb_modify_args
*args
)
21699 switch (args
->event
) {
21700 case NB_EV_VALIDATE
:
21701 case NB_EV_PREPARE
:
21705 return bgp_neighbor_afi_safi_flag_modify(
21706 args
, PEER_FLAG_SOFT_RECONFIG
,
21707 yang_dnode_get_bool(args
->dnode
, NULL
));
21717 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/weight/weight-attribute
21719 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
21720 struct nb_cb_modify_args
*args
)
21722 switch (args
->event
) {
21723 case NB_EV_VALIDATE
:
21724 case NB_EV_PREPARE
:
21728 return bgp_neighbor_afi_safi_weight_modify(args
);
21736 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
21737 struct nb_cb_destroy_args
*args
)
21739 switch (args
->event
) {
21740 case NB_EV_VALIDATE
:
21741 case NB_EV_PREPARE
:
21745 return bgp_neighbor_afi_safi_weight_destroy(args
);
21755 * /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
21757 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_modify(
21758 struct nb_cb_modify_args
*args
)
21760 switch (args
->event
) {
21761 case NB_EV_VALIDATE
:
21762 case NB_EV_PREPARE
:
21766 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
21772 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_destroy(
21773 struct nb_cb_destroy_args
*args
)
21775 switch (args
->event
) {
21776 case NB_EV_VALIDATE
:
21777 case NB_EV_PREPARE
:
21781 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
21789 * /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
21791 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_modify(
21792 struct nb_cb_modify_args
*args
)
21794 switch (args
->event
) {
21795 case NB_EV_VALIDATE
:
21796 case NB_EV_PREPARE
:
21800 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
21806 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_destroy(
21807 struct nb_cb_destroy_args
*args
)
21809 switch (args
->event
) {
21810 case NB_EV_VALIDATE
:
21811 case NB_EV_PREPARE
:
21815 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
21823 * /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
21825 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_modify(
21826 struct nb_cb_modify_args
*args
)
21828 switch (args
->event
) {
21829 case NB_EV_VALIDATE
:
21830 case NB_EV_PREPARE
:
21833 /* TODO: implement me. */
21840 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_destroy(
21841 struct nb_cb_destroy_args
*args
)
21843 switch (args
->event
) {
21844 case NB_EV_VALIDATE
:
21845 case NB_EV_PREPARE
:
21848 /* TODO: implement me. */
21857 * /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
21859 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_modify(
21860 struct nb_cb_modify_args
*args
)
21862 switch (args
->event
) {
21863 case NB_EV_VALIDATE
:
21864 case NB_EV_PREPARE
:
21868 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
21874 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_destroy(
21875 struct nb_cb_destroy_args
*args
)
21877 switch (args
->event
) {
21878 case NB_EV_VALIDATE
:
21879 case NB_EV_PREPARE
:
21883 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
21891 * /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
21893 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_modify(
21894 struct nb_cb_modify_args
*args
)
21896 switch (args
->event
) {
21897 case NB_EV_VALIDATE
:
21898 case NB_EV_PREPARE
:
21901 /* TODO: implement me. */
21908 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_destroy(
21909 struct nb_cb_destroy_args
*args
)
21911 switch (args
->event
) {
21912 case NB_EV_VALIDATE
:
21913 case NB_EV_PREPARE
:
21916 /* TODO: implement me. */
21925 * /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
21927 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_modify(
21928 struct nb_cb_modify_args
*args
)
21930 switch (args
->event
) {
21931 case NB_EV_VALIDATE
:
21932 case NB_EV_PREPARE
:
21935 /* TODO: implement me. */
21942 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_destroy(
21943 struct nb_cb_destroy_args
*args
)
21945 switch (args
->event
) {
21946 case NB_EV_VALIDATE
:
21947 case NB_EV_PREPARE
:
21950 /* TODO: implement me. */
21959 * /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
21961 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_modify(
21962 struct nb_cb_modify_args
*args
)
21964 switch (args
->event
) {
21965 case NB_EV_VALIDATE
:
21966 case NB_EV_PREPARE
:
21969 /* TODO: implement me. */
21976 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
21977 struct nb_cb_destroy_args
*args
)
21979 switch (args
->event
) {
21980 case NB_EV_VALIDATE
:
21981 case NB_EV_PREPARE
:
21984 /* TODO: implement me. */
21993 * /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
21995 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_modify(
21996 struct nb_cb_modify_args
*args
)
21998 switch (args
->event
) {
21999 case NB_EV_VALIDATE
:
22000 case NB_EV_PREPARE
:
22003 /* TODO: implement me. */
22010 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
22011 struct nb_cb_destroy_args
*args
)
22013 switch (args
->event
) {
22014 case NB_EV_VALIDATE
:
22015 case NB_EV_PREPARE
:
22018 /* TODO: implement me. */
22027 * /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
22029 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_modify(
22030 struct nb_cb_modify_args
*args
)
22032 switch (args
->event
) {
22033 case NB_EV_VALIDATE
:
22034 case NB_EV_PREPARE
:
22037 /* TODO: implement me. */
22044 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_destroy(
22045 struct nb_cb_destroy_args
*args
)
22047 switch (args
->event
) {
22048 case NB_EV_VALIDATE
:
22049 case NB_EV_PREPARE
:
22052 /* TODO: implement me. */
22061 * /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
22063 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_modify(
22064 struct nb_cb_modify_args
*args
)
22066 switch (args
->event
) {
22067 case NB_EV_VALIDATE
:
22068 case NB_EV_PREPARE
:
22071 /* TODO: implement me. */
22078 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_destroy(
22079 struct nb_cb_destroy_args
*args
)
22081 switch (args
->event
) {
22082 case NB_EV_VALIDATE
:
22083 case NB_EV_PREPARE
:
22086 /* TODO: implement me. */
22095 * /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
22097 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
22098 struct nb_cb_modify_args
*args
)
22100 switch (args
->event
) {
22101 case NB_EV_VALIDATE
:
22102 case NB_EV_PREPARE
:
22105 /* TODO: implement me. */
22114 * /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
22116 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
22117 struct nb_cb_modify_args
*args
)
22119 switch (args
->event
) {
22120 case NB_EV_VALIDATE
:
22121 case NB_EV_PREPARE
:
22124 /* TODO: implement me. */
22131 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
22132 struct nb_cb_destroy_args
*args
)
22134 switch (args
->event
) {
22135 case NB_EV_VALIDATE
:
22136 case NB_EV_PREPARE
:
22139 /* TODO: implement me. */
22148 * /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
22150 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
22151 struct nb_cb_modify_args
*args
)
22153 switch (args
->event
) {
22154 case NB_EV_VALIDATE
:
22155 case NB_EV_PREPARE
:
22158 /* TODO: implement me. */
22165 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
22166 struct nb_cb_destroy_args
*args
)
22168 switch (args
->event
) {
22169 case NB_EV_VALIDATE
:
22170 case NB_EV_PREPARE
:
22173 /* TODO: implement me. */
22182 * /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
22184 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
22185 struct nb_cb_modify_args
*args
)
22187 switch (args
->event
) {
22188 case NB_EV_VALIDATE
:
22189 case NB_EV_PREPARE
:
22193 return bgp_neighbor_afi_safi_flag_modify(
22194 args
, PEER_FLAG_AS_OVERRIDE
,
22195 yang_dnode_get_bool(args
->dnode
, NULL
));
22205 * /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
22207 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
22208 struct nb_cb_modify_args
*args
)
22210 switch (args
->event
) {
22211 case NB_EV_VALIDATE
:
22212 case NB_EV_PREPARE
:
22216 return bgp_neighbor_afi_safi_flag_modify(
22217 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
22218 yang_dnode_get_bool(args
->dnode
, NULL
));
22228 * /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
22230 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
22231 struct nb_cb_modify_args
*args
)
22233 switch (args
->event
) {
22234 case NB_EV_VALIDATE
:
22235 case NB_EV_PREPARE
:
22239 return bgp_neighbor_afi_safi_flag_modify(
22240 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
22241 yang_dnode_get_bool(args
->dnode
, NULL
));
22251 * /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
22253 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
22254 struct nb_cb_modify_args
*args
)
22256 switch (args
->event
) {
22257 case NB_EV_VALIDATE
:
22258 case NB_EV_PREPARE
:
22262 return bgp_neighbor_afi_safi_flag_modify(
22263 args
, PEER_FLAG_MED_UNCHANGED
,
22264 yang_dnode_get_bool(args
->dnode
, NULL
));
22274 * /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
22276 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
22277 struct nb_cb_create_args
*args
)
22279 switch (args
->event
) {
22280 case NB_EV_VALIDATE
:
22281 case NB_EV_PREPARE
:
22284 /* TODO: implement me. */
22291 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
22292 struct nb_cb_destroy_args
*args
)
22294 switch (args
->event
) {
22295 case NB_EV_VALIDATE
:
22296 case NB_EV_PREPARE
:
22300 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
22308 * /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
22310 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
22311 struct nb_cb_modify_args
*args
)
22313 switch (args
->event
) {
22314 case NB_EV_VALIDATE
:
22315 case NB_EV_PREPARE
:
22318 /* TODO: implement me. */
22327 * /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
22329 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
22330 struct nb_cb_modify_args
*args
)
22332 switch (args
->event
) {
22333 case NB_EV_VALIDATE
:
22334 case NB_EV_PREPARE
:
22337 /* TODO: implement me. */
22346 * /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
22348 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
22349 struct nb_cb_modify_args
*args
)
22351 switch (args
->event
) {
22352 case NB_EV_VALIDATE
:
22353 case NB_EV_PREPARE
:
22356 /* TODO: implement me. */
22363 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
22364 struct nb_cb_destroy_args
*args
)
22366 switch (args
->event
) {
22367 case NB_EV_VALIDATE
:
22368 case NB_EV_PREPARE
:
22371 /* TODO: implement me. */
22380 * /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
22382 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
22383 struct nb_cb_modify_args
*args
)
22385 switch (args
->event
) {
22386 case NB_EV_VALIDATE
:
22387 case NB_EV_PREPARE
:
22390 /* TODO: implement me. */
22397 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
22398 struct nb_cb_destroy_args
*args
)
22400 switch (args
->event
) {
22401 case NB_EV_VALIDATE
:
22402 case NB_EV_PREPARE
:
22405 /* TODO: implement me. */
22414 * /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
22416 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
22417 struct nb_cb_modify_args
*args
)
22419 switch (args
->event
) {
22420 case NB_EV_VALIDATE
:
22421 case NB_EV_PREPARE
:
22424 /* TODO: implement me. */
22431 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
22432 struct nb_cb_destroy_args
*args
)
22434 switch (args
->event
) {
22435 case NB_EV_VALIDATE
:
22436 case NB_EV_PREPARE
:
22439 /* TODO: implement me. */
22448 * /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
22450 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
22451 struct nb_cb_modify_args
*args
)
22453 switch (args
->event
) {
22454 case NB_EV_VALIDATE
:
22455 case NB_EV_PREPARE
:
22458 /* TODO: implement me. */
22465 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
22466 struct nb_cb_destroy_args
*args
)
22468 switch (args
->event
) {
22469 case NB_EV_VALIDATE
:
22470 case NB_EV_PREPARE
:
22473 /* TODO: implement me. */
22482 * /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
22484 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
22485 struct nb_cb_modify_args
*args
)
22487 switch (args
->event
) {
22488 case NB_EV_VALIDATE
:
22489 case NB_EV_PREPARE
:
22492 /* TODO: implement me. */
22499 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
22500 struct nb_cb_destroy_args
*args
)
22502 switch (args
->event
) {
22503 case NB_EV_VALIDATE
:
22504 case NB_EV_PREPARE
:
22507 /* TODO: implement me. */
22516 * /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
22518 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
22519 struct nb_cb_modify_args
*args
)
22521 switch (args
->event
) {
22522 case NB_EV_VALIDATE
:
22523 case NB_EV_PREPARE
:
22526 /* TODO: implement me. */
22533 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
22534 struct nb_cb_destroy_args
*args
)
22536 switch (args
->event
) {
22537 case NB_EV_VALIDATE
:
22538 case NB_EV_PREPARE
:
22541 /* TODO: implement me. */
22550 * /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
22552 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
22553 struct nb_cb_modify_args
*args
)
22555 switch (args
->event
) {
22556 case NB_EV_VALIDATE
:
22557 case NB_EV_PREPARE
:
22560 /* TODO: implement me. */
22567 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
22568 struct nb_cb_destroy_args
*args
)
22570 switch (args
->event
) {
22571 case NB_EV_VALIDATE
:
22572 case NB_EV_PREPARE
:
22575 /* TODO: implement me. */
22584 * /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
22586 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
22587 struct nb_cb_modify_args
*args
)
22589 switch (args
->event
) {
22590 case NB_EV_VALIDATE
:
22591 case NB_EV_PREPARE
:
22595 return bgp_neighbor_afi_safi_flag_modify(
22596 args
, PEER_FLAG_NEXTHOP_SELF
,
22597 yang_dnode_get_bool(args
->dnode
, NULL
));
22607 * /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
22609 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
22610 struct nb_cb_modify_args
*args
)
22612 switch (args
->event
) {
22613 case NB_EV_VALIDATE
:
22614 case NB_EV_PREPARE
:
22618 return bgp_neighbor_afi_safi_flag_modify(
22619 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
22620 yang_dnode_get_bool(args
->dnode
, NULL
));
22630 * /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
22632 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
22633 struct nb_cb_modify_args
*args
)
22635 switch (args
->event
) {
22636 case NB_EV_VALIDATE
:
22637 case NB_EV_PREPARE
:
22641 return bgp_neighbor_afi_safi_flag_modify(
22642 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
22643 yang_dnode_get_bool(args
->dnode
, NULL
));
22653 * /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
22655 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
22656 struct nb_cb_modify_args
*args
)
22658 switch (args
->event
) {
22659 case NB_EV_VALIDATE
:
22660 case NB_EV_PREPARE
:
22664 return bgp_neighbor_afi_safi_flag_modify(
22665 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
22666 yang_dnode_get_bool(args
->dnode
, NULL
));
22676 * /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
22678 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
22679 struct nb_cb_modify_args
*args
)
22681 switch (args
->event
) {
22682 case NB_EV_VALIDATE
:
22683 case NB_EV_PREPARE
:
22687 return bgp_neighbor_afi_safi_flag_modify(
22688 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
22689 yang_dnode_get_bool(args
->dnode
, NULL
));
22699 * /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
22701 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
22702 struct nb_cb_modify_args
*args
)
22704 switch (args
->event
) {
22705 case NB_EV_VALIDATE
:
22706 case NB_EV_PREPARE
:
22710 return bgp_neighbor_afi_safi_flag_modify(
22711 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
22712 yang_dnode_get_bool(args
->dnode
, NULL
));
22722 * /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
22724 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
22725 struct nb_cb_modify_args
*args
)
22727 switch (args
->event
) {
22728 case NB_EV_VALIDATE
:
22729 case NB_EV_PREPARE
:
22733 return bgp_neighbor_afi_safi_flag_modify(
22734 args
, PEER_FLAG_REFLECTOR_CLIENT
,
22735 yang_dnode_get_bool(args
->dnode
, NULL
));
22745 * /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
22747 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
22748 struct nb_cb_modify_args
*args
)
22750 switch (args
->event
) {
22751 case NB_EV_VALIDATE
:
22752 case NB_EV_PREPARE
:
22756 return bgp_neighbor_afi_safi_flag_modify(
22757 args
, PEER_FLAG_RSERVER_CLIENT
,
22758 yang_dnode_get_bool(args
->dnode
, NULL
));
22768 * /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
22770 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
22771 struct nb_cb_modify_args
*args
)
22773 switch (args
->event
) {
22774 case NB_EV_VALIDATE
:
22775 case NB_EV_PREPARE
:
22779 return bgp_neighbor_afi_safi_flag_modify(
22780 args
, PEER_FLAG_SEND_COMMUNITY
,
22781 yang_dnode_get_bool(args
->dnode
, NULL
));
22791 * /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
22793 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
22794 struct nb_cb_modify_args
*args
)
22796 switch (args
->event
) {
22797 case NB_EV_VALIDATE
:
22798 case NB_EV_PREPARE
:
22802 return bgp_neighbor_afi_safi_flag_modify(
22803 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
22804 yang_dnode_get_bool(args
->dnode
, NULL
));
22814 * /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
22816 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
22817 struct nb_cb_modify_args
*args
)
22819 switch (args
->event
) {
22820 case NB_EV_VALIDATE
:
22821 case NB_EV_PREPARE
:
22825 return bgp_neighbor_afi_safi_flag_modify(
22826 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
22827 yang_dnode_get_bool(args
->dnode
, NULL
));
22837 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/soft-reconfiguration
22839 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
22840 struct nb_cb_modify_args
*args
)
22842 switch (args
->event
) {
22843 case NB_EV_VALIDATE
:
22844 case NB_EV_PREPARE
:
22848 return bgp_neighbor_afi_safi_flag_modify(
22849 args
, PEER_FLAG_SOFT_RECONFIG
,
22850 yang_dnode_get_bool(args
->dnode
, NULL
));
22860 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/weight/weight-attribute
22862 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
22863 struct nb_cb_modify_args
*args
)
22865 switch (args
->event
) {
22866 case NB_EV_VALIDATE
:
22867 case NB_EV_PREPARE
:
22871 return bgp_neighbor_afi_safi_weight_modify(args
);
22879 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
22880 struct nb_cb_destroy_args
*args
)
22882 switch (args
->event
) {
22883 case NB_EV_VALIDATE
:
22884 case NB_EV_PREPARE
:
22888 return bgp_neighbor_afi_safi_weight_destroy(args
);
22898 * /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
22900 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_modify(
22901 struct nb_cb_modify_args
*args
)
22903 switch (args
->event
) {
22904 case NB_EV_VALIDATE
:
22905 case NB_EV_PREPARE
:
22909 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
22915 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_destroy(
22916 struct nb_cb_destroy_args
*args
)
22918 switch (args
->event
) {
22919 case NB_EV_VALIDATE
:
22920 case NB_EV_PREPARE
:
22924 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
22932 * /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
22934 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_modify(
22935 struct nb_cb_modify_args
*args
)
22937 switch (args
->event
) {
22938 case NB_EV_VALIDATE
:
22939 case NB_EV_PREPARE
:
22943 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
22949 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_destroy(
22950 struct nb_cb_destroy_args
*args
)
22952 switch (args
->event
) {
22953 case NB_EV_VALIDATE
:
22954 case NB_EV_PREPARE
:
22958 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
22966 * /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
22968 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_modify(
22969 struct nb_cb_modify_args
*args
)
22971 switch (args
->event
) {
22972 case NB_EV_VALIDATE
:
22973 case NB_EV_PREPARE
:
22977 bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
22984 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_destroy(
22985 struct nb_cb_destroy_args
*args
)
22987 switch (args
->event
) {
22988 case NB_EV_VALIDATE
:
22989 case NB_EV_PREPARE
:
22993 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
23001 * /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
23003 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_modify(
23004 struct nb_cb_modify_args
*args
)
23006 switch (args
->event
) {
23007 case NB_EV_VALIDATE
:
23008 case NB_EV_PREPARE
:
23012 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
23018 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_destroy(
23019 struct nb_cb_destroy_args
*args
)
23021 switch (args
->event
) {
23022 case NB_EV_VALIDATE
:
23023 case NB_EV_PREPARE
:
23027 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
23035 * /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
23037 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_modify(
23038 struct nb_cb_modify_args
*args
)
23040 switch (args
->event
) {
23041 case NB_EV_VALIDATE
:
23042 case NB_EV_PREPARE
:
23045 /* TODO: implement me. */
23052 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_destroy(
23053 struct nb_cb_destroy_args
*args
)
23055 switch (args
->event
) {
23056 case NB_EV_VALIDATE
:
23057 case NB_EV_PREPARE
:
23060 /* TODO: implement me. */
23069 * /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
23071 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_modify(
23072 struct nb_cb_modify_args
*args
)
23074 switch (args
->event
) {
23075 case NB_EV_VALIDATE
:
23076 case NB_EV_PREPARE
:
23079 /* TODO: implement me. */
23086 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_destroy(
23087 struct nb_cb_destroy_args
*args
)
23089 switch (args
->event
) {
23090 case NB_EV_VALIDATE
:
23091 case NB_EV_PREPARE
:
23094 /* TODO: implement me. */
23103 * /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
23105 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
23106 struct nb_cb_modify_args
*args
)
23108 switch (args
->event
) {
23109 case NB_EV_VALIDATE
:
23110 case NB_EV_PREPARE
:
23113 /* TODO: implement me. */
23120 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
23121 struct nb_cb_destroy_args
*args
)
23123 switch (args
->event
) {
23124 case NB_EV_VALIDATE
:
23125 case NB_EV_PREPARE
:
23128 /* TODO: implement me. */
23137 * /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
23139 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
23140 struct nb_cb_modify_args
*args
)
23142 switch (args
->event
) {
23143 case NB_EV_VALIDATE
:
23144 case NB_EV_PREPARE
:
23147 /* TODO: implement me. */
23154 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
23155 struct nb_cb_destroy_args
*args
)
23157 switch (args
->event
) {
23158 case NB_EV_VALIDATE
:
23159 case NB_EV_PREPARE
:
23162 /* TODO: implement me. */
23171 * /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
23173 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_modify(
23174 struct nb_cb_modify_args
*args
)
23176 switch (args
->event
) {
23177 case NB_EV_VALIDATE
:
23178 case NB_EV_PREPARE
:
23181 /* TODO: implement me. */
23188 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
23189 struct nb_cb_destroy_args
*args
)
23191 switch (args
->event
) {
23192 case NB_EV_VALIDATE
:
23193 case NB_EV_PREPARE
:
23196 /* TODO: implement me. */
23205 * /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
23207 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_modify(
23208 struct nb_cb_modify_args
*args
)
23210 switch (args
->event
) {
23211 case NB_EV_VALIDATE
:
23212 case NB_EV_PREPARE
:
23215 /* TODO: implement me. */
23222 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
23223 struct nb_cb_destroy_args
*args
)
23225 switch (args
->event
) {
23226 case NB_EV_VALIDATE
:
23227 case NB_EV_PREPARE
:
23230 /* TODO: implement me. */
23239 * /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
23241 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
23242 struct nb_cb_modify_args
*args
)
23244 switch (args
->event
) {
23245 case NB_EV_VALIDATE
:
23246 case NB_EV_PREPARE
:
23249 /* TODO: implement me. */
23258 * /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
23260 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
23261 struct nb_cb_modify_args
*args
)
23263 switch (args
->event
) {
23264 case NB_EV_VALIDATE
:
23265 case NB_EV_PREPARE
:
23268 /* TODO: implement me. */
23275 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
23276 struct nb_cb_destroy_args
*args
)
23278 switch (args
->event
) {
23279 case NB_EV_VALIDATE
:
23280 case NB_EV_PREPARE
:
23283 /* TODO: implement me. */
23292 * /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
23294 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
23295 struct nb_cb_modify_args
*args
)
23297 switch (args
->event
) {
23298 case NB_EV_VALIDATE
:
23299 case NB_EV_PREPARE
:
23302 /* TODO: implement me. */
23309 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
23310 struct nb_cb_destroy_args
*args
)
23312 switch (args
->event
) {
23313 case NB_EV_VALIDATE
:
23314 case NB_EV_PREPARE
:
23317 /* TODO: implement me. */
23326 * /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
23328 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
23329 struct nb_cb_modify_args
*args
)
23331 switch (args
->event
) {
23332 case NB_EV_VALIDATE
:
23333 case NB_EV_PREPARE
:
23337 return bgp_neighbor_afi_safi_flag_modify(
23338 args
, PEER_FLAG_AS_OVERRIDE
,
23339 yang_dnode_get_bool(args
->dnode
, NULL
));
23349 * /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
23351 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
23352 struct nb_cb_modify_args
*args
)
23354 switch (args
->event
) {
23355 case NB_EV_VALIDATE
:
23356 case NB_EV_PREPARE
:
23360 return bgp_neighbor_afi_safi_flag_modify(
23361 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
23362 yang_dnode_get_bool(args
->dnode
, NULL
));
23372 * /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
23374 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
23375 struct nb_cb_modify_args
*args
)
23377 switch (args
->event
) {
23378 case NB_EV_VALIDATE
:
23379 case NB_EV_PREPARE
:
23383 return bgp_neighbor_afi_safi_flag_modify(
23384 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
23385 yang_dnode_get_bool(args
->dnode
, NULL
));
23395 * /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
23397 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
23398 struct nb_cb_modify_args
*args
)
23400 switch (args
->event
) {
23401 case NB_EV_VALIDATE
:
23402 case NB_EV_PREPARE
:
23406 return bgp_neighbor_afi_safi_flag_modify(
23407 args
, PEER_FLAG_MED_UNCHANGED
,
23408 yang_dnode_get_bool(args
->dnode
, NULL
));
23418 * /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
23420 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
23421 struct nb_cb_create_args
*args
)
23423 switch (args
->event
) {
23424 case NB_EV_VALIDATE
:
23425 case NB_EV_PREPARE
:
23428 /* TODO: implement me. */
23435 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
23436 struct nb_cb_destroy_args
*args
)
23438 switch (args
->event
) {
23439 case NB_EV_VALIDATE
:
23440 case NB_EV_PREPARE
:
23444 return bgp_neighbor_afi_safi_prefix_limit_list_destroy(args
);
23452 * /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
23454 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
23455 struct nb_cb_modify_args
*args
)
23457 switch (args
->event
) {
23458 case NB_EV_VALIDATE
:
23459 case NB_EV_PREPARE
:
23462 /* TODO: implement me. */
23471 * /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
23473 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
23474 struct nb_cb_modify_args
*args
)
23476 switch (args
->event
) {
23477 case NB_EV_VALIDATE
:
23478 case NB_EV_PREPARE
:
23481 /* TODO: implement me. */
23490 * /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
23492 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
23493 struct nb_cb_modify_args
*args
)
23495 switch (args
->event
) {
23496 case NB_EV_VALIDATE
:
23497 case NB_EV_PREPARE
:
23500 /* TODO: implement me. */
23507 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
23508 struct nb_cb_destroy_args
*args
)
23510 switch (args
->event
) {
23511 case NB_EV_VALIDATE
:
23512 case NB_EV_PREPARE
:
23515 /* TODO: implement me. */
23524 * /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
23526 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
23527 struct nb_cb_modify_args
*args
)
23529 switch (args
->event
) {
23530 case NB_EV_VALIDATE
:
23531 case NB_EV_PREPARE
:
23534 /* TODO: implement me. */
23541 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
23542 struct nb_cb_destroy_args
*args
)
23544 switch (args
->event
) {
23545 case NB_EV_VALIDATE
:
23546 case NB_EV_PREPARE
:
23549 /* TODO: implement me. */
23558 * /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
23560 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
23561 struct nb_cb_modify_args
*args
)
23563 switch (args
->event
) {
23564 case NB_EV_VALIDATE
:
23565 case NB_EV_PREPARE
:
23568 /* TODO: implement me. */
23575 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
23576 struct nb_cb_destroy_args
*args
)
23578 switch (args
->event
) {
23579 case NB_EV_VALIDATE
:
23580 case NB_EV_PREPARE
:
23583 /* TODO: implement me. */
23592 * /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
23594 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
23595 struct nb_cb_modify_args
*args
)
23597 switch (args
->event
) {
23598 case NB_EV_VALIDATE
:
23599 case NB_EV_PREPARE
:
23602 /* TODO: implement me. */
23609 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
23610 struct nb_cb_destroy_args
*args
)
23612 switch (args
->event
) {
23613 case NB_EV_VALIDATE
:
23614 case NB_EV_PREPARE
:
23617 /* TODO: implement me. */
23626 * /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
23628 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
23629 struct nb_cb_modify_args
*args
)
23631 switch (args
->event
) {
23632 case NB_EV_VALIDATE
:
23633 case NB_EV_PREPARE
:
23636 /* TODO: implement me. */
23643 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
23644 struct nb_cb_destroy_args
*args
)
23646 switch (args
->event
) {
23647 case NB_EV_VALIDATE
:
23648 case NB_EV_PREPARE
:
23651 /* TODO: implement me. */
23660 * /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
23662 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
23663 struct nb_cb_modify_args
*args
)
23665 switch (args
->event
) {
23666 case NB_EV_VALIDATE
:
23667 case NB_EV_PREPARE
:
23670 /* TODO: implement me. */
23677 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
23678 struct nb_cb_destroy_args
*args
)
23680 switch (args
->event
) {
23681 case NB_EV_VALIDATE
:
23682 case NB_EV_PREPARE
:
23685 /* TODO: implement me. */
23694 * /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
23696 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
23697 struct nb_cb_modify_args
*args
)
23699 switch (args
->event
) {
23700 case NB_EV_VALIDATE
:
23701 case NB_EV_PREPARE
:
23704 /* TODO: implement me. */
23711 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
23712 struct nb_cb_destroy_args
*args
)
23714 switch (args
->event
) {
23715 case NB_EV_VALIDATE
:
23716 case NB_EV_PREPARE
:
23719 /* TODO: implement me. */
23728 * /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
23730 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
23731 struct nb_cb_modify_args
*args
)
23733 switch (args
->event
) {
23734 case NB_EV_VALIDATE
:
23735 case NB_EV_PREPARE
:
23739 return bgp_neighbor_afi_safi_flag_modify(
23740 args
, PEER_FLAG_NEXTHOP_SELF
,
23741 yang_dnode_get_bool(args
->dnode
, NULL
));
23751 * /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
23753 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
23754 struct nb_cb_modify_args
*args
)
23756 switch (args
->event
) {
23757 case NB_EV_VALIDATE
:
23758 case NB_EV_PREPARE
:
23762 return bgp_neighbor_afi_safi_flag_modify(
23763 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
23764 yang_dnode_get_bool(args
->dnode
, NULL
));
23774 * /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
23776 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
23777 struct nb_cb_modify_args
*args
)
23779 switch (args
->event
) {
23780 case NB_EV_VALIDATE
:
23781 case NB_EV_PREPARE
:
23785 return bgp_neighbor_afi_safi_flag_modify(
23786 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
23787 yang_dnode_get_bool(args
->dnode
, NULL
));
23797 * /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
23799 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
23800 struct nb_cb_modify_args
*args
)
23802 switch (args
->event
) {
23803 case NB_EV_VALIDATE
:
23804 case NB_EV_PREPARE
:
23808 return bgp_neighbor_afi_safi_flag_modify(
23809 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
23810 yang_dnode_get_bool(args
->dnode
, NULL
));
23820 * /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
23822 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
23823 struct nb_cb_modify_args
*args
)
23825 switch (args
->event
) {
23826 case NB_EV_VALIDATE
:
23827 case NB_EV_PREPARE
:
23831 return bgp_neighbor_afi_safi_flag_modify(
23832 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
23833 yang_dnode_get_bool(args
->dnode
, NULL
));
23843 * /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
23845 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
23846 struct nb_cb_modify_args
*args
)
23848 switch (args
->event
) {
23849 case NB_EV_VALIDATE
:
23850 case NB_EV_PREPARE
:
23854 return bgp_neighbor_afi_safi_flag_modify(
23855 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
23856 yang_dnode_get_bool(args
->dnode
, NULL
));
23866 * /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
23868 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
23869 struct nb_cb_modify_args
*args
)
23871 switch (args
->event
) {
23872 case NB_EV_VALIDATE
:
23873 case NB_EV_PREPARE
:
23877 return bgp_neighbor_afi_safi_flag_modify(
23878 args
, PEER_FLAG_REFLECTOR_CLIENT
,
23879 yang_dnode_get_bool(args
->dnode
, NULL
));
23889 * /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
23891 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
23892 struct nb_cb_modify_args
*args
)
23894 switch (args
->event
) {
23895 case NB_EV_VALIDATE
:
23896 case NB_EV_PREPARE
:
23900 return bgp_neighbor_afi_safi_flag_modify(
23901 args
, PEER_FLAG_RSERVER_CLIENT
,
23902 yang_dnode_get_bool(args
->dnode
, NULL
));
23912 * /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
23914 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
23915 struct nb_cb_modify_args
*args
)
23917 switch (args
->event
) {
23918 case NB_EV_VALIDATE
:
23919 case NB_EV_PREPARE
:
23923 return bgp_neighbor_afi_safi_flag_modify(
23924 args
, PEER_FLAG_SEND_COMMUNITY
,
23925 yang_dnode_get_bool(args
->dnode
, NULL
));
23935 * /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
23937 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
23938 struct nb_cb_modify_args
*args
)
23940 switch (args
->event
) {
23941 case NB_EV_VALIDATE
:
23942 case NB_EV_PREPARE
:
23946 return bgp_neighbor_afi_safi_flag_modify(
23947 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
23948 yang_dnode_get_bool(args
->dnode
, NULL
));
23958 * /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
23960 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
23961 struct nb_cb_modify_args
*args
)
23963 switch (args
->event
) {
23964 case NB_EV_VALIDATE
:
23965 case NB_EV_PREPARE
:
23969 return bgp_neighbor_afi_safi_flag_modify(
23970 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
23971 yang_dnode_get_bool(args
->dnode
, NULL
));
23981 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/soft-reconfiguration
23983 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
23984 struct nb_cb_modify_args
*args
)
23986 switch (args
->event
) {
23987 case NB_EV_VALIDATE
:
23988 case NB_EV_PREPARE
:
23992 return bgp_neighbor_afi_safi_flag_modify(
23993 args
, PEER_FLAG_SOFT_RECONFIG
,
23994 yang_dnode_get_bool(args
->dnode
, NULL
));
24004 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/weight/weight-attribute
24006 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
24007 struct nb_cb_modify_args
*args
)
24009 switch (args
->event
) {
24010 case NB_EV_VALIDATE
:
24011 case NB_EV_PREPARE
:
24015 return bgp_neighbor_afi_safi_weight_modify(args
);
24023 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
24024 struct nb_cb_destroy_args
*args
)
24026 switch (args
->event
) {
24027 case NB_EV_VALIDATE
:
24028 case NB_EV_PREPARE
:
24032 return bgp_neighbor_afi_safi_weight_destroy(args
);
24042 * /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
24044 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_modify(
24045 struct nb_cb_modify_args
*args
)
24047 switch (args
->event
) {
24048 case NB_EV_VALIDATE
:
24049 case NB_EV_PREPARE
:
24053 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
24059 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_destroy(
24060 struct nb_cb_destroy_args
*args
)
24062 switch (args
->event
) {
24063 case NB_EV_VALIDATE
:
24064 case NB_EV_PREPARE
:
24068 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24076 * /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
24078 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_modify(
24079 struct nb_cb_modify_args
*args
)
24081 switch (args
->event
) {
24082 case NB_EV_VALIDATE
:
24083 case NB_EV_PREPARE
:
24087 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
24093 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_destroy(
24094 struct nb_cb_destroy_args
*args
)
24096 switch (args
->event
) {
24097 case NB_EV_VALIDATE
:
24098 case NB_EV_PREPARE
:
24102 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
24110 * /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
24112 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_modify(
24113 struct nb_cb_modify_args
*args
)
24115 switch (args
->event
) {
24116 case NB_EV_VALIDATE
:
24117 case NB_EV_PREPARE
:
24121 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
24127 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_destroy(
24128 struct nb_cb_destroy_args
*args
)
24130 switch (args
->event
) {
24131 case NB_EV_VALIDATE
:
24132 case NB_EV_PREPARE
:
24136 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
24144 * /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
24146 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_modify(
24147 struct nb_cb_modify_args
*args
)
24149 switch (args
->event
) {
24150 case NB_EV_VALIDATE
:
24151 case NB_EV_PREPARE
:
24155 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
24161 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_destroy(
24162 struct nb_cb_destroy_args
*args
)
24164 switch (args
->event
) {
24165 case NB_EV_VALIDATE
:
24166 case NB_EV_PREPARE
:
24170 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
24178 * /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
24180 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_modify(
24181 struct nb_cb_modify_args
*args
)
24183 switch (args
->event
) {
24184 case NB_EV_VALIDATE
:
24185 case NB_EV_PREPARE
:
24188 /* TODO: implement me. */
24195 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_destroy(
24196 struct nb_cb_destroy_args
*args
)
24198 switch (args
->event
) {
24199 case NB_EV_VALIDATE
:
24200 case NB_EV_PREPARE
:
24203 /* TODO: implement me. */
24212 * /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
24214 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_modify(
24215 struct nb_cb_modify_args
*args
)
24217 switch (args
->event
) {
24218 case NB_EV_VALIDATE
:
24219 case NB_EV_PREPARE
:
24222 /* TODO: implement me. */
24229 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_destroy(
24230 struct nb_cb_destroy_args
*args
)
24232 switch (args
->event
) {
24233 case NB_EV_VALIDATE
:
24234 case NB_EV_PREPARE
:
24237 /* TODO: implement me. */
24246 * /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
24248 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
24249 struct nb_cb_modify_args
*args
)
24251 switch (args
->event
) {
24252 case NB_EV_VALIDATE
:
24253 case NB_EV_PREPARE
:
24256 /* TODO: implement me. */
24263 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
24264 struct nb_cb_destroy_args
*args
)
24266 switch (args
->event
) {
24267 case NB_EV_VALIDATE
:
24268 case NB_EV_PREPARE
:
24271 /* TODO: implement me. */
24280 * /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
24282 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
24283 struct nb_cb_modify_args
*args
)
24285 switch (args
->event
) {
24286 case NB_EV_VALIDATE
:
24287 case NB_EV_PREPARE
:
24290 /* TODO: implement me. */
24297 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
24298 struct nb_cb_destroy_args
*args
)
24300 switch (args
->event
) {
24301 case NB_EV_VALIDATE
:
24302 case NB_EV_PREPARE
:
24305 /* TODO: implement me. */
24314 * /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
24316 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_modify(
24317 struct nb_cb_modify_args
*args
)
24319 switch (args
->event
) {
24320 case NB_EV_VALIDATE
:
24321 case NB_EV_PREPARE
:
24324 /* TODO: implement me. */
24331 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
24332 struct nb_cb_destroy_args
*args
)
24334 switch (args
->event
) {
24335 case NB_EV_VALIDATE
:
24336 case NB_EV_PREPARE
:
24339 /* TODO: implement me. */
24348 * /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
24350 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_modify(
24351 struct nb_cb_modify_args
*args
)
24353 switch (args
->event
) {
24354 case NB_EV_VALIDATE
:
24355 case NB_EV_PREPARE
:
24358 /* TODO: implement me. */
24365 int bgp_neighbors_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
24366 struct nb_cb_destroy_args
*args
)
24368 switch (args
->event
) {
24369 case NB_EV_VALIDATE
:
24370 case NB_EV_PREPARE
:
24373 /* TODO: implement me. */
24382 * /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
24384 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
24385 struct nb_cb_modify_args
*args
)
24387 switch (args
->event
) {
24388 case NB_EV_VALIDATE
:
24389 case NB_EV_PREPARE
:
24392 /* TODO: implement me. */
24399 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
24400 struct nb_cb_destroy_args
*args
)
24402 switch (args
->event
) {
24403 case NB_EV_VALIDATE
:
24404 case NB_EV_PREPARE
:
24407 /* TODO: implement me. */
24416 * /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
24418 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
24419 struct nb_cb_modify_args
*args
)
24421 switch (args
->event
) {
24422 case NB_EV_VALIDATE
:
24423 case NB_EV_PREPARE
:
24426 /* TODO: implement me. */
24433 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
24434 struct nb_cb_destroy_args
*args
)
24436 switch (args
->event
) {
24437 case NB_EV_VALIDATE
:
24438 case NB_EV_PREPARE
:
24441 /* TODO: implement me. */
24450 * /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
24452 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
24453 struct nb_cb_modify_args
*args
)
24455 switch (args
->event
) {
24456 case NB_EV_VALIDATE
:
24457 case NB_EV_PREPARE
:
24461 return bgp_neighbor_afi_safi_flag_modify(
24462 args
, PEER_FLAG_AS_OVERRIDE
,
24463 yang_dnode_get_bool(args
->dnode
, NULL
));
24473 * /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
24475 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
24476 struct nb_cb_modify_args
*args
)
24478 switch (args
->event
) {
24479 case NB_EV_VALIDATE
:
24480 case NB_EV_PREPARE
:
24484 return bgp_neighbor_afi_safi_flag_modify(
24485 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
24486 yang_dnode_get_bool(args
->dnode
, NULL
));
24496 * /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
24498 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
24499 struct nb_cb_modify_args
*args
)
24501 switch (args
->event
) {
24502 case NB_EV_VALIDATE
:
24503 case NB_EV_PREPARE
:
24507 return bgp_neighbor_afi_safi_flag_modify(
24508 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
24509 yang_dnode_get_bool(args
->dnode
, NULL
));
24519 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/attr-unchanged/med-unchanged
24521 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
24522 struct nb_cb_modify_args
*args
)
24524 switch (args
->event
) {
24525 case NB_EV_VALIDATE
:
24526 case NB_EV_PREPARE
:
24530 return bgp_neighbor_afi_safi_flag_modify(
24531 args
, PEER_FLAG_MED_UNCHANGED
,
24532 yang_dnode_get_bool(args
->dnode
, NULL
));
24542 * /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
24544 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
24545 struct nb_cb_modify_args
*args
)
24547 switch (args
->event
) {
24548 case NB_EV_VALIDATE
:
24549 case NB_EV_PREPARE
:
24553 return bgp_neighbor_afi_safi_flag_modify(
24554 args
, PEER_FLAG_NEXTHOP_SELF
,
24555 yang_dnode_get_bool(args
->dnode
, NULL
));
24565 * /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
24567 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
24568 struct nb_cb_modify_args
*args
)
24570 switch (args
->event
) {
24571 case NB_EV_VALIDATE
:
24572 case NB_EV_PREPARE
:
24576 return bgp_neighbor_afi_safi_flag_modify(
24577 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
24578 yang_dnode_get_bool(args
->dnode
, NULL
));
24588 * /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
24590 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
24591 struct nb_cb_modify_args
*args
)
24593 switch (args
->event
) {
24594 case NB_EV_VALIDATE
:
24595 case NB_EV_PREPARE
:
24599 return bgp_neighbor_afi_safi_flag_modify(
24600 args
, PEER_FLAG_REFLECTOR_CLIENT
,
24601 yang_dnode_get_bool(args
->dnode
, NULL
));
24611 * /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
24613 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
24614 struct nb_cb_modify_args
*args
)
24616 switch (args
->event
) {
24617 case NB_EV_VALIDATE
:
24618 case NB_EV_PREPARE
:
24622 return bgp_neighbor_afi_safi_flag_modify(
24623 args
, PEER_FLAG_RSERVER_CLIENT
,
24624 yang_dnode_get_bool(args
->dnode
, NULL
));
24634 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
24636 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
24637 struct nb_cb_modify_args
*args
)
24639 switch (args
->event
) {
24640 case NB_EV_VALIDATE
:
24641 case NB_EV_PREPARE
:
24645 return bgp_neighbor_afi_safi_flag_modify(
24646 args
, PEER_FLAG_SOFT_RECONFIG
,
24647 yang_dnode_get_bool(args
->dnode
, NULL
));
24657 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/rmap-import
24659 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_import_modify(
24660 struct nb_cb_modify_args
*args
)
24662 switch (args
->event
) {
24663 case NB_EV_VALIDATE
:
24664 case NB_EV_PREPARE
:
24668 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
24674 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_import_destroy(
24675 struct nb_cb_destroy_args
*args
)
24677 switch (args
->event
) {
24678 case NB_EV_VALIDATE
:
24679 case NB_EV_PREPARE
:
24683 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24691 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/rmap-export
24693 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_export_modify(
24694 struct nb_cb_modify_args
*args
)
24696 switch (args
->event
) {
24697 case NB_EV_VALIDATE
:
24698 case NB_EV_PREPARE
:
24702 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
24708 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_rmap_export_destroy(
24709 struct nb_cb_destroy_args
*args
)
24711 switch (args
->event
) {
24712 case NB_EV_VALIDATE
:
24713 case NB_EV_PREPARE
:
24717 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
24725 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/plist-import
24727 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_import_modify(
24728 struct nb_cb_modify_args
*args
)
24730 switch (args
->event
) {
24731 case NB_EV_VALIDATE
:
24732 case NB_EV_PREPARE
:
24736 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
24742 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_import_destroy(
24743 struct nb_cb_destroy_args
*args
)
24745 switch (args
->event
) {
24746 case NB_EV_VALIDATE
:
24747 case NB_EV_PREPARE
:
24751 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
24759 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/l2vpn-evpn/filter-config/plist-export
24761 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_export_modify(
24762 struct nb_cb_modify_args
*args
)
24764 switch (args
->event
) {
24765 case NB_EV_VALIDATE
:
24766 case NB_EV_PREPARE
:
24770 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
24776 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_plist_export_destroy(
24777 struct nb_cb_destroy_args
*args
)
24779 switch (args
->event
) {
24780 case NB_EV_VALIDATE
:
24781 case NB_EV_PREPARE
:
24785 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
24793 * /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
24795 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_import_modify(
24796 struct nb_cb_modify_args
*args
)
24798 switch (args
->event
) {
24799 case NB_EV_VALIDATE
:
24800 case NB_EV_PREPARE
:
24803 /* TODO: implement me. */
24810 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_import_destroy(
24811 struct nb_cb_destroy_args
*args
)
24813 switch (args
->event
) {
24814 case NB_EV_VALIDATE
:
24815 case NB_EV_PREPARE
:
24818 /* TODO: implement me. */
24827 * /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
24829 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_export_modify(
24830 struct nb_cb_modify_args
*args
)
24832 switch (args
->event
) {
24833 case NB_EV_VALIDATE
:
24834 case NB_EV_PREPARE
:
24837 /* TODO: implement me. */
24844 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_access_list_export_destroy(
24845 struct nb_cb_destroy_args
*args
)
24847 switch (args
->event
) {
24848 case NB_EV_VALIDATE
:
24849 case NB_EV_PREPARE
:
24852 /* TODO: implement me. */
24861 * /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
24863 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_import_modify(
24864 struct nb_cb_modify_args
*args
)
24866 switch (args
->event
) {
24867 case NB_EV_VALIDATE
:
24868 case NB_EV_PREPARE
:
24871 /* TODO: implement me. */
24878 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_import_destroy(
24879 struct nb_cb_destroy_args
*args
)
24881 switch (args
->event
) {
24882 case NB_EV_VALIDATE
:
24883 case NB_EV_PREPARE
:
24886 /* TODO: implement me. */
24895 * /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
24897 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_export_modify(
24898 struct nb_cb_modify_args
*args
)
24900 switch (args
->event
) {
24901 case NB_EV_VALIDATE
:
24902 case NB_EV_PREPARE
:
24905 /* TODO: implement me. */
24912 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_as_path_filter_list_export_destroy(
24913 struct nb_cb_destroy_args
*args
)
24915 switch (args
->event
) {
24916 case NB_EV_VALIDATE
:
24917 case NB_EV_PREPARE
:
24920 /* TODO: implement me. */
24929 * /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
24931 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_import_modify(
24932 struct nb_cb_modify_args
*args
)
24934 switch (args
->event
) {
24935 case NB_EV_VALIDATE
:
24936 case NB_EV_PREPARE
:
24939 /* TODO: implement me. */
24946 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_import_destroy(
24947 struct nb_cb_destroy_args
*args
)
24949 switch (args
->event
) {
24950 case NB_EV_VALIDATE
:
24951 case NB_EV_PREPARE
:
24954 /* TODO: implement me. */
24963 * /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
24965 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_export_modify(
24966 struct nb_cb_modify_args
*args
)
24968 switch (args
->event
) {
24969 case NB_EV_VALIDATE
:
24970 case NB_EV_PREPARE
:
24973 /* TODO: implement me. */
24980 int bgp_neighbors_neighbor_afi_safis_afi_safi_l2vpn_evpn_filter_config_unsuppress_map_export_destroy(
24981 struct nb_cb_destroy_args
*args
)
24983 switch (args
->event
) {
24984 case NB_EV_VALIDATE
:
24985 case NB_EV_PREPARE
:
24988 /* TODO: implement me. */
24997 * /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
24999 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
25000 struct nb_cb_modify_args
*args
)
25002 switch (args
->event
) {
25003 case NB_EV_VALIDATE
:
25004 case NB_EV_PREPARE
:
25008 return bgp_neighbor_afi_safi_flag_modify(
25009 args
, PEER_FLAG_REFLECTOR_CLIENT
,
25010 yang_dnode_get_bool(args
->dnode
, NULL
));
25020 * /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
25022 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
25023 struct nb_cb_modify_args
*args
)
25025 switch (args
->event
) {
25026 case NB_EV_VALIDATE
:
25027 case NB_EV_PREPARE
:
25031 return bgp_neighbor_afi_safi_flag_modify(
25032 args
, PEER_FLAG_RSERVER_CLIENT
,
25033 yang_dnode_get_bool(args
->dnode
, NULL
));
25043 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
25045 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
25046 struct nb_cb_modify_args
*args
)
25048 switch (args
->event
) {
25049 case NB_EV_VALIDATE
:
25050 case NB_EV_PREPARE
:
25054 return bgp_neighbor_afi_safi_flag_modify(
25055 args
, PEER_FLAG_SOFT_RECONFIG
,
25056 yang_dnode_get_bool(args
->dnode
, NULL
));
25066 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-import
25068 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
25069 struct nb_cb_modify_args
*args
)
25071 switch (args
->event
) {
25072 case NB_EV_VALIDATE
:
25073 case NB_EV_PREPARE
:
25077 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
25083 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
25084 struct nb_cb_destroy_args
*args
)
25086 switch (args
->event
) {
25087 case NB_EV_VALIDATE
:
25088 case NB_EV_PREPARE
:
25092 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
25100 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/rmap-export
25102 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
25103 struct nb_cb_modify_args
*args
)
25105 switch (args
->event
) {
25106 case NB_EV_VALIDATE
:
25107 case NB_EV_PREPARE
:
25111 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
25117 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
25118 struct nb_cb_destroy_args
*args
)
25120 switch (args
->event
) {
25121 case NB_EV_VALIDATE
:
25122 case NB_EV_PREPARE
:
25126 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
25134 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-import
25136 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
25137 struct nb_cb_modify_args
*args
)
25139 switch (args
->event
) {
25140 case NB_EV_VALIDATE
:
25141 case NB_EV_PREPARE
:
25145 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
25151 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
25152 struct nb_cb_destroy_args
*args
)
25154 switch (args
->event
) {
25155 case NB_EV_VALIDATE
:
25156 case NB_EV_PREPARE
:
25160 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
25168 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv4-flowspec/filter-config/plist-export
25170 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
25171 struct nb_cb_modify_args
*args
)
25173 switch (args
->event
) {
25174 case NB_EV_VALIDATE
:
25175 case NB_EV_PREPARE
:
25179 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
25185 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
25186 struct nb_cb_destroy_args
*args
)
25188 switch (args
->event
) {
25189 case NB_EV_VALIDATE
:
25190 case NB_EV_PREPARE
:
25194 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
25202 * /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
25204 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
25205 struct nb_cb_modify_args
*args
)
25207 switch (args
->event
) {
25208 case NB_EV_VALIDATE
:
25209 case NB_EV_PREPARE
:
25212 /* TODO: implement me. */
25219 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
25220 struct nb_cb_destroy_args
*args
)
25222 switch (args
->event
) {
25223 case NB_EV_VALIDATE
:
25224 case NB_EV_PREPARE
:
25227 /* TODO: implement me. */
25236 * /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
25238 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
25239 struct nb_cb_modify_args
*args
)
25241 switch (args
->event
) {
25242 case NB_EV_VALIDATE
:
25243 case NB_EV_PREPARE
:
25246 /* TODO: implement me. */
25253 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
25254 struct nb_cb_destroy_args
*args
)
25256 switch (args
->event
) {
25257 case NB_EV_VALIDATE
:
25258 case NB_EV_PREPARE
:
25261 /* TODO: implement me. */
25270 * /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
25272 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
25273 struct nb_cb_modify_args
*args
)
25275 switch (args
->event
) {
25276 case NB_EV_VALIDATE
:
25277 case NB_EV_PREPARE
:
25280 /* TODO: implement me. */
25287 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
25288 struct nb_cb_destroy_args
*args
)
25290 switch (args
->event
) {
25291 case NB_EV_VALIDATE
:
25292 case NB_EV_PREPARE
:
25295 /* TODO: implement me. */
25304 * /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
25306 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
25307 struct nb_cb_modify_args
*args
)
25309 switch (args
->event
) {
25310 case NB_EV_VALIDATE
:
25311 case NB_EV_PREPARE
:
25314 /* TODO: implement me. */
25321 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
25322 struct nb_cb_destroy_args
*args
)
25324 switch (args
->event
) {
25325 case NB_EV_VALIDATE
:
25326 case NB_EV_PREPARE
:
25329 /* TODO: implement me. */
25338 * /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
25340 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
25341 struct nb_cb_modify_args
*args
)
25343 switch (args
->event
) {
25344 case NB_EV_VALIDATE
:
25345 case NB_EV_PREPARE
:
25348 /* TODO: implement me. */
25355 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
25356 struct nb_cb_destroy_args
*args
)
25358 switch (args
->event
) {
25359 case NB_EV_VALIDATE
:
25360 case NB_EV_PREPARE
:
25363 /* TODO: implement me. */
25372 * /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
25374 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
25375 struct nb_cb_modify_args
*args
)
25377 switch (args
->event
) {
25378 case NB_EV_VALIDATE
:
25379 case NB_EV_PREPARE
:
25382 /* TODO: implement me. */
25389 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
25390 struct nb_cb_destroy_args
*args
)
25392 switch (args
->event
) {
25393 case NB_EV_VALIDATE
:
25394 case NB_EV_PREPARE
:
25397 /* TODO: implement me. */
25406 * /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
25408 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
25409 struct nb_cb_modify_args
*args
)
25411 switch (args
->event
) {
25412 case NB_EV_VALIDATE
:
25413 case NB_EV_PREPARE
:
25417 return bgp_neighbor_afi_safi_flag_modify(
25418 args
, PEER_FLAG_REFLECTOR_CLIENT
,
25419 yang_dnode_get_bool(args
->dnode
, NULL
));
25429 * /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
25431 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
25432 struct nb_cb_modify_args
*args
)
25434 switch (args
->event
) {
25435 case NB_EV_VALIDATE
:
25436 case NB_EV_PREPARE
:
25440 return bgp_neighbor_afi_safi_flag_modify(
25441 args
, PEER_FLAG_RSERVER_CLIENT
,
25442 yang_dnode_get_bool(args
->dnode
, NULL
));
25452 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
25454 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
25455 struct nb_cb_modify_args
*args
)
25457 switch (args
->event
) {
25458 case NB_EV_VALIDATE
:
25459 case NB_EV_PREPARE
:
25463 return bgp_neighbor_afi_safi_flag_modify(
25464 args
, PEER_FLAG_SOFT_RECONFIG
,
25465 yang_dnode_get_bool(args
->dnode
, NULL
));
25475 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-import
25477 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
25478 struct nb_cb_modify_args
*args
)
25480 switch (args
->event
) {
25481 case NB_EV_VALIDATE
:
25482 case NB_EV_PREPARE
:
25486 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_IN
);
25492 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
25493 struct nb_cb_destroy_args
*args
)
25495 switch (args
->event
) {
25496 case NB_EV_VALIDATE
:
25497 case NB_EV_PREPARE
:
25501 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_IN
);
25509 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/rmap-export
25511 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
25512 struct nb_cb_modify_args
*args
)
25514 switch (args
->event
) {
25515 case NB_EV_VALIDATE
:
25516 case NB_EV_PREPARE
:
25520 return bgp_neighbor_afi_safi_rmap_modify(args
, RMAP_OUT
);
25526 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
25527 struct nb_cb_destroy_args
*args
)
25529 switch (args
->event
) {
25530 case NB_EV_VALIDATE
:
25531 case NB_EV_PREPARE
:
25535 return bgp_neighbor_afi_safi_rmap_destroy(args
, RMAP_OUT
);
25543 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-import
25545 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
25546 struct nb_cb_modify_args
*args
)
25548 switch (args
->event
) {
25549 case NB_EV_VALIDATE
:
25550 case NB_EV_PREPARE
:
25554 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_IN
);
25560 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
25561 struct nb_cb_destroy_args
*args
)
25563 switch (args
->event
) {
25564 case NB_EV_VALIDATE
:
25565 case NB_EV_PREPARE
:
25569 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_IN
);
25577 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/neighbor/afi-safis/afi-safi/ipv6-flowspec/filter-config/plist-export
25579 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
25580 struct nb_cb_modify_args
*args
)
25582 switch (args
->event
) {
25583 case NB_EV_VALIDATE
:
25584 case NB_EV_PREPARE
:
25588 return bgp_neighbor_afi_safi_plist_modify(args
, FILTER_OUT
);
25594 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
25595 struct nb_cb_destroy_args
*args
)
25597 switch (args
->event
) {
25598 case NB_EV_VALIDATE
:
25599 case NB_EV_PREPARE
:
25603 return bgp_neighbor_afi_safi_plist_destroy(args
, FILTER_OUT
);
25611 * /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
25613 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
25614 struct nb_cb_modify_args
*args
)
25616 switch (args
->event
) {
25617 case NB_EV_VALIDATE
:
25618 case NB_EV_PREPARE
:
25621 /* TODO: implement me. */
25628 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
25629 struct nb_cb_destroy_args
*args
)
25631 switch (args
->event
) {
25632 case NB_EV_VALIDATE
:
25633 case NB_EV_PREPARE
:
25636 /* TODO: implement me. */
25645 * /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
25647 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
25648 struct nb_cb_modify_args
*args
)
25650 switch (args
->event
) {
25651 case NB_EV_VALIDATE
:
25652 case NB_EV_PREPARE
:
25655 /* TODO: implement me. */
25662 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
25663 struct nb_cb_destroy_args
*args
)
25665 switch (args
->event
) {
25666 case NB_EV_VALIDATE
:
25667 case NB_EV_PREPARE
:
25670 /* TODO: implement me. */
25679 * /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
25681 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
25682 struct nb_cb_modify_args
*args
)
25684 switch (args
->event
) {
25685 case NB_EV_VALIDATE
:
25686 case NB_EV_PREPARE
:
25689 /* TODO: implement me. */
25696 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
25697 struct nb_cb_destroy_args
*args
)
25699 switch (args
->event
) {
25700 case NB_EV_VALIDATE
:
25701 case NB_EV_PREPARE
:
25704 /* TODO: implement me. */
25713 * /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
25715 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
25716 struct nb_cb_modify_args
*args
)
25718 switch (args
->event
) {
25719 case NB_EV_VALIDATE
:
25720 case NB_EV_PREPARE
:
25723 /* TODO: implement me. */
25730 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
25731 struct nb_cb_destroy_args
*args
)
25733 switch (args
->event
) {
25734 case NB_EV_VALIDATE
:
25735 case NB_EV_PREPARE
:
25738 /* TODO: implement me. */
25747 * /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
25749 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
25750 struct nb_cb_modify_args
*args
)
25752 switch (args
->event
) {
25753 case NB_EV_VALIDATE
:
25754 case NB_EV_PREPARE
:
25757 /* TODO: implement me. */
25764 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
25765 struct nb_cb_destroy_args
*args
)
25767 switch (args
->event
) {
25768 case NB_EV_VALIDATE
:
25769 case NB_EV_PREPARE
:
25772 /* TODO: implement me. */
25781 * /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
25783 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
25784 struct nb_cb_modify_args
*args
)
25786 switch (args
->event
) {
25787 case NB_EV_VALIDATE
:
25788 case NB_EV_PREPARE
:
25791 /* TODO: implement me. */
25798 int bgp_neighbors_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
25799 struct nb_cb_destroy_args
*args
)
25801 switch (args
->event
) {
25802 case NB_EV_VALIDATE
:
25803 case NB_EV_PREPARE
:
25806 /* TODO: implement me. */
25814 bgp_unnumbered_neighbor_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
25815 uint32_t flags
, bool set
)
25818 const char *peer_str
;
25820 const struct lyd_node
*nbr_dnode
;
25821 const struct lyd_node
*nbr_af_dnode
;
25822 const char *af_name
;
25826 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
25827 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
25828 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
25830 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
25831 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
25832 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
25833 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
25836 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
25839 return NB_ERR_INCONSISTENCY
;
25846 * /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
25848 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
25849 struct nb_cb_modify_args
*args
)
25851 switch (args
->event
) {
25852 case NB_EV_VALIDATE
:
25853 case NB_EV_PREPARE
:
25856 /* TODO: implement me. */
25865 * /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
25867 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
25868 struct nb_cb_modify_args
*args
)
25870 switch (args
->event
) {
25871 case NB_EV_VALIDATE
:
25872 case NB_EV_PREPARE
:
25875 /* TODO: implement me. */
25882 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
25883 struct nb_cb_destroy_args
*args
)
25885 switch (args
->event
) {
25886 case NB_EV_VALIDATE
:
25887 case NB_EV_PREPARE
:
25890 /* TODO: implement me. */
25899 * /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
25901 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
25902 struct nb_cb_modify_args
*args
)
25904 switch (args
->event
) {
25905 case NB_EV_VALIDATE
:
25906 case NB_EV_PREPARE
:
25909 /* TODO: implement me. */
25916 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
25917 struct nb_cb_destroy_args
*args
)
25919 switch (args
->event
) {
25920 case NB_EV_VALIDATE
:
25921 case NB_EV_PREPARE
:
25924 /* TODO: implement me. */
25933 * /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
25935 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
25936 struct nb_cb_modify_args
*args
)
25938 switch (args
->event
) {
25939 case NB_EV_VALIDATE
:
25940 case NB_EV_PREPARE
:
25944 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
25945 args
, PEER_FLAG_AS_OVERRIDE
,
25946 yang_dnode_get_bool(args
->dnode
, NULL
));
25956 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
25958 void bgp_unnumbered_neighbor_afi_safi_default_originate_apply_finish(
25959 struct nb_cb_apply_finish_args
*args
)
25962 const char *peer_str
;
25964 const struct lyd_node
*nbr_dnode
;
25965 const struct lyd_node
*nbr_af_dnode
;
25966 const char *af_name
;
25970 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
25971 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
25972 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
25974 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
25975 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
25976 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
25977 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
25982 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
25987 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate/originate
25989 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
25990 struct nb_cb_modify_args
*args
)
25992 switch (args
->event
) {
25993 case NB_EV_VALIDATE
:
25994 case NB_EV_PREPARE
:
25997 /* TODO: implement me. */
26006 * /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
26008 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
26009 struct nb_cb_modify_args
*args
)
26011 switch (args
->event
) {
26012 case NB_EV_VALIDATE
:
26013 case NB_EV_PREPARE
:
26016 /* TODO: implement me. */
26023 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
26024 struct nb_cb_destroy_args
*args
)
26026 switch (args
->event
) {
26027 case NB_EV_VALIDATE
:
26028 case NB_EV_PREPARE
:
26031 /* TODO: implement me. */
26038 static int bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
26039 struct nb_cb_destroy_args
*args
)
26042 const char *peer_str
;
26044 const struct lyd_node
*nbr_dnode
;
26045 const struct lyd_node
*nbr_af_dnode
;
26046 const char *af_name
;
26051 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26052 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26053 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26055 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26056 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26057 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26058 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26061 return NB_ERR_INCONSISTENCY
;
26063 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
26065 switch (direction
) {
26067 peer_maximum_prefix_unset(peer
, afi
, safi
);
26070 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
26071 peer
->pmax_out
[afi
][safi
] = 0;
26080 * /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
26082 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
26083 struct nb_cb_create_args
*args
)
26085 switch (args
->event
) {
26086 case NB_EV_VALIDATE
:
26087 case NB_EV_PREPARE
:
26090 /* TODO: implement me. */
26097 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
26098 struct nb_cb_destroy_args
*args
)
26100 switch (args
->event
) {
26101 case NB_EV_VALIDATE
:
26102 case NB_EV_PREPARE
:
26106 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
26113 void bgp_unnumbered_neighbor_afi_safi_prefix_limit_apply_finish(
26114 struct nb_cb_apply_finish_args
*args
)
26117 const char *peer_str
;
26119 const struct lyd_node
*nbr_dnode
;
26120 const struct lyd_node
*nbr_af_dnode
;
26121 const char *af_name
;
26125 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26126 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26127 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26129 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26130 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26131 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26132 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26137 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
26142 * /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
26144 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
26145 struct nb_cb_modify_args
*args
)
26147 switch (args
->event
) {
26148 case NB_EV_VALIDATE
:
26149 case NB_EV_PREPARE
:
26152 /* TODO: implement me. */
26161 * /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
26163 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
26164 struct nb_cb_modify_args
*args
)
26166 switch (args
->event
) {
26167 case NB_EV_VALIDATE
:
26168 case NB_EV_PREPARE
:
26171 /* TODO: implement me. */
26180 * /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
26182 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
26183 struct nb_cb_modify_args
*args
)
26185 switch (args
->event
) {
26186 case NB_EV_VALIDATE
:
26187 case NB_EV_PREPARE
:
26190 /* TODO: implement me. */
26197 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
26198 struct nb_cb_destroy_args
*args
)
26200 switch (args
->event
) {
26201 case NB_EV_VALIDATE
:
26202 case NB_EV_PREPARE
:
26205 /* TODO: implement me. */
26214 * /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
26216 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
26217 struct nb_cb_modify_args
*args
)
26219 switch (args
->event
) {
26220 case NB_EV_VALIDATE
:
26221 case NB_EV_PREPARE
:
26224 /* TODO: implement me. */
26231 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
26232 struct nb_cb_destroy_args
*args
)
26234 switch (args
->event
) {
26235 case NB_EV_VALIDATE
:
26236 case NB_EV_PREPARE
:
26239 /* TODO: implement me. */
26248 * /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
26250 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
26251 struct nb_cb_modify_args
*args
)
26253 switch (args
->event
) {
26254 case NB_EV_VALIDATE
:
26255 case NB_EV_PREPARE
:
26258 /* TODO: implement me. */
26265 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
26266 struct nb_cb_destroy_args
*args
)
26268 switch (args
->event
) {
26269 case NB_EV_VALIDATE
:
26270 case NB_EV_PREPARE
:
26273 /* TODO: implement me. */
26282 * /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
26284 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
26285 struct nb_cb_modify_args
*args
)
26287 switch (args
->event
) {
26288 case NB_EV_VALIDATE
:
26289 case NB_EV_PREPARE
:
26292 /* TODO: implement me. */
26299 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
26300 struct nb_cb_destroy_args
*args
)
26302 switch (args
->event
) {
26303 case NB_EV_VALIDATE
:
26304 case NB_EV_PREPARE
:
26307 /* TODO: implement me. */
26316 * /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
26318 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
26319 struct nb_cb_modify_args
*args
)
26321 switch (args
->event
) {
26322 case NB_EV_VALIDATE
:
26323 case NB_EV_PREPARE
:
26326 /* TODO: implement me. */
26333 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
26334 struct nb_cb_destroy_args
*args
)
26336 switch (args
->event
) {
26337 case NB_EV_VALIDATE
:
26338 case NB_EV_PREPARE
:
26341 /* TODO: implement me. */
26350 * /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
26352 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
26353 struct nb_cb_modify_args
*args
)
26355 switch (args
->event
) {
26356 case NB_EV_VALIDATE
:
26357 case NB_EV_PREPARE
:
26360 /* TODO: implement me. */
26367 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
26368 struct nb_cb_destroy_args
*args
)
26370 switch (args
->event
) {
26371 case NB_EV_VALIDATE
:
26372 case NB_EV_PREPARE
:
26375 /* TODO: implement me. */
26384 * /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
26386 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
26387 struct nb_cb_modify_args
*args
)
26389 switch (args
->event
) {
26390 case NB_EV_VALIDATE
:
26391 case NB_EV_PREPARE
:
26394 /* TODO: implement me. */
26401 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
26402 struct nb_cb_destroy_args
*args
)
26404 switch (args
->event
) {
26405 case NB_EV_VALIDATE
:
26406 case NB_EV_PREPARE
:
26409 /* TODO: implement me. */
26418 * /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
26420 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
26421 struct nb_cb_modify_args
*args
)
26423 switch (args
->event
) {
26424 case NB_EV_VALIDATE
:
26425 case NB_EV_PREPARE
:
26429 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26430 args
, PEER_FLAG_NEXTHOP_SELF
,
26431 yang_dnode_get_bool(args
->dnode
, NULL
));
26441 * /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
26443 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
26444 struct nb_cb_modify_args
*args
)
26446 switch (args
->event
) {
26447 case NB_EV_VALIDATE
:
26448 case NB_EV_PREPARE
:
26452 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26453 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
26454 yang_dnode_get_bool(args
->dnode
, NULL
));
26464 * /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
26466 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
26467 struct nb_cb_modify_args
*args
)
26469 switch (args
->event
) {
26470 case NB_EV_VALIDATE
:
26471 case NB_EV_PREPARE
:
26475 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26476 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
26477 yang_dnode_get_bool(args
->dnode
, NULL
));
26487 * /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
26489 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
26490 struct nb_cb_modify_args
*args
)
26492 switch (args
->event
) {
26493 case NB_EV_VALIDATE
:
26494 case NB_EV_PREPARE
:
26498 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26499 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
26500 yang_dnode_get_bool(args
->dnode
, NULL
));
26510 * /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
26512 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
26513 struct nb_cb_modify_args
*args
)
26515 switch (args
->event
) {
26516 case NB_EV_VALIDATE
:
26517 case NB_EV_PREPARE
:
26521 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26522 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
26523 yang_dnode_get_bool(args
->dnode
, NULL
));
26533 * /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
26535 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
26536 struct nb_cb_modify_args
*args
)
26538 switch (args
->event
) {
26539 case NB_EV_VALIDATE
:
26540 case NB_EV_PREPARE
:
26544 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26545 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
26546 yang_dnode_get_bool(args
->dnode
, NULL
));
26555 bgp_unnumbered_neighbor_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
26558 const char *peer_str
;
26560 const struct lyd_node
*nbr_dnode
;
26561 const char *af_name
;
26565 const struct lyd_node
*nbr_af_dnode
;
26568 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26569 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26570 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26572 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26573 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26574 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26575 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26578 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
26580 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
26581 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
26582 return NB_ERR_INCONSISTENCY
;
26588 bgp_unnumbered_neighbor_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
26591 const char *peer_str
;
26593 const struct lyd_node
*nbr_dnode
;
26594 const struct lyd_node
*nbr_af_dnode
;
26595 const char *af_name
;
26600 bgp
= nb_running_get_entry(args
->dnode
, NULL
, true);
26601 nbr_dnode
= yang_dnode_get_parent(args
->dnode
, "unnumbered-neighbor");
26602 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26603 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26605 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26606 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26607 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26609 ret
= peer_weight_unset(peer
, afi
, safi
);
26610 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
26611 return NB_ERR_INCONSISTENCY
;
26618 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/weight/weight-attribute
26620 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
26621 struct nb_cb_modify_args
*args
)
26623 switch (args
->event
) {
26624 case NB_EV_VALIDATE
:
26625 case NB_EV_PREPARE
:
26629 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
26637 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
26638 struct nb_cb_destroy_args
*args
)
26640 switch (args
->event
) {
26641 case NB_EV_VALIDATE
:
26642 case NB_EV_PREPARE
:
26646 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
26656 * /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
26658 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
26659 struct nb_cb_modify_args
*args
)
26661 switch (args
->event
) {
26662 case NB_EV_VALIDATE
:
26663 case NB_EV_PREPARE
:
26667 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26668 args
, PEER_FLAG_REFLECTOR_CLIENT
,
26669 yang_dnode_get_bool(args
->dnode
, NULL
));
26679 * /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
26681 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
26682 struct nb_cb_modify_args
*args
)
26684 switch (args
->event
) {
26685 case NB_EV_VALIDATE
:
26686 case NB_EV_PREPARE
:
26690 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26691 args
, PEER_FLAG_RSERVER_CLIENT
,
26692 yang_dnode_get_bool(args
->dnode
, NULL
));
26702 * /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
26704 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
26705 struct nb_cb_modify_args
*args
)
26707 switch (args
->event
) {
26708 case NB_EV_VALIDATE
:
26709 case NB_EV_PREPARE
:
26713 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26714 args
, PEER_FLAG_SEND_COMMUNITY
,
26715 yang_dnode_get_bool(args
->dnode
, NULL
));
26725 * /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
26727 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
26728 struct nb_cb_modify_args
*args
)
26730 switch (args
->event
) {
26731 case NB_EV_VALIDATE
:
26732 case NB_EV_PREPARE
:
26736 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26737 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
26738 yang_dnode_get_bool(args
->dnode
, NULL
));
26748 * /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
26750 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
26751 struct nb_cb_modify_args
*args
)
26753 switch (args
->event
) {
26754 case NB_EV_VALIDATE
:
26755 case NB_EV_PREPARE
:
26759 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26760 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
26761 yang_dnode_get_bool(args
->dnode
, NULL
));
26771 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
26773 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
26774 struct nb_cb_modify_args
*args
)
26776 switch (args
->event
) {
26777 case NB_EV_VALIDATE
:
26778 case NB_EV_PREPARE
:
26782 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26783 args
, PEER_FLAG_SOFT_RECONFIG
,
26784 yang_dnode_get_bool(args
->dnode
, NULL
));
26794 * /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
26796 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
26797 struct nb_cb_modify_args
*args
)
26799 switch (args
->event
) {
26800 case NB_EV_VALIDATE
:
26801 case NB_EV_PREPARE
:
26805 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26806 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
26807 yang_dnode_get_bool(args
->dnode
, NULL
));
26817 * /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
26819 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
26820 struct nb_cb_modify_args
*args
)
26822 switch (args
->event
) {
26823 case NB_EV_VALIDATE
:
26824 case NB_EV_PREPARE
:
26828 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26829 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
26830 yang_dnode_get_bool(args
->dnode
, NULL
));
26840 * /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
26842 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
26843 struct nb_cb_modify_args
*args
)
26845 switch (args
->event
) {
26846 case NB_EV_VALIDATE
:
26847 case NB_EV_PREPARE
:
26851 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
26852 args
, PEER_FLAG_MED_UNCHANGED
,
26853 yang_dnode_get_bool(args
->dnode
, NULL
));
26863 * /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
26865 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
26866 struct nb_cb_modify_args
*args
)
26868 switch (args
->event
) {
26869 case NB_EV_VALIDATE
:
26870 case NB_EV_PREPARE
:
26873 /* TODO: implement me. */
26880 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
26881 struct nb_cb_destroy_args
*args
)
26883 switch (args
->event
) {
26884 case NB_EV_VALIDATE
:
26885 case NB_EV_PREPARE
:
26888 /* TODO: implement me. */
26897 * /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
26899 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
26900 struct nb_cb_modify_args
*args
)
26902 switch (args
->event
) {
26903 case NB_EV_VALIDATE
:
26904 case NB_EV_PREPARE
:
26907 /* TODO: implement me. */
26914 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
26915 struct nb_cb_destroy_args
*args
)
26917 switch (args
->event
) {
26918 case NB_EV_VALIDATE
:
26919 case NB_EV_PREPARE
:
26922 /* TODO: implement me. */
26931 * /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
26933 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
26934 struct nb_cb_modify_args
*args
)
26936 switch (args
->event
) {
26937 case NB_EV_VALIDATE
:
26938 case NB_EV_PREPARE
:
26941 /* TODO: implement me. */
26948 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
26949 struct nb_cb_destroy_args
*args
)
26951 switch (args
->event
) {
26952 case NB_EV_VALIDATE
:
26953 case NB_EV_PREPARE
:
26956 /* TODO: implement me. */
26964 bgp_unnumbered_neighbor_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
26968 const char *peer_str
;
26970 const struct lyd_node
*nbr_dnode
;
26971 const struct lyd_node
*nbr_af_dnode
;
26972 const char *af_name
;
26975 const char *name_str
;
26976 struct route_map
*route_map
;
26979 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
26980 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
26981 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
26983 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
26984 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
26985 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
26986 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
26989 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
26990 route_map
= route_map_lookup_by_name(name_str
);
26991 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
26993 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
26997 bgp_unnumbered_neighbor_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
27001 const char *peer_str
;
27003 const struct lyd_node
*nbr_dnode
;
27004 const struct lyd_node
*nbr_af_dnode
;
27005 const char *af_name
;
27010 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27011 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27012 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27014 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27015 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27016 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27017 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27020 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
27022 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
27027 * /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
27029 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
27030 struct nb_cb_modify_args
*args
)
27032 switch (args
->event
) {
27033 case NB_EV_VALIDATE
:
27034 case NB_EV_PREPARE
:
27038 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
27045 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
27046 struct nb_cb_destroy_args
*args
)
27048 switch (args
->event
) {
27049 case NB_EV_VALIDATE
:
27050 case NB_EV_PREPARE
:
27054 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
27063 * /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
27065 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
27066 struct nb_cb_modify_args
*args
)
27068 switch (args
->event
) {
27069 case NB_EV_VALIDATE
:
27070 case NB_EV_PREPARE
:
27074 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
27081 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
27082 struct nb_cb_destroy_args
*args
)
27084 switch (args
->event
) {
27085 case NB_EV_VALIDATE
:
27086 case NB_EV_PREPARE
:
27090 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
27098 bgp_unnumbered_neighbor_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
27102 const char *peer_str
;
27104 const struct lyd_node
*nbr_dnode
;
27105 const struct lyd_node
*nbr_af_dnode
;
27106 const char *af_name
;
27109 const char *name_str
;
27111 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27112 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27113 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27115 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27116 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27117 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27118 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27121 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
27122 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
27123 return NB_ERR_INCONSISTENCY
;
27129 bgp_unnumbered_neighbor_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
27133 const char *peer_str
;
27135 const struct lyd_node
*nbr_dnode
;
27136 const struct lyd_node
*nbr_af_dnode
;
27137 const char *af_name
;
27141 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
27142 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
27143 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
27145 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "unnumbered-neighbor");
27146 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
27147 peer_str
= yang_dnode_get_string(nbr_dnode
, "./interface");
27148 peer
= bgp_unnumbered_neighbor_peer_lookup(bgp
, peer_str
, args
->errmsg
,
27151 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
27152 return NB_ERR_INCONSISTENCY
;
27158 * /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
27160 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
27161 struct nb_cb_modify_args
*args
)
27163 switch (args
->event
) {
27164 case NB_EV_VALIDATE
:
27165 case NB_EV_PREPARE
:
27169 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
27176 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
27177 struct nb_cb_destroy_args
*args
)
27179 switch (args
->event
) {
27180 case NB_EV_VALIDATE
:
27181 case NB_EV_PREPARE
:
27185 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
27194 * /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
27196 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
27197 struct nb_cb_modify_args
*args
)
27199 switch (args
->event
) {
27200 case NB_EV_VALIDATE
:
27201 case NB_EV_PREPARE
:
27205 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
27212 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
27213 struct nb_cb_destroy_args
*args
)
27215 switch (args
->event
) {
27216 case NB_EV_VALIDATE
:
27217 case NB_EV_PREPARE
:
27221 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
27230 * /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
27232 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
27233 struct nb_cb_modify_args
*args
)
27235 switch (args
->event
) {
27236 case NB_EV_VALIDATE
:
27237 case NB_EV_PREPARE
:
27240 /* TODO: implement me. */
27247 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
27248 struct nb_cb_destroy_args
*args
)
27250 switch (args
->event
) {
27251 case NB_EV_VALIDATE
:
27252 case NB_EV_PREPARE
:
27255 /* TODO: implement me. */
27264 * /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
27266 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
27267 struct nb_cb_modify_args
*args
)
27269 switch (args
->event
) {
27270 case NB_EV_VALIDATE
:
27271 case NB_EV_PREPARE
:
27274 /* TODO: implement me. */
27281 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
27282 struct nb_cb_destroy_args
*args
)
27284 switch (args
->event
) {
27285 case NB_EV_VALIDATE
:
27286 case NB_EV_PREPARE
:
27289 /* TODO: implement me. */
27298 * /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
27300 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
27301 struct nb_cb_modify_args
*args
)
27303 switch (args
->event
) {
27304 case NB_EV_VALIDATE
:
27305 case NB_EV_PREPARE
:
27308 /* TODO: implement me. */
27315 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
27316 struct nb_cb_destroy_args
*args
)
27318 switch (args
->event
) {
27319 case NB_EV_VALIDATE
:
27320 case NB_EV_PREPARE
:
27323 /* TODO: implement me. */
27332 * /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
27334 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
27335 struct nb_cb_modify_args
*args
)
27337 switch (args
->event
) {
27338 case NB_EV_VALIDATE
:
27339 case NB_EV_PREPARE
:
27342 /* TODO: implement me. */
27349 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
27350 struct nb_cb_destroy_args
*args
)
27352 switch (args
->event
) {
27353 case NB_EV_VALIDATE
:
27354 case NB_EV_PREPARE
:
27357 /* TODO: implement me. */
27366 * /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
27368 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
27369 struct nb_cb_modify_args
*args
)
27371 switch (args
->event
) {
27372 case NB_EV_VALIDATE
:
27373 case NB_EV_PREPARE
:
27376 /* TODO: implement me. */
27383 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
27384 struct nb_cb_destroy_args
*args
)
27386 switch (args
->event
) {
27387 case NB_EV_VALIDATE
:
27388 case NB_EV_PREPARE
:
27391 /* TODO: implement me. */
27400 * /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
27402 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
27403 struct nb_cb_modify_args
*args
)
27405 switch (args
->event
) {
27406 case NB_EV_VALIDATE
:
27407 case NB_EV_PREPARE
:
27410 /* TODO: implement me. */
27417 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
27418 struct nb_cb_destroy_args
*args
)
27420 switch (args
->event
) {
27421 case NB_EV_VALIDATE
:
27422 case NB_EV_PREPARE
:
27425 /* TODO: implement me. */
27434 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/nexthop-local-unchanged
27436 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
27437 struct nb_cb_modify_args
*args
)
27439 switch (args
->event
) {
27440 case NB_EV_VALIDATE
:
27441 case NB_EV_PREPARE
:
27444 /* TODO: implement me. */
27453 * /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
27455 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
27456 struct nb_cb_modify_args
*args
)
27458 switch (args
->event
) {
27459 case NB_EV_VALIDATE
:
27460 case NB_EV_PREPARE
:
27463 /* TODO: implement me. */
27472 * /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
27474 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
27475 struct nb_cb_modify_args
*args
)
27477 switch (args
->event
) {
27478 case NB_EV_VALIDATE
:
27479 case NB_EV_PREPARE
:
27482 /* TODO: implement me. */
27489 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
27490 struct nb_cb_destroy_args
*args
)
27492 switch (args
->event
) {
27493 case NB_EV_VALIDATE
:
27494 case NB_EV_PREPARE
:
27497 /* TODO: implement me. */
27506 * /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
27508 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
27509 struct nb_cb_modify_args
*args
)
27511 switch (args
->event
) {
27512 case NB_EV_VALIDATE
:
27513 case NB_EV_PREPARE
:
27516 /* TODO: implement me. */
27523 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
27524 struct nb_cb_destroy_args
*args
)
27526 switch (args
->event
) {
27527 case NB_EV_VALIDATE
:
27528 case NB_EV_PREPARE
:
27531 /* TODO: implement me. */
27540 * /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
27542 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
27543 struct nb_cb_modify_args
*args
)
27545 switch (args
->event
) {
27546 case NB_EV_VALIDATE
:
27547 case NB_EV_PREPARE
:
27551 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27552 args
, PEER_FLAG_AS_OVERRIDE
,
27553 yang_dnode_get_bool(args
->dnode
, NULL
));
27563 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/default-originate/originate
27565 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
27566 struct nb_cb_modify_args
*args
)
27568 switch (args
->event
) {
27569 case NB_EV_VALIDATE
:
27570 case NB_EV_PREPARE
:
27573 /* TODO: implement me. */
27582 * /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
27584 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
27585 struct nb_cb_modify_args
*args
)
27587 switch (args
->event
) {
27588 case NB_EV_VALIDATE
:
27589 case NB_EV_PREPARE
:
27592 /* TODO: implement me. */
27599 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
27600 struct nb_cb_destroy_args
*args
)
27602 switch (args
->event
) {
27603 case NB_EV_VALIDATE
:
27604 case NB_EV_PREPARE
:
27607 /* TODO: implement me. */
27616 * /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
27618 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
27619 struct nb_cb_modify_args
*args
)
27621 switch (args
->event
) {
27622 case NB_EV_VALIDATE
:
27623 case NB_EV_PREPARE
:
27627 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27628 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
27629 yang_dnode_get_bool(args
->dnode
, NULL
));
27639 * /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
27641 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
27642 struct nb_cb_modify_args
*args
)
27644 switch (args
->event
) {
27645 case NB_EV_VALIDATE
:
27646 case NB_EV_PREPARE
:
27650 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27651 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
27652 yang_dnode_get_bool(args
->dnode
, NULL
));
27662 * /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
27664 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
27665 struct nb_cb_modify_args
*args
)
27667 switch (args
->event
) {
27668 case NB_EV_VALIDATE
:
27669 case NB_EV_PREPARE
:
27673 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
27674 args
, PEER_FLAG_MED_UNCHANGED
,
27675 yang_dnode_get_bool(args
->dnode
, NULL
));
27685 * /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
27687 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
27688 struct nb_cb_modify_args
*args
)
27690 switch (args
->event
) {
27691 case NB_EV_VALIDATE
:
27692 case NB_EV_PREPARE
:
27695 /* TODO: implement me. */
27702 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
27703 struct nb_cb_destroy_args
*args
)
27705 switch (args
->event
) {
27706 case NB_EV_VALIDATE
:
27707 case NB_EV_PREPARE
:
27710 /* TODO: implement me. */
27719 * /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
27721 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
27722 struct nb_cb_modify_args
*args
)
27724 switch (args
->event
) {
27725 case NB_EV_VALIDATE
:
27726 case NB_EV_PREPARE
:
27729 /* TODO: implement me. */
27736 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
27737 struct nb_cb_destroy_args
*args
)
27739 switch (args
->event
) {
27740 case NB_EV_VALIDATE
:
27741 case NB_EV_PREPARE
:
27744 /* TODO: implement me. */
27753 * /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
27755 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
27756 struct nb_cb_modify_args
*args
)
27758 switch (args
->event
) {
27759 case NB_EV_VALIDATE
:
27760 case NB_EV_PREPARE
:
27763 /* TODO: implement me. */
27770 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
27771 struct nb_cb_destroy_args
*args
)
27773 switch (args
->event
) {
27774 case NB_EV_VALIDATE
:
27775 case NB_EV_PREPARE
:
27778 /* TODO: implement me. */
27787 * /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
27789 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
27790 struct nb_cb_create_args
*args
)
27792 switch (args
->event
) {
27793 case NB_EV_VALIDATE
:
27794 case NB_EV_PREPARE
:
27797 /* TODO: implement me. */
27804 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
27805 struct nb_cb_destroy_args
*args
)
27807 switch (args
->event
) {
27808 case NB_EV_VALIDATE
:
27809 case NB_EV_PREPARE
:
27813 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
27822 * /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
27824 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
27825 struct nb_cb_modify_args
*args
)
27827 switch (args
->event
) {
27828 case NB_EV_VALIDATE
:
27829 case NB_EV_PREPARE
:
27832 /* TODO: implement me. */
27841 * /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
27843 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
27844 struct nb_cb_modify_args
*args
)
27846 switch (args
->event
) {
27847 case NB_EV_VALIDATE
:
27848 case NB_EV_PREPARE
:
27851 /* TODO: implement me. */
27860 * /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
27862 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
27863 struct nb_cb_modify_args
*args
)
27865 switch (args
->event
) {
27866 case NB_EV_VALIDATE
:
27867 case NB_EV_PREPARE
:
27870 /* TODO: implement me. */
27877 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
27878 struct nb_cb_destroy_args
*args
)
27880 switch (args
->event
) {
27881 case NB_EV_VALIDATE
:
27882 case NB_EV_PREPARE
:
27885 /* TODO: implement me. */
27894 * /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
27896 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
27897 struct nb_cb_modify_args
*args
)
27899 switch (args
->event
) {
27900 case NB_EV_VALIDATE
:
27901 case NB_EV_PREPARE
:
27904 /* TODO: implement me. */
27911 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
27912 struct nb_cb_destroy_args
*args
)
27914 switch (args
->event
) {
27915 case NB_EV_VALIDATE
:
27916 case NB_EV_PREPARE
:
27919 /* TODO: implement me. */
27928 * /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
27930 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
27931 struct nb_cb_modify_args
*args
)
27933 switch (args
->event
) {
27934 case NB_EV_VALIDATE
:
27935 case NB_EV_PREPARE
:
27938 /* TODO: implement me. */
27945 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
27946 struct nb_cb_destroy_args
*args
)
27948 switch (args
->event
) {
27949 case NB_EV_VALIDATE
:
27950 case NB_EV_PREPARE
:
27953 /* TODO: implement me. */
27962 * /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
27964 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
27965 struct nb_cb_modify_args
*args
)
27967 switch (args
->event
) {
27968 case NB_EV_VALIDATE
:
27969 case NB_EV_PREPARE
:
27972 /* TODO: implement me. */
27979 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
27980 struct nb_cb_destroy_args
*args
)
27982 switch (args
->event
) {
27983 case NB_EV_VALIDATE
:
27984 case NB_EV_PREPARE
:
27987 /* TODO: implement me. */
27996 * /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
27998 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
27999 struct nb_cb_modify_args
*args
)
28001 switch (args
->event
) {
28002 case NB_EV_VALIDATE
:
28003 case NB_EV_PREPARE
:
28006 /* TODO: implement me. */
28013 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
28014 struct nb_cb_destroy_args
*args
)
28016 switch (args
->event
) {
28017 case NB_EV_VALIDATE
:
28018 case NB_EV_PREPARE
:
28021 /* TODO: implement me. */
28030 * /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
28032 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
28033 struct nb_cb_modify_args
*args
)
28035 switch (args
->event
) {
28036 case NB_EV_VALIDATE
:
28037 case NB_EV_PREPARE
:
28040 /* TODO: implement me. */
28047 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
28048 struct nb_cb_destroy_args
*args
)
28050 switch (args
->event
) {
28051 case NB_EV_VALIDATE
:
28052 case NB_EV_PREPARE
:
28055 /* TODO: implement me. */
28064 * /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
28066 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
28067 struct nb_cb_modify_args
*args
)
28069 switch (args
->event
) {
28070 case NB_EV_VALIDATE
:
28071 case NB_EV_PREPARE
:
28074 /* TODO: implement me. */
28081 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
28082 struct nb_cb_destroy_args
*args
)
28084 switch (args
->event
) {
28085 case NB_EV_VALIDATE
:
28086 case NB_EV_PREPARE
:
28089 /* TODO: implement me. */
28098 * /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
28100 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
28101 struct nb_cb_modify_args
*args
)
28103 switch (args
->event
) {
28104 case NB_EV_VALIDATE
:
28105 case NB_EV_PREPARE
:
28109 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28110 args
, PEER_FLAG_NEXTHOP_SELF
,
28111 yang_dnode_get_bool(args
->dnode
, NULL
));
28121 * /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
28123 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
28124 struct nb_cb_modify_args
*args
)
28126 switch (args
->event
) {
28127 case NB_EV_VALIDATE
:
28128 case NB_EV_PREPARE
:
28132 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28133 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
28134 yang_dnode_get_bool(args
->dnode
, NULL
));
28144 * /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
28146 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
28147 struct nb_cb_modify_args
*args
)
28149 switch (args
->event
) {
28150 case NB_EV_VALIDATE
:
28151 case NB_EV_PREPARE
:
28155 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28156 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
28157 yang_dnode_get_bool(args
->dnode
, NULL
));
28167 * /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
28169 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
28170 struct nb_cb_modify_args
*args
)
28172 switch (args
->event
) {
28173 case NB_EV_VALIDATE
:
28174 case NB_EV_PREPARE
:
28178 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28179 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
28180 yang_dnode_get_bool(args
->dnode
, NULL
));
28190 * /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
28192 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
28193 struct nb_cb_modify_args
*args
)
28195 switch (args
->event
) {
28196 case NB_EV_VALIDATE
:
28197 case NB_EV_PREPARE
:
28201 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28202 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
28203 yang_dnode_get_bool(args
->dnode
, NULL
));
28213 * /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
28215 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
28216 struct nb_cb_modify_args
*args
)
28218 switch (args
->event
) {
28219 case NB_EV_VALIDATE
:
28220 case NB_EV_PREPARE
:
28224 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28225 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
28226 yang_dnode_get_bool(args
->dnode
, NULL
));
28236 * /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
28238 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
28239 struct nb_cb_modify_args
*args
)
28241 switch (args
->event
) {
28242 case NB_EV_VALIDATE
:
28243 case NB_EV_PREPARE
:
28247 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28248 args
, PEER_FLAG_REFLECTOR_CLIENT
,
28249 yang_dnode_get_bool(args
->dnode
, NULL
));
28259 * /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
28261 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
28262 struct nb_cb_modify_args
*args
)
28264 switch (args
->event
) {
28265 case NB_EV_VALIDATE
:
28266 case NB_EV_PREPARE
:
28270 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28271 args
, PEER_FLAG_RSERVER_CLIENT
,
28272 yang_dnode_get_bool(args
->dnode
, NULL
));
28282 * /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
28284 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
28285 struct nb_cb_modify_args
*args
)
28287 switch (args
->event
) {
28288 case NB_EV_VALIDATE
:
28289 case NB_EV_PREPARE
:
28293 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28294 args
, PEER_FLAG_SEND_COMMUNITY
,
28295 yang_dnode_get_bool(args
->dnode
, NULL
));
28305 * /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
28307 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
28308 struct nb_cb_modify_args
*args
)
28310 switch (args
->event
) {
28311 case NB_EV_VALIDATE
:
28312 case NB_EV_PREPARE
:
28316 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28317 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
28318 yang_dnode_get_bool(args
->dnode
, NULL
));
28328 * /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
28330 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
28331 struct nb_cb_modify_args
*args
)
28333 switch (args
->event
) {
28334 case NB_EV_VALIDATE
:
28335 case NB_EV_PREPARE
:
28339 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28340 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
28341 yang_dnode_get_bool(args
->dnode
, NULL
));
28351 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
28353 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
28354 struct nb_cb_modify_args
*args
)
28356 switch (args
->event
) {
28357 case NB_EV_VALIDATE
:
28358 case NB_EV_PREPARE
:
28362 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28363 args
, PEER_FLAG_SOFT_RECONFIG
,
28364 yang_dnode_get_bool(args
->dnode
, NULL
));
28374 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-unicast/weight/weight-attribute
28376 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
28377 struct nb_cb_modify_args
*args
)
28379 switch (args
->event
) {
28380 case NB_EV_VALIDATE
:
28381 case NB_EV_PREPARE
:
28385 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
28393 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
28394 struct nb_cb_destroy_args
*args
)
28396 switch (args
->event
) {
28397 case NB_EV_VALIDATE
:
28398 case NB_EV_PREPARE
:
28402 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
28412 * /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
28414 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
28415 struct nb_cb_modify_args
*args
)
28417 switch (args
->event
) {
28418 case NB_EV_VALIDATE
:
28419 case NB_EV_PREPARE
:
28423 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
28430 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
28431 struct nb_cb_destroy_args
*args
)
28433 switch (args
->event
) {
28434 case NB_EV_VALIDATE
:
28435 case NB_EV_PREPARE
:
28439 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
28448 * /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
28450 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
28451 struct nb_cb_modify_args
*args
)
28453 switch (args
->event
) {
28454 case NB_EV_VALIDATE
:
28455 case NB_EV_PREPARE
:
28459 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
28466 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
28467 struct nb_cb_destroy_args
*args
)
28469 switch (args
->event
) {
28470 case NB_EV_VALIDATE
:
28471 case NB_EV_PREPARE
:
28475 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
28484 * /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
28486 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
28487 struct nb_cb_modify_args
*args
)
28489 switch (args
->event
) {
28490 case NB_EV_VALIDATE
:
28491 case NB_EV_PREPARE
:
28495 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
28502 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
28503 struct nb_cb_destroy_args
*args
)
28505 switch (args
->event
) {
28506 case NB_EV_VALIDATE
:
28507 case NB_EV_PREPARE
:
28511 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
28520 * /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
28522 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
28523 struct nb_cb_modify_args
*args
)
28525 switch (args
->event
) {
28526 case NB_EV_VALIDATE
:
28527 case NB_EV_PREPARE
:
28531 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
28538 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
28539 struct nb_cb_destroy_args
*args
)
28541 switch (args
->event
) {
28542 case NB_EV_VALIDATE
:
28543 case NB_EV_PREPARE
:
28547 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
28556 * /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
28558 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
28559 struct nb_cb_modify_args
*args
)
28561 switch (args
->event
) {
28562 case NB_EV_VALIDATE
:
28563 case NB_EV_PREPARE
:
28566 /* TODO: implement me. */
28573 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
28574 struct nb_cb_destroy_args
*args
)
28576 switch (args
->event
) {
28577 case NB_EV_VALIDATE
:
28578 case NB_EV_PREPARE
:
28581 /* TODO: implement me. */
28590 * /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
28592 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
28593 struct nb_cb_modify_args
*args
)
28595 switch (args
->event
) {
28596 case NB_EV_VALIDATE
:
28597 case NB_EV_PREPARE
:
28600 /* TODO: implement me. */
28607 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
28608 struct nb_cb_destroy_args
*args
)
28610 switch (args
->event
) {
28611 case NB_EV_VALIDATE
:
28612 case NB_EV_PREPARE
:
28615 /* TODO: implement me. */
28624 * /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
28626 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
28627 struct nb_cb_modify_args
*args
)
28629 switch (args
->event
) {
28630 case NB_EV_VALIDATE
:
28631 case NB_EV_PREPARE
:
28634 /* TODO: implement me. */
28641 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
28642 struct nb_cb_destroy_args
*args
)
28644 switch (args
->event
) {
28645 case NB_EV_VALIDATE
:
28646 case NB_EV_PREPARE
:
28649 /* TODO: implement me. */
28658 * /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
28660 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
28661 struct nb_cb_modify_args
*args
)
28663 switch (args
->event
) {
28664 case NB_EV_VALIDATE
:
28665 case NB_EV_PREPARE
:
28668 /* TODO: implement me. */
28675 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
28676 struct nb_cb_destroy_args
*args
)
28678 switch (args
->event
) {
28679 case NB_EV_VALIDATE
:
28680 case NB_EV_PREPARE
:
28683 /* TODO: implement me. */
28692 * /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
28694 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
28695 struct nb_cb_modify_args
*args
)
28697 switch (args
->event
) {
28698 case NB_EV_VALIDATE
:
28699 case NB_EV_PREPARE
:
28702 /* TODO: implement me. */
28709 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
28710 struct nb_cb_destroy_args
*args
)
28712 switch (args
->event
) {
28713 case NB_EV_VALIDATE
:
28714 case NB_EV_PREPARE
:
28717 /* TODO: implement me. */
28726 * /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
28728 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
28729 struct nb_cb_modify_args
*args
)
28731 switch (args
->event
) {
28732 case NB_EV_VALIDATE
:
28733 case NB_EV_PREPARE
:
28736 /* TODO: implement me. */
28743 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
28744 struct nb_cb_destroy_args
*args
)
28746 switch (args
->event
) {
28747 case NB_EV_VALIDATE
:
28748 case NB_EV_PREPARE
:
28751 /* TODO: implement me. */
28760 * /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
28762 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
28763 struct nb_cb_modify_args
*args
)
28765 switch (args
->event
) {
28766 case NB_EV_VALIDATE
:
28767 case NB_EV_PREPARE
:
28770 /* TODO: implement me. */
28779 * /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
28781 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
28782 struct nb_cb_modify_args
*args
)
28784 switch (args
->event
) {
28785 case NB_EV_VALIDATE
:
28786 case NB_EV_PREPARE
:
28789 /* TODO: implement me. */
28796 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
28797 struct nb_cb_destroy_args
*args
)
28799 switch (args
->event
) {
28800 case NB_EV_VALIDATE
:
28801 case NB_EV_PREPARE
:
28804 /* TODO: implement me. */
28813 * /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
28815 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
28816 struct nb_cb_modify_args
*args
)
28818 switch (args
->event
) {
28819 case NB_EV_VALIDATE
:
28820 case NB_EV_PREPARE
:
28823 /* TODO: implement me. */
28830 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
28831 struct nb_cb_destroy_args
*args
)
28833 switch (args
->event
) {
28834 case NB_EV_VALIDATE
:
28835 case NB_EV_PREPARE
:
28838 /* TODO: implement me. */
28847 * /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
28849 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
28850 struct nb_cb_modify_args
*args
)
28852 switch (args
->event
) {
28853 case NB_EV_VALIDATE
:
28854 case NB_EV_PREPARE
:
28858 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28859 args
, PEER_FLAG_AS_OVERRIDE
,
28860 yang_dnode_get_bool(args
->dnode
, NULL
));
28870 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/default-originate/originate
28872 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
28873 struct nb_cb_modify_args
*args
)
28875 switch (args
->event
) {
28876 case NB_EV_VALIDATE
:
28877 case NB_EV_PREPARE
:
28880 /* TODO: implement me. */
28889 * /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
28891 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
28892 struct nb_cb_modify_args
*args
)
28894 switch (args
->event
) {
28895 case NB_EV_VALIDATE
:
28896 case NB_EV_PREPARE
:
28899 /* TODO: implement me. */
28906 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
28907 struct nb_cb_destroy_args
*args
)
28909 switch (args
->event
) {
28910 case NB_EV_VALIDATE
:
28911 case NB_EV_PREPARE
:
28914 /* TODO: implement me. */
28923 * /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
28925 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
28926 struct nb_cb_modify_args
*args
)
28928 switch (args
->event
) {
28929 case NB_EV_VALIDATE
:
28930 case NB_EV_PREPARE
:
28934 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28935 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
28936 yang_dnode_get_bool(args
->dnode
, NULL
));
28946 * /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
28948 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
28949 struct nb_cb_modify_args
*args
)
28951 switch (args
->event
) {
28952 case NB_EV_VALIDATE
:
28953 case NB_EV_PREPARE
:
28957 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28958 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
28959 yang_dnode_get_bool(args
->dnode
, NULL
));
28969 * /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
28971 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
28972 struct nb_cb_modify_args
*args
)
28974 switch (args
->event
) {
28975 case NB_EV_VALIDATE
:
28976 case NB_EV_PREPARE
:
28980 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
28981 args
, PEER_FLAG_MED_UNCHANGED
,
28982 yang_dnode_get_bool(args
->dnode
, NULL
));
28992 * /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
28994 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
28995 struct nb_cb_modify_args
*args
)
28997 switch (args
->event
) {
28998 case NB_EV_VALIDATE
:
28999 case NB_EV_PREPARE
:
29002 /* TODO: implement me. */
29009 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
29010 struct nb_cb_destroy_args
*args
)
29012 switch (args
->event
) {
29013 case NB_EV_VALIDATE
:
29014 case NB_EV_PREPARE
:
29017 /* TODO: implement me. */
29026 * /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
29028 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
29029 struct nb_cb_modify_args
*args
)
29031 switch (args
->event
) {
29032 case NB_EV_VALIDATE
:
29033 case NB_EV_PREPARE
:
29036 /* TODO: implement me. */
29043 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
29044 struct nb_cb_destroy_args
*args
)
29046 switch (args
->event
) {
29047 case NB_EV_VALIDATE
:
29048 case NB_EV_PREPARE
:
29051 /* TODO: implement me. */
29060 * /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
29062 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
29063 struct nb_cb_modify_args
*args
)
29065 switch (args
->event
) {
29066 case NB_EV_VALIDATE
:
29067 case NB_EV_PREPARE
:
29070 /* TODO: implement me. */
29077 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
29078 struct nb_cb_destroy_args
*args
)
29080 switch (args
->event
) {
29081 case NB_EV_VALIDATE
:
29082 case NB_EV_PREPARE
:
29085 /* TODO: implement me. */
29094 * /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
29096 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
29097 struct nb_cb_create_args
*args
)
29099 switch (args
->event
) {
29100 case NB_EV_VALIDATE
:
29101 case NB_EV_PREPARE
:
29104 /* TODO: implement me. */
29111 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
29112 struct nb_cb_destroy_args
*args
)
29114 switch (args
->event
) {
29115 case NB_EV_VALIDATE
:
29116 case NB_EV_PREPARE
:
29120 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
29129 * /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
29131 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
29132 struct nb_cb_modify_args
*args
)
29134 switch (args
->event
) {
29135 case NB_EV_VALIDATE
:
29136 case NB_EV_PREPARE
:
29139 /* TODO: implement me. */
29148 * /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
29150 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
29151 struct nb_cb_modify_args
*args
)
29153 switch (args
->event
) {
29154 case NB_EV_VALIDATE
:
29155 case NB_EV_PREPARE
:
29158 /* TODO: implement me. */
29167 * /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
29169 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
29170 struct nb_cb_modify_args
*args
)
29172 switch (args
->event
) {
29173 case NB_EV_VALIDATE
:
29174 case NB_EV_PREPARE
:
29177 /* TODO: implement me. */
29184 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
29185 struct nb_cb_destroy_args
*args
)
29187 switch (args
->event
) {
29188 case NB_EV_VALIDATE
:
29189 case NB_EV_PREPARE
:
29192 /* TODO: implement me. */
29201 * /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
29203 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
29204 struct nb_cb_modify_args
*args
)
29206 switch (args
->event
) {
29207 case NB_EV_VALIDATE
:
29208 case NB_EV_PREPARE
:
29211 /* TODO: implement me. */
29218 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
29219 struct nb_cb_destroy_args
*args
)
29221 switch (args
->event
) {
29222 case NB_EV_VALIDATE
:
29223 case NB_EV_PREPARE
:
29226 /* TODO: implement me. */
29235 * /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
29237 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
29238 struct nb_cb_modify_args
*args
)
29240 switch (args
->event
) {
29241 case NB_EV_VALIDATE
:
29242 case NB_EV_PREPARE
:
29245 /* TODO: implement me. */
29252 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
29253 struct nb_cb_destroy_args
*args
)
29255 switch (args
->event
) {
29256 case NB_EV_VALIDATE
:
29257 case NB_EV_PREPARE
:
29260 /* TODO: implement me. */
29269 * /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
29271 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
29272 struct nb_cb_modify_args
*args
)
29274 switch (args
->event
) {
29275 case NB_EV_VALIDATE
:
29276 case NB_EV_PREPARE
:
29279 /* TODO: implement me. */
29286 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
29287 struct nb_cb_destroy_args
*args
)
29289 switch (args
->event
) {
29290 case NB_EV_VALIDATE
:
29291 case NB_EV_PREPARE
:
29294 /* TODO: implement me. */
29303 * /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
29305 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
29306 struct nb_cb_modify_args
*args
)
29308 switch (args
->event
) {
29309 case NB_EV_VALIDATE
:
29310 case NB_EV_PREPARE
:
29313 /* TODO: implement me. */
29320 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
29321 struct nb_cb_destroy_args
*args
)
29323 switch (args
->event
) {
29324 case NB_EV_VALIDATE
:
29325 case NB_EV_PREPARE
:
29328 /* TODO: implement me. */
29337 * /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
29339 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
29340 struct nb_cb_modify_args
*args
)
29342 switch (args
->event
) {
29343 case NB_EV_VALIDATE
:
29344 case NB_EV_PREPARE
:
29347 /* TODO: implement me. */
29354 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
29355 struct nb_cb_destroy_args
*args
)
29357 switch (args
->event
) {
29358 case NB_EV_VALIDATE
:
29359 case NB_EV_PREPARE
:
29362 /* TODO: implement me. */
29371 * /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
29373 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
29374 struct nb_cb_modify_args
*args
)
29376 switch (args
->event
) {
29377 case NB_EV_VALIDATE
:
29378 case NB_EV_PREPARE
:
29381 /* TODO: implement me. */
29388 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
29389 struct nb_cb_destroy_args
*args
)
29391 switch (args
->event
) {
29392 case NB_EV_VALIDATE
:
29393 case NB_EV_PREPARE
:
29396 /* TODO: implement me. */
29405 * /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
29407 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
29408 struct nb_cb_modify_args
*args
)
29410 switch (args
->event
) {
29411 case NB_EV_VALIDATE
:
29412 case NB_EV_PREPARE
:
29416 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29417 args
, PEER_FLAG_NEXTHOP_SELF
,
29418 yang_dnode_get_bool(args
->dnode
, NULL
));
29428 * /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
29430 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
29431 struct nb_cb_modify_args
*args
)
29433 switch (args
->event
) {
29434 case NB_EV_VALIDATE
:
29435 case NB_EV_PREPARE
:
29439 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29440 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
29441 yang_dnode_get_bool(args
->dnode
, NULL
));
29451 * /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
29453 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
29454 struct nb_cb_modify_args
*args
)
29456 switch (args
->event
) {
29457 case NB_EV_VALIDATE
:
29458 case NB_EV_PREPARE
:
29462 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29463 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
29464 yang_dnode_get_bool(args
->dnode
, NULL
));
29474 * /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
29476 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
29477 struct nb_cb_modify_args
*args
)
29479 switch (args
->event
) {
29480 case NB_EV_VALIDATE
:
29481 case NB_EV_PREPARE
:
29485 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29486 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
29487 yang_dnode_get_bool(args
->dnode
, NULL
));
29497 * /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
29499 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
29500 struct nb_cb_modify_args
*args
)
29502 switch (args
->event
) {
29503 case NB_EV_VALIDATE
:
29504 case NB_EV_PREPARE
:
29508 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29509 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
29510 yang_dnode_get_bool(args
->dnode
, NULL
));
29520 * /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
29522 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
29523 struct nb_cb_modify_args
*args
)
29525 switch (args
->event
) {
29526 case NB_EV_VALIDATE
:
29527 case NB_EV_PREPARE
:
29531 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29532 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
29533 yang_dnode_get_bool(args
->dnode
, NULL
));
29543 * /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
29545 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
29546 struct nb_cb_modify_args
*args
)
29548 switch (args
->event
) {
29549 case NB_EV_VALIDATE
:
29550 case NB_EV_PREPARE
:
29554 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29555 args
, PEER_FLAG_REFLECTOR_CLIENT
,
29556 yang_dnode_get_bool(args
->dnode
, NULL
));
29566 * /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
29568 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
29569 struct nb_cb_modify_args
*args
)
29571 switch (args
->event
) {
29572 case NB_EV_VALIDATE
:
29573 case NB_EV_PREPARE
:
29577 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29578 args
, PEER_FLAG_RSERVER_CLIENT
,
29579 yang_dnode_get_bool(args
->dnode
, NULL
));
29589 * /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
29591 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
29592 struct nb_cb_modify_args
*args
)
29594 switch (args
->event
) {
29595 case NB_EV_VALIDATE
:
29596 case NB_EV_PREPARE
:
29600 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29601 args
, PEER_FLAG_SEND_COMMUNITY
,
29602 yang_dnode_get_bool(args
->dnode
, NULL
));
29612 * /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
29614 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
29615 struct nb_cb_modify_args
*args
)
29617 switch (args
->event
) {
29618 case NB_EV_VALIDATE
:
29619 case NB_EV_PREPARE
:
29623 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29624 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
29625 yang_dnode_get_bool(args
->dnode
, NULL
));
29635 * /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
29637 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
29638 struct nb_cb_modify_args
*args
)
29640 switch (args
->event
) {
29641 case NB_EV_VALIDATE
:
29642 case NB_EV_PREPARE
:
29646 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29647 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
29648 yang_dnode_get_bool(args
->dnode
, NULL
));
29658 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
29660 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
29661 struct nb_cb_modify_args
*args
)
29663 switch (args
->event
) {
29664 case NB_EV_VALIDATE
:
29665 case NB_EV_PREPARE
:
29669 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
29670 args
, PEER_FLAG_SOFT_RECONFIG
,
29671 yang_dnode_get_bool(args
->dnode
, NULL
));
29681 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-multicast/weight/weight-attribute
29683 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
29684 struct nb_cb_modify_args
*args
)
29686 switch (args
->event
) {
29687 case NB_EV_VALIDATE
:
29688 case NB_EV_PREPARE
:
29692 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
29700 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
29701 struct nb_cb_destroy_args
*args
)
29703 switch (args
->event
) {
29704 case NB_EV_VALIDATE
:
29705 case NB_EV_PREPARE
:
29709 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
29719 * /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
29721 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
29722 struct nb_cb_modify_args
*args
)
29724 switch (args
->event
) {
29725 case NB_EV_VALIDATE
:
29726 case NB_EV_PREPARE
:
29730 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
29737 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
29738 struct nb_cb_destroy_args
*args
)
29740 switch (args
->event
) {
29741 case NB_EV_VALIDATE
:
29742 case NB_EV_PREPARE
:
29746 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
29755 * /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
29757 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
29758 struct nb_cb_modify_args
*args
)
29760 switch (args
->event
) {
29761 case NB_EV_VALIDATE
:
29762 case NB_EV_PREPARE
:
29766 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
29773 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
29774 struct nb_cb_destroy_args
*args
)
29776 switch (args
->event
) {
29777 case NB_EV_VALIDATE
:
29778 case NB_EV_PREPARE
:
29782 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
29791 * /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
29793 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
29794 struct nb_cb_modify_args
*args
)
29796 switch (args
->event
) {
29797 case NB_EV_VALIDATE
:
29798 case NB_EV_PREPARE
:
29802 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
29809 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
29810 struct nb_cb_destroy_args
*args
)
29812 switch (args
->event
) {
29813 case NB_EV_VALIDATE
:
29814 case NB_EV_PREPARE
:
29818 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
29827 * /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
29829 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
29830 struct nb_cb_modify_args
*args
)
29832 switch (args
->event
) {
29833 case NB_EV_VALIDATE
:
29834 case NB_EV_PREPARE
:
29838 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
29845 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
29846 struct nb_cb_destroy_args
*args
)
29848 switch (args
->event
) {
29849 case NB_EV_VALIDATE
:
29850 case NB_EV_PREPARE
:
29854 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
29863 * /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
29865 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
29866 struct nb_cb_modify_args
*args
)
29868 switch (args
->event
) {
29869 case NB_EV_VALIDATE
:
29870 case NB_EV_PREPARE
:
29873 /* TODO: implement me. */
29880 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
29881 struct nb_cb_destroy_args
*args
)
29883 switch (args
->event
) {
29884 case NB_EV_VALIDATE
:
29885 case NB_EV_PREPARE
:
29888 /* TODO: implement me. */
29897 * /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
29899 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
29900 struct nb_cb_modify_args
*args
)
29902 switch (args
->event
) {
29903 case NB_EV_VALIDATE
:
29904 case NB_EV_PREPARE
:
29907 /* TODO: implement me. */
29914 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
29915 struct nb_cb_destroy_args
*args
)
29917 switch (args
->event
) {
29918 case NB_EV_VALIDATE
:
29919 case NB_EV_PREPARE
:
29922 /* TODO: implement me. */
29931 * /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
29933 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
29934 struct nb_cb_modify_args
*args
)
29936 switch (args
->event
) {
29937 case NB_EV_VALIDATE
:
29938 case NB_EV_PREPARE
:
29941 /* TODO: implement me. */
29948 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
29949 struct nb_cb_destroy_args
*args
)
29951 switch (args
->event
) {
29952 case NB_EV_VALIDATE
:
29953 case NB_EV_PREPARE
:
29956 /* TODO: implement me. */
29965 * /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
29967 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
29968 struct nb_cb_modify_args
*args
)
29970 switch (args
->event
) {
29971 case NB_EV_VALIDATE
:
29972 case NB_EV_PREPARE
:
29975 /* TODO: implement me. */
29982 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
29983 struct nb_cb_destroy_args
*args
)
29985 switch (args
->event
) {
29986 case NB_EV_VALIDATE
:
29987 case NB_EV_PREPARE
:
29990 /* TODO: implement me. */
29999 * /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
30001 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
30002 struct nb_cb_modify_args
*args
)
30004 switch (args
->event
) {
30005 case NB_EV_VALIDATE
:
30006 case NB_EV_PREPARE
:
30009 /* TODO: implement me. */
30016 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
30017 struct nb_cb_destroy_args
*args
)
30019 switch (args
->event
) {
30020 case NB_EV_VALIDATE
:
30021 case NB_EV_PREPARE
:
30024 /* TODO: implement me. */
30033 * /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
30035 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
30036 struct nb_cb_modify_args
*args
)
30038 switch (args
->event
) {
30039 case NB_EV_VALIDATE
:
30040 case NB_EV_PREPARE
:
30043 /* TODO: implement me. */
30050 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
30051 struct nb_cb_destroy_args
*args
)
30053 switch (args
->event
) {
30054 case NB_EV_VALIDATE
:
30055 case NB_EV_PREPARE
:
30058 /* TODO: implement me. */
30067 * /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
30069 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
30070 struct nb_cb_modify_args
*args
)
30072 switch (args
->event
) {
30073 case NB_EV_VALIDATE
:
30074 case NB_EV_PREPARE
:
30077 /* TODO: implement me. */
30086 * /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
30088 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
30089 struct nb_cb_modify_args
*args
)
30091 switch (args
->event
) {
30092 case NB_EV_VALIDATE
:
30093 case NB_EV_PREPARE
:
30096 /* TODO: implement me. */
30103 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
30104 struct nb_cb_destroy_args
*args
)
30106 switch (args
->event
) {
30107 case NB_EV_VALIDATE
:
30108 case NB_EV_PREPARE
:
30111 /* TODO: implement me. */
30120 * /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
30122 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
30123 struct nb_cb_modify_args
*args
)
30125 switch (args
->event
) {
30126 case NB_EV_VALIDATE
:
30127 case NB_EV_PREPARE
:
30130 /* TODO: implement me. */
30137 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
30138 struct nb_cb_destroy_args
*args
)
30140 switch (args
->event
) {
30141 case NB_EV_VALIDATE
:
30142 case NB_EV_PREPARE
:
30145 /* TODO: implement me. */
30154 * /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
30156 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
30157 struct nb_cb_modify_args
*args
)
30159 switch (args
->event
) {
30160 case NB_EV_VALIDATE
:
30161 case NB_EV_PREPARE
:
30165 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30166 args
, PEER_FLAG_AS_OVERRIDE
,
30167 yang_dnode_get_bool(args
->dnode
, NULL
));
30177 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/default-originate/originate
30179 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
30180 struct nb_cb_modify_args
*args
)
30182 switch (args
->event
) {
30183 case NB_EV_VALIDATE
:
30184 case NB_EV_PREPARE
:
30187 /* TODO: implement me. */
30196 * /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
30198 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
30199 struct nb_cb_modify_args
*args
)
30201 switch (args
->event
) {
30202 case NB_EV_VALIDATE
:
30203 case NB_EV_PREPARE
:
30206 /* TODO: implement me. */
30213 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
30214 struct nb_cb_destroy_args
*args
)
30216 switch (args
->event
) {
30217 case NB_EV_VALIDATE
:
30218 case NB_EV_PREPARE
:
30221 /* TODO: implement me. */
30230 * /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
30232 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
30233 struct nb_cb_modify_args
*args
)
30235 switch (args
->event
) {
30236 case NB_EV_VALIDATE
:
30237 case NB_EV_PREPARE
:
30241 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30242 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
30243 yang_dnode_get_bool(args
->dnode
, NULL
));
30253 * /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
30255 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
30256 struct nb_cb_modify_args
*args
)
30258 switch (args
->event
) {
30259 case NB_EV_VALIDATE
:
30260 case NB_EV_PREPARE
:
30264 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30265 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
30266 yang_dnode_get_bool(args
->dnode
, NULL
));
30276 * /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
30278 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
30279 struct nb_cb_modify_args
*args
)
30281 switch (args
->event
) {
30282 case NB_EV_VALIDATE
:
30283 case NB_EV_PREPARE
:
30287 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30288 args
, PEER_FLAG_MED_UNCHANGED
,
30289 yang_dnode_get_bool(args
->dnode
, NULL
));
30299 * /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
30301 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
30302 struct nb_cb_modify_args
*args
)
30304 switch (args
->event
) {
30305 case NB_EV_VALIDATE
:
30306 case NB_EV_PREPARE
:
30309 /* TODO: implement me. */
30316 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
30317 struct nb_cb_destroy_args
*args
)
30319 switch (args
->event
) {
30320 case NB_EV_VALIDATE
:
30321 case NB_EV_PREPARE
:
30324 /* TODO: implement me. */
30333 * /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
30335 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
30336 struct nb_cb_modify_args
*args
)
30338 switch (args
->event
) {
30339 case NB_EV_VALIDATE
:
30340 case NB_EV_PREPARE
:
30343 /* TODO: implement me. */
30350 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
30351 struct nb_cb_destroy_args
*args
)
30353 switch (args
->event
) {
30354 case NB_EV_VALIDATE
:
30355 case NB_EV_PREPARE
:
30358 /* TODO: implement me. */
30367 * /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
30369 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
30370 struct nb_cb_modify_args
*args
)
30372 switch (args
->event
) {
30373 case NB_EV_VALIDATE
:
30374 case NB_EV_PREPARE
:
30377 /* TODO: implement me. */
30384 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
30385 struct nb_cb_destroy_args
*args
)
30387 switch (args
->event
) {
30388 case NB_EV_VALIDATE
:
30389 case NB_EV_PREPARE
:
30392 /* TODO: implement me. */
30401 * /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
30403 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
30404 struct nb_cb_create_args
*args
)
30406 switch (args
->event
) {
30407 case NB_EV_VALIDATE
:
30408 case NB_EV_PREPARE
:
30411 /* TODO: implement me. */
30418 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
30419 struct nb_cb_destroy_args
*args
)
30421 switch (args
->event
) {
30422 case NB_EV_VALIDATE
:
30423 case NB_EV_PREPARE
:
30427 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
30436 * /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
30438 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
30439 struct nb_cb_modify_args
*args
)
30441 switch (args
->event
) {
30442 case NB_EV_VALIDATE
:
30443 case NB_EV_PREPARE
:
30446 /* TODO: implement me. */
30455 * /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
30457 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
30458 struct nb_cb_modify_args
*args
)
30460 switch (args
->event
) {
30461 case NB_EV_VALIDATE
:
30462 case NB_EV_PREPARE
:
30465 /* TODO: implement me. */
30474 * /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
30476 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
30477 struct nb_cb_modify_args
*args
)
30479 switch (args
->event
) {
30480 case NB_EV_VALIDATE
:
30481 case NB_EV_PREPARE
:
30484 /* TODO: implement me. */
30491 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
30492 struct nb_cb_destroy_args
*args
)
30494 switch (args
->event
) {
30495 case NB_EV_VALIDATE
:
30496 case NB_EV_PREPARE
:
30499 /* TODO: implement me. */
30508 * /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
30510 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
30511 struct nb_cb_modify_args
*args
)
30513 switch (args
->event
) {
30514 case NB_EV_VALIDATE
:
30515 case NB_EV_PREPARE
:
30518 /* TODO: implement me. */
30525 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
30526 struct nb_cb_destroy_args
*args
)
30528 switch (args
->event
) {
30529 case NB_EV_VALIDATE
:
30530 case NB_EV_PREPARE
:
30533 /* TODO: implement me. */
30542 * /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
30544 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
30545 struct nb_cb_modify_args
*args
)
30547 switch (args
->event
) {
30548 case NB_EV_VALIDATE
:
30549 case NB_EV_PREPARE
:
30552 /* TODO: implement me. */
30559 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
30560 struct nb_cb_destroy_args
*args
)
30562 switch (args
->event
) {
30563 case NB_EV_VALIDATE
:
30564 case NB_EV_PREPARE
:
30567 /* TODO: implement me. */
30576 * /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
30578 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
30579 struct nb_cb_modify_args
*args
)
30581 switch (args
->event
) {
30582 case NB_EV_VALIDATE
:
30583 case NB_EV_PREPARE
:
30586 /* TODO: implement me. */
30593 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
30594 struct nb_cb_destroy_args
*args
)
30596 switch (args
->event
) {
30597 case NB_EV_VALIDATE
:
30598 case NB_EV_PREPARE
:
30601 /* TODO: implement me. */
30610 * /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
30612 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
30613 struct nb_cb_modify_args
*args
)
30615 switch (args
->event
) {
30616 case NB_EV_VALIDATE
:
30617 case NB_EV_PREPARE
:
30620 /* TODO: implement me. */
30627 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
30628 struct nb_cb_destroy_args
*args
)
30630 switch (args
->event
) {
30631 case NB_EV_VALIDATE
:
30632 case NB_EV_PREPARE
:
30635 /* TODO: implement me. */
30644 * /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
30646 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
30647 struct nb_cb_modify_args
*args
)
30649 switch (args
->event
) {
30650 case NB_EV_VALIDATE
:
30651 case NB_EV_PREPARE
:
30654 /* TODO: implement me. */
30661 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
30662 struct nb_cb_destroy_args
*args
)
30664 switch (args
->event
) {
30665 case NB_EV_VALIDATE
:
30666 case NB_EV_PREPARE
:
30669 /* TODO: implement me. */
30678 * /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
30680 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
30681 struct nb_cb_modify_args
*args
)
30683 switch (args
->event
) {
30684 case NB_EV_VALIDATE
:
30685 case NB_EV_PREPARE
:
30688 /* TODO: implement me. */
30695 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
30696 struct nb_cb_destroy_args
*args
)
30698 switch (args
->event
) {
30699 case NB_EV_VALIDATE
:
30700 case NB_EV_PREPARE
:
30703 /* TODO: implement me. */
30712 * /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
30714 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
30715 struct nb_cb_modify_args
*args
)
30717 switch (args
->event
) {
30718 case NB_EV_VALIDATE
:
30719 case NB_EV_PREPARE
:
30723 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30724 args
, PEER_FLAG_NEXTHOP_SELF
,
30725 yang_dnode_get_bool(args
->dnode
, NULL
));
30735 * /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
30737 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
30738 struct nb_cb_modify_args
*args
)
30740 switch (args
->event
) {
30741 case NB_EV_VALIDATE
:
30742 case NB_EV_PREPARE
:
30746 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30747 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
30748 yang_dnode_get_bool(args
->dnode
, NULL
));
30758 * /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
30760 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
30761 struct nb_cb_modify_args
*args
)
30763 switch (args
->event
) {
30764 case NB_EV_VALIDATE
:
30765 case NB_EV_PREPARE
:
30769 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30770 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
30771 yang_dnode_get_bool(args
->dnode
, NULL
));
30781 * /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
30783 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
30784 struct nb_cb_modify_args
*args
)
30786 switch (args
->event
) {
30787 case NB_EV_VALIDATE
:
30788 case NB_EV_PREPARE
:
30792 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30793 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
30794 yang_dnode_get_bool(args
->dnode
, NULL
));
30804 * /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
30806 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
30807 struct nb_cb_modify_args
*args
)
30809 switch (args
->event
) {
30810 case NB_EV_VALIDATE
:
30811 case NB_EV_PREPARE
:
30815 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30816 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
30817 yang_dnode_get_bool(args
->dnode
, NULL
));
30827 * /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
30829 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
30830 struct nb_cb_modify_args
*args
)
30832 switch (args
->event
) {
30833 case NB_EV_VALIDATE
:
30834 case NB_EV_PREPARE
:
30838 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30839 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
30840 yang_dnode_get_bool(args
->dnode
, NULL
));
30850 * /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
30852 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
30853 struct nb_cb_modify_args
*args
)
30855 switch (args
->event
) {
30856 case NB_EV_VALIDATE
:
30857 case NB_EV_PREPARE
:
30861 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30862 args
, PEER_FLAG_REFLECTOR_CLIENT
,
30863 yang_dnode_get_bool(args
->dnode
, NULL
));
30873 * /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
30875 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
30876 struct nb_cb_modify_args
*args
)
30878 switch (args
->event
) {
30879 case NB_EV_VALIDATE
:
30880 case NB_EV_PREPARE
:
30884 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30885 args
, PEER_FLAG_RSERVER_CLIENT
,
30886 yang_dnode_get_bool(args
->dnode
, NULL
));
30896 * /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
30898 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
30899 struct nb_cb_modify_args
*args
)
30901 switch (args
->event
) {
30902 case NB_EV_VALIDATE
:
30903 case NB_EV_PREPARE
:
30907 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30908 args
, PEER_FLAG_SEND_COMMUNITY
,
30909 yang_dnode_get_bool(args
->dnode
, NULL
));
30919 * /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
30921 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
30922 struct nb_cb_modify_args
*args
)
30924 switch (args
->event
) {
30925 case NB_EV_VALIDATE
:
30926 case NB_EV_PREPARE
:
30930 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30931 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
30932 yang_dnode_get_bool(args
->dnode
, NULL
));
30942 * /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
30944 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
30945 struct nb_cb_modify_args
*args
)
30947 switch (args
->event
) {
30948 case NB_EV_VALIDATE
:
30949 case NB_EV_PREPARE
:
30953 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30954 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
30955 yang_dnode_get_bool(args
->dnode
, NULL
));
30965 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
30967 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
30968 struct nb_cb_modify_args
*args
)
30970 switch (args
->event
) {
30971 case NB_EV_VALIDATE
:
30972 case NB_EV_PREPARE
:
30976 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
30977 args
, PEER_FLAG_SOFT_RECONFIG
,
30978 yang_dnode_get_bool(args
->dnode
, NULL
));
30988 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-multicast/weight/weight-attribute
30990 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
30991 struct nb_cb_modify_args
*args
)
30993 switch (args
->event
) {
30994 case NB_EV_VALIDATE
:
30995 case NB_EV_PREPARE
:
30999 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
31007 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
31008 struct nb_cb_destroy_args
*args
)
31010 switch (args
->event
) {
31011 case NB_EV_VALIDATE
:
31012 case NB_EV_PREPARE
:
31016 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
31026 * /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
31028 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
31029 struct nb_cb_modify_args
*args
)
31031 switch (args
->event
) {
31032 case NB_EV_VALIDATE
:
31033 case NB_EV_PREPARE
:
31037 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
31044 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
31045 struct nb_cb_destroy_args
*args
)
31047 switch (args
->event
) {
31048 case NB_EV_VALIDATE
:
31049 case NB_EV_PREPARE
:
31053 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
31062 * /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
31064 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
31065 struct nb_cb_modify_args
*args
)
31067 switch (args
->event
) {
31068 case NB_EV_VALIDATE
:
31069 case NB_EV_PREPARE
:
31073 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
31080 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
31081 struct nb_cb_destroy_args
*args
)
31083 switch (args
->event
) {
31084 case NB_EV_VALIDATE
:
31085 case NB_EV_PREPARE
:
31089 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
31098 * /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
31100 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
31101 struct nb_cb_modify_args
*args
)
31103 switch (args
->event
) {
31104 case NB_EV_VALIDATE
:
31105 case NB_EV_PREPARE
:
31109 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
31116 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
31117 struct nb_cb_destroy_args
*args
)
31119 switch (args
->event
) {
31120 case NB_EV_VALIDATE
:
31121 case NB_EV_PREPARE
:
31125 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
31134 * /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
31136 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
31137 struct nb_cb_modify_args
*args
)
31139 switch (args
->event
) {
31140 case NB_EV_VALIDATE
:
31141 case NB_EV_PREPARE
:
31145 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
31152 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
31153 struct nb_cb_destroy_args
*args
)
31155 switch (args
->event
) {
31156 case NB_EV_VALIDATE
:
31157 case NB_EV_PREPARE
:
31161 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
31170 * /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
31172 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
31173 struct nb_cb_modify_args
*args
)
31175 switch (args
->event
) {
31176 case NB_EV_VALIDATE
:
31177 case NB_EV_PREPARE
:
31180 /* TODO: implement me. */
31187 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
31188 struct nb_cb_destroy_args
*args
)
31190 switch (args
->event
) {
31191 case NB_EV_VALIDATE
:
31192 case NB_EV_PREPARE
:
31195 /* TODO: implement me. */
31204 * /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
31206 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
31207 struct nb_cb_modify_args
*args
)
31209 switch (args
->event
) {
31210 case NB_EV_VALIDATE
:
31211 case NB_EV_PREPARE
:
31214 /* TODO: implement me. */
31221 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
31222 struct nb_cb_destroy_args
*args
)
31224 switch (args
->event
) {
31225 case NB_EV_VALIDATE
:
31226 case NB_EV_PREPARE
:
31229 /* TODO: implement me. */
31238 * /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
31240 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
31241 struct nb_cb_modify_args
*args
)
31243 switch (args
->event
) {
31244 case NB_EV_VALIDATE
:
31245 case NB_EV_PREPARE
:
31248 /* TODO: implement me. */
31255 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
31256 struct nb_cb_destroy_args
*args
)
31258 switch (args
->event
) {
31259 case NB_EV_VALIDATE
:
31260 case NB_EV_PREPARE
:
31263 /* TODO: implement me. */
31272 * /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
31274 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
31275 struct nb_cb_modify_args
*args
)
31277 switch (args
->event
) {
31278 case NB_EV_VALIDATE
:
31279 case NB_EV_PREPARE
:
31282 /* TODO: implement me. */
31289 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
31290 struct nb_cb_destroy_args
*args
)
31292 switch (args
->event
) {
31293 case NB_EV_VALIDATE
:
31294 case NB_EV_PREPARE
:
31297 /* TODO: implement me. */
31306 * /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
31308 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
31309 struct nb_cb_modify_args
*args
)
31311 switch (args
->event
) {
31312 case NB_EV_VALIDATE
:
31313 case NB_EV_PREPARE
:
31316 /* TODO: implement me. */
31323 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
31324 struct nb_cb_destroy_args
*args
)
31326 switch (args
->event
) {
31327 case NB_EV_VALIDATE
:
31328 case NB_EV_PREPARE
:
31331 /* TODO: implement me. */
31340 * /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
31342 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
31343 struct nb_cb_modify_args
*args
)
31345 switch (args
->event
) {
31346 case NB_EV_VALIDATE
:
31347 case NB_EV_PREPARE
:
31350 /* TODO: implement me. */
31357 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
31358 struct nb_cb_destroy_args
*args
)
31360 switch (args
->event
) {
31361 case NB_EV_VALIDATE
:
31362 case NB_EV_PREPARE
:
31365 /* TODO: implement me. */
31375 * /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
31377 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
31378 struct nb_cb_modify_args
*args
)
31380 switch (args
->event
) {
31381 case NB_EV_VALIDATE
:
31382 case NB_EV_PREPARE
:
31385 /* TODO: implement me. */
31394 * /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
31396 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
31397 struct nb_cb_modify_args
*args
)
31399 switch (args
->event
) {
31400 case NB_EV_VALIDATE
:
31401 case NB_EV_PREPARE
:
31404 /* TODO: implement me. */
31411 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
31412 struct nb_cb_destroy_args
*args
)
31414 switch (args
->event
) {
31415 case NB_EV_VALIDATE
:
31416 case NB_EV_PREPARE
:
31419 /* TODO: implement me. */
31428 * /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
31430 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
31431 struct nb_cb_modify_args
*args
)
31433 switch (args
->event
) {
31434 case NB_EV_VALIDATE
:
31435 case NB_EV_PREPARE
:
31438 /* TODO: implement me. */
31445 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
31446 struct nb_cb_destroy_args
*args
)
31448 switch (args
->event
) {
31449 case NB_EV_VALIDATE
:
31450 case NB_EV_PREPARE
:
31453 /* TODO: implement me. */
31462 * /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
31464 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
31465 struct nb_cb_modify_args
*args
)
31467 switch (args
->event
) {
31468 case NB_EV_VALIDATE
:
31469 case NB_EV_PREPARE
:
31473 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31474 args
, PEER_FLAG_AS_OVERRIDE
,
31475 yang_dnode_get_bool(args
->dnode
, NULL
));
31485 * /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
31487 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
31488 struct nb_cb_modify_args
*args
)
31490 switch (args
->event
) {
31491 case NB_EV_VALIDATE
:
31492 case NB_EV_PREPARE
:
31495 /* TODO: implement me. */
31504 * /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
31506 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
31507 struct nb_cb_modify_args
*args
)
31509 switch (args
->event
) {
31510 case NB_EV_VALIDATE
:
31511 case NB_EV_PREPARE
:
31514 /* TODO: implement me. */
31521 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
31522 struct nb_cb_destroy_args
*args
)
31524 switch (args
->event
) {
31525 case NB_EV_VALIDATE
:
31526 case NB_EV_PREPARE
:
31529 /* TODO: implement me. */
31538 * /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
31540 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
31541 struct nb_cb_modify_args
*args
)
31543 switch (args
->event
) {
31544 case NB_EV_VALIDATE
:
31545 case NB_EV_PREPARE
:
31549 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31550 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
31551 yang_dnode_get_bool(args
->dnode
, NULL
));
31561 * /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
31563 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
31564 struct nb_cb_modify_args
*args
)
31566 switch (args
->event
) {
31567 case NB_EV_VALIDATE
:
31568 case NB_EV_PREPARE
:
31572 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31573 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
31574 yang_dnode_get_bool(args
->dnode
, NULL
));
31584 * /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
31586 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
31587 struct nb_cb_modify_args
*args
)
31589 switch (args
->event
) {
31590 case NB_EV_VALIDATE
:
31591 case NB_EV_PREPARE
:
31595 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
31596 args
, PEER_FLAG_MED_UNCHANGED
,
31597 yang_dnode_get_bool(args
->dnode
, NULL
));
31607 * /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
31609 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
31610 struct nb_cb_modify_args
*args
)
31612 switch (args
->event
) {
31613 case NB_EV_VALIDATE
:
31614 case NB_EV_PREPARE
:
31617 /* TODO: implement me. */
31624 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
31625 struct nb_cb_destroy_args
*args
)
31627 switch (args
->event
) {
31628 case NB_EV_VALIDATE
:
31629 case NB_EV_PREPARE
:
31632 /* TODO: implement me. */
31641 * /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
31643 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
31644 struct nb_cb_modify_args
*args
)
31646 switch (args
->event
) {
31647 case NB_EV_VALIDATE
:
31648 case NB_EV_PREPARE
:
31651 /* TODO: implement me. */
31658 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
31659 struct nb_cb_destroy_args
*args
)
31661 switch (args
->event
) {
31662 case NB_EV_VALIDATE
:
31663 case NB_EV_PREPARE
:
31666 /* TODO: implement me. */
31675 * /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
31677 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
31678 struct nb_cb_modify_args
*args
)
31680 switch (args
->event
) {
31681 case NB_EV_VALIDATE
:
31682 case NB_EV_PREPARE
:
31685 /* TODO: implement me. */
31692 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
31693 struct nb_cb_destroy_args
*args
)
31695 switch (args
->event
) {
31696 case NB_EV_VALIDATE
:
31697 case NB_EV_PREPARE
:
31700 /* TODO: implement me. */
31709 * /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
31711 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
31712 struct nb_cb_create_args
*args
)
31714 switch (args
->event
) {
31715 case NB_EV_VALIDATE
:
31716 case NB_EV_PREPARE
:
31719 /* TODO: implement me. */
31726 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
31727 struct nb_cb_destroy_args
*args
)
31729 switch (args
->event
) {
31730 case NB_EV_VALIDATE
:
31731 case NB_EV_PREPARE
:
31735 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
31744 * /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
31746 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
31747 struct nb_cb_modify_args
*args
)
31749 switch (args
->event
) {
31750 case NB_EV_VALIDATE
:
31751 case NB_EV_PREPARE
:
31754 /* TODO: implement me. */
31763 * /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
31765 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
31766 struct nb_cb_modify_args
*args
)
31768 switch (args
->event
) {
31769 case NB_EV_VALIDATE
:
31770 case NB_EV_PREPARE
:
31773 /* TODO: implement me. */
31782 * /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
31784 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
31785 struct nb_cb_modify_args
*args
)
31787 switch (args
->event
) {
31788 case NB_EV_VALIDATE
:
31789 case NB_EV_PREPARE
:
31792 /* TODO: implement me. */
31799 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
31800 struct nb_cb_destroy_args
*args
)
31802 switch (args
->event
) {
31803 case NB_EV_VALIDATE
:
31804 case NB_EV_PREPARE
:
31807 /* TODO: implement me. */
31816 * /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
31818 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
31819 struct nb_cb_modify_args
*args
)
31821 switch (args
->event
) {
31822 case NB_EV_VALIDATE
:
31823 case NB_EV_PREPARE
:
31826 /* TODO: implement me. */
31833 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
31834 struct nb_cb_destroy_args
*args
)
31836 switch (args
->event
) {
31837 case NB_EV_VALIDATE
:
31838 case NB_EV_PREPARE
:
31841 /* TODO: implement me. */
31850 * /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
31852 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
31853 struct nb_cb_modify_args
*args
)
31855 switch (args
->event
) {
31856 case NB_EV_VALIDATE
:
31857 case NB_EV_PREPARE
:
31860 /* TODO: implement me. */
31867 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
31868 struct nb_cb_destroy_args
*args
)
31870 switch (args
->event
) {
31871 case NB_EV_VALIDATE
:
31872 case NB_EV_PREPARE
:
31875 /* TODO: implement me. */
31884 * /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
31886 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
31887 struct nb_cb_modify_args
*args
)
31889 switch (args
->event
) {
31890 case NB_EV_VALIDATE
:
31891 case NB_EV_PREPARE
:
31894 /* TODO: implement me. */
31901 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
31902 struct nb_cb_destroy_args
*args
)
31904 switch (args
->event
) {
31905 case NB_EV_VALIDATE
:
31906 case NB_EV_PREPARE
:
31909 /* TODO: implement me. */
31918 * /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
31920 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
31921 struct nb_cb_modify_args
*args
)
31923 switch (args
->event
) {
31924 case NB_EV_VALIDATE
:
31925 case NB_EV_PREPARE
:
31928 /* TODO: implement me. */
31935 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
31936 struct nb_cb_destroy_args
*args
)
31938 switch (args
->event
) {
31939 case NB_EV_VALIDATE
:
31940 case NB_EV_PREPARE
:
31943 /* TODO: implement me. */
31952 * /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
31954 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
31955 struct nb_cb_modify_args
*args
)
31957 switch (args
->event
) {
31958 case NB_EV_VALIDATE
:
31959 case NB_EV_PREPARE
:
31962 /* TODO: implement me. */
31969 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
31970 struct nb_cb_destroy_args
*args
)
31972 switch (args
->event
) {
31973 case NB_EV_VALIDATE
:
31974 case NB_EV_PREPARE
:
31977 /* TODO: implement me. */
31986 * /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
31988 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
31989 struct nb_cb_modify_args
*args
)
31991 switch (args
->event
) {
31992 case NB_EV_VALIDATE
:
31993 case NB_EV_PREPARE
:
31996 /* TODO: implement me. */
32003 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
32004 struct nb_cb_destroy_args
*args
)
32006 switch (args
->event
) {
32007 case NB_EV_VALIDATE
:
32008 case NB_EV_PREPARE
:
32011 /* TODO: implement me. */
32020 * /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
32022 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
32023 struct nb_cb_modify_args
*args
)
32025 switch (args
->event
) {
32026 case NB_EV_VALIDATE
:
32027 case NB_EV_PREPARE
:
32031 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32032 args
, PEER_FLAG_NEXTHOP_SELF
,
32033 yang_dnode_get_bool(args
->dnode
, NULL
));
32043 * /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
32045 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
32046 struct nb_cb_modify_args
*args
)
32048 switch (args
->event
) {
32049 case NB_EV_VALIDATE
:
32050 case NB_EV_PREPARE
:
32054 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32055 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
32056 yang_dnode_get_bool(args
->dnode
, NULL
));
32066 * /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
32068 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
32069 struct nb_cb_modify_args
*args
)
32071 switch (args
->event
) {
32072 case NB_EV_VALIDATE
:
32073 case NB_EV_PREPARE
:
32077 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32078 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
32079 yang_dnode_get_bool(args
->dnode
, NULL
));
32089 * /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
32091 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
32092 struct nb_cb_modify_args
*args
)
32094 switch (args
->event
) {
32095 case NB_EV_VALIDATE
:
32096 case NB_EV_PREPARE
:
32100 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32101 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
32102 yang_dnode_get_bool(args
->dnode
, NULL
));
32112 * /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
32114 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
32115 struct nb_cb_modify_args
*args
)
32117 switch (args
->event
) {
32118 case NB_EV_VALIDATE
:
32119 case NB_EV_PREPARE
:
32123 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32124 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
32125 yang_dnode_get_bool(args
->dnode
, NULL
));
32135 * /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
32137 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
32138 struct nb_cb_modify_args
*args
)
32140 switch (args
->event
) {
32141 case NB_EV_VALIDATE
:
32142 case NB_EV_PREPARE
:
32146 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32147 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
32148 yang_dnode_get_bool(args
->dnode
, NULL
));
32158 * /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
32160 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
32161 struct nb_cb_modify_args
*args
)
32163 switch (args
->event
) {
32164 case NB_EV_VALIDATE
:
32165 case NB_EV_PREPARE
:
32169 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32170 args
, PEER_FLAG_REFLECTOR_CLIENT
,
32171 yang_dnode_get_bool(args
->dnode
, NULL
));
32181 * /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
32183 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
32184 struct nb_cb_modify_args
*args
)
32186 switch (args
->event
) {
32187 case NB_EV_VALIDATE
:
32188 case NB_EV_PREPARE
:
32192 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32193 args
, PEER_FLAG_RSERVER_CLIENT
,
32194 yang_dnode_get_bool(args
->dnode
, NULL
));
32204 * /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
32206 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
32207 struct nb_cb_modify_args
*args
)
32209 switch (args
->event
) {
32210 case NB_EV_VALIDATE
:
32211 case NB_EV_PREPARE
:
32215 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32216 args
, PEER_FLAG_SEND_COMMUNITY
,
32217 yang_dnode_get_bool(args
->dnode
, NULL
));
32227 * /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
32229 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
32230 struct nb_cb_modify_args
*args
)
32232 switch (args
->event
) {
32233 case NB_EV_VALIDATE
:
32234 case NB_EV_PREPARE
:
32238 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32239 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
32240 yang_dnode_get_bool(args
->dnode
, NULL
));
32250 * /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
32252 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
32253 struct nb_cb_modify_args
*args
)
32255 switch (args
->event
) {
32256 case NB_EV_VALIDATE
:
32257 case NB_EV_PREPARE
:
32261 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32262 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
32263 yang_dnode_get_bool(args
->dnode
, NULL
));
32273 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-labeled-unicast/soft-reconfiguration
32275 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
32276 struct nb_cb_modify_args
*args
)
32278 switch (args
->event
) {
32279 case NB_EV_VALIDATE
:
32280 case NB_EV_PREPARE
:
32284 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32285 args
, PEER_FLAG_SOFT_RECONFIG
,
32286 yang_dnode_get_bool(args
->dnode
, NULL
));
32296 * /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
32298 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
32299 struct nb_cb_modify_args
*args
)
32301 switch (args
->event
) {
32302 case NB_EV_VALIDATE
:
32303 case NB_EV_PREPARE
:
32307 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
32315 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
32316 struct nb_cb_destroy_args
*args
)
32318 switch (args
->event
) {
32319 case NB_EV_VALIDATE
:
32320 case NB_EV_PREPARE
:
32324 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
32334 * /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
32336 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
32337 struct nb_cb_modify_args
*args
)
32339 switch (args
->event
) {
32340 case NB_EV_VALIDATE
:
32341 case NB_EV_PREPARE
:
32345 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
32352 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
32353 struct nb_cb_destroy_args
*args
)
32355 switch (args
->event
) {
32356 case NB_EV_VALIDATE
:
32357 case NB_EV_PREPARE
:
32361 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
32370 * /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
32372 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
32373 struct nb_cb_modify_args
*args
)
32375 switch (args
->event
) {
32376 case NB_EV_VALIDATE
:
32377 case NB_EV_PREPARE
:
32381 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
32388 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
32389 struct nb_cb_destroy_args
*args
)
32391 switch (args
->event
) {
32392 case NB_EV_VALIDATE
:
32393 case NB_EV_PREPARE
:
32397 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
32406 * /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
32408 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
32409 struct nb_cb_modify_args
*args
)
32411 switch (args
->event
) {
32412 case NB_EV_VALIDATE
:
32413 case NB_EV_PREPARE
:
32417 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
32424 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
32425 struct nb_cb_destroy_args
*args
)
32427 switch (args
->event
) {
32428 case NB_EV_VALIDATE
:
32429 case NB_EV_PREPARE
:
32433 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
32442 * /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
32444 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
32445 struct nb_cb_modify_args
*args
)
32447 switch (args
->event
) {
32448 case NB_EV_VALIDATE
:
32449 case NB_EV_PREPARE
:
32453 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
32460 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
32461 struct nb_cb_destroy_args
*args
)
32463 switch (args
->event
) {
32464 case NB_EV_VALIDATE
:
32465 case NB_EV_PREPARE
:
32469 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
32478 * /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
32480 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
32481 struct nb_cb_modify_args
*args
)
32483 switch (args
->event
) {
32484 case NB_EV_VALIDATE
:
32485 case NB_EV_PREPARE
:
32488 /* TODO: implement me. */
32495 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
32496 struct nb_cb_destroy_args
*args
)
32498 switch (args
->event
) {
32499 case NB_EV_VALIDATE
:
32500 case NB_EV_PREPARE
:
32503 /* TODO: implement me. */
32512 * /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
32514 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
32515 struct nb_cb_modify_args
*args
)
32517 switch (args
->event
) {
32518 case NB_EV_VALIDATE
:
32519 case NB_EV_PREPARE
:
32522 /* TODO: implement me. */
32529 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
32530 struct nb_cb_destroy_args
*args
)
32532 switch (args
->event
) {
32533 case NB_EV_VALIDATE
:
32534 case NB_EV_PREPARE
:
32537 /* TODO: implement me. */
32546 * /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
32548 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
32549 struct nb_cb_modify_args
*args
)
32551 switch (args
->event
) {
32552 case NB_EV_VALIDATE
:
32553 case NB_EV_PREPARE
:
32556 /* TODO: implement me. */
32563 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
32564 struct nb_cb_destroy_args
*args
)
32566 switch (args
->event
) {
32567 case NB_EV_VALIDATE
:
32568 case NB_EV_PREPARE
:
32571 /* TODO: implement me. */
32580 * /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
32582 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
32583 struct nb_cb_modify_args
*args
)
32585 switch (args
->event
) {
32586 case NB_EV_VALIDATE
:
32587 case NB_EV_PREPARE
:
32590 /* TODO: implement me. */
32597 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
32598 struct nb_cb_destroy_args
*args
)
32600 switch (args
->event
) {
32601 case NB_EV_VALIDATE
:
32602 case NB_EV_PREPARE
:
32605 /* TODO: implement me. */
32614 * /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
32616 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
32617 struct nb_cb_modify_args
*args
)
32619 switch (args
->event
) {
32620 case NB_EV_VALIDATE
:
32621 case NB_EV_PREPARE
:
32624 /* TODO: implement me. */
32631 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
32632 struct nb_cb_destroy_args
*args
)
32634 switch (args
->event
) {
32635 case NB_EV_VALIDATE
:
32636 case NB_EV_PREPARE
:
32639 /* TODO: implement me. */
32648 * /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
32650 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
32651 struct nb_cb_modify_args
*args
)
32653 switch (args
->event
) {
32654 case NB_EV_VALIDATE
:
32655 case NB_EV_PREPARE
:
32658 /* TODO: implement me. */
32665 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
32666 struct nb_cb_destroy_args
*args
)
32668 switch (args
->event
) {
32669 case NB_EV_VALIDATE
:
32670 case NB_EV_PREPARE
:
32673 /* TODO: implement me. */
32682 * /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
32684 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
32685 struct nb_cb_modify_args
*args
)
32687 switch (args
->event
) {
32688 case NB_EV_VALIDATE
:
32689 case NB_EV_PREPARE
:
32692 /* TODO: implement me. */
32701 * /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
32703 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
32704 struct nb_cb_modify_args
*args
)
32706 switch (args
->event
) {
32707 case NB_EV_VALIDATE
:
32708 case NB_EV_PREPARE
:
32711 /* TODO: implement me. */
32718 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
32719 struct nb_cb_destroy_args
*args
)
32721 switch (args
->event
) {
32722 case NB_EV_VALIDATE
:
32723 case NB_EV_PREPARE
:
32726 /* TODO: implement me. */
32735 * /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
32737 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
32738 struct nb_cb_modify_args
*args
)
32740 switch (args
->event
) {
32741 case NB_EV_VALIDATE
:
32742 case NB_EV_PREPARE
:
32745 /* TODO: implement me. */
32752 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
32753 struct nb_cb_destroy_args
*args
)
32755 switch (args
->event
) {
32756 case NB_EV_VALIDATE
:
32757 case NB_EV_PREPARE
:
32760 /* TODO: implement me. */
32769 * /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
32771 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
32772 struct nb_cb_modify_args
*args
)
32774 switch (args
->event
) {
32775 case NB_EV_VALIDATE
:
32776 case NB_EV_PREPARE
:
32780 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32781 args
, PEER_FLAG_AS_OVERRIDE
,
32782 yang_dnode_get_bool(args
->dnode
, NULL
));
32792 * /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
32794 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
32795 struct nb_cb_modify_args
*args
)
32797 switch (args
->event
) {
32798 case NB_EV_VALIDATE
:
32799 case NB_EV_PREPARE
:
32802 /* TODO: implement me. */
32811 * /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
32813 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
32814 struct nb_cb_modify_args
*args
)
32816 switch (args
->event
) {
32817 case NB_EV_VALIDATE
:
32818 case NB_EV_PREPARE
:
32821 /* TODO: implement me. */
32828 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
32829 struct nb_cb_destroy_args
*args
)
32831 switch (args
->event
) {
32832 case NB_EV_VALIDATE
:
32833 case NB_EV_PREPARE
:
32836 /* TODO: implement me. */
32845 * /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
32847 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
32848 struct nb_cb_modify_args
*args
)
32850 switch (args
->event
) {
32851 case NB_EV_VALIDATE
:
32852 case NB_EV_PREPARE
:
32856 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32857 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
32858 yang_dnode_get_bool(args
->dnode
, NULL
));
32868 * /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
32870 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
32871 struct nb_cb_modify_args
*args
)
32873 switch (args
->event
) {
32874 case NB_EV_VALIDATE
:
32875 case NB_EV_PREPARE
:
32879 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32880 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
32881 yang_dnode_get_bool(args
->dnode
, NULL
));
32891 * /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
32893 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
32894 struct nb_cb_modify_args
*args
)
32896 switch (args
->event
) {
32897 case NB_EV_VALIDATE
:
32898 case NB_EV_PREPARE
:
32902 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
32903 args
, PEER_FLAG_MED_UNCHANGED
,
32904 yang_dnode_get_bool(args
->dnode
, NULL
));
32914 * /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
32916 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
32917 struct nb_cb_modify_args
*args
)
32919 switch (args
->event
) {
32920 case NB_EV_VALIDATE
:
32921 case NB_EV_PREPARE
:
32924 /* TODO: implement me. */
32931 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
32932 struct nb_cb_destroy_args
*args
)
32934 switch (args
->event
) {
32935 case NB_EV_VALIDATE
:
32936 case NB_EV_PREPARE
:
32939 /* TODO: implement me. */
32948 * /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
32950 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
32951 struct nb_cb_modify_args
*args
)
32953 switch (args
->event
) {
32954 case NB_EV_VALIDATE
:
32955 case NB_EV_PREPARE
:
32958 /* TODO: implement me. */
32965 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
32966 struct nb_cb_destroy_args
*args
)
32968 switch (args
->event
) {
32969 case NB_EV_VALIDATE
:
32970 case NB_EV_PREPARE
:
32973 /* TODO: implement me. */
32982 * /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
32984 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
32985 struct nb_cb_modify_args
*args
)
32987 switch (args
->event
) {
32988 case NB_EV_VALIDATE
:
32989 case NB_EV_PREPARE
:
32992 /* TODO: implement me. */
32999 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
33000 struct nb_cb_destroy_args
*args
)
33002 switch (args
->event
) {
33003 case NB_EV_VALIDATE
:
33004 case NB_EV_PREPARE
:
33007 /* TODO: implement me. */
33016 * /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
33018 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
33019 struct nb_cb_create_args
*args
)
33021 switch (args
->event
) {
33022 case NB_EV_VALIDATE
:
33023 case NB_EV_PREPARE
:
33026 /* TODO: implement me. */
33033 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
33034 struct nb_cb_destroy_args
*args
)
33036 switch (args
->event
) {
33037 case NB_EV_VALIDATE
:
33038 case NB_EV_PREPARE
:
33042 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
33051 * /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
33053 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
33054 struct nb_cb_modify_args
*args
)
33056 switch (args
->event
) {
33057 case NB_EV_VALIDATE
:
33058 case NB_EV_PREPARE
:
33061 /* TODO: implement me. */
33070 * /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
33072 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
33073 struct nb_cb_modify_args
*args
)
33075 switch (args
->event
) {
33076 case NB_EV_VALIDATE
:
33077 case NB_EV_PREPARE
:
33080 /* TODO: implement me. */
33089 * /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
33091 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
33092 struct nb_cb_modify_args
*args
)
33094 switch (args
->event
) {
33095 case NB_EV_VALIDATE
:
33096 case NB_EV_PREPARE
:
33099 /* TODO: implement me. */
33106 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
33107 struct nb_cb_destroy_args
*args
)
33109 switch (args
->event
) {
33110 case NB_EV_VALIDATE
:
33111 case NB_EV_PREPARE
:
33114 /* TODO: implement me. */
33123 * /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
33125 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
33126 struct nb_cb_modify_args
*args
)
33128 switch (args
->event
) {
33129 case NB_EV_VALIDATE
:
33130 case NB_EV_PREPARE
:
33133 /* TODO: implement me. */
33140 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
33141 struct nb_cb_destroy_args
*args
)
33143 switch (args
->event
) {
33144 case NB_EV_VALIDATE
:
33145 case NB_EV_PREPARE
:
33148 /* TODO: implement me. */
33157 * /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
33159 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
33160 struct nb_cb_modify_args
*args
)
33162 switch (args
->event
) {
33163 case NB_EV_VALIDATE
:
33164 case NB_EV_PREPARE
:
33167 /* TODO: implement me. */
33174 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
33175 struct nb_cb_destroy_args
*args
)
33177 switch (args
->event
) {
33178 case NB_EV_VALIDATE
:
33179 case NB_EV_PREPARE
:
33182 /* TODO: implement me. */
33191 * /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
33193 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
33194 struct nb_cb_modify_args
*args
)
33196 switch (args
->event
) {
33197 case NB_EV_VALIDATE
:
33198 case NB_EV_PREPARE
:
33201 /* TODO: implement me. */
33208 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
33209 struct nb_cb_destroy_args
*args
)
33211 switch (args
->event
) {
33212 case NB_EV_VALIDATE
:
33213 case NB_EV_PREPARE
:
33216 /* TODO: implement me. */
33225 * /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
33227 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
33228 struct nb_cb_modify_args
*args
)
33230 switch (args
->event
) {
33231 case NB_EV_VALIDATE
:
33232 case NB_EV_PREPARE
:
33235 /* TODO: implement me. */
33242 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
33243 struct nb_cb_destroy_args
*args
)
33245 switch (args
->event
) {
33246 case NB_EV_VALIDATE
:
33247 case NB_EV_PREPARE
:
33250 /* TODO: implement me. */
33259 * /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
33261 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
33262 struct nb_cb_modify_args
*args
)
33264 switch (args
->event
) {
33265 case NB_EV_VALIDATE
:
33266 case NB_EV_PREPARE
:
33269 /* TODO: implement me. */
33276 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
33277 struct nb_cb_destroy_args
*args
)
33279 switch (args
->event
) {
33280 case NB_EV_VALIDATE
:
33281 case NB_EV_PREPARE
:
33284 /* TODO: implement me. */
33293 * /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
33295 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
33296 struct nb_cb_modify_args
*args
)
33298 switch (args
->event
) {
33299 case NB_EV_VALIDATE
:
33300 case NB_EV_PREPARE
:
33303 /* TODO: implement me. */
33310 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
33311 struct nb_cb_destroy_args
*args
)
33313 switch (args
->event
) {
33314 case NB_EV_VALIDATE
:
33315 case NB_EV_PREPARE
:
33318 /* TODO: implement me. */
33327 * /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
33329 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
33330 struct nb_cb_modify_args
*args
)
33332 switch (args
->event
) {
33333 case NB_EV_VALIDATE
:
33334 case NB_EV_PREPARE
:
33338 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33339 args
, PEER_FLAG_NEXTHOP_SELF
,
33340 yang_dnode_get_bool(args
->dnode
, NULL
));
33350 * /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
33352 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
33353 struct nb_cb_modify_args
*args
)
33355 switch (args
->event
) {
33356 case NB_EV_VALIDATE
:
33357 case NB_EV_PREPARE
:
33361 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33362 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
33363 yang_dnode_get_bool(args
->dnode
, NULL
));
33373 * /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
33375 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
33376 struct nb_cb_modify_args
*args
)
33378 switch (args
->event
) {
33379 case NB_EV_VALIDATE
:
33380 case NB_EV_PREPARE
:
33384 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33385 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
33386 yang_dnode_get_bool(args
->dnode
, NULL
));
33396 * /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
33398 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
33399 struct nb_cb_modify_args
*args
)
33401 switch (args
->event
) {
33402 case NB_EV_VALIDATE
:
33403 case NB_EV_PREPARE
:
33407 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33408 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
33409 yang_dnode_get_bool(args
->dnode
, NULL
));
33419 * /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
33421 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
33422 struct nb_cb_modify_args
*args
)
33424 switch (args
->event
) {
33425 case NB_EV_VALIDATE
:
33426 case NB_EV_PREPARE
:
33430 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33431 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
33432 yang_dnode_get_bool(args
->dnode
, NULL
));
33442 * /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
33444 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
33445 struct nb_cb_modify_args
*args
)
33447 switch (args
->event
) {
33448 case NB_EV_VALIDATE
:
33449 case NB_EV_PREPARE
:
33453 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33454 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
33455 yang_dnode_get_bool(args
->dnode
, NULL
));
33465 * /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
33467 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
33468 struct nb_cb_modify_args
*args
)
33470 switch (args
->event
) {
33471 case NB_EV_VALIDATE
:
33472 case NB_EV_PREPARE
:
33476 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33477 args
, PEER_FLAG_REFLECTOR_CLIENT
,
33478 yang_dnode_get_bool(args
->dnode
, NULL
));
33488 * /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
33490 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
33491 struct nb_cb_modify_args
*args
)
33493 switch (args
->event
) {
33494 case NB_EV_VALIDATE
:
33495 case NB_EV_PREPARE
:
33499 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33500 args
, PEER_FLAG_RSERVER_CLIENT
,
33501 yang_dnode_get_bool(args
->dnode
, NULL
));
33511 * /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
33513 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
33514 struct nb_cb_modify_args
*args
)
33516 switch (args
->event
) {
33517 case NB_EV_VALIDATE
:
33518 case NB_EV_PREPARE
:
33522 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33523 args
, PEER_FLAG_SEND_COMMUNITY
,
33524 yang_dnode_get_bool(args
->dnode
, NULL
));
33534 * /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
33536 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
33537 struct nb_cb_modify_args
*args
)
33539 switch (args
->event
) {
33540 case NB_EV_VALIDATE
:
33541 case NB_EV_PREPARE
:
33545 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33546 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
33547 yang_dnode_get_bool(args
->dnode
, NULL
));
33557 * /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
33559 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
33560 struct nb_cb_modify_args
*args
)
33562 switch (args
->event
) {
33563 case NB_EV_VALIDATE
:
33564 case NB_EV_PREPARE
:
33568 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33569 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
33570 yang_dnode_get_bool(args
->dnode
, NULL
));
33580 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-labeled-unicast/soft-reconfiguration
33582 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
33583 struct nb_cb_modify_args
*args
)
33585 switch (args
->event
) {
33586 case NB_EV_VALIDATE
:
33587 case NB_EV_PREPARE
:
33591 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33592 args
, PEER_FLAG_SOFT_RECONFIG
,
33593 yang_dnode_get_bool(args
->dnode
, NULL
));
33603 * /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
33605 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
33606 struct nb_cb_modify_args
*args
)
33608 switch (args
->event
) {
33609 case NB_EV_VALIDATE
:
33610 case NB_EV_PREPARE
:
33614 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
33622 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
33623 struct nb_cb_destroy_args
*args
)
33625 switch (args
->event
) {
33626 case NB_EV_VALIDATE
:
33627 case NB_EV_PREPARE
:
33631 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
33641 * /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
33643 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
33644 struct nb_cb_modify_args
*args
)
33646 switch (args
->event
) {
33647 case NB_EV_VALIDATE
:
33648 case NB_EV_PREPARE
:
33651 /* TODO: implement me. */
33660 * /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
33662 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
33663 struct nb_cb_modify_args
*args
)
33665 switch (args
->event
) {
33666 case NB_EV_VALIDATE
:
33667 case NB_EV_PREPARE
:
33670 /* TODO: implement me. */
33677 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
33678 struct nb_cb_destroy_args
*args
)
33680 switch (args
->event
) {
33681 case NB_EV_VALIDATE
:
33682 case NB_EV_PREPARE
:
33685 /* TODO: implement me. */
33694 * /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
33696 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
33697 struct nb_cb_modify_args
*args
)
33699 switch (args
->event
) {
33700 case NB_EV_VALIDATE
:
33701 case NB_EV_PREPARE
:
33704 /* TODO: implement me. */
33711 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
33712 struct nb_cb_destroy_args
*args
)
33714 switch (args
->event
) {
33715 case NB_EV_VALIDATE
:
33716 case NB_EV_PREPARE
:
33719 /* TODO: implement me. */
33728 * /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
33730 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
33731 struct nb_cb_modify_args
*args
)
33733 switch (args
->event
) {
33734 case NB_EV_VALIDATE
:
33735 case NB_EV_PREPARE
:
33739 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33740 args
, PEER_FLAG_AS_OVERRIDE
,
33741 yang_dnode_get_bool(args
->dnode
, NULL
));
33751 * /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
33753 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
33754 struct nb_cb_modify_args
*args
)
33756 switch (args
->event
) {
33757 case NB_EV_VALIDATE
:
33758 case NB_EV_PREPARE
:
33762 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33763 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
33764 yang_dnode_get_bool(args
->dnode
, NULL
));
33774 * /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
33776 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
33777 struct nb_cb_modify_args
*args
)
33779 switch (args
->event
) {
33780 case NB_EV_VALIDATE
:
33781 case NB_EV_PREPARE
:
33785 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33786 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
33787 yang_dnode_get_bool(args
->dnode
, NULL
));
33797 * /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
33799 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
33800 struct nb_cb_modify_args
*args
)
33802 switch (args
->event
) {
33803 case NB_EV_VALIDATE
:
33804 case NB_EV_PREPARE
:
33808 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
33809 args
, PEER_FLAG_MED_UNCHANGED
,
33810 yang_dnode_get_bool(args
->dnode
, NULL
));
33820 * /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
33822 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
33823 struct nb_cb_create_args
*args
)
33825 switch (args
->event
) {
33826 case NB_EV_VALIDATE
:
33827 case NB_EV_PREPARE
:
33830 /* TODO: implement me. */
33837 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
33838 struct nb_cb_destroy_args
*args
)
33840 switch (args
->event
) {
33841 case NB_EV_VALIDATE
:
33842 case NB_EV_PREPARE
:
33846 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
33855 * /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
33857 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
33858 struct nb_cb_modify_args
*args
)
33860 switch (args
->event
) {
33861 case NB_EV_VALIDATE
:
33862 case NB_EV_PREPARE
:
33865 /* TODO: implement me. */
33874 * /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
33876 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
33877 struct nb_cb_modify_args
*args
)
33879 switch (args
->event
) {
33880 case NB_EV_VALIDATE
:
33881 case NB_EV_PREPARE
:
33884 /* TODO: implement me. */
33893 * /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
33895 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
33896 struct nb_cb_modify_args
*args
)
33898 switch (args
->event
) {
33899 case NB_EV_VALIDATE
:
33900 case NB_EV_PREPARE
:
33903 /* TODO: implement me. */
33910 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
33911 struct nb_cb_destroy_args
*args
)
33913 switch (args
->event
) {
33914 case NB_EV_VALIDATE
:
33915 case NB_EV_PREPARE
:
33918 /* TODO: implement me. */
33927 * /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
33929 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
33930 struct nb_cb_modify_args
*args
)
33932 switch (args
->event
) {
33933 case NB_EV_VALIDATE
:
33934 case NB_EV_PREPARE
:
33937 /* TODO: implement me. */
33944 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
33945 struct nb_cb_destroy_args
*args
)
33947 switch (args
->event
) {
33948 case NB_EV_VALIDATE
:
33949 case NB_EV_PREPARE
:
33952 /* TODO: implement me. */
33961 * /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
33963 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
33964 struct nb_cb_modify_args
*args
)
33966 switch (args
->event
) {
33967 case NB_EV_VALIDATE
:
33968 case NB_EV_PREPARE
:
33971 /* TODO: implement me. */
33978 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
33979 struct nb_cb_destroy_args
*args
)
33981 switch (args
->event
) {
33982 case NB_EV_VALIDATE
:
33983 case NB_EV_PREPARE
:
33986 /* TODO: implement me. */
33995 * /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
33997 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
33998 struct nb_cb_modify_args
*args
)
34000 switch (args
->event
) {
34001 case NB_EV_VALIDATE
:
34002 case NB_EV_PREPARE
:
34005 /* TODO: implement me. */
34012 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
34013 struct nb_cb_destroy_args
*args
)
34015 switch (args
->event
) {
34016 case NB_EV_VALIDATE
:
34017 case NB_EV_PREPARE
:
34020 /* TODO: implement me. */
34029 * /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
34031 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
34032 struct nb_cb_modify_args
*args
)
34034 switch (args
->event
) {
34035 case NB_EV_VALIDATE
:
34036 case NB_EV_PREPARE
:
34039 /* TODO: implement me. */
34046 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
34047 struct nb_cb_destroy_args
*args
)
34049 switch (args
->event
) {
34050 case NB_EV_VALIDATE
:
34051 case NB_EV_PREPARE
:
34054 /* TODO: implement me. */
34063 * /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
34065 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
34066 struct nb_cb_modify_args
*args
)
34068 switch (args
->event
) {
34069 case NB_EV_VALIDATE
:
34070 case NB_EV_PREPARE
:
34073 /* TODO: implement me. */
34080 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
34081 struct nb_cb_destroy_args
*args
)
34083 switch (args
->event
) {
34084 case NB_EV_VALIDATE
:
34085 case NB_EV_PREPARE
:
34088 /* TODO: implement me. */
34097 * /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
34099 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
34100 struct nb_cb_modify_args
*args
)
34102 switch (args
->event
) {
34103 case NB_EV_VALIDATE
:
34104 case NB_EV_PREPARE
:
34107 /* TODO: implement me. */
34114 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
34115 struct nb_cb_destroy_args
*args
)
34117 switch (args
->event
) {
34118 case NB_EV_VALIDATE
:
34119 case NB_EV_PREPARE
:
34122 /* TODO: implement me. */
34131 * /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
34133 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
34134 struct nb_cb_modify_args
*args
)
34136 switch (args
->event
) {
34137 case NB_EV_VALIDATE
:
34138 case NB_EV_PREPARE
:
34142 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34143 args
, PEER_FLAG_NEXTHOP_SELF
,
34144 yang_dnode_get_bool(args
->dnode
, NULL
));
34154 * /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
34156 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
34157 struct nb_cb_modify_args
*args
)
34159 switch (args
->event
) {
34160 case NB_EV_VALIDATE
:
34161 case NB_EV_PREPARE
:
34165 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34166 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
34167 yang_dnode_get_bool(args
->dnode
, NULL
));
34177 * /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
34179 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
34180 struct nb_cb_modify_args
*args
)
34182 switch (args
->event
) {
34183 case NB_EV_VALIDATE
:
34184 case NB_EV_PREPARE
:
34188 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34189 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
34190 yang_dnode_get_bool(args
->dnode
, NULL
));
34200 * /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
34202 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
34203 struct nb_cb_modify_args
*args
)
34205 switch (args
->event
) {
34206 case NB_EV_VALIDATE
:
34207 case NB_EV_PREPARE
:
34211 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34212 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
34213 yang_dnode_get_bool(args
->dnode
, NULL
));
34223 * /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
34225 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
34226 struct nb_cb_modify_args
*args
)
34228 switch (args
->event
) {
34229 case NB_EV_VALIDATE
:
34230 case NB_EV_PREPARE
:
34234 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34235 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
34236 yang_dnode_get_bool(args
->dnode
, NULL
));
34246 * /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
34248 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
34249 struct nb_cb_modify_args
*args
)
34251 switch (args
->event
) {
34252 case NB_EV_VALIDATE
:
34253 case NB_EV_PREPARE
:
34257 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34258 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
34259 yang_dnode_get_bool(args
->dnode
, NULL
));
34269 * /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
34271 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
34272 struct nb_cb_modify_args
*args
)
34274 switch (args
->event
) {
34275 case NB_EV_VALIDATE
:
34276 case NB_EV_PREPARE
:
34280 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34281 args
, PEER_FLAG_REFLECTOR_CLIENT
,
34282 yang_dnode_get_bool(args
->dnode
, NULL
));
34292 * /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
34294 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
34295 struct nb_cb_modify_args
*args
)
34297 switch (args
->event
) {
34298 case NB_EV_VALIDATE
:
34299 case NB_EV_PREPARE
:
34303 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34304 args
, PEER_FLAG_RSERVER_CLIENT
,
34305 yang_dnode_get_bool(args
->dnode
, NULL
));
34315 * /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
34317 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
34318 struct nb_cb_modify_args
*args
)
34320 switch (args
->event
) {
34321 case NB_EV_VALIDATE
:
34322 case NB_EV_PREPARE
:
34326 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34327 args
, PEER_FLAG_SEND_COMMUNITY
,
34328 yang_dnode_get_bool(args
->dnode
, NULL
));
34338 * /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
34340 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
34341 struct nb_cb_modify_args
*args
)
34343 switch (args
->event
) {
34344 case NB_EV_VALIDATE
:
34345 case NB_EV_PREPARE
:
34349 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34350 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
34351 yang_dnode_get_bool(args
->dnode
, NULL
));
34361 * /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
34363 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
34364 struct nb_cb_modify_args
*args
)
34366 switch (args
->event
) {
34367 case NB_EV_VALIDATE
:
34368 case NB_EV_PREPARE
:
34372 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34373 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
34374 yang_dnode_get_bool(args
->dnode
, NULL
));
34384 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv4-unicast/soft-reconfiguration
34386 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
34387 struct nb_cb_modify_args
*args
)
34389 switch (args
->event
) {
34390 case NB_EV_VALIDATE
:
34391 case NB_EV_PREPARE
:
34395 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34396 args
, PEER_FLAG_SOFT_RECONFIG
,
34397 yang_dnode_get_bool(args
->dnode
, NULL
));
34407 * /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
34409 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
34410 struct nb_cb_modify_args
*args
)
34412 switch (args
->event
) {
34413 case NB_EV_VALIDATE
:
34414 case NB_EV_PREPARE
:
34418 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
34426 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
34427 struct nb_cb_destroy_args
*args
)
34429 switch (args
->event
) {
34430 case NB_EV_VALIDATE
:
34431 case NB_EV_PREPARE
:
34435 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
34445 * /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
34447 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
34448 struct nb_cb_modify_args
*args
)
34450 switch (args
->event
) {
34451 case NB_EV_VALIDATE
:
34452 case NB_EV_PREPARE
:
34455 /* TODO: implement me. */
34464 * /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
34466 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
34467 struct nb_cb_modify_args
*args
)
34469 switch (args
->event
) {
34470 case NB_EV_VALIDATE
:
34471 case NB_EV_PREPARE
:
34474 /* TODO: implement me. */
34481 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
34482 struct nb_cb_destroy_args
*args
)
34484 switch (args
->event
) {
34485 case NB_EV_VALIDATE
:
34486 case NB_EV_PREPARE
:
34489 /* TODO: implement me. */
34498 * /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
34500 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
34501 struct nb_cb_modify_args
*args
)
34503 switch (args
->event
) {
34504 case NB_EV_VALIDATE
:
34505 case NB_EV_PREPARE
:
34508 /* TODO: implement me. */
34515 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
34516 struct nb_cb_destroy_args
*args
)
34518 switch (args
->event
) {
34519 case NB_EV_VALIDATE
:
34520 case NB_EV_PREPARE
:
34523 /* TODO: implement me. */
34532 * /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
34534 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
34535 struct nb_cb_modify_args
*args
)
34537 switch (args
->event
) {
34538 case NB_EV_VALIDATE
:
34539 case NB_EV_PREPARE
:
34543 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34544 args
, PEER_FLAG_AS_OVERRIDE
,
34545 yang_dnode_get_bool(args
->dnode
, NULL
));
34555 * /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
34557 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
34558 struct nb_cb_modify_args
*args
)
34560 switch (args
->event
) {
34561 case NB_EV_VALIDATE
:
34562 case NB_EV_PREPARE
:
34566 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34567 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
34568 yang_dnode_get_bool(args
->dnode
, NULL
));
34578 * /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
34580 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
34581 struct nb_cb_modify_args
*args
)
34583 switch (args
->event
) {
34584 case NB_EV_VALIDATE
:
34585 case NB_EV_PREPARE
:
34589 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34590 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
34591 yang_dnode_get_bool(args
->dnode
, NULL
));
34601 * /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
34603 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
34604 struct nb_cb_modify_args
*args
)
34606 switch (args
->event
) {
34607 case NB_EV_VALIDATE
:
34608 case NB_EV_PREPARE
:
34612 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34613 args
, PEER_FLAG_MED_UNCHANGED
,
34614 yang_dnode_get_bool(args
->dnode
, NULL
));
34624 * /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
34626 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
34627 struct nb_cb_create_args
*args
)
34629 switch (args
->event
) {
34630 case NB_EV_VALIDATE
:
34631 case NB_EV_PREPARE
:
34634 /* TODO: implement me. */
34641 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
34642 struct nb_cb_destroy_args
*args
)
34644 switch (args
->event
) {
34645 case NB_EV_VALIDATE
:
34646 case NB_EV_PREPARE
:
34650 return bgp_unnumbered_neighbor_afi_safi_prefix_limit_list_destroy(
34659 * /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
34661 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
34662 struct nb_cb_modify_args
*args
)
34664 switch (args
->event
) {
34665 case NB_EV_VALIDATE
:
34666 case NB_EV_PREPARE
:
34669 /* TODO: implement me. */
34678 * /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
34680 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
34681 struct nb_cb_modify_args
*args
)
34683 switch (args
->event
) {
34684 case NB_EV_VALIDATE
:
34685 case NB_EV_PREPARE
:
34688 /* TODO: implement me. */
34697 * /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
34699 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
34700 struct nb_cb_modify_args
*args
)
34702 switch (args
->event
) {
34703 case NB_EV_VALIDATE
:
34704 case NB_EV_PREPARE
:
34707 /* TODO: implement me. */
34714 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
34715 struct nb_cb_destroy_args
*args
)
34717 switch (args
->event
) {
34718 case NB_EV_VALIDATE
:
34719 case NB_EV_PREPARE
:
34722 /* TODO: implement me. */
34731 * /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
34733 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
34734 struct nb_cb_modify_args
*args
)
34736 switch (args
->event
) {
34737 case NB_EV_VALIDATE
:
34738 case NB_EV_PREPARE
:
34741 /* TODO: implement me. */
34748 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
34749 struct nb_cb_destroy_args
*args
)
34751 switch (args
->event
) {
34752 case NB_EV_VALIDATE
:
34753 case NB_EV_PREPARE
:
34756 /* TODO: implement me. */
34765 * /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
34767 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
34768 struct nb_cb_modify_args
*args
)
34770 switch (args
->event
) {
34771 case NB_EV_VALIDATE
:
34772 case NB_EV_PREPARE
:
34775 /* TODO: implement me. */
34782 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
34783 struct nb_cb_destroy_args
*args
)
34785 switch (args
->event
) {
34786 case NB_EV_VALIDATE
:
34787 case NB_EV_PREPARE
:
34790 /* TODO: implement me. */
34799 * /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
34801 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
34802 struct nb_cb_modify_args
*args
)
34804 switch (args
->event
) {
34805 case NB_EV_VALIDATE
:
34806 case NB_EV_PREPARE
:
34809 /* TODO: implement me. */
34816 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
34817 struct nb_cb_destroy_args
*args
)
34819 switch (args
->event
) {
34820 case NB_EV_VALIDATE
:
34821 case NB_EV_PREPARE
:
34824 /* TODO: implement me. */
34833 * /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
34835 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
34836 struct nb_cb_modify_args
*args
)
34838 switch (args
->event
) {
34839 case NB_EV_VALIDATE
:
34840 case NB_EV_PREPARE
:
34843 /* TODO: implement me. */
34850 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
34851 struct nb_cb_destroy_args
*args
)
34853 switch (args
->event
) {
34854 case NB_EV_VALIDATE
:
34855 case NB_EV_PREPARE
:
34858 /* TODO: implement me. */
34867 * /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
34869 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
34870 struct nb_cb_modify_args
*args
)
34872 switch (args
->event
) {
34873 case NB_EV_VALIDATE
:
34874 case NB_EV_PREPARE
:
34877 /* TODO: implement me. */
34884 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
34885 struct nb_cb_destroy_args
*args
)
34887 switch (args
->event
) {
34888 case NB_EV_VALIDATE
:
34889 case NB_EV_PREPARE
:
34892 /* TODO: implement me. */
34901 * /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
34903 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
34904 struct nb_cb_modify_args
*args
)
34906 switch (args
->event
) {
34907 case NB_EV_VALIDATE
:
34908 case NB_EV_PREPARE
:
34911 /* TODO: implement me. */
34918 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
34919 struct nb_cb_destroy_args
*args
)
34921 switch (args
->event
) {
34922 case NB_EV_VALIDATE
:
34923 case NB_EV_PREPARE
:
34926 /* TODO: implement me. */
34935 * /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
34937 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
34938 struct nb_cb_modify_args
*args
)
34940 switch (args
->event
) {
34941 case NB_EV_VALIDATE
:
34942 case NB_EV_PREPARE
:
34946 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34947 args
, PEER_FLAG_NEXTHOP_SELF
,
34948 yang_dnode_get_bool(args
->dnode
, NULL
));
34958 * /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
34960 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
34961 struct nb_cb_modify_args
*args
)
34963 switch (args
->event
) {
34964 case NB_EV_VALIDATE
:
34965 case NB_EV_PREPARE
:
34969 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34970 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
34971 yang_dnode_get_bool(args
->dnode
, NULL
));
34981 * /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
34983 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
34984 struct nb_cb_modify_args
*args
)
34986 switch (args
->event
) {
34987 case NB_EV_VALIDATE
:
34988 case NB_EV_PREPARE
:
34992 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
34993 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
34994 yang_dnode_get_bool(args
->dnode
, NULL
));
35004 * /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
35006 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
35007 struct nb_cb_modify_args
*args
)
35009 switch (args
->event
) {
35010 case NB_EV_VALIDATE
:
35011 case NB_EV_PREPARE
:
35015 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35016 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
35017 yang_dnode_get_bool(args
->dnode
, NULL
));
35027 * /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
35029 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
35030 struct nb_cb_modify_args
*args
)
35032 switch (args
->event
) {
35033 case NB_EV_VALIDATE
:
35034 case NB_EV_PREPARE
:
35038 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35039 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
35040 yang_dnode_get_bool(args
->dnode
, NULL
));
35050 * /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
35052 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
35053 struct nb_cb_modify_args
*args
)
35055 switch (args
->event
) {
35056 case NB_EV_VALIDATE
:
35057 case NB_EV_PREPARE
:
35061 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35062 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
35063 yang_dnode_get_bool(args
->dnode
, NULL
));
35073 * /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
35075 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
35076 struct nb_cb_modify_args
*args
)
35078 switch (args
->event
) {
35079 case NB_EV_VALIDATE
:
35080 case NB_EV_PREPARE
:
35084 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35085 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35086 yang_dnode_get_bool(args
->dnode
, NULL
));
35096 * /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
35098 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
35099 struct nb_cb_modify_args
*args
)
35101 switch (args
->event
) {
35102 case NB_EV_VALIDATE
:
35103 case NB_EV_PREPARE
:
35107 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35108 args
, PEER_FLAG_RSERVER_CLIENT
,
35109 yang_dnode_get_bool(args
->dnode
, NULL
));
35119 * /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
35121 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
35122 struct nb_cb_modify_args
*args
)
35124 switch (args
->event
) {
35125 case NB_EV_VALIDATE
:
35126 case NB_EV_PREPARE
:
35130 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35131 args
, PEER_FLAG_SEND_COMMUNITY
,
35132 yang_dnode_get_bool(args
->dnode
, NULL
));
35142 * /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
35144 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
35145 struct nb_cb_modify_args
*args
)
35147 switch (args
->event
) {
35148 case NB_EV_VALIDATE
:
35149 case NB_EV_PREPARE
:
35153 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35154 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
35155 yang_dnode_get_bool(args
->dnode
, NULL
));
35165 * /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
35167 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
35168 struct nb_cb_modify_args
*args
)
35170 switch (args
->event
) {
35171 case NB_EV_VALIDATE
:
35172 case NB_EV_PREPARE
:
35176 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35177 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
35178 yang_dnode_get_bool(args
->dnode
, NULL
));
35188 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l3vpn-ipv6-unicast/soft-reconfiguration
35190 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
35191 struct nb_cb_modify_args
*args
)
35193 switch (args
->event
) {
35194 case NB_EV_VALIDATE
:
35195 case NB_EV_PREPARE
:
35199 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35200 args
, PEER_FLAG_SOFT_RECONFIG
,
35201 yang_dnode_get_bool(args
->dnode
, NULL
));
35211 * /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
35213 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
35214 struct nb_cb_modify_args
*args
)
35216 switch (args
->event
) {
35217 case NB_EV_VALIDATE
:
35218 case NB_EV_PREPARE
:
35222 return bgp_unnumbered_neighbor_afi_safi_weight_modify(args
);
35230 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
35231 struct nb_cb_destroy_args
*args
)
35233 switch (args
->event
) {
35234 case NB_EV_VALIDATE
:
35235 case NB_EV_PREPARE
:
35239 return bgp_unnumbered_neighbor_afi_safi_weight_destroy(args
);
35249 * /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
35251 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
35252 struct nb_cb_modify_args
*args
)
35254 switch (args
->event
) {
35255 case NB_EV_VALIDATE
:
35256 case NB_EV_PREPARE
:
35259 /* TODO: implement me. */
35266 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
35267 struct nb_cb_destroy_args
*args
)
35269 switch (args
->event
) {
35270 case NB_EV_VALIDATE
:
35271 case NB_EV_PREPARE
:
35274 /* TODO: implement me. */
35283 * /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
35285 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
35286 struct nb_cb_modify_args
*args
)
35288 switch (args
->event
) {
35289 case NB_EV_VALIDATE
:
35290 case NB_EV_PREPARE
:
35293 /* TODO: implement me. */
35300 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
35301 struct nb_cb_destroy_args
*args
)
35303 switch (args
->event
) {
35304 case NB_EV_VALIDATE
:
35305 case NB_EV_PREPARE
:
35308 /* TODO: implement me. */
35317 * /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
35319 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
35320 struct nb_cb_modify_args
*args
)
35322 switch (args
->event
) {
35323 case NB_EV_VALIDATE
:
35324 case NB_EV_PREPARE
:
35328 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35329 args
, PEER_FLAG_AS_OVERRIDE
,
35330 yang_dnode_get_bool(args
->dnode
, NULL
));
35340 * /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
35342 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
35343 struct nb_cb_modify_args
*args
)
35345 switch (args
->event
) {
35346 case NB_EV_VALIDATE
:
35347 case NB_EV_PREPARE
:
35351 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35352 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
35353 yang_dnode_get_bool(args
->dnode
, NULL
));
35363 * /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
35365 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
35366 struct nb_cb_modify_args
*args
)
35368 switch (args
->event
) {
35369 case NB_EV_VALIDATE
:
35370 case NB_EV_PREPARE
:
35374 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35375 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
35376 yang_dnode_get_bool(args
->dnode
, NULL
));
35386 * /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
35388 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
35389 struct nb_cb_modify_args
*args
)
35391 switch (args
->event
) {
35392 case NB_EV_VALIDATE
:
35393 case NB_EV_PREPARE
:
35397 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35398 args
, PEER_FLAG_MED_UNCHANGED
,
35399 yang_dnode_get_bool(args
->dnode
, NULL
));
35409 * /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
35411 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
35412 struct nb_cb_modify_args
*args
)
35414 switch (args
->event
) {
35415 case NB_EV_VALIDATE
:
35416 case NB_EV_PREPARE
:
35420 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35421 args
, PEER_FLAG_NEXTHOP_SELF
,
35422 yang_dnode_get_bool(args
->dnode
, NULL
));
35432 * /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
35434 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
35435 struct nb_cb_modify_args
*args
)
35437 switch (args
->event
) {
35438 case NB_EV_VALIDATE
:
35439 case NB_EV_PREPARE
:
35443 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35444 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
35445 yang_dnode_get_bool(args
->dnode
, NULL
));
35455 * /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
35457 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
35458 struct nb_cb_modify_args
*args
)
35460 switch (args
->event
) {
35461 case NB_EV_VALIDATE
:
35462 case NB_EV_PREPARE
:
35466 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35467 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35468 yang_dnode_get_bool(args
->dnode
, NULL
));
35478 * /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
35480 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
35481 struct nb_cb_modify_args
*args
)
35483 switch (args
->event
) {
35484 case NB_EV_VALIDATE
:
35485 case NB_EV_PREPARE
:
35489 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35490 args
, PEER_FLAG_RSERVER_CLIENT
,
35491 yang_dnode_get_bool(args
->dnode
, NULL
));
35501 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
35503 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
35504 struct nb_cb_modify_args
*args
)
35506 switch (args
->event
) {
35507 case NB_EV_VALIDATE
:
35508 case NB_EV_PREPARE
:
35512 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35513 args
, PEER_FLAG_SOFT_RECONFIG
,
35514 yang_dnode_get_bool(args
->dnode
, NULL
));
35524 * /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
35526 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
35527 struct nb_cb_modify_args
*args
)
35529 switch (args
->event
) {
35530 case NB_EV_VALIDATE
:
35531 case NB_EV_PREPARE
:
35535 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35536 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35537 yang_dnode_get_bool(args
->dnode
, NULL
));
35547 * /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
35549 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
35550 struct nb_cb_modify_args
*args
)
35552 switch (args
->event
) {
35553 case NB_EV_VALIDATE
:
35554 case NB_EV_PREPARE
:
35558 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35559 args
, PEER_FLAG_RSERVER_CLIENT
,
35560 yang_dnode_get_bool(args
->dnode
, NULL
));
35570 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
35572 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
35573 struct nb_cb_modify_args
*args
)
35575 switch (args
->event
) {
35576 case NB_EV_VALIDATE
:
35577 case NB_EV_PREPARE
:
35581 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35582 args
, PEER_FLAG_SOFT_RECONFIG
,
35583 yang_dnode_get_bool(args
->dnode
, NULL
));
35593 * /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
35595 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
35596 struct nb_cb_modify_args
*args
)
35598 switch (args
->event
) {
35599 case NB_EV_VALIDATE
:
35600 case NB_EV_PREPARE
:
35604 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
35611 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
35612 struct nb_cb_destroy_args
*args
)
35614 switch (args
->event
) {
35615 case NB_EV_VALIDATE
:
35616 case NB_EV_PREPARE
:
35620 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
35629 * /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
35631 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
35632 struct nb_cb_modify_args
*args
)
35634 switch (args
->event
) {
35635 case NB_EV_VALIDATE
:
35636 case NB_EV_PREPARE
:
35640 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
35647 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
35648 struct nb_cb_destroy_args
*args
)
35650 switch (args
->event
) {
35651 case NB_EV_VALIDATE
:
35652 case NB_EV_PREPARE
:
35656 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
35665 * /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
35667 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
35668 struct nb_cb_modify_args
*args
)
35670 switch (args
->event
) {
35671 case NB_EV_VALIDATE
:
35672 case NB_EV_PREPARE
:
35676 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
35683 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
35684 struct nb_cb_destroy_args
*args
)
35686 switch (args
->event
) {
35687 case NB_EV_VALIDATE
:
35688 case NB_EV_PREPARE
:
35692 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
35701 * /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
35703 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
35704 struct nb_cb_modify_args
*args
)
35706 switch (args
->event
) {
35707 case NB_EV_VALIDATE
:
35708 case NB_EV_PREPARE
:
35712 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
35719 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
35720 struct nb_cb_destroy_args
*args
)
35722 switch (args
->event
) {
35723 case NB_EV_VALIDATE
:
35724 case NB_EV_PREPARE
:
35728 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
35737 * /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
35739 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
35740 struct nb_cb_modify_args
*args
)
35742 switch (args
->event
) {
35743 case NB_EV_VALIDATE
:
35744 case NB_EV_PREPARE
:
35747 /* TODO: implement me. */
35754 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
35755 struct nb_cb_destroy_args
*args
)
35757 switch (args
->event
) {
35758 case NB_EV_VALIDATE
:
35759 case NB_EV_PREPARE
:
35762 /* TODO: implement me. */
35771 * /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
35773 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
35774 struct nb_cb_modify_args
*args
)
35776 switch (args
->event
) {
35777 case NB_EV_VALIDATE
:
35778 case NB_EV_PREPARE
:
35781 /* TODO: implement me. */
35788 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
35789 struct nb_cb_destroy_args
*args
)
35791 switch (args
->event
) {
35792 case NB_EV_VALIDATE
:
35793 case NB_EV_PREPARE
:
35796 /* TODO: implement me. */
35805 * /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
35807 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
35808 struct nb_cb_modify_args
*args
)
35810 switch (args
->event
) {
35811 case NB_EV_VALIDATE
:
35812 case NB_EV_PREPARE
:
35815 /* TODO: implement me. */
35822 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
35823 struct nb_cb_destroy_args
*args
)
35825 switch (args
->event
) {
35826 case NB_EV_VALIDATE
:
35827 case NB_EV_PREPARE
:
35830 /* TODO: implement me. */
35839 * /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
35841 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
35842 struct nb_cb_modify_args
*args
)
35844 switch (args
->event
) {
35845 case NB_EV_VALIDATE
:
35846 case NB_EV_PREPARE
:
35849 /* TODO: implement me. */
35856 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
35857 struct nb_cb_destroy_args
*args
)
35859 switch (args
->event
) {
35860 case NB_EV_VALIDATE
:
35861 case NB_EV_PREPARE
:
35864 /* TODO: implement me. */
35873 * /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
35875 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
35876 struct nb_cb_modify_args
*args
)
35878 switch (args
->event
) {
35879 case NB_EV_VALIDATE
:
35880 case NB_EV_PREPARE
:
35883 /* TODO: implement me. */
35890 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
35891 struct nb_cb_destroy_args
*args
)
35893 switch (args
->event
) {
35894 case NB_EV_VALIDATE
:
35895 case NB_EV_PREPARE
:
35898 /* TODO: implement me. */
35907 * /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
35909 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
35910 struct nb_cb_modify_args
*args
)
35912 switch (args
->event
) {
35913 case NB_EV_VALIDATE
:
35914 case NB_EV_PREPARE
:
35917 /* TODO: implement me. */
35924 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
35925 struct nb_cb_destroy_args
*args
)
35927 switch (args
->event
) {
35928 case NB_EV_VALIDATE
:
35929 case NB_EV_PREPARE
:
35932 /* TODO: implement me. */
35941 * /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
35943 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
35944 struct nb_cb_modify_args
*args
)
35946 switch (args
->event
) {
35947 case NB_EV_VALIDATE
:
35948 case NB_EV_PREPARE
:
35952 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35953 args
, PEER_FLAG_REFLECTOR_CLIENT
,
35954 yang_dnode_get_bool(args
->dnode
, NULL
));
35964 * /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
35966 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
35967 struct nb_cb_modify_args
*args
)
35969 switch (args
->event
) {
35970 case NB_EV_VALIDATE
:
35971 case NB_EV_PREPARE
:
35975 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35976 args
, PEER_FLAG_RSERVER_CLIENT
,
35977 yang_dnode_get_bool(args
->dnode
, NULL
));
35987 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
35989 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
35990 struct nb_cb_modify_args
*args
)
35992 switch (args
->event
) {
35993 case NB_EV_VALIDATE
:
35994 case NB_EV_PREPARE
:
35998 return bgp_unnumbered_neighbor_afi_safi_flag_modify(
35999 args
, PEER_FLAG_SOFT_RECONFIG
,
36000 yang_dnode_get_bool(args
->dnode
, NULL
));
36010 * /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
36012 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
36013 struct nb_cb_modify_args
*args
)
36015 switch (args
->event
) {
36016 case NB_EV_VALIDATE
:
36017 case NB_EV_PREPARE
:
36021 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
36028 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
36029 struct nb_cb_destroy_args
*args
)
36031 switch (args
->event
) {
36032 case NB_EV_VALIDATE
:
36033 case NB_EV_PREPARE
:
36037 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
36046 * /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
36048 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
36049 struct nb_cb_modify_args
*args
)
36051 switch (args
->event
) {
36052 case NB_EV_VALIDATE
:
36053 case NB_EV_PREPARE
:
36057 return bgp_unnumbered_neighbor_afi_safi_rmap_modify(args
,
36064 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
36065 struct nb_cb_destroy_args
*args
)
36067 switch (args
->event
) {
36068 case NB_EV_VALIDATE
:
36069 case NB_EV_PREPARE
:
36073 return bgp_unnumbered_neighbor_afi_safi_rmap_destroy(args
,
36082 * /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
36084 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
36085 struct nb_cb_modify_args
*args
)
36087 switch (args
->event
) {
36088 case NB_EV_VALIDATE
:
36089 case NB_EV_PREPARE
:
36093 return bgp_unnumbered_neighbor_afi_safi_plist_modify(args
,
36100 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
36101 struct nb_cb_destroy_args
*args
)
36103 switch (args
->event
) {
36104 case NB_EV_VALIDATE
:
36105 case NB_EV_PREPARE
:
36109 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
36118 * /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
36120 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
36121 struct nb_cb_modify_args
*args
)
36123 switch (args
->event
) {
36124 case NB_EV_VALIDATE
:
36125 case NB_EV_PREPARE
:
36129 return bgp_unnumbered_neighbor_afi_safi_plist_modify(
36136 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
36137 struct nb_cb_destroy_args
*args
)
36139 switch (args
->event
) {
36140 case NB_EV_VALIDATE
:
36141 case NB_EV_PREPARE
:
36145 return bgp_unnumbered_neighbor_afi_safi_plist_destroy(
36154 * /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
36156 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
36157 struct nb_cb_modify_args
*args
)
36159 switch (args
->event
) {
36160 case NB_EV_VALIDATE
:
36161 case NB_EV_PREPARE
:
36164 /* TODO: implement me. */
36171 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
36172 struct nb_cb_destroy_args
*args
)
36174 switch (args
->event
) {
36175 case NB_EV_VALIDATE
:
36176 case NB_EV_PREPARE
:
36179 /* TODO: implement me. */
36188 * /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
36190 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
36191 struct nb_cb_modify_args
*args
)
36193 switch (args
->event
) {
36194 case NB_EV_VALIDATE
:
36195 case NB_EV_PREPARE
:
36198 /* TODO: implement me. */
36205 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
36206 struct nb_cb_destroy_args
*args
)
36208 switch (args
->event
) {
36209 case NB_EV_VALIDATE
:
36210 case NB_EV_PREPARE
:
36213 /* TODO: implement me. */
36222 * /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
36224 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
36225 struct nb_cb_modify_args
*args
)
36227 switch (args
->event
) {
36228 case NB_EV_VALIDATE
:
36229 case NB_EV_PREPARE
:
36232 /* TODO: implement me. */
36239 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
36240 struct nb_cb_destroy_args
*args
)
36242 switch (args
->event
) {
36243 case NB_EV_VALIDATE
:
36244 case NB_EV_PREPARE
:
36247 /* TODO: implement me. */
36256 * /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
36258 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
36259 struct nb_cb_modify_args
*args
)
36261 switch (args
->event
) {
36262 case NB_EV_VALIDATE
:
36263 case NB_EV_PREPARE
:
36266 /* TODO: implement me. */
36273 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
36274 struct nb_cb_destroy_args
*args
)
36276 switch (args
->event
) {
36277 case NB_EV_VALIDATE
:
36278 case NB_EV_PREPARE
:
36281 /* TODO: implement me. */
36290 * /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
36292 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
36293 struct nb_cb_modify_args
*args
)
36295 switch (args
->event
) {
36296 case NB_EV_VALIDATE
:
36297 case NB_EV_PREPARE
:
36300 /* TODO: implement me. */
36307 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
36308 struct nb_cb_destroy_args
*args
)
36310 switch (args
->event
) {
36311 case NB_EV_VALIDATE
:
36312 case NB_EV_PREPARE
:
36315 /* TODO: implement me. */
36324 * /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
36326 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
36327 struct nb_cb_modify_args
*args
)
36329 switch (args
->event
) {
36330 case NB_EV_VALIDATE
:
36331 case NB_EV_PREPARE
:
36334 /* TODO: implement me. */
36341 int bgp_neighbors_unnumbered_neighbor_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
36342 struct nb_cb_destroy_args
*args
)
36344 switch (args
->event
) {
36345 case NB_EV_VALIDATE
:
36346 case NB_EV_PREPARE
:
36349 /* TODO: implement me. */
36356 static int bgp_peer_group_afi_safi_flag_modify(struct nb_cb_modify_args
*args
,
36357 uint32_t flags
, bool set
)
36360 const char *peer_str
;
36362 const struct lyd_node
*nbr_dnode
;
36363 const struct lyd_node
*nbr_af_dnode
;
36364 const char *af_name
;
36368 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36369 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36370 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36371 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36372 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36373 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36374 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36376 if (peer_af_flag_modify_nb(peer
, afi
, safi
, flags
, set
, args
->errmsg
,
36379 return NB_ERR_INCONSISTENCY
;
36386 * /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
36388 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_add_paths_path_type_modify(
36389 struct nb_cb_modify_args
*args
)
36391 switch (args
->event
) {
36392 case NB_EV_VALIDATE
:
36393 case NB_EV_PREPARE
:
36396 /* TODO: implement me. */
36405 * /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
36407 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_modify(
36408 struct nb_cb_modify_args
*args
)
36410 switch (args
->event
) {
36411 case NB_EV_VALIDATE
:
36412 case NB_EV_PREPARE
:
36415 /* TODO: implement me. */
36422 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_as_destroy(
36423 struct nb_cb_destroy_args
*args
)
36425 switch (args
->event
) {
36426 case NB_EV_VALIDATE
:
36427 case NB_EV_PREPARE
:
36430 /* TODO: implement me. */
36439 * /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
36441 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
36442 struct nb_cb_modify_args
*args
)
36444 switch (args
->event
) {
36445 case NB_EV_VALIDATE
:
36446 case NB_EV_PREPARE
:
36449 /* TODO: implement me. */
36456 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
36457 struct nb_cb_destroy_args
*args
)
36459 switch (args
->event
) {
36460 case NB_EV_VALIDATE
:
36461 case NB_EV_PREPARE
:
36464 /* TODO: implement me. */
36473 * /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
36475 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_as_path_options_replace_peer_as_modify(
36476 struct nb_cb_modify_args
*args
)
36478 switch (args
->event
) {
36479 case NB_EV_VALIDATE
:
36480 case NB_EV_PREPARE
:
36484 return bgp_peer_group_afi_safi_flag_modify(
36485 args
, PEER_FLAG_AS_OVERRIDE
,
36486 yang_dnode_get_bool(args
->dnode
, NULL
));
36496 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/neighbors/unnumbered-neighbor/afi-safis/afi-safi/ipv4-unicast/default-originate
36498 void bgp_peer_group_afi_safi_default_originate_apply_finish(
36499 struct nb_cb_apply_finish_args
*args
)
36502 const char *peer_str
;
36504 const struct lyd_node
*nbr_dnode
;
36505 const struct lyd_node
*nbr_af_dnode
;
36506 const char *af_name
;
36510 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36511 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36512 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36514 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36515 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36516 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36517 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36521 bgp_peer_afi_safi_default_originate_apply(args
, peer
, afi
, safi
);
36526 * /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
36528 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_originate_modify(
36529 struct nb_cb_modify_args
*args
)
36531 switch (args
->event
) {
36532 case NB_EV_VALIDATE
:
36533 case NB_EV_PREPARE
:
36536 /* TODO: implement me. */
36545 * /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
36547 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_modify(
36548 struct nb_cb_modify_args
*args
)
36550 switch (args
->event
) {
36551 case NB_EV_VALIDATE
:
36552 case NB_EV_PREPARE
:
36555 /* TODO: implement me. */
36562 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_default_originate_route_map_destroy(
36563 struct nb_cb_destroy_args
*args
)
36565 switch (args
->event
) {
36566 case NB_EV_VALIDATE
:
36567 case NB_EV_PREPARE
:
36570 /* TODO: implement me. */
36577 static int bgp_peer_group_afi_safi_prefix_limit_list_destroy(
36578 struct nb_cb_destroy_args
*args
)
36581 const char *peer_str
;
36583 const struct lyd_node
*nbr_dnode
;
36584 const struct lyd_node
*nbr_af_dnode
;
36585 const char *af_name
;
36590 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36591 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36592 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36594 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36595 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36596 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36597 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36599 return NB_ERR_INCONSISTENCY
;
36601 direction
= yang_dnode_get_enum(args
->dnode
, "./direction");
36603 switch (direction
) {
36605 peer_maximum_prefix_unset(peer
, afi
, safi
);
36608 UNSET_FLAG(peer
->af_flags
[afi
][safi
], PEER_FLAG_MAX_PREFIX_OUT
);
36609 peer
->pmax_out
[afi
][safi
] = 0;
36617 * /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
36619 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_create(
36620 struct nb_cb_create_args
*args
)
36622 switch (args
->event
) {
36623 case NB_EV_VALIDATE
:
36624 case NB_EV_PREPARE
:
36627 /* TODO: implement me. */
36634 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_destroy(
36635 struct nb_cb_destroy_args
*args
)
36637 switch (args
->event
) {
36638 case NB_EV_VALIDATE
:
36639 case NB_EV_PREPARE
:
36643 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
36649 void bgp_peer_group_afi_safi_prefix_limit_apply_finish(
36650 struct nb_cb_apply_finish_args
*args
)
36653 const char *peer_str
;
36655 const struct lyd_node
*nbr_dnode
;
36656 const struct lyd_node
*nbr_af_dnode
;
36657 const char *af_name
;
36661 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
36662 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
36663 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
36665 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
36666 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
36667 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
36668 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
36672 bgp_peer_afi_safi_maximum_prefix_set(args
, peer
, afi
, safi
);
36676 * /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
36678 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
36679 struct nb_cb_modify_args
*args
)
36681 switch (args
->event
) {
36682 case NB_EV_VALIDATE
:
36683 case NB_EV_PREPARE
:
36686 /* TODO: implement me. */
36695 * /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
36697 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
36698 struct nb_cb_modify_args
*args
)
36700 switch (args
->event
) {
36701 case NB_EV_VALIDATE
:
36702 case NB_EV_PREPARE
:
36705 /* TODO: implement me. */
36714 * /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
36716 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
36717 struct nb_cb_modify_args
*args
)
36719 switch (args
->event
) {
36720 case NB_EV_VALIDATE
:
36721 case NB_EV_PREPARE
:
36724 /* TODO: implement me. */
36731 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
36732 struct nb_cb_destroy_args
*args
)
36734 switch (args
->event
) {
36735 case NB_EV_VALIDATE
:
36736 case NB_EV_PREPARE
:
36739 /* TODO: implement me. */
36748 * /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
36750 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
36751 struct nb_cb_modify_args
*args
)
36753 switch (args
->event
) {
36754 case NB_EV_VALIDATE
:
36755 case NB_EV_PREPARE
:
36758 /* TODO: implement me. */
36765 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
36766 struct nb_cb_destroy_args
*args
)
36768 switch (args
->event
) {
36769 case NB_EV_VALIDATE
:
36770 case NB_EV_PREPARE
:
36773 /* TODO: implement me. */
36782 * /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
36784 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
36785 struct nb_cb_modify_args
*args
)
36787 switch (args
->event
) {
36788 case NB_EV_VALIDATE
:
36789 case NB_EV_PREPARE
:
36792 /* TODO: implement me. */
36799 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
36800 struct nb_cb_destroy_args
*args
)
36802 switch (args
->event
) {
36803 case NB_EV_VALIDATE
:
36804 case NB_EV_PREPARE
:
36807 /* TODO: implement me. */
36816 * /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
36818 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
36819 struct nb_cb_modify_args
*args
)
36821 switch (args
->event
) {
36822 case NB_EV_VALIDATE
:
36823 case NB_EV_PREPARE
:
36826 /* TODO: implement me. */
36833 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
36834 struct nb_cb_destroy_args
*args
)
36836 switch (args
->event
) {
36837 case NB_EV_VALIDATE
:
36838 case NB_EV_PREPARE
:
36841 /* TODO: implement me. */
36850 * /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
36852 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
36853 struct nb_cb_modify_args
*args
)
36855 switch (args
->event
) {
36856 case NB_EV_VALIDATE
:
36857 case NB_EV_PREPARE
:
36860 /* TODO: implement me. */
36867 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
36868 struct nb_cb_destroy_args
*args
)
36870 switch (args
->event
) {
36871 case NB_EV_VALIDATE
:
36872 case NB_EV_PREPARE
:
36875 /* TODO: implement me. */
36884 * /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
36886 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
36887 struct nb_cb_modify_args
*args
)
36889 switch (args
->event
) {
36890 case NB_EV_VALIDATE
:
36891 case NB_EV_PREPARE
:
36894 /* TODO: implement me. */
36901 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
36902 struct nb_cb_destroy_args
*args
)
36904 switch (args
->event
) {
36905 case NB_EV_VALIDATE
:
36906 case NB_EV_PREPARE
:
36909 /* TODO: implement me. */
36918 * /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
36920 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
36921 struct nb_cb_modify_args
*args
)
36923 switch (args
->event
) {
36924 case NB_EV_VALIDATE
:
36925 case NB_EV_PREPARE
:
36928 /* TODO: implement me. */
36935 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
36936 struct nb_cb_destroy_args
*args
)
36938 switch (args
->event
) {
36939 case NB_EV_VALIDATE
:
36940 case NB_EV_PREPARE
:
36943 /* TODO: implement me. */
36952 * /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
36954 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_modify(
36955 struct nb_cb_modify_args
*args
)
36957 switch (args
->event
) {
36958 case NB_EV_VALIDATE
:
36959 case NB_EV_PREPARE
:
36963 return bgp_peer_group_afi_safi_flag_modify(
36964 args
, PEER_FLAG_NEXTHOP_SELF
,
36965 yang_dnode_get_bool(args
->dnode
, NULL
));
36975 * /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
36977 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
36978 struct nb_cb_modify_args
*args
)
36980 switch (args
->event
) {
36981 case NB_EV_VALIDATE
:
36982 case NB_EV_PREPARE
:
36986 return bgp_peer_group_afi_safi_flag_modify(
36987 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
36988 yang_dnode_get_bool(args
->dnode
, NULL
));
36998 * /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
37000 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_modify(
37001 struct nb_cb_modify_args
*args
)
37003 switch (args
->event
) {
37004 case NB_EV_VALIDATE
:
37005 case NB_EV_PREPARE
:
37009 return bgp_peer_group_afi_safi_flag_modify(
37010 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
37011 yang_dnode_get_bool(args
->dnode
, NULL
));
37021 * /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
37023 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
37024 struct nb_cb_modify_args
*args
)
37026 switch (args
->event
) {
37027 case NB_EV_VALIDATE
:
37028 case NB_EV_PREPARE
:
37032 return bgp_peer_group_afi_safi_flag_modify(
37033 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
37034 yang_dnode_get_bool(args
->dnode
, NULL
));
37044 * /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
37046 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_modify(
37047 struct nb_cb_modify_args
*args
)
37049 switch (args
->event
) {
37050 case NB_EV_VALIDATE
:
37051 case NB_EV_PREPARE
:
37055 return bgp_peer_group_afi_safi_flag_modify(
37056 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
37057 yang_dnode_get_bool(args
->dnode
, NULL
));
37067 * /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
37069 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_private_as_remove_private_as_replace_modify(
37070 struct nb_cb_modify_args
*args
)
37072 switch (args
->event
) {
37073 case NB_EV_VALIDATE
:
37074 case NB_EV_PREPARE
:
37078 return bgp_peer_group_afi_safi_flag_modify(
37079 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
37080 yang_dnode_get_bool(args
->dnode
, NULL
));
37088 static int bgp_peer_group_afi_safi_weight_modify(struct nb_cb_modify_args
*args
)
37091 const char *peer_str
;
37093 const struct lyd_node
*nbr_dnode
;
37094 const struct lyd_node
*nbr_af_dnode
;
37095 const char *af_name
;
37101 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37102 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37103 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37105 nbr_dnode
= yang_dnode_get_parent(args
->dnode
, "peer-group");
37106 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37107 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37108 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37110 weight
= yang_dnode_get_uint16(args
->dnode
, NULL
);
37112 ret
= peer_weight_set(peer
, afi
, safi
, weight
);
37113 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
37114 return NB_ERR_INCONSISTENCY
;
37120 bgp_peer_group_afi_safi_weight_destroy(struct nb_cb_destroy_args
*args
)
37123 const char *peer_str
;
37125 const struct lyd_node
*nbr_dnode
;
37126 const struct lyd_node
*nbr_af_dnode
;
37127 const char *af_name
;
37132 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37133 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37134 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37135 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37136 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37137 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37138 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37140 ret
= peer_weight_unset(peer
, afi
, safi
);
37141 if (bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
) < 0)
37142 return NB_ERR_INCONSISTENCY
;
37149 * /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
37151 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_modify(
37152 struct nb_cb_modify_args
*args
)
37154 switch (args
->event
) {
37155 case NB_EV_VALIDATE
:
37156 case NB_EV_PREPARE
:
37160 return bgp_peer_group_afi_safi_weight_modify(args
);
37168 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_weight_weight_attribute_destroy(
37169 struct nb_cb_destroy_args
*args
)
37171 switch (args
->event
) {
37172 case NB_EV_VALIDATE
:
37173 case NB_EV_PREPARE
:
37177 return bgp_peer_group_afi_safi_weight_destroy(args
);
37187 * /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
37189 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_route_reflector_route_reflector_client_modify(
37190 struct nb_cb_modify_args
*args
)
37192 switch (args
->event
) {
37193 case NB_EV_VALIDATE
:
37194 case NB_EV_PREPARE
:
37198 return bgp_peer_group_afi_safi_flag_modify(
37199 args
, PEER_FLAG_REFLECTOR_CLIENT
,
37200 yang_dnode_get_bool(args
->dnode
, NULL
));
37210 * /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
37212 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_route_server_route_server_client_modify(
37213 struct nb_cb_modify_args
*args
)
37215 switch (args
->event
) {
37216 case NB_EV_VALIDATE
:
37217 case NB_EV_PREPARE
:
37221 return bgp_peer_group_afi_safi_flag_modify(
37222 args
, PEER_FLAG_RSERVER_CLIENT
,
37223 yang_dnode_get_bool(args
->dnode
, NULL
));
37233 * /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
37235 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_community_modify(
37236 struct nb_cb_modify_args
*args
)
37238 switch (args
->event
) {
37239 case NB_EV_VALIDATE
:
37240 case NB_EV_PREPARE
:
37244 return bgp_peer_group_afi_safi_flag_modify(
37245 args
, PEER_FLAG_SEND_COMMUNITY
,
37246 yang_dnode_get_bool(args
->dnode
, NULL
));
37256 * /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
37258 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_ext_community_modify(
37259 struct nb_cb_modify_args
*args
)
37261 switch (args
->event
) {
37262 case NB_EV_VALIDATE
:
37263 case NB_EV_PREPARE
:
37267 return bgp_peer_group_afi_safi_flag_modify(
37268 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
37269 yang_dnode_get_bool(args
->dnode
, NULL
));
37279 * /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
37281 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_send_community_send_large_community_modify(
37282 struct nb_cb_modify_args
*args
)
37284 switch (args
->event
) {
37285 case NB_EV_VALIDATE
:
37286 case NB_EV_PREPARE
:
37290 return bgp_peer_group_afi_safi_flag_modify(
37291 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
37292 yang_dnode_get_bool(args
->dnode
, NULL
));
37302 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-unicast/soft-reconfiguration
37304 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_soft_reconfiguration_modify(
37305 struct nb_cb_modify_args
*args
)
37307 switch (args
->event
) {
37308 case NB_EV_VALIDATE
:
37309 case NB_EV_PREPARE
:
37313 return bgp_peer_group_afi_safi_flag_modify(
37314 args
, PEER_FLAG_SOFT_RECONFIG
,
37315 yang_dnode_get_bool(args
->dnode
, NULL
));
37325 * /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
37327 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
37328 struct nb_cb_modify_args
*args
)
37330 switch (args
->event
) {
37331 case NB_EV_VALIDATE
:
37332 case NB_EV_PREPARE
:
37336 return bgp_peer_group_afi_safi_flag_modify(
37337 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
37338 yang_dnode_get_bool(args
->dnode
, NULL
));
37348 * /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
37350 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
37351 struct nb_cb_modify_args
*args
)
37353 switch (args
->event
) {
37354 case NB_EV_VALIDATE
:
37355 case NB_EV_PREPARE
:
37359 return bgp_peer_group_afi_safi_flag_modify(
37360 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
37361 yang_dnode_get_bool(args
->dnode
, NULL
));
37371 * /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
37373 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_attr_unchanged_med_unchanged_modify(
37374 struct nb_cb_modify_args
*args
)
37376 switch (args
->event
) {
37377 case NB_EV_VALIDATE
:
37378 case NB_EV_PREPARE
:
37382 return bgp_peer_group_afi_safi_flag_modify(
37383 args
, PEER_FLAG_MED_UNCHANGED
,
37384 yang_dnode_get_bool(args
->dnode
, NULL
));
37394 * /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
37396 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_modify(
37397 struct nb_cb_modify_args
*args
)
37399 switch (args
->event
) {
37400 case NB_EV_VALIDATE
:
37401 case NB_EV_PREPARE
:
37404 /* TODO: implement me. */
37411 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_send_destroy(
37412 struct nb_cb_destroy_args
*args
)
37414 switch (args
->event
) {
37415 case NB_EV_VALIDATE
:
37416 case NB_EV_PREPARE
:
37419 /* TODO: implement me. */
37428 * /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
37430 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_modify(
37431 struct nb_cb_modify_args
*args
)
37433 switch (args
->event
) {
37434 case NB_EV_VALIDATE
:
37435 case NB_EV_PREPARE
:
37438 /* TODO: implement me. */
37445 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_receive_destroy(
37446 struct nb_cb_destroy_args
*args
)
37448 switch (args
->event
) {
37449 case NB_EV_VALIDATE
:
37450 case NB_EV_PREPARE
:
37453 /* TODO: implement me. */
37462 * /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
37464 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_modify(
37465 struct nb_cb_modify_args
*args
)
37467 switch (args
->event
) {
37468 case NB_EV_VALIDATE
:
37469 case NB_EV_PREPARE
:
37472 /* TODO: implement me. */
37479 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_orf_capability_orf_both_destroy(
37480 struct nb_cb_destroy_args
*args
)
37482 switch (args
->event
) {
37483 case NB_EV_VALIDATE
:
37484 case NB_EV_PREPARE
:
37487 /* TODO: implement me. */
37494 static int bgp_peer_group_afi_safi_rmap_modify(struct nb_cb_modify_args
*args
,
37498 const char *peer_str
;
37500 const struct lyd_node
*nbr_dnode
;
37501 const struct lyd_node
*nbr_af_dnode
;
37502 const char *af_name
;
37505 const char *name_str
;
37506 struct route_map
*route_map
;
37509 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37510 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37511 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37512 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37513 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37514 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37515 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37517 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
37518 route_map
= route_map_lookup_by_name(name_str
);
37519 ret
= peer_route_map_set(peer
, afi
, safi
, direct
, name_str
, route_map
);
37521 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
37524 static int bgp_peer_group_afi_safi_rmap_destroy(struct nb_cb_destroy_args
*args
,
37528 const char *peer_str
;
37530 const struct lyd_node
*nbr_dnode
;
37531 const struct lyd_node
*nbr_af_dnode
;
37532 const char *af_name
;
37537 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37538 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37539 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37540 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37541 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37542 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37543 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37545 ret
= peer_route_map_unset(peer
, afi
, safi
, direct
);
37547 return bgp_nb_errmsg_return(args
->errmsg
, args
->errmsg_len
, ret
);
37552 * /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
37554 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_modify(
37555 struct nb_cb_modify_args
*args
)
37557 switch (args
->event
) {
37558 case NB_EV_VALIDATE
:
37559 case NB_EV_PREPARE
:
37563 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
37569 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_import_destroy(
37570 struct nb_cb_destroy_args
*args
)
37572 switch (args
->event
) {
37573 case NB_EV_VALIDATE
:
37574 case NB_EV_PREPARE
:
37578 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
37586 * /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
37588 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_modify(
37589 struct nb_cb_modify_args
*args
)
37591 switch (args
->event
) {
37592 case NB_EV_VALIDATE
:
37593 case NB_EV_PREPARE
:
37597 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
37603 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_rmap_export_destroy(
37604 struct nb_cb_destroy_args
*args
)
37606 switch (args
->event
) {
37607 case NB_EV_VALIDATE
:
37608 case NB_EV_PREPARE
:
37612 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
37618 static int bgp_peer_group_afi_safi_plist_modify(struct nb_cb_modify_args
*args
,
37622 const char *peer_str
;
37624 const struct lyd_node
*nbr_dnode
;
37625 const struct lyd_node
*nbr_af_dnode
;
37626 const char *af_name
;
37629 const char *name_str
;
37631 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37632 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37633 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37634 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37635 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37636 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37637 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37639 name_str
= yang_dnode_get_string(args
->dnode
, NULL
);
37640 if (peer_prefix_list_set(peer
, afi
, safi
, direct
, name_str
) < 0)
37641 return NB_ERR_INCONSISTENCY
;
37647 bgp_peer_group_afi_safi_plist_destroy(struct nb_cb_destroy_args
*args
,
37651 const char *peer_str
;
37653 const struct lyd_node
*nbr_dnode
;
37654 const struct lyd_node
*nbr_af_dnode
;
37655 const char *af_name
;
37659 nbr_af_dnode
= yang_dnode_get_parent(args
->dnode
, "afi-safi");
37660 af_name
= yang_dnode_get_string(nbr_af_dnode
, "./afi-safi-name");
37661 yang_afi_safi_identity2value(af_name
, &afi
, &safi
);
37662 nbr_dnode
= yang_dnode_get_parent(nbr_af_dnode
, "peer-group");
37663 bgp
= nb_running_get_entry(nbr_dnode
, NULL
, true);
37664 peer_str
= yang_dnode_get_string(nbr_dnode
, "./peer-group-name");
37665 peer
= bgp_peer_group_peer_lookup(bgp
, peer_str
);
37667 if (peer_prefix_list_unset(peer
, afi
, safi
, direct
) < 0)
37668 return NB_ERR_INCONSISTENCY
;
37675 * /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
37677 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_modify(
37678 struct nb_cb_modify_args
*args
)
37680 switch (args
->event
) {
37681 case NB_EV_VALIDATE
:
37682 case NB_EV_PREPARE
:
37686 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
37692 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_import_destroy(
37693 struct nb_cb_destroy_args
*args
)
37695 switch (args
->event
) {
37696 case NB_EV_VALIDATE
:
37697 case NB_EV_PREPARE
:
37701 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
37709 * /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
37711 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_modify(
37712 struct nb_cb_modify_args
*args
)
37714 switch (args
->event
) {
37715 case NB_EV_VALIDATE
:
37716 case NB_EV_PREPARE
:
37720 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
37726 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_plist_export_destroy(
37727 struct nb_cb_destroy_args
*args
)
37729 switch (args
->event
) {
37730 case NB_EV_VALIDATE
:
37731 case NB_EV_PREPARE
:
37735 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
37743 * /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
37745 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_modify(
37746 struct nb_cb_modify_args
*args
)
37748 switch (args
->event
) {
37749 case NB_EV_VALIDATE
:
37750 case NB_EV_PREPARE
:
37753 /* TODO: implement me. */
37760 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_import_destroy(
37761 struct nb_cb_destroy_args
*args
)
37763 switch (args
->event
) {
37764 case NB_EV_VALIDATE
:
37765 case NB_EV_PREPARE
:
37768 /* TODO: implement me. */
37777 * /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
37779 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_modify(
37780 struct nb_cb_modify_args
*args
)
37782 switch (args
->event
) {
37783 case NB_EV_VALIDATE
:
37784 case NB_EV_PREPARE
:
37787 /* TODO: implement me. */
37794 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_access_list_export_destroy(
37795 struct nb_cb_destroy_args
*args
)
37797 switch (args
->event
) {
37798 case NB_EV_VALIDATE
:
37799 case NB_EV_PREPARE
:
37802 /* TODO: implement me. */
37811 * /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
37813 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
37814 struct nb_cb_modify_args
*args
)
37816 switch (args
->event
) {
37817 case NB_EV_VALIDATE
:
37818 case NB_EV_PREPARE
:
37821 /* TODO: implement me. */
37828 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
37829 struct nb_cb_destroy_args
*args
)
37831 switch (args
->event
) {
37832 case NB_EV_VALIDATE
:
37833 case NB_EV_PREPARE
:
37836 /* TODO: implement me. */
37845 * /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
37847 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
37848 struct nb_cb_modify_args
*args
)
37850 switch (args
->event
) {
37851 case NB_EV_VALIDATE
:
37852 case NB_EV_PREPARE
:
37855 /* TODO: implement me. */
37862 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
37863 struct nb_cb_destroy_args
*args
)
37865 switch (args
->event
) {
37866 case NB_EV_VALIDATE
:
37867 case NB_EV_PREPARE
:
37870 /* TODO: implement me. */
37879 * /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
37881 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_modify(
37882 struct nb_cb_modify_args
*args
)
37884 switch (args
->event
) {
37885 case NB_EV_VALIDATE
:
37886 case NB_EV_PREPARE
:
37889 /* TODO: implement me. */
37896 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
37897 struct nb_cb_destroy_args
*args
)
37899 switch (args
->event
) {
37900 case NB_EV_VALIDATE
:
37901 case NB_EV_PREPARE
:
37904 /* TODO: implement me. */
37913 * /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
37915 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_modify(
37916 struct nb_cb_modify_args
*args
)
37918 switch (args
->event
) {
37919 case NB_EV_VALIDATE
:
37920 case NB_EV_PREPARE
:
37923 /* TODO: implement me. */
37930 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
37931 struct nb_cb_destroy_args
*args
)
37933 switch (args
->event
) {
37934 case NB_EV_VALIDATE
:
37935 case NB_EV_PREPARE
:
37938 /* TODO: implement me. */
37947 * /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
37949 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_local_unchanged_modify(
37950 struct nb_cb_modify_args
*args
)
37952 switch (args
->event
) {
37953 case NB_EV_VALIDATE
:
37954 case NB_EV_PREPARE
:
37957 /* TODO: implement me. */
37966 * /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
37968 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_add_paths_path_type_modify(
37969 struct nb_cb_modify_args
*args
)
37971 switch (args
->event
) {
37972 case NB_EV_VALIDATE
:
37973 case NB_EV_PREPARE
:
37976 /* TODO: implement me. */
37985 * /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
37987 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_modify(
37988 struct nb_cb_modify_args
*args
)
37990 switch (args
->event
) {
37991 case NB_EV_VALIDATE
:
37992 case NB_EV_PREPARE
:
37995 /* TODO: implement me. */
38002 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_as_destroy(
38003 struct nb_cb_destroy_args
*args
)
38005 switch (args
->event
) {
38006 case NB_EV_VALIDATE
:
38007 case NB_EV_PREPARE
:
38010 /* TODO: implement me. */
38019 * /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
38021 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
38022 struct nb_cb_modify_args
*args
)
38024 switch (args
->event
) {
38025 case NB_EV_VALIDATE
:
38026 case NB_EV_PREPARE
:
38029 /* TODO: implement me. */
38036 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
38037 struct nb_cb_destroy_args
*args
)
38039 switch (args
->event
) {
38040 case NB_EV_VALIDATE
:
38041 case NB_EV_PREPARE
:
38044 /* TODO: implement me. */
38053 * /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
38055 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_as_path_options_replace_peer_as_modify(
38056 struct nb_cb_modify_args
*args
)
38058 switch (args
->event
) {
38059 case NB_EV_VALIDATE
:
38060 case NB_EV_PREPARE
:
38064 return bgp_peer_group_afi_safi_flag_modify(
38065 args
, PEER_FLAG_AS_OVERRIDE
,
38066 yang_dnode_get_bool(args
->dnode
, NULL
));
38076 * /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
38078 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_originate_modify(
38079 struct nb_cb_modify_args
*args
)
38081 switch (args
->event
) {
38082 case NB_EV_VALIDATE
:
38083 case NB_EV_PREPARE
:
38086 /* TODO: implement me. */
38095 * /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
38097 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_modify(
38098 struct nb_cb_modify_args
*args
)
38100 switch (args
->event
) {
38101 case NB_EV_VALIDATE
:
38102 case NB_EV_PREPARE
:
38105 /* TODO: implement me. */
38112 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_default_originate_route_map_destroy(
38113 struct nb_cb_destroy_args
*args
)
38115 switch (args
->event
) {
38116 case NB_EV_VALIDATE
:
38117 case NB_EV_PREPARE
:
38120 /* TODO: implement me. */
38129 * /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
38131 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
38132 struct nb_cb_modify_args
*args
)
38134 switch (args
->event
) {
38135 case NB_EV_VALIDATE
:
38136 case NB_EV_PREPARE
:
38140 return bgp_peer_group_afi_safi_flag_modify(
38141 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
38142 yang_dnode_get_bool(args
->dnode
, NULL
));
38152 * /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
38154 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
38155 struct nb_cb_modify_args
*args
)
38157 switch (args
->event
) {
38158 case NB_EV_VALIDATE
:
38159 case NB_EV_PREPARE
:
38163 return bgp_peer_group_afi_safi_flag_modify(
38164 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
38165 yang_dnode_get_bool(args
->dnode
, NULL
));
38175 * /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
38177 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_attr_unchanged_med_unchanged_modify(
38178 struct nb_cb_modify_args
*args
)
38180 switch (args
->event
) {
38181 case NB_EV_VALIDATE
:
38182 case NB_EV_PREPARE
:
38186 return bgp_peer_group_afi_safi_flag_modify(
38187 args
, PEER_FLAG_MED_UNCHANGED
,
38188 yang_dnode_get_bool(args
->dnode
, NULL
));
38198 * /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
38200 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_modify(
38201 struct nb_cb_modify_args
*args
)
38203 switch (args
->event
) {
38204 case NB_EV_VALIDATE
:
38205 case NB_EV_PREPARE
:
38208 /* TODO: implement me. */
38215 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_send_destroy(
38216 struct nb_cb_destroy_args
*args
)
38218 switch (args
->event
) {
38219 case NB_EV_VALIDATE
:
38220 case NB_EV_PREPARE
:
38223 /* TODO: implement me. */
38232 * /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
38234 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_modify(
38235 struct nb_cb_modify_args
*args
)
38237 switch (args
->event
) {
38238 case NB_EV_VALIDATE
:
38239 case NB_EV_PREPARE
:
38242 /* TODO: implement me. */
38249 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_receive_destroy(
38250 struct nb_cb_destroy_args
*args
)
38252 switch (args
->event
) {
38253 case NB_EV_VALIDATE
:
38254 case NB_EV_PREPARE
:
38257 /* TODO: implement me. */
38266 * /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
38268 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_modify(
38269 struct nb_cb_modify_args
*args
)
38271 switch (args
->event
) {
38272 case NB_EV_VALIDATE
:
38273 case NB_EV_PREPARE
:
38276 /* TODO: implement me. */
38283 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_orf_capability_orf_both_destroy(
38284 struct nb_cb_destroy_args
*args
)
38286 switch (args
->event
) {
38287 case NB_EV_VALIDATE
:
38288 case NB_EV_PREPARE
:
38291 /* TODO: implement me. */
38300 * /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
38302 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_create(
38303 struct nb_cb_create_args
*args
)
38305 switch (args
->event
) {
38306 case NB_EV_VALIDATE
:
38307 case NB_EV_PREPARE
:
38310 /* TODO: implement me. */
38317 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_destroy(
38318 struct nb_cb_destroy_args
*args
)
38320 switch (args
->event
) {
38321 case NB_EV_VALIDATE
:
38322 case NB_EV_PREPARE
:
38326 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
38334 * /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
38336 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
38337 struct nb_cb_modify_args
*args
)
38339 switch (args
->event
) {
38340 case NB_EV_VALIDATE
:
38341 case NB_EV_PREPARE
:
38344 /* TODO: implement me. */
38353 * /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
38355 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
38356 struct nb_cb_modify_args
*args
)
38358 switch (args
->event
) {
38359 case NB_EV_VALIDATE
:
38360 case NB_EV_PREPARE
:
38363 /* TODO: implement me. */
38372 * /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
38374 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
38375 struct nb_cb_modify_args
*args
)
38377 switch (args
->event
) {
38378 case NB_EV_VALIDATE
:
38379 case NB_EV_PREPARE
:
38382 /* TODO: implement me. */
38389 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
38390 struct nb_cb_destroy_args
*args
)
38392 switch (args
->event
) {
38393 case NB_EV_VALIDATE
:
38394 case NB_EV_PREPARE
:
38397 /* TODO: implement me. */
38406 * /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
38408 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
38409 struct nb_cb_modify_args
*args
)
38411 switch (args
->event
) {
38412 case NB_EV_VALIDATE
:
38413 case NB_EV_PREPARE
:
38416 /* TODO: implement me. */
38423 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
38424 struct nb_cb_destroy_args
*args
)
38426 switch (args
->event
) {
38427 case NB_EV_VALIDATE
:
38428 case NB_EV_PREPARE
:
38431 /* TODO: implement me. */
38440 * /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
38442 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
38443 struct nb_cb_modify_args
*args
)
38445 switch (args
->event
) {
38446 case NB_EV_VALIDATE
:
38447 case NB_EV_PREPARE
:
38450 /* TODO: implement me. */
38457 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
38458 struct nb_cb_destroy_args
*args
)
38460 switch (args
->event
) {
38461 case NB_EV_VALIDATE
:
38462 case NB_EV_PREPARE
:
38465 /* TODO: implement me. */
38474 * /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
38476 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
38477 struct nb_cb_modify_args
*args
)
38479 switch (args
->event
) {
38480 case NB_EV_VALIDATE
:
38481 case NB_EV_PREPARE
:
38484 /* TODO: implement me. */
38491 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
38492 struct nb_cb_destroy_args
*args
)
38494 switch (args
->event
) {
38495 case NB_EV_VALIDATE
:
38496 case NB_EV_PREPARE
:
38499 /* TODO: implement me. */
38508 * /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
38510 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
38511 struct nb_cb_modify_args
*args
)
38513 switch (args
->event
) {
38514 case NB_EV_VALIDATE
:
38515 case NB_EV_PREPARE
:
38518 /* TODO: implement me. */
38525 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
38526 struct nb_cb_destroy_args
*args
)
38528 switch (args
->event
) {
38529 case NB_EV_VALIDATE
:
38530 case NB_EV_PREPARE
:
38533 /* TODO: implement me. */
38542 * /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
38544 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
38545 struct nb_cb_modify_args
*args
)
38547 switch (args
->event
) {
38548 case NB_EV_VALIDATE
:
38549 case NB_EV_PREPARE
:
38552 /* TODO: implement me. */
38559 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
38560 struct nb_cb_destroy_args
*args
)
38562 switch (args
->event
) {
38563 case NB_EV_VALIDATE
:
38564 case NB_EV_PREPARE
:
38567 /* TODO: implement me. */
38576 * /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
38578 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
38579 struct nb_cb_modify_args
*args
)
38581 switch (args
->event
) {
38582 case NB_EV_VALIDATE
:
38583 case NB_EV_PREPARE
:
38586 /* TODO: implement me. */
38593 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
38594 struct nb_cb_destroy_args
*args
)
38596 switch (args
->event
) {
38597 case NB_EV_VALIDATE
:
38598 case NB_EV_PREPARE
:
38601 /* TODO: implement me. */
38610 * /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
38612 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_modify(
38613 struct nb_cb_modify_args
*args
)
38615 switch (args
->event
) {
38616 case NB_EV_VALIDATE
:
38617 case NB_EV_PREPARE
:
38621 return bgp_peer_group_afi_safi_flag_modify(
38622 args
, PEER_FLAG_NEXTHOP_SELF
,
38623 yang_dnode_get_bool(args
->dnode
, NULL
));
38633 * /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
38635 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
38636 struct nb_cb_modify_args
*args
)
38638 switch (args
->event
) {
38639 case NB_EV_VALIDATE
:
38640 case NB_EV_PREPARE
:
38644 return bgp_peer_group_afi_safi_flag_modify(
38645 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
38646 yang_dnode_get_bool(args
->dnode
, NULL
));
38656 * /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
38658 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_modify(
38659 struct nb_cb_modify_args
*args
)
38661 switch (args
->event
) {
38662 case NB_EV_VALIDATE
:
38663 case NB_EV_PREPARE
:
38667 return bgp_peer_group_afi_safi_flag_modify(
38668 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
38669 yang_dnode_get_bool(args
->dnode
, NULL
));
38679 * /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
38681 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
38682 struct nb_cb_modify_args
*args
)
38684 switch (args
->event
) {
38685 case NB_EV_VALIDATE
:
38686 case NB_EV_PREPARE
:
38690 return bgp_peer_group_afi_safi_flag_modify(
38691 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
38692 yang_dnode_get_bool(args
->dnode
, NULL
));
38702 * /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
38704 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_modify(
38705 struct nb_cb_modify_args
*args
)
38707 switch (args
->event
) {
38708 case NB_EV_VALIDATE
:
38709 case NB_EV_PREPARE
:
38713 return bgp_peer_group_afi_safi_flag_modify(
38714 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
38715 yang_dnode_get_bool(args
->dnode
, NULL
));
38725 * /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
38727 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_private_as_remove_private_as_replace_modify(
38728 struct nb_cb_modify_args
*args
)
38730 switch (args
->event
) {
38731 case NB_EV_VALIDATE
:
38732 case NB_EV_PREPARE
:
38736 return bgp_peer_group_afi_safi_flag_modify(
38737 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
38738 yang_dnode_get_bool(args
->dnode
, NULL
));
38748 * /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
38750 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_route_reflector_route_reflector_client_modify(
38751 struct nb_cb_modify_args
*args
)
38753 switch (args
->event
) {
38754 case NB_EV_VALIDATE
:
38755 case NB_EV_PREPARE
:
38759 return bgp_peer_group_afi_safi_flag_modify(
38760 args
, PEER_FLAG_REFLECTOR_CLIENT
,
38761 yang_dnode_get_bool(args
->dnode
, NULL
));
38771 * /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
38773 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_route_server_route_server_client_modify(
38774 struct nb_cb_modify_args
*args
)
38776 switch (args
->event
) {
38777 case NB_EV_VALIDATE
:
38778 case NB_EV_PREPARE
:
38782 return bgp_peer_group_afi_safi_flag_modify(
38783 args
, PEER_FLAG_RSERVER_CLIENT
,
38784 yang_dnode_get_bool(args
->dnode
, NULL
));
38794 * /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
38796 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_community_modify(
38797 struct nb_cb_modify_args
*args
)
38799 switch (args
->event
) {
38800 case NB_EV_VALIDATE
:
38801 case NB_EV_PREPARE
:
38805 return bgp_peer_group_afi_safi_flag_modify(
38806 args
, PEER_FLAG_SEND_COMMUNITY
,
38807 yang_dnode_get_bool(args
->dnode
, NULL
));
38817 * /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
38819 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_ext_community_modify(
38820 struct nb_cb_modify_args
*args
)
38822 switch (args
->event
) {
38823 case NB_EV_VALIDATE
:
38824 case NB_EV_PREPARE
:
38828 return bgp_peer_group_afi_safi_flag_modify(
38829 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
38830 yang_dnode_get_bool(args
->dnode
, NULL
));
38840 * /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
38842 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_send_community_send_large_community_modify(
38843 struct nb_cb_modify_args
*args
)
38845 switch (args
->event
) {
38846 case NB_EV_VALIDATE
:
38847 case NB_EV_PREPARE
:
38851 return bgp_peer_group_afi_safi_flag_modify(
38852 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
38853 yang_dnode_get_bool(args
->dnode
, NULL
));
38863 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-unicast/soft-reconfiguration
38865 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_soft_reconfiguration_modify(
38866 struct nb_cb_modify_args
*args
)
38868 switch (args
->event
) {
38869 case NB_EV_VALIDATE
:
38870 case NB_EV_PREPARE
:
38874 return bgp_peer_group_afi_safi_flag_modify(
38875 args
, PEER_FLAG_SOFT_RECONFIG
,
38876 yang_dnode_get_bool(args
->dnode
, NULL
));
38886 * /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
38888 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_modify(
38889 struct nb_cb_modify_args
*args
)
38891 switch (args
->event
) {
38892 case NB_EV_VALIDATE
:
38893 case NB_EV_PREPARE
:
38897 return bgp_peer_group_afi_safi_weight_modify(args
);
38905 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_weight_weight_attribute_destroy(
38906 struct nb_cb_destroy_args
*args
)
38908 switch (args
->event
) {
38909 case NB_EV_VALIDATE
:
38910 case NB_EV_PREPARE
:
38914 return bgp_peer_group_afi_safi_weight_destroy(args
);
38924 * /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
38926 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_modify(
38927 struct nb_cb_modify_args
*args
)
38929 switch (args
->event
) {
38930 case NB_EV_VALIDATE
:
38931 case NB_EV_PREPARE
:
38935 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
38941 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_import_destroy(
38942 struct nb_cb_destroy_args
*args
)
38944 switch (args
->event
) {
38945 case NB_EV_VALIDATE
:
38946 case NB_EV_PREPARE
:
38950 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
38958 * /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
38960 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_modify(
38961 struct nb_cb_modify_args
*args
)
38963 switch (args
->event
) {
38964 case NB_EV_VALIDATE
:
38965 case NB_EV_PREPARE
:
38969 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
38975 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_rmap_export_destroy(
38976 struct nb_cb_destroy_args
*args
)
38978 switch (args
->event
) {
38979 case NB_EV_VALIDATE
:
38980 case NB_EV_PREPARE
:
38984 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
38992 * /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
38994 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_modify(
38995 struct nb_cb_modify_args
*args
)
38997 switch (args
->event
) {
38998 case NB_EV_VALIDATE
:
38999 case NB_EV_PREPARE
:
39003 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
39009 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_import_destroy(
39010 struct nb_cb_destroy_args
*args
)
39012 switch (args
->event
) {
39013 case NB_EV_VALIDATE
:
39014 case NB_EV_PREPARE
:
39018 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
39026 * /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
39028 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_modify(
39029 struct nb_cb_modify_args
*args
)
39031 switch (args
->event
) {
39032 case NB_EV_VALIDATE
:
39033 case NB_EV_PREPARE
:
39037 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
39043 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_plist_export_destroy(
39044 struct nb_cb_destroy_args
*args
)
39046 switch (args
->event
) {
39047 case NB_EV_VALIDATE
:
39048 case NB_EV_PREPARE
:
39052 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
39060 * /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
39062 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_modify(
39063 struct nb_cb_modify_args
*args
)
39065 switch (args
->event
) {
39066 case NB_EV_VALIDATE
:
39067 case NB_EV_PREPARE
:
39070 /* TODO: implement me. */
39077 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_import_destroy(
39078 struct nb_cb_destroy_args
*args
)
39080 switch (args
->event
) {
39081 case NB_EV_VALIDATE
:
39082 case NB_EV_PREPARE
:
39085 /* TODO: implement me. */
39094 * /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
39096 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_modify(
39097 struct nb_cb_modify_args
*args
)
39099 switch (args
->event
) {
39100 case NB_EV_VALIDATE
:
39101 case NB_EV_PREPARE
:
39104 /* TODO: implement me. */
39111 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_access_list_export_destroy(
39112 struct nb_cb_destroy_args
*args
)
39114 switch (args
->event
) {
39115 case NB_EV_VALIDATE
:
39116 case NB_EV_PREPARE
:
39119 /* TODO: implement me. */
39128 * /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
39130 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
39131 struct nb_cb_modify_args
*args
)
39133 switch (args
->event
) {
39134 case NB_EV_VALIDATE
:
39135 case NB_EV_PREPARE
:
39138 /* TODO: implement me. */
39145 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
39146 struct nb_cb_destroy_args
*args
)
39148 switch (args
->event
) {
39149 case NB_EV_VALIDATE
:
39150 case NB_EV_PREPARE
:
39153 /* TODO: implement me. */
39162 * /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
39164 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
39165 struct nb_cb_modify_args
*args
)
39167 switch (args
->event
) {
39168 case NB_EV_VALIDATE
:
39169 case NB_EV_PREPARE
:
39172 /* TODO: implement me. */
39179 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
39180 struct nb_cb_destroy_args
*args
)
39182 switch (args
->event
) {
39183 case NB_EV_VALIDATE
:
39184 case NB_EV_PREPARE
:
39187 /* TODO: implement me. */
39196 * /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
39198 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_modify(
39199 struct nb_cb_modify_args
*args
)
39201 switch (args
->event
) {
39202 case NB_EV_VALIDATE
:
39203 case NB_EV_PREPARE
:
39206 /* TODO: implement me. */
39213 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
39214 struct nb_cb_destroy_args
*args
)
39216 switch (args
->event
) {
39217 case NB_EV_VALIDATE
:
39218 case NB_EV_PREPARE
:
39221 /* TODO: implement me. */
39230 * /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
39232 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_modify(
39233 struct nb_cb_modify_args
*args
)
39235 switch (args
->event
) {
39236 case NB_EV_VALIDATE
:
39237 case NB_EV_PREPARE
:
39240 /* TODO: implement me. */
39247 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
39248 struct nb_cb_destroy_args
*args
)
39250 switch (args
->event
) {
39251 case NB_EV_VALIDATE
:
39252 case NB_EV_PREPARE
:
39255 /* TODO: implement me. */
39264 * /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
39266 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_add_paths_path_type_modify(
39267 struct nb_cb_modify_args
*args
)
39269 switch (args
->event
) {
39270 case NB_EV_VALIDATE
:
39271 case NB_EV_PREPARE
:
39274 /* TODO: implement me. */
39283 * /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
39285 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_modify(
39286 struct nb_cb_modify_args
*args
)
39288 switch (args
->event
) {
39289 case NB_EV_VALIDATE
:
39290 case NB_EV_PREPARE
:
39293 /* TODO: implement me. */
39300 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_as_destroy(
39301 struct nb_cb_destroy_args
*args
)
39303 switch (args
->event
) {
39304 case NB_EV_VALIDATE
:
39305 case NB_EV_PREPARE
:
39308 /* TODO: implement me. */
39317 * /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
39319 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_modify(
39320 struct nb_cb_modify_args
*args
)
39322 switch (args
->event
) {
39323 case NB_EV_VALIDATE
:
39324 case NB_EV_PREPARE
:
39327 /* TODO: implement me. */
39334 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_allow_own_origin_as_destroy(
39335 struct nb_cb_destroy_args
*args
)
39337 switch (args
->event
) {
39338 case NB_EV_VALIDATE
:
39339 case NB_EV_PREPARE
:
39342 /* TODO: implement me. */
39351 * /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
39353 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_as_path_options_replace_peer_as_modify(
39354 struct nb_cb_modify_args
*args
)
39356 switch (args
->event
) {
39357 case NB_EV_VALIDATE
:
39358 case NB_EV_PREPARE
:
39362 return bgp_peer_group_afi_safi_flag_modify(
39363 args
, PEER_FLAG_AS_OVERRIDE
,
39364 yang_dnode_get_bool(args
->dnode
, NULL
));
39374 * /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
39376 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_originate_modify(
39377 struct nb_cb_modify_args
*args
)
39379 switch (args
->event
) {
39380 case NB_EV_VALIDATE
:
39381 case NB_EV_PREPARE
:
39384 /* TODO: implement me. */
39393 * /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
39395 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_modify(
39396 struct nb_cb_modify_args
*args
)
39398 switch (args
->event
) {
39399 case NB_EV_VALIDATE
:
39400 case NB_EV_PREPARE
:
39403 /* TODO: implement me. */
39410 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_default_originate_route_map_destroy(
39411 struct nb_cb_destroy_args
*args
)
39413 switch (args
->event
) {
39414 case NB_EV_VALIDATE
:
39415 case NB_EV_PREPARE
:
39418 /* TODO: implement me. */
39427 * /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
39429 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_as_path_unchanged_modify(
39430 struct nb_cb_modify_args
*args
)
39432 switch (args
->event
) {
39433 case NB_EV_VALIDATE
:
39434 case NB_EV_PREPARE
:
39438 return bgp_peer_group_afi_safi_flag_modify(
39439 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
39440 yang_dnode_get_bool(args
->dnode
, NULL
));
39450 * /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
39452 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_next_hop_unchanged_modify(
39453 struct nb_cb_modify_args
*args
)
39455 switch (args
->event
) {
39456 case NB_EV_VALIDATE
:
39457 case NB_EV_PREPARE
:
39461 return bgp_peer_group_afi_safi_flag_modify(
39462 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
39463 yang_dnode_get_bool(args
->dnode
, NULL
));
39473 * /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
39475 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_attr_unchanged_med_unchanged_modify(
39476 struct nb_cb_modify_args
*args
)
39478 switch (args
->event
) {
39479 case NB_EV_VALIDATE
:
39480 case NB_EV_PREPARE
:
39484 return bgp_peer_group_afi_safi_flag_modify(
39485 args
, PEER_FLAG_MED_UNCHANGED
,
39486 yang_dnode_get_bool(args
->dnode
, NULL
));
39496 * /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
39498 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_modify(
39499 struct nb_cb_modify_args
*args
)
39501 switch (args
->event
) {
39502 case NB_EV_VALIDATE
:
39503 case NB_EV_PREPARE
:
39506 /* TODO: implement me. */
39513 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_send_destroy(
39514 struct nb_cb_destroy_args
*args
)
39516 switch (args
->event
) {
39517 case NB_EV_VALIDATE
:
39518 case NB_EV_PREPARE
:
39521 /* TODO: implement me. */
39530 * /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
39532 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_modify(
39533 struct nb_cb_modify_args
*args
)
39535 switch (args
->event
) {
39536 case NB_EV_VALIDATE
:
39537 case NB_EV_PREPARE
:
39540 /* TODO: implement me. */
39547 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_receive_destroy(
39548 struct nb_cb_destroy_args
*args
)
39550 switch (args
->event
) {
39551 case NB_EV_VALIDATE
:
39552 case NB_EV_PREPARE
:
39555 /* TODO: implement me. */
39564 * /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
39566 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_modify(
39567 struct nb_cb_modify_args
*args
)
39569 switch (args
->event
) {
39570 case NB_EV_VALIDATE
:
39571 case NB_EV_PREPARE
:
39574 /* TODO: implement me. */
39581 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_orf_capability_orf_both_destroy(
39582 struct nb_cb_destroy_args
*args
)
39584 switch (args
->event
) {
39585 case NB_EV_VALIDATE
:
39586 case NB_EV_PREPARE
:
39589 /* TODO: implement me. */
39598 * /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
39600 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_create(
39601 struct nb_cb_create_args
*args
)
39603 switch (args
->event
) {
39604 case NB_EV_VALIDATE
:
39605 case NB_EV_PREPARE
:
39608 /* TODO: implement me. */
39615 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_destroy(
39616 struct nb_cb_destroy_args
*args
)
39618 switch (args
->event
) {
39619 case NB_EV_VALIDATE
:
39620 case NB_EV_PREPARE
:
39624 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
39632 * /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
39634 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_max_prefixes_modify(
39635 struct nb_cb_modify_args
*args
)
39637 switch (args
->event
) {
39638 case NB_EV_VALIDATE
:
39639 case NB_EV_PREPARE
:
39642 /* TODO: implement me. */
39651 * /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
39653 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_force_check_modify(
39654 struct nb_cb_modify_args
*args
)
39656 switch (args
->event
) {
39657 case NB_EV_VALIDATE
:
39658 case NB_EV_PREPARE
:
39661 /* TODO: implement me. */
39670 * /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
39672 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_modify(
39673 struct nb_cb_modify_args
*args
)
39675 switch (args
->event
) {
39676 case NB_EV_VALIDATE
:
39677 case NB_EV_PREPARE
:
39680 /* TODO: implement me. */
39687 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_warning_only_destroy(
39688 struct nb_cb_destroy_args
*args
)
39690 switch (args
->event
) {
39691 case NB_EV_VALIDATE
:
39692 case NB_EV_PREPARE
:
39695 /* TODO: implement me. */
39704 * /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
39706 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_modify(
39707 struct nb_cb_modify_args
*args
)
39709 switch (args
->event
) {
39710 case NB_EV_VALIDATE
:
39711 case NB_EV_PREPARE
:
39714 /* TODO: implement me. */
39721 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
39722 struct nb_cb_destroy_args
*args
)
39724 switch (args
->event
) {
39725 case NB_EV_VALIDATE
:
39726 case NB_EV_PREPARE
:
39729 /* TODO: implement me. */
39738 * /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
39740 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
39741 struct nb_cb_modify_args
*args
)
39743 switch (args
->event
) {
39744 case NB_EV_VALIDATE
:
39745 case NB_EV_PREPARE
:
39748 /* TODO: implement me. */
39755 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
39756 struct nb_cb_destroy_args
*args
)
39758 switch (args
->event
) {
39759 case NB_EV_VALIDATE
:
39760 case NB_EV_PREPARE
:
39763 /* TODO: implement me. */
39772 * /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
39774 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
39775 struct nb_cb_modify_args
*args
)
39777 switch (args
->event
) {
39778 case NB_EV_VALIDATE
:
39779 case NB_EV_PREPARE
:
39782 /* TODO: implement me. */
39789 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
39790 struct nb_cb_destroy_args
*args
)
39792 switch (args
->event
) {
39793 case NB_EV_VALIDATE
:
39794 case NB_EV_PREPARE
:
39797 /* TODO: implement me. */
39806 * /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
39808 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
39809 struct nb_cb_modify_args
*args
)
39811 switch (args
->event
) {
39812 case NB_EV_VALIDATE
:
39813 case NB_EV_PREPARE
:
39816 /* TODO: implement me. */
39823 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
39824 struct nb_cb_destroy_args
*args
)
39826 switch (args
->event
) {
39827 case NB_EV_VALIDATE
:
39828 case NB_EV_PREPARE
:
39831 /* TODO: implement me. */
39840 * /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
39842 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
39843 struct nb_cb_modify_args
*args
)
39845 switch (args
->event
) {
39846 case NB_EV_VALIDATE
:
39847 case NB_EV_PREPARE
:
39850 /* TODO: implement me. */
39857 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
39858 struct nb_cb_destroy_args
*args
)
39860 switch (args
->event
) {
39861 case NB_EV_VALIDATE
:
39862 case NB_EV_PREPARE
:
39865 /* TODO: implement me. */
39874 * /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
39876 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
39877 struct nb_cb_modify_args
*args
)
39879 switch (args
->event
) {
39880 case NB_EV_VALIDATE
:
39881 case NB_EV_PREPARE
:
39884 /* TODO: implement me. */
39891 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
39892 struct nb_cb_destroy_args
*args
)
39894 switch (args
->event
) {
39895 case NB_EV_VALIDATE
:
39896 case NB_EV_PREPARE
:
39899 /* TODO: implement me. */
39908 * /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
39910 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_modify(
39911 struct nb_cb_modify_args
*args
)
39913 switch (args
->event
) {
39914 case NB_EV_VALIDATE
:
39915 case NB_EV_PREPARE
:
39919 return bgp_peer_group_afi_safi_flag_modify(
39920 args
, PEER_FLAG_NEXTHOP_SELF
,
39921 yang_dnode_get_bool(args
->dnode
, NULL
));
39931 * /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
39933 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_nexthop_self_next_hop_self_force_modify(
39934 struct nb_cb_modify_args
*args
)
39936 switch (args
->event
) {
39937 case NB_EV_VALIDATE
:
39938 case NB_EV_PREPARE
:
39942 return bgp_peer_group_afi_safi_flag_modify(
39943 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
39944 yang_dnode_get_bool(args
->dnode
, NULL
));
39954 * /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
39956 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_modify(
39957 struct nb_cb_modify_args
*args
)
39959 switch (args
->event
) {
39960 case NB_EV_VALIDATE
:
39961 case NB_EV_PREPARE
:
39965 return bgp_peer_group_afi_safi_flag_modify(
39966 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
39967 yang_dnode_get_bool(args
->dnode
, NULL
));
39977 * /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
39979 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_all_replace_modify(
39980 struct nb_cb_modify_args
*args
)
39982 switch (args
->event
) {
39983 case NB_EV_VALIDATE
:
39984 case NB_EV_PREPARE
:
39988 return bgp_peer_group_afi_safi_flag_modify(
39989 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
39990 yang_dnode_get_bool(args
->dnode
, NULL
));
40000 * /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
40002 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_modify(
40003 struct nb_cb_modify_args
*args
)
40005 switch (args
->event
) {
40006 case NB_EV_VALIDATE
:
40007 case NB_EV_PREPARE
:
40011 return bgp_peer_group_afi_safi_flag_modify(
40012 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
40013 yang_dnode_get_bool(args
->dnode
, NULL
));
40023 * /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
40025 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_private_as_remove_private_as_replace_modify(
40026 struct nb_cb_modify_args
*args
)
40028 switch (args
->event
) {
40029 case NB_EV_VALIDATE
:
40030 case NB_EV_PREPARE
:
40034 return bgp_peer_group_afi_safi_flag_modify(
40035 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
40036 yang_dnode_get_bool(args
->dnode
, NULL
));
40046 * /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
40048 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_route_reflector_route_reflector_client_modify(
40049 struct nb_cb_modify_args
*args
)
40051 switch (args
->event
) {
40052 case NB_EV_VALIDATE
:
40053 case NB_EV_PREPARE
:
40057 return bgp_peer_group_afi_safi_flag_modify(
40058 args
, PEER_FLAG_REFLECTOR_CLIENT
,
40059 yang_dnode_get_bool(args
->dnode
, NULL
));
40069 * /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
40071 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_route_server_route_server_client_modify(
40072 struct nb_cb_modify_args
*args
)
40074 switch (args
->event
) {
40075 case NB_EV_VALIDATE
:
40076 case NB_EV_PREPARE
:
40080 return bgp_peer_group_afi_safi_flag_modify(
40081 args
, PEER_FLAG_RSERVER_CLIENT
,
40082 yang_dnode_get_bool(args
->dnode
, NULL
));
40092 * /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
40094 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_community_modify(
40095 struct nb_cb_modify_args
*args
)
40097 switch (args
->event
) {
40098 case NB_EV_VALIDATE
:
40099 case NB_EV_PREPARE
:
40103 return bgp_peer_group_afi_safi_flag_modify(
40104 args
, PEER_FLAG_SEND_COMMUNITY
,
40105 yang_dnode_get_bool(args
->dnode
, NULL
));
40115 * /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
40117 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_ext_community_modify(
40118 struct nb_cb_modify_args
*args
)
40120 switch (args
->event
) {
40121 case NB_EV_VALIDATE
:
40122 case NB_EV_PREPARE
:
40126 return bgp_peer_group_afi_safi_flag_modify(
40127 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
40128 yang_dnode_get_bool(args
->dnode
, NULL
));
40138 * /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
40140 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_send_community_send_large_community_modify(
40141 struct nb_cb_modify_args
*args
)
40143 switch (args
->event
) {
40144 case NB_EV_VALIDATE
:
40145 case NB_EV_PREPARE
:
40149 return bgp_peer_group_afi_safi_flag_modify(
40150 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
40151 yang_dnode_get_bool(args
->dnode
, NULL
));
40161 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-multicast/soft-reconfiguration
40163 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_soft_reconfiguration_modify(
40164 struct nb_cb_modify_args
*args
)
40166 switch (args
->event
) {
40167 case NB_EV_VALIDATE
:
40168 case NB_EV_PREPARE
:
40172 return bgp_peer_group_afi_safi_flag_modify(
40173 args
, PEER_FLAG_SOFT_RECONFIG
,
40174 yang_dnode_get_bool(args
->dnode
, NULL
));
40184 * /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
40186 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_modify(
40187 struct nb_cb_modify_args
*args
)
40189 switch (args
->event
) {
40190 case NB_EV_VALIDATE
:
40191 case NB_EV_PREPARE
:
40195 return bgp_peer_group_afi_safi_weight_modify(args
);
40203 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_weight_weight_attribute_destroy(
40204 struct nb_cb_destroy_args
*args
)
40206 switch (args
->event
) {
40207 case NB_EV_VALIDATE
:
40208 case NB_EV_PREPARE
:
40212 return bgp_peer_group_afi_safi_weight_destroy(args
);
40222 * /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
40224 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_modify(
40225 struct nb_cb_modify_args
*args
)
40227 switch (args
->event
) {
40228 case NB_EV_VALIDATE
:
40229 case NB_EV_PREPARE
:
40233 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
40239 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_import_destroy(
40240 struct nb_cb_destroy_args
*args
)
40242 switch (args
->event
) {
40243 case NB_EV_VALIDATE
:
40244 case NB_EV_PREPARE
:
40248 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
40256 * /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
40258 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_modify(
40259 struct nb_cb_modify_args
*args
)
40261 switch (args
->event
) {
40262 case NB_EV_VALIDATE
:
40263 case NB_EV_PREPARE
:
40267 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
40273 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_rmap_export_destroy(
40274 struct nb_cb_destroy_args
*args
)
40276 switch (args
->event
) {
40277 case NB_EV_VALIDATE
:
40278 case NB_EV_PREPARE
:
40282 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
40290 * /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
40292 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_modify(
40293 struct nb_cb_modify_args
*args
)
40295 switch (args
->event
) {
40296 case NB_EV_VALIDATE
:
40297 case NB_EV_PREPARE
:
40301 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
40307 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_import_destroy(
40308 struct nb_cb_destroy_args
*args
)
40310 switch (args
->event
) {
40311 case NB_EV_VALIDATE
:
40312 case NB_EV_PREPARE
:
40316 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
40324 * /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
40326 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_modify(
40327 struct nb_cb_modify_args
*args
)
40329 switch (args
->event
) {
40330 case NB_EV_VALIDATE
:
40331 case NB_EV_PREPARE
:
40335 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
40341 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_plist_export_destroy(
40342 struct nb_cb_destroy_args
*args
)
40344 switch (args
->event
) {
40345 case NB_EV_VALIDATE
:
40346 case NB_EV_PREPARE
:
40350 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
40358 * /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
40360 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_modify(
40361 struct nb_cb_modify_args
*args
)
40363 switch (args
->event
) {
40364 case NB_EV_VALIDATE
:
40365 case NB_EV_PREPARE
:
40368 /* TODO: implement me. */
40375 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_import_destroy(
40376 struct nb_cb_destroy_args
*args
)
40378 switch (args
->event
) {
40379 case NB_EV_VALIDATE
:
40380 case NB_EV_PREPARE
:
40383 /* TODO: implement me. */
40392 * /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
40394 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_modify(
40395 struct nb_cb_modify_args
*args
)
40397 switch (args
->event
) {
40398 case NB_EV_VALIDATE
:
40399 case NB_EV_PREPARE
:
40402 /* TODO: implement me. */
40409 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_access_list_export_destroy(
40410 struct nb_cb_destroy_args
*args
)
40412 switch (args
->event
) {
40413 case NB_EV_VALIDATE
:
40414 case NB_EV_PREPARE
:
40417 /* TODO: implement me. */
40426 * /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
40428 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_modify(
40429 struct nb_cb_modify_args
*args
)
40431 switch (args
->event
) {
40432 case NB_EV_VALIDATE
:
40433 case NB_EV_PREPARE
:
40436 /* TODO: implement me. */
40443 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_import_destroy(
40444 struct nb_cb_destroy_args
*args
)
40446 switch (args
->event
) {
40447 case NB_EV_VALIDATE
:
40448 case NB_EV_PREPARE
:
40451 /* TODO: implement me. */
40460 * /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
40462 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_modify(
40463 struct nb_cb_modify_args
*args
)
40465 switch (args
->event
) {
40466 case NB_EV_VALIDATE
:
40467 case NB_EV_PREPARE
:
40470 /* TODO: implement me. */
40477 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_as_path_filter_list_export_destroy(
40478 struct nb_cb_destroy_args
*args
)
40480 switch (args
->event
) {
40481 case NB_EV_VALIDATE
:
40482 case NB_EV_PREPARE
:
40485 /* TODO: implement me. */
40494 * /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
40496 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_modify(
40497 struct nb_cb_modify_args
*args
)
40499 switch (args
->event
) {
40500 case NB_EV_VALIDATE
:
40501 case NB_EV_PREPARE
:
40504 /* TODO: implement me. */
40511 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_import_destroy(
40512 struct nb_cb_destroy_args
*args
)
40514 switch (args
->event
) {
40515 case NB_EV_VALIDATE
:
40516 case NB_EV_PREPARE
:
40519 /* TODO: implement me. */
40528 * /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
40530 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_modify(
40531 struct nb_cb_modify_args
*args
)
40533 switch (args
->event
) {
40534 case NB_EV_VALIDATE
:
40535 case NB_EV_PREPARE
:
40538 /* TODO: implement me. */
40545 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_multicast_filter_config_unsuppress_map_export_destroy(
40546 struct nb_cb_destroy_args
*args
)
40548 switch (args
->event
) {
40549 case NB_EV_VALIDATE
:
40550 case NB_EV_PREPARE
:
40553 /* TODO: implement me. */
40562 * /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
40564 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_add_paths_path_type_modify(
40565 struct nb_cb_modify_args
*args
)
40567 switch (args
->event
) {
40568 case NB_EV_VALIDATE
:
40569 case NB_EV_PREPARE
:
40572 /* TODO: implement me. */
40581 * /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
40583 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_modify(
40584 struct nb_cb_modify_args
*args
)
40586 switch (args
->event
) {
40587 case NB_EV_VALIDATE
:
40588 case NB_EV_PREPARE
:
40591 /* TODO: implement me. */
40598 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_as_destroy(
40599 struct nb_cb_destroy_args
*args
)
40601 switch (args
->event
) {
40602 case NB_EV_VALIDATE
:
40603 case NB_EV_PREPARE
:
40606 /* TODO: implement me. */
40615 * /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
40617 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_modify(
40618 struct nb_cb_modify_args
*args
)
40620 switch (args
->event
) {
40621 case NB_EV_VALIDATE
:
40622 case NB_EV_PREPARE
:
40625 /* TODO: implement me. */
40632 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_allow_own_origin_as_destroy(
40633 struct nb_cb_destroy_args
*args
)
40635 switch (args
->event
) {
40636 case NB_EV_VALIDATE
:
40637 case NB_EV_PREPARE
:
40640 /* TODO: implement me. */
40649 * /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
40651 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_as_path_options_replace_peer_as_modify(
40652 struct nb_cb_modify_args
*args
)
40654 switch (args
->event
) {
40655 case NB_EV_VALIDATE
:
40656 case NB_EV_PREPARE
:
40660 return bgp_peer_group_afi_safi_flag_modify(
40661 args
, PEER_FLAG_AS_OVERRIDE
,
40662 yang_dnode_get_bool(args
->dnode
, NULL
));
40672 * /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
40674 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_originate_modify(
40675 struct nb_cb_modify_args
*args
)
40677 switch (args
->event
) {
40678 case NB_EV_VALIDATE
:
40679 case NB_EV_PREPARE
:
40682 /* TODO: implement me. */
40691 * /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
40693 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_modify(
40694 struct nb_cb_modify_args
*args
)
40696 switch (args
->event
) {
40697 case NB_EV_VALIDATE
:
40698 case NB_EV_PREPARE
:
40701 /* TODO: implement me. */
40708 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_default_originate_route_map_destroy(
40709 struct nb_cb_destroy_args
*args
)
40711 switch (args
->event
) {
40712 case NB_EV_VALIDATE
:
40713 case NB_EV_PREPARE
:
40716 /* TODO: implement me. */
40725 * /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
40727 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_as_path_unchanged_modify(
40728 struct nb_cb_modify_args
*args
)
40730 switch (args
->event
) {
40731 case NB_EV_VALIDATE
:
40732 case NB_EV_PREPARE
:
40736 return bgp_peer_group_afi_safi_flag_modify(
40737 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
40738 yang_dnode_get_bool(args
->dnode
, NULL
));
40748 * /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
40750 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_next_hop_unchanged_modify(
40751 struct nb_cb_modify_args
*args
)
40753 switch (args
->event
) {
40754 case NB_EV_VALIDATE
:
40755 case NB_EV_PREPARE
:
40759 return bgp_peer_group_afi_safi_flag_modify(
40760 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
40761 yang_dnode_get_bool(args
->dnode
, NULL
));
40771 * /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
40773 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_attr_unchanged_med_unchanged_modify(
40774 struct nb_cb_modify_args
*args
)
40776 switch (args
->event
) {
40777 case NB_EV_VALIDATE
:
40778 case NB_EV_PREPARE
:
40782 return bgp_peer_group_afi_safi_flag_modify(
40783 args
, PEER_FLAG_MED_UNCHANGED
,
40784 yang_dnode_get_bool(args
->dnode
, NULL
));
40794 * /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
40796 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_modify(
40797 struct nb_cb_modify_args
*args
)
40799 switch (args
->event
) {
40800 case NB_EV_VALIDATE
:
40801 case NB_EV_PREPARE
:
40804 /* TODO: implement me. */
40811 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_send_destroy(
40812 struct nb_cb_destroy_args
*args
)
40814 switch (args
->event
) {
40815 case NB_EV_VALIDATE
:
40816 case NB_EV_PREPARE
:
40819 /* TODO: implement me. */
40828 * /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
40830 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_modify(
40831 struct nb_cb_modify_args
*args
)
40833 switch (args
->event
) {
40834 case NB_EV_VALIDATE
:
40835 case NB_EV_PREPARE
:
40838 /* TODO: implement me. */
40845 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_receive_destroy(
40846 struct nb_cb_destroy_args
*args
)
40848 switch (args
->event
) {
40849 case NB_EV_VALIDATE
:
40850 case NB_EV_PREPARE
:
40853 /* TODO: implement me. */
40862 * /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
40864 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_modify(
40865 struct nb_cb_modify_args
*args
)
40867 switch (args
->event
) {
40868 case NB_EV_VALIDATE
:
40869 case NB_EV_PREPARE
:
40872 /* TODO: implement me. */
40879 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_orf_capability_orf_both_destroy(
40880 struct nb_cb_destroy_args
*args
)
40882 switch (args
->event
) {
40883 case NB_EV_VALIDATE
:
40884 case NB_EV_PREPARE
:
40887 /* TODO: implement me. */
40896 * /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
40898 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_create(
40899 struct nb_cb_create_args
*args
)
40901 switch (args
->event
) {
40902 case NB_EV_VALIDATE
:
40903 case NB_EV_PREPARE
:
40906 /* TODO: implement me. */
40913 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_destroy(
40914 struct nb_cb_destroy_args
*args
)
40916 switch (args
->event
) {
40917 case NB_EV_VALIDATE
:
40918 case NB_EV_PREPARE
:
40922 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
40930 * /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
40932 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_max_prefixes_modify(
40933 struct nb_cb_modify_args
*args
)
40935 switch (args
->event
) {
40936 case NB_EV_VALIDATE
:
40937 case NB_EV_PREPARE
:
40940 /* TODO: implement me. */
40949 * /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
40951 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_force_check_modify(
40952 struct nb_cb_modify_args
*args
)
40954 switch (args
->event
) {
40955 case NB_EV_VALIDATE
:
40956 case NB_EV_PREPARE
:
40959 /* TODO: implement me. */
40968 * /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
40970 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_modify(
40971 struct nb_cb_modify_args
*args
)
40973 switch (args
->event
) {
40974 case NB_EV_VALIDATE
:
40975 case NB_EV_PREPARE
:
40978 /* TODO: implement me. */
40985 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_warning_only_destroy(
40986 struct nb_cb_destroy_args
*args
)
40988 switch (args
->event
) {
40989 case NB_EV_VALIDATE
:
40990 case NB_EV_PREPARE
:
40993 /* TODO: implement me. */
41002 * /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
41004 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_modify(
41005 struct nb_cb_modify_args
*args
)
41007 switch (args
->event
) {
41008 case NB_EV_VALIDATE
:
41009 case NB_EV_PREPARE
:
41012 /* TODO: implement me. */
41019 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_restart_timer_destroy(
41020 struct nb_cb_destroy_args
*args
)
41022 switch (args
->event
) {
41023 case NB_EV_VALIDATE
:
41024 case NB_EV_PREPARE
:
41027 /* TODO: implement me. */
41036 * /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
41038 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
41039 struct nb_cb_modify_args
*args
)
41041 switch (args
->event
) {
41042 case NB_EV_VALIDATE
:
41043 case NB_EV_PREPARE
:
41046 /* TODO: implement me. */
41053 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
41054 struct nb_cb_destroy_args
*args
)
41056 switch (args
->event
) {
41057 case NB_EV_VALIDATE
:
41058 case NB_EV_PREPARE
:
41061 /* TODO: implement me. */
41070 * /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
41072 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
41073 struct nb_cb_modify_args
*args
)
41075 switch (args
->event
) {
41076 case NB_EV_VALIDATE
:
41077 case NB_EV_PREPARE
:
41080 /* TODO: implement me. */
41087 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
41088 struct nb_cb_destroy_args
*args
)
41090 switch (args
->event
) {
41091 case NB_EV_VALIDATE
:
41092 case NB_EV_PREPARE
:
41095 /* TODO: implement me. */
41104 * /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
41106 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
41107 struct nb_cb_modify_args
*args
)
41109 switch (args
->event
) {
41110 case NB_EV_VALIDATE
:
41111 case NB_EV_PREPARE
:
41114 /* TODO: implement me. */
41121 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
41122 struct nb_cb_destroy_args
*args
)
41124 switch (args
->event
) {
41125 case NB_EV_VALIDATE
:
41126 case NB_EV_PREPARE
:
41129 /* TODO: implement me. */
41138 * /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
41140 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
41141 struct nb_cb_modify_args
*args
)
41143 switch (args
->event
) {
41144 case NB_EV_VALIDATE
:
41145 case NB_EV_PREPARE
:
41148 /* TODO: implement me. */
41155 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
41156 struct nb_cb_destroy_args
*args
)
41158 switch (args
->event
) {
41159 case NB_EV_VALIDATE
:
41160 case NB_EV_PREPARE
:
41163 /* TODO: implement me. */
41172 * /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
41174 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_modify(
41175 struct nb_cb_modify_args
*args
)
41177 switch (args
->event
) {
41178 case NB_EV_VALIDATE
:
41179 case NB_EV_PREPARE
:
41182 /* TODO: implement me. */
41189 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
41190 struct nb_cb_destroy_args
*args
)
41192 switch (args
->event
) {
41193 case NB_EV_VALIDATE
:
41194 case NB_EV_PREPARE
:
41197 /* TODO: implement me. */
41206 * /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
41208 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_modify(
41209 struct nb_cb_modify_args
*args
)
41211 switch (args
->event
) {
41212 case NB_EV_VALIDATE
:
41213 case NB_EV_PREPARE
:
41217 return bgp_peer_group_afi_safi_flag_modify(
41218 args
, PEER_FLAG_NEXTHOP_SELF
,
41219 yang_dnode_get_bool(args
->dnode
, NULL
));
41229 * /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
41231 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_nexthop_self_next_hop_self_force_modify(
41232 struct nb_cb_modify_args
*args
)
41234 switch (args
->event
) {
41235 case NB_EV_VALIDATE
:
41236 case NB_EV_PREPARE
:
41240 return bgp_peer_group_afi_safi_flag_modify(
41241 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
41242 yang_dnode_get_bool(args
->dnode
, NULL
));
41252 * /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
41254 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_modify(
41255 struct nb_cb_modify_args
*args
)
41257 switch (args
->event
) {
41258 case NB_EV_VALIDATE
:
41259 case NB_EV_PREPARE
:
41263 return bgp_peer_group_afi_safi_flag_modify(
41264 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
41265 yang_dnode_get_bool(args
->dnode
, NULL
));
41275 * /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
41277 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_all_replace_modify(
41278 struct nb_cb_modify_args
*args
)
41280 switch (args
->event
) {
41281 case NB_EV_VALIDATE
:
41282 case NB_EV_PREPARE
:
41286 return bgp_peer_group_afi_safi_flag_modify(
41287 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
41288 yang_dnode_get_bool(args
->dnode
, NULL
));
41298 * /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
41300 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_modify(
41301 struct nb_cb_modify_args
*args
)
41303 switch (args
->event
) {
41304 case NB_EV_VALIDATE
:
41305 case NB_EV_PREPARE
:
41309 return bgp_peer_group_afi_safi_flag_modify(
41310 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
41311 yang_dnode_get_bool(args
->dnode
, NULL
));
41321 * /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
41323 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_private_as_remove_private_as_replace_modify(
41324 struct nb_cb_modify_args
*args
)
41326 switch (args
->event
) {
41327 case NB_EV_VALIDATE
:
41328 case NB_EV_PREPARE
:
41332 return bgp_peer_group_afi_safi_flag_modify(
41333 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
41334 yang_dnode_get_bool(args
->dnode
, NULL
));
41344 * /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
41346 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_route_reflector_route_reflector_client_modify(
41347 struct nb_cb_modify_args
*args
)
41349 switch (args
->event
) {
41350 case NB_EV_VALIDATE
:
41351 case NB_EV_PREPARE
:
41355 return bgp_peer_group_afi_safi_flag_modify(
41356 args
, PEER_FLAG_REFLECTOR_CLIENT
,
41357 yang_dnode_get_bool(args
->dnode
, NULL
));
41367 * /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
41369 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_route_server_route_server_client_modify(
41370 struct nb_cb_modify_args
*args
)
41372 switch (args
->event
) {
41373 case NB_EV_VALIDATE
:
41374 case NB_EV_PREPARE
:
41378 return bgp_peer_group_afi_safi_flag_modify(
41379 args
, PEER_FLAG_RSERVER_CLIENT
,
41380 yang_dnode_get_bool(args
->dnode
, NULL
));
41390 * /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
41392 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_community_modify(
41393 struct nb_cb_modify_args
*args
)
41395 switch (args
->event
) {
41396 case NB_EV_VALIDATE
:
41397 case NB_EV_PREPARE
:
41401 return bgp_peer_group_afi_safi_flag_modify(
41402 args
, PEER_FLAG_SEND_COMMUNITY
,
41403 yang_dnode_get_bool(args
->dnode
, NULL
));
41413 * /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
41415 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_ext_community_modify(
41416 struct nb_cb_modify_args
*args
)
41418 switch (args
->event
) {
41419 case NB_EV_VALIDATE
:
41420 case NB_EV_PREPARE
:
41424 return bgp_peer_group_afi_safi_flag_modify(
41425 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
41426 yang_dnode_get_bool(args
->dnode
, NULL
));
41436 * /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
41438 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_send_community_send_large_community_modify(
41439 struct nb_cb_modify_args
*args
)
41441 switch (args
->event
) {
41442 case NB_EV_VALIDATE
:
41443 case NB_EV_PREPARE
:
41447 return bgp_peer_group_afi_safi_flag_modify(
41448 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
41449 yang_dnode_get_bool(args
->dnode
, NULL
));
41459 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-multicast/soft-reconfiguration
41461 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_soft_reconfiguration_modify(
41462 struct nb_cb_modify_args
*args
)
41464 switch (args
->event
) {
41465 case NB_EV_VALIDATE
:
41466 case NB_EV_PREPARE
:
41470 return bgp_peer_group_afi_safi_flag_modify(
41471 args
, PEER_FLAG_SOFT_RECONFIG
,
41472 yang_dnode_get_bool(args
->dnode
, NULL
));
41482 * /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
41484 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_modify(
41485 struct nb_cb_modify_args
*args
)
41487 switch (args
->event
) {
41488 case NB_EV_VALIDATE
:
41489 case NB_EV_PREPARE
:
41493 return bgp_peer_group_afi_safi_weight_modify(args
);
41501 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_weight_weight_attribute_destroy(
41502 struct nb_cb_destroy_args
*args
)
41504 switch (args
->event
) {
41505 case NB_EV_VALIDATE
:
41506 case NB_EV_PREPARE
:
41510 return bgp_peer_group_afi_safi_weight_destroy(args
);
41520 * /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
41522 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_modify(
41523 struct nb_cb_modify_args
*args
)
41525 switch (args
->event
) {
41526 case NB_EV_VALIDATE
:
41527 case NB_EV_PREPARE
:
41531 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
41537 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_import_destroy(
41538 struct nb_cb_destroy_args
*args
)
41540 switch (args
->event
) {
41541 case NB_EV_VALIDATE
:
41542 case NB_EV_PREPARE
:
41546 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
41554 * /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
41556 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_modify(
41557 struct nb_cb_modify_args
*args
)
41559 switch (args
->event
) {
41560 case NB_EV_VALIDATE
:
41561 case NB_EV_PREPARE
:
41565 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
41571 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_rmap_export_destroy(
41572 struct nb_cb_destroy_args
*args
)
41574 switch (args
->event
) {
41575 case NB_EV_VALIDATE
:
41576 case NB_EV_PREPARE
:
41580 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
41588 * /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
41590 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_modify(
41591 struct nb_cb_modify_args
*args
)
41593 switch (args
->event
) {
41594 case NB_EV_VALIDATE
:
41595 case NB_EV_PREPARE
:
41599 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
41605 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_import_destroy(
41606 struct nb_cb_destroy_args
*args
)
41608 switch (args
->event
) {
41609 case NB_EV_VALIDATE
:
41610 case NB_EV_PREPARE
:
41614 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
41622 * /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
41624 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_modify(
41625 struct nb_cb_modify_args
*args
)
41627 switch (args
->event
) {
41628 case NB_EV_VALIDATE
:
41629 case NB_EV_PREPARE
:
41633 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
41639 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_plist_export_destroy(
41640 struct nb_cb_destroy_args
*args
)
41642 switch (args
->event
) {
41643 case NB_EV_VALIDATE
:
41644 case NB_EV_PREPARE
:
41648 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
41656 * /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
41658 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_modify(
41659 struct nb_cb_modify_args
*args
)
41661 switch (args
->event
) {
41662 case NB_EV_VALIDATE
:
41663 case NB_EV_PREPARE
:
41666 /* TODO: implement me. */
41673 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_import_destroy(
41674 struct nb_cb_destroy_args
*args
)
41676 switch (args
->event
) {
41677 case NB_EV_VALIDATE
:
41678 case NB_EV_PREPARE
:
41681 /* TODO: implement me. */
41690 * /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
41692 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_modify(
41693 struct nb_cb_modify_args
*args
)
41695 switch (args
->event
) {
41696 case NB_EV_VALIDATE
:
41697 case NB_EV_PREPARE
:
41700 /* TODO: implement me. */
41707 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_access_list_export_destroy(
41708 struct nb_cb_destroy_args
*args
)
41710 switch (args
->event
) {
41711 case NB_EV_VALIDATE
:
41712 case NB_EV_PREPARE
:
41715 /* TODO: implement me. */
41724 * /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
41726 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_modify(
41727 struct nb_cb_modify_args
*args
)
41729 switch (args
->event
) {
41730 case NB_EV_VALIDATE
:
41731 case NB_EV_PREPARE
:
41734 /* TODO: implement me. */
41741 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_import_destroy(
41742 struct nb_cb_destroy_args
*args
)
41744 switch (args
->event
) {
41745 case NB_EV_VALIDATE
:
41746 case NB_EV_PREPARE
:
41749 /* TODO: implement me. */
41758 * /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
41760 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_modify(
41761 struct nb_cb_modify_args
*args
)
41763 switch (args
->event
) {
41764 case NB_EV_VALIDATE
:
41765 case NB_EV_PREPARE
:
41768 /* TODO: implement me. */
41775 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_as_path_filter_list_export_destroy(
41776 struct nb_cb_destroy_args
*args
)
41778 switch (args
->event
) {
41779 case NB_EV_VALIDATE
:
41780 case NB_EV_PREPARE
:
41783 /* TODO: implement me. */
41792 * /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
41794 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_modify(
41795 struct nb_cb_modify_args
*args
)
41797 switch (args
->event
) {
41798 case NB_EV_VALIDATE
:
41799 case NB_EV_PREPARE
:
41802 /* TODO: implement me. */
41809 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_import_destroy(
41810 struct nb_cb_destroy_args
*args
)
41812 switch (args
->event
) {
41813 case NB_EV_VALIDATE
:
41814 case NB_EV_PREPARE
:
41817 /* TODO: implement me. */
41826 * /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
41828 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_modify(
41829 struct nb_cb_modify_args
*args
)
41831 switch (args
->event
) {
41832 case NB_EV_VALIDATE
:
41833 case NB_EV_PREPARE
:
41836 /* TODO: implement me. */
41843 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_multicast_filter_config_unsuppress_map_export_destroy(
41844 struct nb_cb_destroy_args
*args
)
41846 switch (args
->event
) {
41847 case NB_EV_VALIDATE
:
41848 case NB_EV_PREPARE
:
41851 /* TODO: implement me. */
41860 * /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
41862 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_add_paths_path_type_modify(
41863 struct nb_cb_modify_args
*args
)
41865 switch (args
->event
) {
41866 case NB_EV_VALIDATE
:
41867 case NB_EV_PREPARE
:
41870 /* TODO: implement me. */
41879 * /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
41881 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_modify(
41882 struct nb_cb_modify_args
*args
)
41884 switch (args
->event
) {
41885 case NB_EV_VALIDATE
:
41886 case NB_EV_PREPARE
:
41889 /* TODO: implement me. */
41896 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_as_destroy(
41897 struct nb_cb_destroy_args
*args
)
41899 switch (args
->event
) {
41900 case NB_EV_VALIDATE
:
41901 case NB_EV_PREPARE
:
41904 /* TODO: implement me. */
41913 * /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
41915 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_modify(
41916 struct nb_cb_modify_args
*args
)
41918 switch (args
->event
) {
41919 case NB_EV_VALIDATE
:
41920 case NB_EV_PREPARE
:
41923 /* TODO: implement me. */
41930 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
41931 struct nb_cb_destroy_args
*args
)
41933 switch (args
->event
) {
41934 case NB_EV_VALIDATE
:
41935 case NB_EV_PREPARE
:
41938 /* TODO: implement me. */
41947 * /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
41949 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_as_path_options_replace_peer_as_modify(
41950 struct nb_cb_modify_args
*args
)
41952 switch (args
->event
) {
41953 case NB_EV_VALIDATE
:
41954 case NB_EV_PREPARE
:
41958 return bgp_peer_group_afi_safi_flag_modify(
41959 args
, PEER_FLAG_AS_OVERRIDE
,
41960 yang_dnode_get_bool(args
->dnode
, NULL
));
41970 * /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
41972 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_originate_modify(
41973 struct nb_cb_modify_args
*args
)
41975 switch (args
->event
) {
41976 case NB_EV_VALIDATE
:
41977 case NB_EV_PREPARE
:
41980 /* TODO: implement me. */
41989 * /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
41991 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_modify(
41992 struct nb_cb_modify_args
*args
)
41994 switch (args
->event
) {
41995 case NB_EV_VALIDATE
:
41996 case NB_EV_PREPARE
:
41999 /* TODO: implement me. */
42006 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_default_originate_route_map_destroy(
42007 struct nb_cb_destroy_args
*args
)
42009 switch (args
->event
) {
42010 case NB_EV_VALIDATE
:
42011 case NB_EV_PREPARE
:
42014 /* TODO: implement me. */
42023 * /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
42025 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
42026 struct nb_cb_modify_args
*args
)
42028 switch (args
->event
) {
42029 case NB_EV_VALIDATE
:
42030 case NB_EV_PREPARE
:
42034 return bgp_peer_group_afi_safi_flag_modify(
42035 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
42036 yang_dnode_get_bool(args
->dnode
, NULL
));
42046 * /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
42048 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
42049 struct nb_cb_modify_args
*args
)
42051 switch (args
->event
) {
42052 case NB_EV_VALIDATE
:
42053 case NB_EV_PREPARE
:
42057 return bgp_peer_group_afi_safi_flag_modify(
42058 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
42059 yang_dnode_get_bool(args
->dnode
, NULL
));
42069 * /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
42071 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_attr_unchanged_med_unchanged_modify(
42072 struct nb_cb_modify_args
*args
)
42074 switch (args
->event
) {
42075 case NB_EV_VALIDATE
:
42076 case NB_EV_PREPARE
:
42080 return bgp_peer_group_afi_safi_flag_modify(
42081 args
, PEER_FLAG_MED_UNCHANGED
,
42082 yang_dnode_get_bool(args
->dnode
, NULL
));
42092 * /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
42094 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_modify(
42095 struct nb_cb_modify_args
*args
)
42097 switch (args
->event
) {
42098 case NB_EV_VALIDATE
:
42099 case NB_EV_PREPARE
:
42102 /* TODO: implement me. */
42109 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_send_destroy(
42110 struct nb_cb_destroy_args
*args
)
42112 switch (args
->event
) {
42113 case NB_EV_VALIDATE
:
42114 case NB_EV_PREPARE
:
42117 /* TODO: implement me. */
42126 * /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
42128 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_modify(
42129 struct nb_cb_modify_args
*args
)
42131 switch (args
->event
) {
42132 case NB_EV_VALIDATE
:
42133 case NB_EV_PREPARE
:
42136 /* TODO: implement me. */
42143 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_receive_destroy(
42144 struct nb_cb_destroy_args
*args
)
42146 switch (args
->event
) {
42147 case NB_EV_VALIDATE
:
42148 case NB_EV_PREPARE
:
42151 /* TODO: implement me. */
42160 * /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
42162 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_modify(
42163 struct nb_cb_modify_args
*args
)
42165 switch (args
->event
) {
42166 case NB_EV_VALIDATE
:
42167 case NB_EV_PREPARE
:
42170 /* TODO: implement me. */
42177 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_orf_capability_orf_both_destroy(
42178 struct nb_cb_destroy_args
*args
)
42180 switch (args
->event
) {
42181 case NB_EV_VALIDATE
:
42182 case NB_EV_PREPARE
:
42185 /* TODO: implement me. */
42194 * /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
42196 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_create(
42197 struct nb_cb_create_args
*args
)
42199 switch (args
->event
) {
42200 case NB_EV_VALIDATE
:
42201 case NB_EV_PREPARE
:
42204 /* TODO: implement me. */
42211 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_destroy(
42212 struct nb_cb_destroy_args
*args
)
42214 switch (args
->event
) {
42215 case NB_EV_VALIDATE
:
42216 case NB_EV_PREPARE
:
42220 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
42228 * /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
42230 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
42231 struct nb_cb_modify_args
*args
)
42233 switch (args
->event
) {
42234 case NB_EV_VALIDATE
:
42235 case NB_EV_PREPARE
:
42238 /* TODO: implement me. */
42247 * /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
42249 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_force_check_modify(
42250 struct nb_cb_modify_args
*args
)
42252 switch (args
->event
) {
42253 case NB_EV_VALIDATE
:
42254 case NB_EV_PREPARE
:
42257 /* TODO: implement me. */
42266 * /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
42268 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
42269 struct nb_cb_modify_args
*args
)
42271 switch (args
->event
) {
42272 case NB_EV_VALIDATE
:
42273 case NB_EV_PREPARE
:
42276 /* TODO: implement me. */
42283 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
42284 struct nb_cb_destroy_args
*args
)
42286 switch (args
->event
) {
42287 case NB_EV_VALIDATE
:
42288 case NB_EV_PREPARE
:
42291 /* TODO: implement me. */
42300 * /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
42302 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
42303 struct nb_cb_modify_args
*args
)
42305 switch (args
->event
) {
42306 case NB_EV_VALIDATE
:
42307 case NB_EV_PREPARE
:
42310 /* TODO: implement me. */
42317 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
42318 struct nb_cb_destroy_args
*args
)
42320 switch (args
->event
) {
42321 case NB_EV_VALIDATE
:
42322 case NB_EV_PREPARE
:
42325 /* TODO: implement me. */
42334 * /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
42336 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
42337 struct nb_cb_modify_args
*args
)
42339 switch (args
->event
) {
42340 case NB_EV_VALIDATE
:
42341 case NB_EV_PREPARE
:
42344 /* TODO: implement me. */
42351 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
42352 struct nb_cb_destroy_args
*args
)
42354 switch (args
->event
) {
42355 case NB_EV_VALIDATE
:
42356 case NB_EV_PREPARE
:
42359 /* TODO: implement me. */
42368 * /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
42370 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
42371 struct nb_cb_modify_args
*args
)
42373 switch (args
->event
) {
42374 case NB_EV_VALIDATE
:
42375 case NB_EV_PREPARE
:
42378 /* TODO: implement me. */
42385 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
42386 struct nb_cb_destroy_args
*args
)
42388 switch (args
->event
) {
42389 case NB_EV_VALIDATE
:
42390 case NB_EV_PREPARE
:
42393 /* TODO: implement me. */
42402 * /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
42404 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
42405 struct nb_cb_modify_args
*args
)
42407 switch (args
->event
) {
42408 case NB_EV_VALIDATE
:
42409 case NB_EV_PREPARE
:
42412 /* TODO: implement me. */
42419 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
42420 struct nb_cb_destroy_args
*args
)
42422 switch (args
->event
) {
42423 case NB_EV_VALIDATE
:
42424 case NB_EV_PREPARE
:
42427 /* TODO: implement me. */
42436 * /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
42438 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
42439 struct nb_cb_modify_args
*args
)
42441 switch (args
->event
) {
42442 case NB_EV_VALIDATE
:
42443 case NB_EV_PREPARE
:
42446 /* TODO: implement me. */
42453 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
42454 struct nb_cb_destroy_args
*args
)
42456 switch (args
->event
) {
42457 case NB_EV_VALIDATE
:
42458 case NB_EV_PREPARE
:
42461 /* TODO: implement me. */
42470 * /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
42472 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
42473 struct nb_cb_modify_args
*args
)
42475 switch (args
->event
) {
42476 case NB_EV_VALIDATE
:
42477 case NB_EV_PREPARE
:
42480 /* TODO: implement me. */
42487 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
42488 struct nb_cb_destroy_args
*args
)
42490 switch (args
->event
) {
42491 case NB_EV_VALIDATE
:
42492 case NB_EV_PREPARE
:
42495 /* TODO: implement me. */
42504 * /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
42506 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_modify(
42507 struct nb_cb_modify_args
*args
)
42509 switch (args
->event
) {
42510 case NB_EV_VALIDATE
:
42511 case NB_EV_PREPARE
:
42515 return bgp_peer_group_afi_safi_flag_modify(
42516 args
, PEER_FLAG_NEXTHOP_SELF
,
42517 yang_dnode_get_bool(args
->dnode
, NULL
));
42527 * /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
42529 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_nexthop_self_next_hop_self_force_modify(
42530 struct nb_cb_modify_args
*args
)
42532 switch (args
->event
) {
42533 case NB_EV_VALIDATE
:
42534 case NB_EV_PREPARE
:
42538 return bgp_peer_group_afi_safi_flag_modify(
42539 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
42540 yang_dnode_get_bool(args
->dnode
, NULL
));
42550 * /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
42552 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_modify(
42553 struct nb_cb_modify_args
*args
)
42555 switch (args
->event
) {
42556 case NB_EV_VALIDATE
:
42557 case NB_EV_PREPARE
:
42561 return bgp_peer_group_afi_safi_flag_modify(
42562 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
42563 yang_dnode_get_bool(args
->dnode
, NULL
));
42573 * /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
42575 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_all_replace_modify(
42576 struct nb_cb_modify_args
*args
)
42578 switch (args
->event
) {
42579 case NB_EV_VALIDATE
:
42580 case NB_EV_PREPARE
:
42584 return bgp_peer_group_afi_safi_flag_modify(
42585 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
42586 yang_dnode_get_bool(args
->dnode
, NULL
));
42596 * /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
42598 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_modify(
42599 struct nb_cb_modify_args
*args
)
42601 switch (args
->event
) {
42602 case NB_EV_VALIDATE
:
42603 case NB_EV_PREPARE
:
42607 return bgp_peer_group_afi_safi_flag_modify(
42608 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
42609 yang_dnode_get_bool(args
->dnode
, NULL
));
42619 * /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
42621 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_private_as_remove_private_as_replace_modify(
42622 struct nb_cb_modify_args
*args
)
42624 switch (args
->event
) {
42625 case NB_EV_VALIDATE
:
42626 case NB_EV_PREPARE
:
42630 return bgp_peer_group_afi_safi_flag_modify(
42631 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
42632 yang_dnode_get_bool(args
->dnode
, NULL
));
42642 * /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
42644 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_route_reflector_route_reflector_client_modify(
42645 struct nb_cb_modify_args
*args
)
42647 switch (args
->event
) {
42648 case NB_EV_VALIDATE
:
42649 case NB_EV_PREPARE
:
42653 return bgp_peer_group_afi_safi_flag_modify(
42654 args
, PEER_FLAG_REFLECTOR_CLIENT
,
42655 yang_dnode_get_bool(args
->dnode
, NULL
));
42665 * /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
42667 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_route_server_route_server_client_modify(
42668 struct nb_cb_modify_args
*args
)
42670 switch (args
->event
) {
42671 case NB_EV_VALIDATE
:
42672 case NB_EV_PREPARE
:
42676 return bgp_peer_group_afi_safi_flag_modify(
42677 args
, PEER_FLAG_RSERVER_CLIENT
,
42678 yang_dnode_get_bool(args
->dnode
, NULL
));
42688 * /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
42690 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_community_modify(
42691 struct nb_cb_modify_args
*args
)
42693 switch (args
->event
) {
42694 case NB_EV_VALIDATE
:
42695 case NB_EV_PREPARE
:
42699 return bgp_peer_group_afi_safi_flag_modify(
42700 args
, PEER_FLAG_SEND_COMMUNITY
,
42701 yang_dnode_get_bool(args
->dnode
, NULL
));
42711 * /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
42713 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_ext_community_modify(
42714 struct nb_cb_modify_args
*args
)
42716 switch (args
->event
) {
42717 case NB_EV_VALIDATE
:
42718 case NB_EV_PREPARE
:
42722 return bgp_peer_group_afi_safi_flag_modify(
42723 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
42724 yang_dnode_get_bool(args
->dnode
, NULL
));
42734 * /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
42736 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_send_community_send_large_community_modify(
42737 struct nb_cb_modify_args
*args
)
42739 switch (args
->event
) {
42740 case NB_EV_VALIDATE
:
42741 case NB_EV_PREPARE
:
42745 return bgp_peer_group_afi_safi_flag_modify(
42746 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
42747 yang_dnode_get_bool(args
->dnode
, NULL
));
42757 * /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
42759 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_soft_reconfiguration_modify(
42760 struct nb_cb_modify_args
*args
)
42762 switch (args
->event
) {
42763 case NB_EV_VALIDATE
:
42764 case NB_EV_PREPARE
:
42768 return bgp_peer_group_afi_safi_flag_modify(
42769 args
, PEER_FLAG_SOFT_RECONFIG
,
42770 yang_dnode_get_bool(args
->dnode
, NULL
));
42780 * /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
42782 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_modify(
42783 struct nb_cb_modify_args
*args
)
42785 switch (args
->event
) {
42786 case NB_EV_VALIDATE
:
42787 case NB_EV_PREPARE
:
42791 return bgp_peer_group_afi_safi_weight_modify(args
);
42799 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_weight_weight_attribute_destroy(
42800 struct nb_cb_destroy_args
*args
)
42802 switch (args
->event
) {
42803 case NB_EV_VALIDATE
:
42804 case NB_EV_PREPARE
:
42808 return bgp_peer_group_afi_safi_weight_destroy(args
);
42818 * /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
42820 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_modify(
42821 struct nb_cb_modify_args
*args
)
42823 switch (args
->event
) {
42824 case NB_EV_VALIDATE
:
42825 case NB_EV_PREPARE
:
42829 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
42835 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_import_destroy(
42836 struct nb_cb_destroy_args
*args
)
42838 switch (args
->event
) {
42839 case NB_EV_VALIDATE
:
42840 case NB_EV_PREPARE
:
42844 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
42852 * /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
42854 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_modify(
42855 struct nb_cb_modify_args
*args
)
42857 switch (args
->event
) {
42858 case NB_EV_VALIDATE
:
42859 case NB_EV_PREPARE
:
42863 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
42869 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_rmap_export_destroy(
42870 struct nb_cb_destroy_args
*args
)
42872 switch (args
->event
) {
42873 case NB_EV_VALIDATE
:
42874 case NB_EV_PREPARE
:
42878 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
42886 * /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
42888 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_modify(
42889 struct nb_cb_modify_args
*args
)
42891 switch (args
->event
) {
42892 case NB_EV_VALIDATE
:
42893 case NB_EV_PREPARE
:
42897 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
42903 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_import_destroy(
42904 struct nb_cb_destroy_args
*args
)
42906 switch (args
->event
) {
42907 case NB_EV_VALIDATE
:
42908 case NB_EV_PREPARE
:
42912 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
42920 * /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
42922 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_modify(
42923 struct nb_cb_modify_args
*args
)
42925 switch (args
->event
) {
42926 case NB_EV_VALIDATE
:
42927 case NB_EV_PREPARE
:
42931 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
42937 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_plist_export_destroy(
42938 struct nb_cb_destroy_args
*args
)
42940 switch (args
->event
) {
42941 case NB_EV_VALIDATE
:
42942 case NB_EV_PREPARE
:
42946 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
42954 * /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
42956 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_modify(
42957 struct nb_cb_modify_args
*args
)
42959 switch (args
->event
) {
42960 case NB_EV_VALIDATE
:
42961 case NB_EV_PREPARE
:
42964 /* TODO: implement me. */
42971 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_import_destroy(
42972 struct nb_cb_destroy_args
*args
)
42974 switch (args
->event
) {
42975 case NB_EV_VALIDATE
:
42976 case NB_EV_PREPARE
:
42979 /* TODO: implement me. */
42988 * /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
42990 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_modify(
42991 struct nb_cb_modify_args
*args
)
42993 switch (args
->event
) {
42994 case NB_EV_VALIDATE
:
42995 case NB_EV_PREPARE
:
42998 /* TODO: implement me. */
43005 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_access_list_export_destroy(
43006 struct nb_cb_destroy_args
*args
)
43008 switch (args
->event
) {
43009 case NB_EV_VALIDATE
:
43010 case NB_EV_PREPARE
:
43013 /* TODO: implement me. */
43022 * /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
43024 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_modify(
43025 struct nb_cb_modify_args
*args
)
43027 switch (args
->event
) {
43028 case NB_EV_VALIDATE
:
43029 case NB_EV_PREPARE
:
43032 /* TODO: implement me. */
43039 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
43040 struct nb_cb_destroy_args
*args
)
43042 switch (args
->event
) {
43043 case NB_EV_VALIDATE
:
43044 case NB_EV_PREPARE
:
43047 /* TODO: implement me. */
43056 * /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
43058 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_modify(
43059 struct nb_cb_modify_args
*args
)
43061 switch (args
->event
) {
43062 case NB_EV_VALIDATE
:
43063 case NB_EV_PREPARE
:
43066 /* TODO: implement me. */
43073 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
43074 struct nb_cb_destroy_args
*args
)
43076 switch (args
->event
) {
43077 case NB_EV_VALIDATE
:
43078 case NB_EV_PREPARE
:
43081 /* TODO: implement me. */
43090 * /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
43092 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_modify(
43093 struct nb_cb_modify_args
*args
)
43095 switch (args
->event
) {
43096 case NB_EV_VALIDATE
:
43097 case NB_EV_PREPARE
:
43100 /* TODO: implement me. */
43107 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_import_destroy(
43108 struct nb_cb_destroy_args
*args
)
43110 switch (args
->event
) {
43111 case NB_EV_VALIDATE
:
43112 case NB_EV_PREPARE
:
43115 /* TODO: implement me. */
43124 * /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
43126 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_modify(
43127 struct nb_cb_modify_args
*args
)
43129 switch (args
->event
) {
43130 case NB_EV_VALIDATE
:
43131 case NB_EV_PREPARE
:
43134 /* TODO: implement me. */
43141 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_labeled_unicast_filter_config_unsuppress_map_export_destroy(
43142 struct nb_cb_destroy_args
*args
)
43144 switch (args
->event
) {
43145 case NB_EV_VALIDATE
:
43146 case NB_EV_PREPARE
:
43149 /* TODO: implement me. */
43158 * /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
43160 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_add_paths_path_type_modify(
43161 struct nb_cb_modify_args
*args
)
43163 switch (args
->event
) {
43164 case NB_EV_VALIDATE
:
43165 case NB_EV_PREPARE
:
43168 /* TODO: implement me. */
43177 * /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
43179 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_modify(
43180 struct nb_cb_modify_args
*args
)
43182 switch (args
->event
) {
43183 case NB_EV_VALIDATE
:
43184 case NB_EV_PREPARE
:
43187 /* TODO: implement me. */
43194 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_as_destroy(
43195 struct nb_cb_destroy_args
*args
)
43197 switch (args
->event
) {
43198 case NB_EV_VALIDATE
:
43199 case NB_EV_PREPARE
:
43202 /* TODO: implement me. */
43211 * /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
43213 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_modify(
43214 struct nb_cb_modify_args
*args
)
43216 switch (args
->event
) {
43217 case NB_EV_VALIDATE
:
43218 case NB_EV_PREPARE
:
43221 /* TODO: implement me. */
43228 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_allow_own_origin_as_destroy(
43229 struct nb_cb_destroy_args
*args
)
43231 switch (args
->event
) {
43232 case NB_EV_VALIDATE
:
43233 case NB_EV_PREPARE
:
43236 /* TODO: implement me. */
43245 * /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
43247 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_as_path_options_replace_peer_as_modify(
43248 struct nb_cb_modify_args
*args
)
43250 switch (args
->event
) {
43251 case NB_EV_VALIDATE
:
43252 case NB_EV_PREPARE
:
43256 return bgp_peer_group_afi_safi_flag_modify(
43257 args
, PEER_FLAG_AS_OVERRIDE
,
43258 yang_dnode_get_bool(args
->dnode
, NULL
));
43268 * /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
43270 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_originate_modify(
43271 struct nb_cb_modify_args
*args
)
43273 switch (args
->event
) {
43274 case NB_EV_VALIDATE
:
43275 case NB_EV_PREPARE
:
43278 /* TODO: implement me. */
43287 * /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
43289 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_modify(
43290 struct nb_cb_modify_args
*args
)
43292 switch (args
->event
) {
43293 case NB_EV_VALIDATE
:
43294 case NB_EV_PREPARE
:
43297 /* TODO: implement me. */
43304 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_default_originate_route_map_destroy(
43305 struct nb_cb_destroy_args
*args
)
43307 switch (args
->event
) {
43308 case NB_EV_VALIDATE
:
43309 case NB_EV_PREPARE
:
43312 /* TODO: implement me. */
43321 * /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
43323 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_as_path_unchanged_modify(
43324 struct nb_cb_modify_args
*args
)
43326 switch (args
->event
) {
43327 case NB_EV_VALIDATE
:
43328 case NB_EV_PREPARE
:
43332 return bgp_peer_group_afi_safi_flag_modify(
43333 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
43334 yang_dnode_get_bool(args
->dnode
, NULL
));
43344 * /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
43346 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_next_hop_unchanged_modify(
43347 struct nb_cb_modify_args
*args
)
43349 switch (args
->event
) {
43350 case NB_EV_VALIDATE
:
43351 case NB_EV_PREPARE
:
43355 return bgp_peer_group_afi_safi_flag_modify(
43356 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
43357 yang_dnode_get_bool(args
->dnode
, NULL
));
43367 * /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
43369 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_attr_unchanged_med_unchanged_modify(
43370 struct nb_cb_modify_args
*args
)
43372 switch (args
->event
) {
43373 case NB_EV_VALIDATE
:
43374 case NB_EV_PREPARE
:
43378 return bgp_peer_group_afi_safi_flag_modify(
43379 args
, PEER_FLAG_MED_UNCHANGED
,
43380 yang_dnode_get_bool(args
->dnode
, NULL
));
43390 * /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
43392 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_modify(
43393 struct nb_cb_modify_args
*args
)
43395 switch (args
->event
) {
43396 case NB_EV_VALIDATE
:
43397 case NB_EV_PREPARE
:
43400 /* TODO: implement me. */
43407 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_send_destroy(
43408 struct nb_cb_destroy_args
*args
)
43410 switch (args
->event
) {
43411 case NB_EV_VALIDATE
:
43412 case NB_EV_PREPARE
:
43415 /* TODO: implement me. */
43424 * /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
43426 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_modify(
43427 struct nb_cb_modify_args
*args
)
43429 switch (args
->event
) {
43430 case NB_EV_VALIDATE
:
43431 case NB_EV_PREPARE
:
43434 /* TODO: implement me. */
43441 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_receive_destroy(
43442 struct nb_cb_destroy_args
*args
)
43444 switch (args
->event
) {
43445 case NB_EV_VALIDATE
:
43446 case NB_EV_PREPARE
:
43449 /* TODO: implement me. */
43458 * /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
43460 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_modify(
43461 struct nb_cb_modify_args
*args
)
43463 switch (args
->event
) {
43464 case NB_EV_VALIDATE
:
43465 case NB_EV_PREPARE
:
43468 /* TODO: implement me. */
43475 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_orf_capability_orf_both_destroy(
43476 struct nb_cb_destroy_args
*args
)
43478 switch (args
->event
) {
43479 case NB_EV_VALIDATE
:
43480 case NB_EV_PREPARE
:
43483 /* TODO: implement me. */
43492 * /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
43494 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_create(
43495 struct nb_cb_create_args
*args
)
43497 switch (args
->event
) {
43498 case NB_EV_VALIDATE
:
43499 case NB_EV_PREPARE
:
43502 /* TODO: implement me. */
43509 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_destroy(
43510 struct nb_cb_destroy_args
*args
)
43512 switch (args
->event
) {
43513 case NB_EV_VALIDATE
:
43514 case NB_EV_PREPARE
:
43518 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
43526 * /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
43528 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_max_prefixes_modify(
43529 struct nb_cb_modify_args
*args
)
43531 switch (args
->event
) {
43532 case NB_EV_VALIDATE
:
43533 case NB_EV_PREPARE
:
43536 /* TODO: implement me. */
43545 * /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
43547 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_force_check_modify(
43548 struct nb_cb_modify_args
*args
)
43550 switch (args
->event
) {
43551 case NB_EV_VALIDATE
:
43552 case NB_EV_PREPARE
:
43555 /* TODO: implement me. */
43564 * /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
43566 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_modify(
43567 struct nb_cb_modify_args
*args
)
43569 switch (args
->event
) {
43570 case NB_EV_VALIDATE
:
43571 case NB_EV_PREPARE
:
43574 /* TODO: implement me. */
43581 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_warning_only_destroy(
43582 struct nb_cb_destroy_args
*args
)
43584 switch (args
->event
) {
43585 case NB_EV_VALIDATE
:
43586 case NB_EV_PREPARE
:
43589 /* TODO: implement me. */
43598 * /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
43600 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_modify(
43601 struct nb_cb_modify_args
*args
)
43603 switch (args
->event
) {
43604 case NB_EV_VALIDATE
:
43605 case NB_EV_PREPARE
:
43608 /* TODO: implement me. */
43615 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
43616 struct nb_cb_destroy_args
*args
)
43618 switch (args
->event
) {
43619 case NB_EV_VALIDATE
:
43620 case NB_EV_PREPARE
:
43623 /* TODO: implement me. */
43632 * /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
43634 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
43635 struct nb_cb_modify_args
*args
)
43637 switch (args
->event
) {
43638 case NB_EV_VALIDATE
:
43639 case NB_EV_PREPARE
:
43642 /* TODO: implement me. */
43649 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
43650 struct nb_cb_destroy_args
*args
)
43652 switch (args
->event
) {
43653 case NB_EV_VALIDATE
:
43654 case NB_EV_PREPARE
:
43657 /* TODO: implement me. */
43666 * /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
43668 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
43669 struct nb_cb_modify_args
*args
)
43671 switch (args
->event
) {
43672 case NB_EV_VALIDATE
:
43673 case NB_EV_PREPARE
:
43676 /* TODO: implement me. */
43683 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
43684 struct nb_cb_destroy_args
*args
)
43686 switch (args
->event
) {
43687 case NB_EV_VALIDATE
:
43688 case NB_EV_PREPARE
:
43691 /* TODO: implement me. */
43700 * /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
43702 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
43703 struct nb_cb_modify_args
*args
)
43705 switch (args
->event
) {
43706 case NB_EV_VALIDATE
:
43707 case NB_EV_PREPARE
:
43710 /* TODO: implement me. */
43717 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
43718 struct nb_cb_destroy_args
*args
)
43720 switch (args
->event
) {
43721 case NB_EV_VALIDATE
:
43722 case NB_EV_PREPARE
:
43725 /* TODO: implement me. */
43734 * /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
43736 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
43737 struct nb_cb_modify_args
*args
)
43739 switch (args
->event
) {
43740 case NB_EV_VALIDATE
:
43741 case NB_EV_PREPARE
:
43744 /* TODO: implement me. */
43751 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
43752 struct nb_cb_destroy_args
*args
)
43754 switch (args
->event
) {
43755 case NB_EV_VALIDATE
:
43756 case NB_EV_PREPARE
:
43759 /* TODO: implement me. */
43768 * /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
43770 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
43771 struct nb_cb_modify_args
*args
)
43773 switch (args
->event
) {
43774 case NB_EV_VALIDATE
:
43775 case NB_EV_PREPARE
:
43778 /* TODO: implement me. */
43785 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
43786 struct nb_cb_destroy_args
*args
)
43788 switch (args
->event
) {
43789 case NB_EV_VALIDATE
:
43790 case NB_EV_PREPARE
:
43793 /* TODO: implement me. */
43802 * /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
43804 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_modify(
43805 struct nb_cb_modify_args
*args
)
43807 switch (args
->event
) {
43808 case NB_EV_VALIDATE
:
43809 case NB_EV_PREPARE
:
43813 return bgp_peer_group_afi_safi_flag_modify(
43814 args
, PEER_FLAG_NEXTHOP_SELF
,
43815 yang_dnode_get_bool(args
->dnode
, NULL
));
43825 * /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
43827 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_nexthop_self_next_hop_self_force_modify(
43828 struct nb_cb_modify_args
*args
)
43830 switch (args
->event
) {
43831 case NB_EV_VALIDATE
:
43832 case NB_EV_PREPARE
:
43836 return bgp_peer_group_afi_safi_flag_modify(
43837 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
43838 yang_dnode_get_bool(args
->dnode
, NULL
));
43848 * /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
43850 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_modify(
43851 struct nb_cb_modify_args
*args
)
43853 switch (args
->event
) {
43854 case NB_EV_VALIDATE
:
43855 case NB_EV_PREPARE
:
43859 return bgp_peer_group_afi_safi_flag_modify(
43860 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
43861 yang_dnode_get_bool(args
->dnode
, NULL
));
43871 * /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
43873 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_all_replace_modify(
43874 struct nb_cb_modify_args
*args
)
43876 switch (args
->event
) {
43877 case NB_EV_VALIDATE
:
43878 case NB_EV_PREPARE
:
43882 return bgp_peer_group_afi_safi_flag_modify(
43883 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
43884 yang_dnode_get_bool(args
->dnode
, NULL
));
43894 * /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
43896 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_modify(
43897 struct nb_cb_modify_args
*args
)
43899 switch (args
->event
) {
43900 case NB_EV_VALIDATE
:
43901 case NB_EV_PREPARE
:
43905 return bgp_peer_group_afi_safi_flag_modify(
43906 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
43907 yang_dnode_get_bool(args
->dnode
, NULL
));
43917 * /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
43919 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_private_as_remove_private_as_replace_modify(
43920 struct nb_cb_modify_args
*args
)
43922 switch (args
->event
) {
43923 case NB_EV_VALIDATE
:
43924 case NB_EV_PREPARE
:
43928 return bgp_peer_group_afi_safi_flag_modify(
43929 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
43930 yang_dnode_get_bool(args
->dnode
, NULL
));
43940 * /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
43942 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_route_reflector_route_reflector_client_modify(
43943 struct nb_cb_modify_args
*args
)
43945 switch (args
->event
) {
43946 case NB_EV_VALIDATE
:
43947 case NB_EV_PREPARE
:
43951 return bgp_peer_group_afi_safi_flag_modify(
43952 args
, PEER_FLAG_REFLECTOR_CLIENT
,
43953 yang_dnode_get_bool(args
->dnode
, NULL
));
43963 * /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
43965 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_route_server_route_server_client_modify(
43966 struct nb_cb_modify_args
*args
)
43968 switch (args
->event
) {
43969 case NB_EV_VALIDATE
:
43970 case NB_EV_PREPARE
:
43974 return bgp_peer_group_afi_safi_flag_modify(
43975 args
, PEER_FLAG_RSERVER_CLIENT
,
43976 yang_dnode_get_bool(args
->dnode
, NULL
));
43986 * /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
43988 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_community_modify(
43989 struct nb_cb_modify_args
*args
)
43991 switch (args
->event
) {
43992 case NB_EV_VALIDATE
:
43993 case NB_EV_PREPARE
:
43997 return bgp_peer_group_afi_safi_flag_modify(
43998 args
, PEER_FLAG_SEND_COMMUNITY
,
43999 yang_dnode_get_bool(args
->dnode
, NULL
));
44009 * /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
44011 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_ext_community_modify(
44012 struct nb_cb_modify_args
*args
)
44014 switch (args
->event
) {
44015 case NB_EV_VALIDATE
:
44016 case NB_EV_PREPARE
:
44020 return bgp_peer_group_afi_safi_flag_modify(
44021 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
44022 yang_dnode_get_bool(args
->dnode
, NULL
));
44032 * /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
44034 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_send_community_send_large_community_modify(
44035 struct nb_cb_modify_args
*args
)
44037 switch (args
->event
) {
44038 case NB_EV_VALIDATE
:
44039 case NB_EV_PREPARE
:
44043 return bgp_peer_group_afi_safi_flag_modify(
44044 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
44045 yang_dnode_get_bool(args
->dnode
, NULL
));
44055 * /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
44057 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_soft_reconfiguration_modify(
44058 struct nb_cb_modify_args
*args
)
44060 switch (args
->event
) {
44061 case NB_EV_VALIDATE
:
44062 case NB_EV_PREPARE
:
44066 return bgp_peer_group_afi_safi_flag_modify(
44067 args
, PEER_FLAG_SOFT_RECONFIG
,
44068 yang_dnode_get_bool(args
->dnode
, NULL
));
44078 * /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
44080 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_modify(
44081 struct nb_cb_modify_args
*args
)
44083 switch (args
->event
) {
44084 case NB_EV_VALIDATE
:
44085 case NB_EV_PREPARE
:
44089 return bgp_peer_group_afi_safi_weight_modify(args
);
44097 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_weight_weight_attribute_destroy(
44098 struct nb_cb_destroy_args
*args
)
44100 switch (args
->event
) {
44101 case NB_EV_VALIDATE
:
44102 case NB_EV_PREPARE
:
44106 return bgp_peer_group_afi_safi_weight_destroy(args
);
44116 * /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
44118 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_modify(
44119 struct nb_cb_modify_args
*args
)
44121 switch (args
->event
) {
44122 case NB_EV_VALIDATE
:
44123 case NB_EV_PREPARE
:
44127 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
44133 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_import_destroy(
44134 struct nb_cb_destroy_args
*args
)
44136 switch (args
->event
) {
44137 case NB_EV_VALIDATE
:
44138 case NB_EV_PREPARE
:
44142 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
44150 * /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
44152 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_modify(
44153 struct nb_cb_modify_args
*args
)
44155 switch (args
->event
) {
44156 case NB_EV_VALIDATE
:
44157 case NB_EV_PREPARE
:
44161 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
44167 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_rmap_export_destroy(
44168 struct nb_cb_destroy_args
*args
)
44170 switch (args
->event
) {
44171 case NB_EV_VALIDATE
:
44172 case NB_EV_PREPARE
:
44176 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
44184 * /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
44186 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_modify(
44187 struct nb_cb_modify_args
*args
)
44189 switch (args
->event
) {
44190 case NB_EV_VALIDATE
:
44191 case NB_EV_PREPARE
:
44195 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
44201 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_import_destroy(
44202 struct nb_cb_destroy_args
*args
)
44204 switch (args
->event
) {
44205 case NB_EV_VALIDATE
:
44206 case NB_EV_PREPARE
:
44210 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
44218 * /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
44220 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_modify(
44221 struct nb_cb_modify_args
*args
)
44223 switch (args
->event
) {
44224 case NB_EV_VALIDATE
:
44225 case NB_EV_PREPARE
:
44229 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
44235 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_plist_export_destroy(
44236 struct nb_cb_destroy_args
*args
)
44238 switch (args
->event
) {
44239 case NB_EV_VALIDATE
:
44240 case NB_EV_PREPARE
:
44244 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
44252 * /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
44254 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_modify(
44255 struct nb_cb_modify_args
*args
)
44257 switch (args
->event
) {
44258 case NB_EV_VALIDATE
:
44259 case NB_EV_PREPARE
:
44262 /* TODO: implement me. */
44269 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_import_destroy(
44270 struct nb_cb_destroy_args
*args
)
44272 switch (args
->event
) {
44273 case NB_EV_VALIDATE
:
44274 case NB_EV_PREPARE
:
44277 /* TODO: implement me. */
44286 * /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
44288 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_modify(
44289 struct nb_cb_modify_args
*args
)
44291 switch (args
->event
) {
44292 case NB_EV_VALIDATE
:
44293 case NB_EV_PREPARE
:
44296 /* TODO: implement me. */
44303 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_access_list_export_destroy(
44304 struct nb_cb_destroy_args
*args
)
44306 switch (args
->event
) {
44307 case NB_EV_VALIDATE
:
44308 case NB_EV_PREPARE
:
44311 /* TODO: implement me. */
44320 * /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
44322 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_modify(
44323 struct nb_cb_modify_args
*args
)
44325 switch (args
->event
) {
44326 case NB_EV_VALIDATE
:
44327 case NB_EV_PREPARE
:
44330 /* TODO: implement me. */
44337 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_import_destroy(
44338 struct nb_cb_destroy_args
*args
)
44340 switch (args
->event
) {
44341 case NB_EV_VALIDATE
:
44342 case NB_EV_PREPARE
:
44345 /* TODO: implement me. */
44354 * /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
44356 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_modify(
44357 struct nb_cb_modify_args
*args
)
44359 switch (args
->event
) {
44360 case NB_EV_VALIDATE
:
44361 case NB_EV_PREPARE
:
44364 /* TODO: implement me. */
44371 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_as_path_filter_list_export_destroy(
44372 struct nb_cb_destroy_args
*args
)
44374 switch (args
->event
) {
44375 case NB_EV_VALIDATE
:
44376 case NB_EV_PREPARE
:
44379 /* TODO: implement me. */
44388 * /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
44390 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_modify(
44391 struct nb_cb_modify_args
*args
)
44393 switch (args
->event
) {
44394 case NB_EV_VALIDATE
:
44395 case NB_EV_PREPARE
:
44398 /* TODO: implement me. */
44405 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_import_destroy(
44406 struct nb_cb_destroy_args
*args
)
44408 switch (args
->event
) {
44409 case NB_EV_VALIDATE
:
44410 case NB_EV_PREPARE
:
44413 /* TODO: implement me. */
44422 * /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
44424 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_modify(
44425 struct nb_cb_modify_args
*args
)
44427 switch (args
->event
) {
44428 case NB_EV_VALIDATE
:
44429 case NB_EV_PREPARE
:
44432 /* TODO: implement me. */
44439 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_labeled_unicast_filter_config_unsuppress_map_export_destroy(
44440 struct nb_cb_destroy_args
*args
)
44442 switch (args
->event
) {
44443 case NB_EV_VALIDATE
:
44444 case NB_EV_PREPARE
:
44447 /* TODO: implement me. */
44456 * /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
44458 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_add_paths_path_type_modify(
44459 struct nb_cb_modify_args
*args
)
44461 switch (args
->event
) {
44462 case NB_EV_VALIDATE
:
44463 case NB_EV_PREPARE
:
44466 /* TODO: implement me. */
44475 * /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
44477 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_modify(
44478 struct nb_cb_modify_args
*args
)
44480 switch (args
->event
) {
44481 case NB_EV_VALIDATE
:
44482 case NB_EV_PREPARE
:
44485 /* TODO: implement me. */
44492 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_as_destroy(
44493 struct nb_cb_destroy_args
*args
)
44495 switch (args
->event
) {
44496 case NB_EV_VALIDATE
:
44497 case NB_EV_PREPARE
:
44500 /* TODO: implement me. */
44509 * /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
44511 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_modify(
44512 struct nb_cb_modify_args
*args
)
44514 switch (args
->event
) {
44515 case NB_EV_VALIDATE
:
44516 case NB_EV_PREPARE
:
44519 /* TODO: implement me. */
44526 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_allow_own_origin_as_destroy(
44527 struct nb_cb_destroy_args
*args
)
44529 switch (args
->event
) {
44530 case NB_EV_VALIDATE
:
44531 case NB_EV_PREPARE
:
44534 /* TODO: implement me. */
44543 * /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
44545 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_as_path_options_replace_peer_as_modify(
44546 struct nb_cb_modify_args
*args
)
44548 switch (args
->event
) {
44549 case NB_EV_VALIDATE
:
44550 case NB_EV_PREPARE
:
44554 return bgp_peer_group_afi_safi_flag_modify(
44555 args
, PEER_FLAG_AS_OVERRIDE
,
44556 yang_dnode_get_bool(args
->dnode
, NULL
));
44566 * /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
44568 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_as_path_unchanged_modify(
44569 struct nb_cb_modify_args
*args
)
44571 switch (args
->event
) {
44572 case NB_EV_VALIDATE
:
44573 case NB_EV_PREPARE
:
44577 return bgp_peer_group_afi_safi_flag_modify(
44578 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
44579 yang_dnode_get_bool(args
->dnode
, NULL
));
44589 * /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
44591 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_next_hop_unchanged_modify(
44592 struct nb_cb_modify_args
*args
)
44594 switch (args
->event
) {
44595 case NB_EV_VALIDATE
:
44596 case NB_EV_PREPARE
:
44600 return bgp_peer_group_afi_safi_flag_modify(
44601 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
44602 yang_dnode_get_bool(args
->dnode
, NULL
));
44612 * /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
44614 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_attr_unchanged_med_unchanged_modify(
44615 struct nb_cb_modify_args
*args
)
44617 switch (args
->event
) {
44618 case NB_EV_VALIDATE
:
44619 case NB_EV_PREPARE
:
44623 return bgp_peer_group_afi_safi_flag_modify(
44624 args
, PEER_FLAG_MED_UNCHANGED
,
44625 yang_dnode_get_bool(args
->dnode
, NULL
));
44635 * /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
44637 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_create(
44638 struct nb_cb_create_args
*args
)
44640 switch (args
->event
) {
44641 case NB_EV_VALIDATE
:
44642 case NB_EV_PREPARE
:
44645 /* TODO: implement me. */
44652 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_destroy(
44653 struct nb_cb_destroy_args
*args
)
44655 switch (args
->event
) {
44656 case NB_EV_VALIDATE
:
44657 case NB_EV_PREPARE
:
44661 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
44669 * /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
44671 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_max_prefixes_modify(
44672 struct nb_cb_modify_args
*args
)
44674 switch (args
->event
) {
44675 case NB_EV_VALIDATE
:
44676 case NB_EV_PREPARE
:
44679 /* TODO: implement me. */
44688 * /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
44690 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_force_check_modify(
44691 struct nb_cb_modify_args
*args
)
44693 switch (args
->event
) {
44694 case NB_EV_VALIDATE
:
44695 case NB_EV_PREPARE
:
44698 /* TODO: implement me. */
44707 * /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
44709 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_modify(
44710 struct nb_cb_modify_args
*args
)
44712 switch (args
->event
) {
44713 case NB_EV_VALIDATE
:
44714 case NB_EV_PREPARE
:
44717 /* TODO: implement me. */
44724 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_warning_only_destroy(
44725 struct nb_cb_destroy_args
*args
)
44727 switch (args
->event
) {
44728 case NB_EV_VALIDATE
:
44729 case NB_EV_PREPARE
:
44732 /* TODO: implement me. */
44741 * /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
44743 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_modify(
44744 struct nb_cb_modify_args
*args
)
44746 switch (args
->event
) {
44747 case NB_EV_VALIDATE
:
44748 case NB_EV_PREPARE
:
44751 /* TODO: implement me. */
44758 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
44759 struct nb_cb_destroy_args
*args
)
44761 switch (args
->event
) {
44762 case NB_EV_VALIDATE
:
44763 case NB_EV_PREPARE
:
44766 /* TODO: implement me. */
44775 * /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
44777 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
44778 struct nb_cb_modify_args
*args
)
44780 switch (args
->event
) {
44781 case NB_EV_VALIDATE
:
44782 case NB_EV_PREPARE
:
44785 /* TODO: implement me. */
44792 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
44793 struct nb_cb_destroy_args
*args
)
44795 switch (args
->event
) {
44796 case NB_EV_VALIDATE
:
44797 case NB_EV_PREPARE
:
44800 /* TODO: implement me. */
44809 * /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
44811 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
44812 struct nb_cb_modify_args
*args
)
44814 switch (args
->event
) {
44815 case NB_EV_VALIDATE
:
44816 case NB_EV_PREPARE
:
44819 /* TODO: implement me. */
44826 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
44827 struct nb_cb_destroy_args
*args
)
44829 switch (args
->event
) {
44830 case NB_EV_VALIDATE
:
44831 case NB_EV_PREPARE
:
44834 /* TODO: implement me. */
44843 * /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
44845 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
44846 struct nb_cb_modify_args
*args
)
44848 switch (args
->event
) {
44849 case NB_EV_VALIDATE
:
44850 case NB_EV_PREPARE
:
44853 /* TODO: implement me. */
44860 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
44861 struct nb_cb_destroy_args
*args
)
44863 switch (args
->event
) {
44864 case NB_EV_VALIDATE
:
44865 case NB_EV_PREPARE
:
44868 /* TODO: implement me. */
44877 * /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
44879 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
44880 struct nb_cb_modify_args
*args
)
44882 switch (args
->event
) {
44883 case NB_EV_VALIDATE
:
44884 case NB_EV_PREPARE
:
44887 /* TODO: implement me. */
44894 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
44895 struct nb_cb_destroy_args
*args
)
44897 switch (args
->event
) {
44898 case NB_EV_VALIDATE
:
44899 case NB_EV_PREPARE
:
44902 /* TODO: implement me. */
44911 * /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
44913 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
44914 struct nb_cb_modify_args
*args
)
44916 switch (args
->event
) {
44917 case NB_EV_VALIDATE
:
44918 case NB_EV_PREPARE
:
44921 /* TODO: implement me. */
44928 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
44929 struct nb_cb_destroy_args
*args
)
44931 switch (args
->event
) {
44932 case NB_EV_VALIDATE
:
44933 case NB_EV_PREPARE
:
44936 /* TODO: implement me. */
44945 * /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
44947 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_modify(
44948 struct nb_cb_modify_args
*args
)
44950 switch (args
->event
) {
44951 case NB_EV_VALIDATE
:
44952 case NB_EV_PREPARE
:
44956 return bgp_peer_group_afi_safi_flag_modify(
44957 args
, PEER_FLAG_NEXTHOP_SELF
,
44958 yang_dnode_get_bool(args
->dnode
, NULL
));
44968 * /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
44970 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_nexthop_self_next_hop_self_force_modify(
44971 struct nb_cb_modify_args
*args
)
44973 switch (args
->event
) {
44974 case NB_EV_VALIDATE
:
44975 case NB_EV_PREPARE
:
44979 return bgp_peer_group_afi_safi_flag_modify(
44980 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
44981 yang_dnode_get_bool(args
->dnode
, NULL
));
44991 * /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
44993 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_modify(
44994 struct nb_cb_modify_args
*args
)
44996 switch (args
->event
) {
44997 case NB_EV_VALIDATE
:
44998 case NB_EV_PREPARE
:
45002 return bgp_peer_group_afi_safi_flag_modify(
45003 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
45004 yang_dnode_get_bool(args
->dnode
, NULL
));
45014 * /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
45016 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_all_replace_modify(
45017 struct nb_cb_modify_args
*args
)
45019 switch (args
->event
) {
45020 case NB_EV_VALIDATE
:
45021 case NB_EV_PREPARE
:
45025 return bgp_peer_group_afi_safi_flag_modify(
45026 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
45027 yang_dnode_get_bool(args
->dnode
, NULL
));
45037 * /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
45039 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_modify(
45040 struct nb_cb_modify_args
*args
)
45042 switch (args
->event
) {
45043 case NB_EV_VALIDATE
:
45044 case NB_EV_PREPARE
:
45048 return bgp_peer_group_afi_safi_flag_modify(
45049 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
45050 yang_dnode_get_bool(args
->dnode
, NULL
));
45060 * /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
45062 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_private_as_remove_private_as_replace_modify(
45063 struct nb_cb_modify_args
*args
)
45065 switch (args
->event
) {
45066 case NB_EV_VALIDATE
:
45067 case NB_EV_PREPARE
:
45071 return bgp_peer_group_afi_safi_flag_modify(
45072 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
45073 yang_dnode_get_bool(args
->dnode
, NULL
));
45083 * /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
45085 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_reflector_route_reflector_client_modify(
45086 struct nb_cb_modify_args
*args
)
45088 switch (args
->event
) {
45089 case NB_EV_VALIDATE
:
45090 case NB_EV_PREPARE
:
45094 return bgp_peer_group_afi_safi_flag_modify(
45095 args
, PEER_FLAG_REFLECTOR_CLIENT
,
45096 yang_dnode_get_bool(args
->dnode
, NULL
));
45106 * /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
45108 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_route_server_route_server_client_modify(
45109 struct nb_cb_modify_args
*args
)
45111 switch (args
->event
) {
45112 case NB_EV_VALIDATE
:
45113 case NB_EV_PREPARE
:
45117 return bgp_peer_group_afi_safi_flag_modify(
45118 args
, PEER_FLAG_RSERVER_CLIENT
,
45119 yang_dnode_get_bool(args
->dnode
, NULL
));
45129 * /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
45131 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_community_modify(
45132 struct nb_cb_modify_args
*args
)
45134 switch (args
->event
) {
45135 case NB_EV_VALIDATE
:
45136 case NB_EV_PREPARE
:
45140 return bgp_peer_group_afi_safi_flag_modify(
45141 args
, PEER_FLAG_SEND_COMMUNITY
,
45142 yang_dnode_get_bool(args
->dnode
, NULL
));
45152 * /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
45154 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_ext_community_modify(
45155 struct nb_cb_modify_args
*args
)
45157 switch (args
->event
) {
45158 case NB_EV_VALIDATE
:
45159 case NB_EV_PREPARE
:
45163 return bgp_peer_group_afi_safi_flag_modify(
45164 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
45165 yang_dnode_get_bool(args
->dnode
, NULL
));
45175 * /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
45177 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_send_community_send_large_community_modify(
45178 struct nb_cb_modify_args
*args
)
45180 switch (args
->event
) {
45181 case NB_EV_VALIDATE
:
45182 case NB_EV_PREPARE
:
45186 return bgp_peer_group_afi_safi_flag_modify(
45187 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
45188 yang_dnode_get_bool(args
->dnode
, NULL
));
45198 * /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
45200 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_soft_reconfiguration_modify(
45201 struct nb_cb_modify_args
*args
)
45203 switch (args
->event
) {
45204 case NB_EV_VALIDATE
:
45205 case NB_EV_PREPARE
:
45209 return bgp_peer_group_afi_safi_flag_modify(
45210 args
, PEER_FLAG_SOFT_RECONFIG
,
45211 yang_dnode_get_bool(args
->dnode
, NULL
));
45221 * /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
45223 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_modify(
45224 struct nb_cb_modify_args
*args
)
45226 switch (args
->event
) {
45227 case NB_EV_VALIDATE
:
45228 case NB_EV_PREPARE
:
45232 return bgp_peer_group_afi_safi_weight_modify(args
);
45240 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_weight_weight_attribute_destroy(
45241 struct nb_cb_destroy_args
*args
)
45243 switch (args
->event
) {
45244 case NB_EV_VALIDATE
:
45245 case NB_EV_PREPARE
:
45249 return bgp_peer_group_afi_safi_weight_destroy(args
);
45259 * /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
45261 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_modify(
45262 struct nb_cb_modify_args
*args
)
45264 switch (args
->event
) {
45265 case NB_EV_VALIDATE
:
45266 case NB_EV_PREPARE
:
45270 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
45276 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_import_destroy(
45277 struct nb_cb_destroy_args
*args
)
45279 switch (args
->event
) {
45280 case NB_EV_VALIDATE
:
45281 case NB_EV_PREPARE
:
45285 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
45293 * /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
45295 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_modify(
45296 struct nb_cb_modify_args
*args
)
45298 switch (args
->event
) {
45299 case NB_EV_VALIDATE
:
45300 case NB_EV_PREPARE
:
45304 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
45310 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_rmap_export_destroy(
45311 struct nb_cb_destroy_args
*args
)
45313 switch (args
->event
) {
45314 case NB_EV_VALIDATE
:
45315 case NB_EV_PREPARE
:
45319 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
45327 * /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
45329 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_modify(
45330 struct nb_cb_modify_args
*args
)
45332 switch (args
->event
) {
45333 case NB_EV_VALIDATE
:
45334 case NB_EV_PREPARE
:
45338 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
45344 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_import_destroy(
45345 struct nb_cb_destroy_args
*args
)
45347 switch (args
->event
) {
45348 case NB_EV_VALIDATE
:
45349 case NB_EV_PREPARE
:
45353 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
45361 * /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
45363 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_modify(
45364 struct nb_cb_modify_args
*args
)
45366 switch (args
->event
) {
45367 case NB_EV_VALIDATE
:
45368 case NB_EV_PREPARE
:
45372 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
45378 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_plist_export_destroy(
45379 struct nb_cb_destroy_args
*args
)
45381 switch (args
->event
) {
45382 case NB_EV_VALIDATE
:
45383 case NB_EV_PREPARE
:
45387 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
45395 * /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
45397 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_modify(
45398 struct nb_cb_modify_args
*args
)
45400 switch (args
->event
) {
45401 case NB_EV_VALIDATE
:
45402 case NB_EV_PREPARE
:
45405 /* TODO: implement me. */
45412 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_import_destroy(
45413 struct nb_cb_destroy_args
*args
)
45415 switch (args
->event
) {
45416 case NB_EV_VALIDATE
:
45417 case NB_EV_PREPARE
:
45420 /* TODO: implement me. */
45429 * /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
45431 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_modify(
45432 struct nb_cb_modify_args
*args
)
45434 switch (args
->event
) {
45435 case NB_EV_VALIDATE
:
45436 case NB_EV_PREPARE
:
45439 /* TODO: implement me. */
45446 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_access_list_export_destroy(
45447 struct nb_cb_destroy_args
*args
)
45449 switch (args
->event
) {
45450 case NB_EV_VALIDATE
:
45451 case NB_EV_PREPARE
:
45454 /* TODO: implement me. */
45463 * /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
45465 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_modify(
45466 struct nb_cb_modify_args
*args
)
45468 switch (args
->event
) {
45469 case NB_EV_VALIDATE
:
45470 case NB_EV_PREPARE
:
45473 /* TODO: implement me. */
45480 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_import_destroy(
45481 struct nb_cb_destroy_args
*args
)
45483 switch (args
->event
) {
45484 case NB_EV_VALIDATE
:
45485 case NB_EV_PREPARE
:
45488 /* TODO: implement me. */
45497 * /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
45499 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_modify(
45500 struct nb_cb_modify_args
*args
)
45502 switch (args
->event
) {
45503 case NB_EV_VALIDATE
:
45504 case NB_EV_PREPARE
:
45507 /* TODO: implement me. */
45514 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_as_path_filter_list_export_destroy(
45515 struct nb_cb_destroy_args
*args
)
45517 switch (args
->event
) {
45518 case NB_EV_VALIDATE
:
45519 case NB_EV_PREPARE
:
45522 /* TODO: implement me. */
45531 * /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
45533 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_modify(
45534 struct nb_cb_modify_args
*args
)
45536 switch (args
->event
) {
45537 case NB_EV_VALIDATE
:
45538 case NB_EV_PREPARE
:
45541 /* TODO: implement me. */
45548 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_import_destroy(
45549 struct nb_cb_destroy_args
*args
)
45551 switch (args
->event
) {
45552 case NB_EV_VALIDATE
:
45553 case NB_EV_PREPARE
:
45556 /* TODO: implement me. */
45565 * /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
45567 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_modify(
45568 struct nb_cb_modify_args
*args
)
45570 switch (args
->event
) {
45571 case NB_EV_VALIDATE
:
45572 case NB_EV_PREPARE
:
45575 /* TODO: implement me. */
45582 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv4_unicast_filter_config_unsuppress_map_export_destroy(
45583 struct nb_cb_destroy_args
*args
)
45585 switch (args
->event
) {
45586 case NB_EV_VALIDATE
:
45587 case NB_EV_PREPARE
:
45590 /* TODO: implement me. */
45599 * /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
45601 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_add_paths_path_type_modify(
45602 struct nb_cb_modify_args
*args
)
45604 switch (args
->event
) {
45605 case NB_EV_VALIDATE
:
45606 case NB_EV_PREPARE
:
45609 /* TODO: implement me. */
45618 * /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
45620 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_modify(
45621 struct nb_cb_modify_args
*args
)
45623 switch (args
->event
) {
45624 case NB_EV_VALIDATE
:
45625 case NB_EV_PREPARE
:
45628 /* TODO: implement me. */
45635 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_as_destroy(
45636 struct nb_cb_destroy_args
*args
)
45638 switch (args
->event
) {
45639 case NB_EV_VALIDATE
:
45640 case NB_EV_PREPARE
:
45643 /* TODO: implement me. */
45652 * /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
45654 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_modify(
45655 struct nb_cb_modify_args
*args
)
45657 switch (args
->event
) {
45658 case NB_EV_VALIDATE
:
45659 case NB_EV_PREPARE
:
45662 /* TODO: implement me. */
45669 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_allow_own_origin_as_destroy(
45670 struct nb_cb_destroy_args
*args
)
45672 switch (args
->event
) {
45673 case NB_EV_VALIDATE
:
45674 case NB_EV_PREPARE
:
45677 /* TODO: implement me. */
45686 * /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
45688 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_as_path_options_replace_peer_as_modify(
45689 struct nb_cb_modify_args
*args
)
45691 switch (args
->event
) {
45692 case NB_EV_VALIDATE
:
45693 case NB_EV_PREPARE
:
45697 return bgp_peer_group_afi_safi_flag_modify(
45698 args
, PEER_FLAG_AS_OVERRIDE
,
45699 yang_dnode_get_bool(args
->dnode
, NULL
));
45709 * /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
45711 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_as_path_unchanged_modify(
45712 struct nb_cb_modify_args
*args
)
45714 switch (args
->event
) {
45715 case NB_EV_VALIDATE
:
45716 case NB_EV_PREPARE
:
45720 return bgp_peer_group_afi_safi_flag_modify(
45721 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
45722 yang_dnode_get_bool(args
->dnode
, NULL
));
45732 * /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
45734 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_next_hop_unchanged_modify(
45735 struct nb_cb_modify_args
*args
)
45737 switch (args
->event
) {
45738 case NB_EV_VALIDATE
:
45739 case NB_EV_PREPARE
:
45743 return bgp_peer_group_afi_safi_flag_modify(
45744 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
45745 yang_dnode_get_bool(args
->dnode
, NULL
));
45755 * /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
45757 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_attr_unchanged_med_unchanged_modify(
45758 struct nb_cb_modify_args
*args
)
45760 switch (args
->event
) {
45761 case NB_EV_VALIDATE
:
45762 case NB_EV_PREPARE
:
45766 return bgp_peer_group_afi_safi_flag_modify(
45767 args
, PEER_FLAG_MED_UNCHANGED
,
45768 yang_dnode_get_bool(args
->dnode
, NULL
));
45778 * /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
45780 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_create(
45781 struct nb_cb_create_args
*args
)
45783 switch (args
->event
) {
45784 case NB_EV_VALIDATE
:
45785 case NB_EV_PREPARE
:
45788 /* TODO: implement me. */
45795 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_destroy(
45796 struct nb_cb_destroy_args
*args
)
45798 switch (args
->event
) {
45799 case NB_EV_VALIDATE
:
45800 case NB_EV_PREPARE
:
45804 return bgp_peer_group_afi_safi_prefix_limit_list_destroy(args
);
45812 * /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
45814 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_max_prefixes_modify(
45815 struct nb_cb_modify_args
*args
)
45817 switch (args
->event
) {
45818 case NB_EV_VALIDATE
:
45819 case NB_EV_PREPARE
:
45822 /* TODO: implement me. */
45831 * /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
45833 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_force_check_modify(
45834 struct nb_cb_modify_args
*args
)
45836 switch (args
->event
) {
45837 case NB_EV_VALIDATE
:
45838 case NB_EV_PREPARE
:
45841 /* TODO: implement me. */
45850 * /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
45852 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_modify(
45853 struct nb_cb_modify_args
*args
)
45855 switch (args
->event
) {
45856 case NB_EV_VALIDATE
:
45857 case NB_EV_PREPARE
:
45860 /* TODO: implement me. */
45867 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_warning_only_destroy(
45868 struct nb_cb_destroy_args
*args
)
45870 switch (args
->event
) {
45871 case NB_EV_VALIDATE
:
45872 case NB_EV_PREPARE
:
45875 /* TODO: implement me. */
45884 * /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
45886 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_modify(
45887 struct nb_cb_modify_args
*args
)
45889 switch (args
->event
) {
45890 case NB_EV_VALIDATE
:
45891 case NB_EV_PREPARE
:
45894 /* TODO: implement me. */
45901 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_restart_timer_destroy(
45902 struct nb_cb_destroy_args
*args
)
45904 switch (args
->event
) {
45905 case NB_EV_VALIDATE
:
45906 case NB_EV_PREPARE
:
45909 /* TODO: implement me. */
45918 * /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
45920 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_modify(
45921 struct nb_cb_modify_args
*args
)
45923 switch (args
->event
) {
45924 case NB_EV_VALIDATE
:
45925 case NB_EV_PREPARE
:
45928 /* TODO: implement me. */
45935 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_shutdown_threshold_pct_destroy(
45936 struct nb_cb_destroy_args
*args
)
45938 switch (args
->event
) {
45939 case NB_EV_VALIDATE
:
45940 case NB_EV_PREPARE
:
45943 /* TODO: implement me. */
45952 * /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
45954 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_modify(
45955 struct nb_cb_modify_args
*args
)
45957 switch (args
->event
) {
45958 case NB_EV_VALIDATE
:
45959 case NB_EV_PREPARE
:
45962 /* TODO: implement me. */
45969 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_shutdown_threshold_pct_destroy(
45970 struct nb_cb_destroy_args
*args
)
45972 switch (args
->event
) {
45973 case NB_EV_VALIDATE
:
45974 case NB_EV_PREPARE
:
45977 /* TODO: implement me. */
45986 * /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
45988 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_modify(
45989 struct nb_cb_modify_args
*args
)
45991 switch (args
->event
) {
45992 case NB_EV_VALIDATE
:
45993 case NB_EV_PREPARE
:
45996 /* TODO: implement me. */
46003 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tr_restart_timer_destroy(
46004 struct nb_cb_destroy_args
*args
)
46006 switch (args
->event
) {
46007 case NB_EV_VALIDATE
:
46008 case NB_EV_PREPARE
:
46011 /* TODO: implement me. */
46020 * /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
46022 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_modify(
46023 struct nb_cb_modify_args
*args
)
46025 switch (args
->event
) {
46026 case NB_EV_VALIDATE
:
46027 case NB_EV_PREPARE
:
46030 /* TODO: implement me. */
46037 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_shutdown_threshold_pct_destroy(
46038 struct nb_cb_destroy_args
*args
)
46040 switch (args
->event
) {
46041 case NB_EV_VALIDATE
:
46042 case NB_EV_PREPARE
:
46045 /* TODO: implement me. */
46054 * /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
46056 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_modify(
46057 struct nb_cb_modify_args
*args
)
46059 switch (args
->event
) {
46060 case NB_EV_VALIDATE
:
46061 case NB_EV_PREPARE
:
46064 /* TODO: implement me. */
46071 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_prefix_limit_direction_list_options_tw_warning_only_destroy(
46072 struct nb_cb_destroy_args
*args
)
46074 switch (args
->event
) {
46075 case NB_EV_VALIDATE
:
46076 case NB_EV_PREPARE
:
46079 /* TODO: implement me. */
46088 * /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
46090 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_modify(
46091 struct nb_cb_modify_args
*args
)
46093 switch (args
->event
) {
46094 case NB_EV_VALIDATE
:
46095 case NB_EV_PREPARE
:
46099 return bgp_peer_group_afi_safi_flag_modify(
46100 args
, PEER_FLAG_NEXTHOP_SELF
,
46101 yang_dnode_get_bool(args
->dnode
, NULL
));
46111 * /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
46113 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_nexthop_self_next_hop_self_force_modify(
46114 struct nb_cb_modify_args
*args
)
46116 switch (args
->event
) {
46117 case NB_EV_VALIDATE
:
46118 case NB_EV_PREPARE
:
46122 return bgp_peer_group_afi_safi_flag_modify(
46123 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
46124 yang_dnode_get_bool(args
->dnode
, NULL
));
46134 * /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
46136 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_modify(
46137 struct nb_cb_modify_args
*args
)
46139 switch (args
->event
) {
46140 case NB_EV_VALIDATE
:
46141 case NB_EV_PREPARE
:
46145 return bgp_peer_group_afi_safi_flag_modify(
46146 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL
,
46147 yang_dnode_get_bool(args
->dnode
, NULL
));
46157 * /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
46159 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_all_replace_modify(
46160 struct nb_cb_modify_args
*args
)
46162 switch (args
->event
) {
46163 case NB_EV_VALIDATE
:
46164 case NB_EV_PREPARE
:
46168 return bgp_peer_group_afi_safi_flag_modify(
46169 args
, PEER_FLAG_REMOVE_PRIVATE_AS_ALL_REPLACE
,
46170 yang_dnode_get_bool(args
->dnode
, NULL
));
46180 * /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
46182 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_modify(
46183 struct nb_cb_modify_args
*args
)
46185 switch (args
->event
) {
46186 case NB_EV_VALIDATE
:
46187 case NB_EV_PREPARE
:
46191 return bgp_peer_group_afi_safi_flag_modify(
46192 args
, PEER_FLAG_REMOVE_PRIVATE_AS
,
46193 yang_dnode_get_bool(args
->dnode
, NULL
));
46203 * /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
46205 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_private_as_remove_private_as_replace_modify(
46206 struct nb_cb_modify_args
*args
)
46208 switch (args
->event
) {
46209 case NB_EV_VALIDATE
:
46210 case NB_EV_PREPARE
:
46214 return bgp_peer_group_afi_safi_flag_modify(
46215 args
, PEER_FLAG_REMOVE_PRIVATE_AS_REPLACE
,
46216 yang_dnode_get_bool(args
->dnode
, NULL
));
46226 * /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
46228 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_reflector_route_reflector_client_modify(
46229 struct nb_cb_modify_args
*args
)
46231 switch (args
->event
) {
46232 case NB_EV_VALIDATE
:
46233 case NB_EV_PREPARE
:
46237 return bgp_peer_group_afi_safi_flag_modify(
46238 args
, PEER_FLAG_REFLECTOR_CLIENT
,
46239 yang_dnode_get_bool(args
->dnode
, NULL
));
46249 * /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
46251 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_route_server_route_server_client_modify(
46252 struct nb_cb_modify_args
*args
)
46254 switch (args
->event
) {
46255 case NB_EV_VALIDATE
:
46256 case NB_EV_PREPARE
:
46260 return bgp_peer_group_afi_safi_flag_modify(
46261 args
, PEER_FLAG_RSERVER_CLIENT
,
46262 yang_dnode_get_bool(args
->dnode
, NULL
));
46272 * /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
46274 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_community_modify(
46275 struct nb_cb_modify_args
*args
)
46277 switch (args
->event
) {
46278 case NB_EV_VALIDATE
:
46279 case NB_EV_PREPARE
:
46283 return bgp_peer_group_afi_safi_flag_modify(
46284 args
, PEER_FLAG_SEND_COMMUNITY
,
46285 yang_dnode_get_bool(args
->dnode
, NULL
));
46295 * /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
46297 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_ext_community_modify(
46298 struct nb_cb_modify_args
*args
)
46300 switch (args
->event
) {
46301 case NB_EV_VALIDATE
:
46302 case NB_EV_PREPARE
:
46306 return bgp_peer_group_afi_safi_flag_modify(
46307 args
, PEER_FLAG_SEND_EXT_COMMUNITY
,
46308 yang_dnode_get_bool(args
->dnode
, NULL
));
46318 * /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
46320 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_send_community_send_large_community_modify(
46321 struct nb_cb_modify_args
*args
)
46323 switch (args
->event
) {
46324 case NB_EV_VALIDATE
:
46325 case NB_EV_PREPARE
:
46329 return bgp_peer_group_afi_safi_flag_modify(
46330 args
, PEER_FLAG_SEND_LARGE_COMMUNITY
,
46331 yang_dnode_get_bool(args
->dnode
, NULL
));
46341 * /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
46343 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_soft_reconfiguration_modify(
46344 struct nb_cb_modify_args
*args
)
46346 switch (args
->event
) {
46347 case NB_EV_VALIDATE
:
46348 case NB_EV_PREPARE
:
46352 return bgp_peer_group_afi_safi_flag_modify(
46353 args
, PEER_FLAG_SOFT_RECONFIG
,
46354 yang_dnode_get_bool(args
->dnode
, NULL
));
46364 * /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
46366 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_modify(
46367 struct nb_cb_modify_args
*args
)
46369 switch (args
->event
) {
46370 case NB_EV_VALIDATE
:
46371 case NB_EV_PREPARE
:
46375 return bgp_peer_group_afi_safi_weight_modify(args
);
46383 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_weight_weight_attribute_destroy(
46384 struct nb_cb_destroy_args
*args
)
46386 switch (args
->event
) {
46387 case NB_EV_VALIDATE
:
46388 case NB_EV_PREPARE
:
46392 return bgp_peer_group_afi_safi_weight_destroy(args
);
46402 * /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
46404 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_modify(
46405 struct nb_cb_modify_args
*args
)
46407 switch (args
->event
) {
46408 case NB_EV_VALIDATE
:
46409 case NB_EV_PREPARE
:
46413 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
46419 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_import_destroy(
46420 struct nb_cb_destroy_args
*args
)
46422 switch (args
->event
) {
46423 case NB_EV_VALIDATE
:
46424 case NB_EV_PREPARE
:
46428 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
46436 * /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
46438 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_modify(
46439 struct nb_cb_modify_args
*args
)
46441 switch (args
->event
) {
46442 case NB_EV_VALIDATE
:
46443 case NB_EV_PREPARE
:
46447 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
46453 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_rmap_export_destroy(
46454 struct nb_cb_destroy_args
*args
)
46456 switch (args
->event
) {
46457 case NB_EV_VALIDATE
:
46458 case NB_EV_PREPARE
:
46462 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
46470 * /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
46472 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_modify(
46473 struct nb_cb_modify_args
*args
)
46475 switch (args
->event
) {
46476 case NB_EV_VALIDATE
:
46477 case NB_EV_PREPARE
:
46481 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
46487 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_import_destroy(
46488 struct nb_cb_destroy_args
*args
)
46490 switch (args
->event
) {
46491 case NB_EV_VALIDATE
:
46492 case NB_EV_PREPARE
:
46496 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
46504 * /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
46506 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_modify(
46507 struct nb_cb_modify_args
*args
)
46509 switch (args
->event
) {
46510 case NB_EV_VALIDATE
:
46511 case NB_EV_PREPARE
:
46515 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
46521 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_plist_export_destroy(
46522 struct nb_cb_destroy_args
*args
)
46524 switch (args
->event
) {
46525 case NB_EV_VALIDATE
:
46526 case NB_EV_PREPARE
:
46530 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
46538 * /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
46540 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_modify(
46541 struct nb_cb_modify_args
*args
)
46543 switch (args
->event
) {
46544 case NB_EV_VALIDATE
:
46545 case NB_EV_PREPARE
:
46548 /* TODO: implement me. */
46555 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_import_destroy(
46556 struct nb_cb_destroy_args
*args
)
46558 switch (args
->event
) {
46559 case NB_EV_VALIDATE
:
46560 case NB_EV_PREPARE
:
46563 /* TODO: implement me. */
46572 * /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
46574 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_modify(
46575 struct nb_cb_modify_args
*args
)
46577 switch (args
->event
) {
46578 case NB_EV_VALIDATE
:
46579 case NB_EV_PREPARE
:
46582 /* TODO: implement me. */
46589 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_access_list_export_destroy(
46590 struct nb_cb_destroy_args
*args
)
46592 switch (args
->event
) {
46593 case NB_EV_VALIDATE
:
46594 case NB_EV_PREPARE
:
46597 /* TODO: implement me. */
46606 * /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
46608 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_modify(
46609 struct nb_cb_modify_args
*args
)
46611 switch (args
->event
) {
46612 case NB_EV_VALIDATE
:
46613 case NB_EV_PREPARE
:
46616 /* TODO: implement me. */
46623 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_import_destroy(
46624 struct nb_cb_destroy_args
*args
)
46626 switch (args
->event
) {
46627 case NB_EV_VALIDATE
:
46628 case NB_EV_PREPARE
:
46631 /* TODO: implement me. */
46640 * /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
46642 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_modify(
46643 struct nb_cb_modify_args
*args
)
46645 switch (args
->event
) {
46646 case NB_EV_VALIDATE
:
46647 case NB_EV_PREPARE
:
46650 /* TODO: implement me. */
46657 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_as_path_filter_list_export_destroy(
46658 struct nb_cb_destroy_args
*args
)
46660 switch (args
->event
) {
46661 case NB_EV_VALIDATE
:
46662 case NB_EV_PREPARE
:
46665 /* TODO: implement me. */
46674 * /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
46676 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_modify(
46677 struct nb_cb_modify_args
*args
)
46679 switch (args
->event
) {
46680 case NB_EV_VALIDATE
:
46681 case NB_EV_PREPARE
:
46684 /* TODO: implement me. */
46691 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_import_destroy(
46692 struct nb_cb_destroy_args
*args
)
46694 switch (args
->event
) {
46695 case NB_EV_VALIDATE
:
46696 case NB_EV_PREPARE
:
46699 /* TODO: implement me. */
46708 * /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
46710 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_modify(
46711 struct nb_cb_modify_args
*args
)
46713 switch (args
->event
) {
46714 case NB_EV_VALIDATE
:
46715 case NB_EV_PREPARE
:
46718 /* TODO: implement me. */
46725 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l3vpn_ipv6_unicast_filter_config_unsuppress_map_export_destroy(
46726 struct nb_cb_destroy_args
*args
)
46728 switch (args
->event
) {
46729 case NB_EV_VALIDATE
:
46730 case NB_EV_PREPARE
:
46733 /* TODO: implement me. */
46742 * /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
46744 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_modify(
46745 struct nb_cb_modify_args
*args
)
46747 switch (args
->event
) {
46748 case NB_EV_VALIDATE
:
46749 case NB_EV_PREPARE
:
46752 /* TODO: implement me. */
46759 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_as_destroy(
46760 struct nb_cb_destroy_args
*args
)
46762 switch (args
->event
) {
46763 case NB_EV_VALIDATE
:
46764 case NB_EV_PREPARE
:
46767 /* TODO: implement me. */
46776 * /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
46778 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_modify(
46779 struct nb_cb_modify_args
*args
)
46781 switch (args
->event
) {
46782 case NB_EV_VALIDATE
:
46783 case NB_EV_PREPARE
:
46786 /* TODO: implement me. */
46793 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_allow_own_origin_as_destroy(
46794 struct nb_cb_destroy_args
*args
)
46796 switch (args
->event
) {
46797 case NB_EV_VALIDATE
:
46798 case NB_EV_PREPARE
:
46801 /* TODO: implement me. */
46810 * /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
46812 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_as_path_options_replace_peer_as_modify(
46813 struct nb_cb_modify_args
*args
)
46815 switch (args
->event
) {
46816 case NB_EV_VALIDATE
:
46817 case NB_EV_PREPARE
:
46821 return bgp_peer_group_afi_safi_flag_modify(
46822 args
, PEER_FLAG_AS_OVERRIDE
,
46823 yang_dnode_get_bool(args
->dnode
, NULL
));
46833 * /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
46835 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_as_path_unchanged_modify(
46836 struct nb_cb_modify_args
*args
)
46838 switch (args
->event
) {
46839 case NB_EV_VALIDATE
:
46840 case NB_EV_PREPARE
:
46844 return bgp_peer_group_afi_safi_flag_modify(
46845 args
, PEER_FLAG_AS_PATH_UNCHANGED
,
46846 yang_dnode_get_bool(args
->dnode
, NULL
));
46856 * /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
46858 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_next_hop_unchanged_modify(
46859 struct nb_cb_modify_args
*args
)
46861 switch (args
->event
) {
46862 case NB_EV_VALIDATE
:
46863 case NB_EV_PREPARE
:
46867 return bgp_peer_group_afi_safi_flag_modify(
46868 args
, PEER_FLAG_NEXTHOP_UNCHANGED
,
46869 yang_dnode_get_bool(args
->dnode
, NULL
));
46879 * /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
46881 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_attr_unchanged_med_unchanged_modify(
46882 struct nb_cb_modify_args
*args
)
46884 switch (args
->event
) {
46885 case NB_EV_VALIDATE
:
46886 case NB_EV_PREPARE
:
46890 return bgp_peer_group_afi_safi_flag_modify(
46891 args
, PEER_FLAG_MED_UNCHANGED
,
46892 yang_dnode_get_bool(args
->dnode
, NULL
));
46902 * /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
46904 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_modify(
46905 struct nb_cb_modify_args
*args
)
46907 switch (args
->event
) {
46908 case NB_EV_VALIDATE
:
46909 case NB_EV_PREPARE
:
46913 return bgp_peer_group_afi_safi_flag_modify(
46914 args
, PEER_FLAG_NEXTHOP_SELF
,
46915 yang_dnode_get_bool(args
->dnode
, NULL
));
46925 * /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
46927 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_nexthop_self_next_hop_self_force_modify(
46928 struct nb_cb_modify_args
*args
)
46930 switch (args
->event
) {
46931 case NB_EV_VALIDATE
:
46932 case NB_EV_PREPARE
:
46936 return bgp_peer_group_afi_safi_flag_modify(
46937 args
, PEER_FLAG_FORCE_NEXTHOP_SELF
,
46938 yang_dnode_get_bool(args
->dnode
, NULL
));
46948 * /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
46950 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_route_reflector_route_reflector_client_modify(
46951 struct nb_cb_modify_args
*args
)
46953 switch (args
->event
) {
46954 case NB_EV_VALIDATE
:
46955 case NB_EV_PREPARE
:
46959 return bgp_peer_group_afi_safi_flag_modify(
46960 args
, PEER_FLAG_REFLECTOR_CLIENT
,
46961 yang_dnode_get_bool(args
->dnode
, NULL
));
46971 * /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
46973 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_route_server_route_server_client_modify(
46974 struct nb_cb_modify_args
*args
)
46976 switch (args
->event
) {
46977 case NB_EV_VALIDATE
:
46978 case NB_EV_PREPARE
:
46982 return bgp_peer_group_afi_safi_flag_modify(
46983 args
, PEER_FLAG_RSERVER_CLIENT
,
46984 yang_dnode_get_bool(args
->dnode
, NULL
));
46994 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/l2vpn-evpn/soft-reconfiguration
46996 int bgp_peer_groups_peer_group_afi_safis_afi_safi_l2vpn_evpn_soft_reconfiguration_modify(
46997 struct nb_cb_modify_args
*args
)
46999 switch (args
->event
) {
47000 case NB_EV_VALIDATE
:
47001 case NB_EV_PREPARE
:
47005 return bgp_peer_group_afi_safi_flag_modify(
47006 args
, PEER_FLAG_SOFT_RECONFIG
,
47007 yang_dnode_get_bool(args
->dnode
, NULL
));
47017 * /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
47019 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_route_reflector_route_reflector_client_modify(
47020 struct nb_cb_modify_args
*args
)
47022 switch (args
->event
) {
47023 case NB_EV_VALIDATE
:
47024 case NB_EV_PREPARE
:
47028 return bgp_peer_group_afi_safi_flag_modify(
47029 args
, PEER_FLAG_REFLECTOR_CLIENT
,
47030 yang_dnode_get_bool(args
->dnode
, NULL
));
47040 * /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
47042 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_route_server_route_server_client_modify(
47043 struct nb_cb_modify_args
*args
)
47045 switch (args
->event
) {
47046 case NB_EV_VALIDATE
:
47047 case NB_EV_PREPARE
:
47051 return bgp_peer_group_afi_safi_flag_modify(
47052 args
, PEER_FLAG_RSERVER_CLIENT
,
47053 yang_dnode_get_bool(args
->dnode
, NULL
));
47063 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv4-flowspec/soft-reconfiguration
47065 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_soft_reconfiguration_modify(
47066 struct nb_cb_modify_args
*args
)
47068 switch (args
->event
) {
47069 case NB_EV_VALIDATE
:
47070 case NB_EV_PREPARE
:
47074 return bgp_peer_group_afi_safi_flag_modify(
47075 args
, PEER_FLAG_SOFT_RECONFIG
,
47076 yang_dnode_get_bool(args
->dnode
, NULL
));
47086 * /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
47088 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_modify(
47089 struct nb_cb_modify_args
*args
)
47091 switch (args
->event
) {
47092 case NB_EV_VALIDATE
:
47093 case NB_EV_PREPARE
:
47097 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
47103 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_import_destroy(
47104 struct nb_cb_destroy_args
*args
)
47106 switch (args
->event
) {
47107 case NB_EV_VALIDATE
:
47108 case NB_EV_PREPARE
:
47112 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
47120 * /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
47122 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_modify(
47123 struct nb_cb_modify_args
*args
)
47125 switch (args
->event
) {
47126 case NB_EV_VALIDATE
:
47127 case NB_EV_PREPARE
:
47131 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
47137 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_rmap_export_destroy(
47138 struct nb_cb_destroy_args
*args
)
47140 switch (args
->event
) {
47141 case NB_EV_VALIDATE
:
47142 case NB_EV_PREPARE
:
47146 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
47154 * /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
47156 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_modify(
47157 struct nb_cb_modify_args
*args
)
47159 switch (args
->event
) {
47160 case NB_EV_VALIDATE
:
47161 case NB_EV_PREPARE
:
47165 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
47171 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_import_destroy(
47172 struct nb_cb_destroy_args
*args
)
47174 switch (args
->event
) {
47175 case NB_EV_VALIDATE
:
47176 case NB_EV_PREPARE
:
47180 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
47188 * /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
47190 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_modify(
47191 struct nb_cb_modify_args
*args
)
47193 switch (args
->event
) {
47194 case NB_EV_VALIDATE
:
47195 case NB_EV_PREPARE
:
47199 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
47205 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_plist_export_destroy(
47206 struct nb_cb_destroy_args
*args
)
47208 switch (args
->event
) {
47209 case NB_EV_VALIDATE
:
47210 case NB_EV_PREPARE
:
47214 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
47222 * /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
47224 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_modify(
47225 struct nb_cb_modify_args
*args
)
47227 switch (args
->event
) {
47228 case NB_EV_VALIDATE
:
47229 case NB_EV_PREPARE
:
47232 /* TODO: implement me. */
47239 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_import_destroy(
47240 struct nb_cb_destroy_args
*args
)
47242 switch (args
->event
) {
47243 case NB_EV_VALIDATE
:
47244 case NB_EV_PREPARE
:
47247 /* TODO: implement me. */
47256 * /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
47258 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_modify(
47259 struct nb_cb_modify_args
*args
)
47261 switch (args
->event
) {
47262 case NB_EV_VALIDATE
:
47263 case NB_EV_PREPARE
:
47266 /* TODO: implement me. */
47273 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_access_list_export_destroy(
47274 struct nb_cb_destroy_args
*args
)
47276 switch (args
->event
) {
47277 case NB_EV_VALIDATE
:
47278 case NB_EV_PREPARE
:
47281 /* TODO: implement me. */
47290 * /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
47292 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_modify(
47293 struct nb_cb_modify_args
*args
)
47295 switch (args
->event
) {
47296 case NB_EV_VALIDATE
:
47297 case NB_EV_PREPARE
:
47300 /* TODO: implement me. */
47307 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_import_destroy(
47308 struct nb_cb_destroy_args
*args
)
47310 switch (args
->event
) {
47311 case NB_EV_VALIDATE
:
47312 case NB_EV_PREPARE
:
47315 /* TODO: implement me. */
47324 * /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
47326 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_modify(
47327 struct nb_cb_modify_args
*args
)
47329 switch (args
->event
) {
47330 case NB_EV_VALIDATE
:
47331 case NB_EV_PREPARE
:
47334 /* TODO: implement me. */
47341 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_as_path_filter_list_export_destroy(
47342 struct nb_cb_destroy_args
*args
)
47344 switch (args
->event
) {
47345 case NB_EV_VALIDATE
:
47346 case NB_EV_PREPARE
:
47349 /* TODO: implement me. */
47358 * /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
47360 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_modify(
47361 struct nb_cb_modify_args
*args
)
47363 switch (args
->event
) {
47364 case NB_EV_VALIDATE
:
47365 case NB_EV_PREPARE
:
47368 /* TODO: implement me. */
47375 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_import_destroy(
47376 struct nb_cb_destroy_args
*args
)
47378 switch (args
->event
) {
47379 case NB_EV_VALIDATE
:
47380 case NB_EV_PREPARE
:
47383 /* TODO: implement me. */
47392 * /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
47394 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_modify(
47395 struct nb_cb_modify_args
*args
)
47397 switch (args
->event
) {
47398 case NB_EV_VALIDATE
:
47399 case NB_EV_PREPARE
:
47402 /* TODO: implement me. */
47409 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv4_flowspec_filter_config_unsuppress_map_export_destroy(
47410 struct nb_cb_destroy_args
*args
)
47412 switch (args
->event
) {
47413 case NB_EV_VALIDATE
:
47414 case NB_EV_PREPARE
:
47417 /* TODO: implement me. */
47426 * /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
47428 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_route_reflector_route_reflector_client_modify(
47429 struct nb_cb_modify_args
*args
)
47431 switch (args
->event
) {
47432 case NB_EV_VALIDATE
:
47433 case NB_EV_PREPARE
:
47437 return bgp_peer_group_afi_safi_flag_modify(
47438 args
, PEER_FLAG_REFLECTOR_CLIENT
,
47439 yang_dnode_get_bool(args
->dnode
, NULL
));
47449 * /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
47451 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_route_server_route_server_client_modify(
47452 struct nb_cb_modify_args
*args
)
47454 switch (args
->event
) {
47455 case NB_EV_VALIDATE
:
47456 case NB_EV_PREPARE
:
47460 return bgp_peer_group_afi_safi_flag_modify(
47461 args
, PEER_FLAG_RSERVER_CLIENT
,
47462 yang_dnode_get_bool(args
->dnode
, NULL
));
47472 * /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp/peer-groups/peer-group/afi-safis/afi-safi/ipv6-flowspec/soft-reconfiguration
47474 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_soft_reconfiguration_modify(
47475 struct nb_cb_modify_args
*args
)
47477 switch (args
->event
) {
47478 case NB_EV_VALIDATE
:
47479 case NB_EV_PREPARE
:
47483 return bgp_peer_group_afi_safi_flag_modify(
47484 args
, PEER_FLAG_SOFT_RECONFIG
,
47485 yang_dnode_get_bool(args
->dnode
, NULL
));
47495 * /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
47497 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_modify(
47498 struct nb_cb_modify_args
*args
)
47500 switch (args
->event
) {
47501 case NB_EV_VALIDATE
:
47502 case NB_EV_PREPARE
:
47506 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_IN
);
47512 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_import_destroy(
47513 struct nb_cb_destroy_args
*args
)
47515 switch (args
->event
) {
47516 case NB_EV_VALIDATE
:
47517 case NB_EV_PREPARE
:
47521 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_IN
);
47529 * /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
47531 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_modify(
47532 struct nb_cb_modify_args
*args
)
47534 switch (args
->event
) {
47535 case NB_EV_VALIDATE
:
47536 case NB_EV_PREPARE
:
47540 return bgp_peer_group_afi_safi_rmap_modify(args
, RMAP_OUT
);
47546 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_rmap_export_destroy(
47547 struct nb_cb_destroy_args
*args
)
47549 switch (args
->event
) {
47550 case NB_EV_VALIDATE
:
47551 case NB_EV_PREPARE
:
47555 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_IN
);
47563 * /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
47565 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_modify(
47566 struct nb_cb_modify_args
*args
)
47568 switch (args
->event
) {
47569 case NB_EV_VALIDATE
:
47570 case NB_EV_PREPARE
:
47574 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_IN
);
47580 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_import_destroy(
47581 struct nb_cb_destroy_args
*args
)
47583 switch (args
->event
) {
47584 case NB_EV_VALIDATE
:
47585 case NB_EV_PREPARE
:
47589 return bgp_peer_group_afi_safi_rmap_destroy(args
, RMAP_OUT
);
47597 * /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
47599 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_modify(
47600 struct nb_cb_modify_args
*args
)
47602 switch (args
->event
) {
47603 case NB_EV_VALIDATE
:
47604 case NB_EV_PREPARE
:
47608 return bgp_peer_group_afi_safi_plist_modify(args
, FILTER_OUT
);
47614 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_plist_export_destroy(
47615 struct nb_cb_destroy_args
*args
)
47617 switch (args
->event
) {
47618 case NB_EV_VALIDATE
:
47619 case NB_EV_PREPARE
:
47623 return bgp_peer_group_afi_safi_plist_destroy(args
, FILTER_OUT
);
47631 * /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
47633 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_modify(
47634 struct nb_cb_modify_args
*args
)
47636 switch (args
->event
) {
47637 case NB_EV_VALIDATE
:
47638 case NB_EV_PREPARE
:
47641 /* TODO: implement me. */
47648 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_import_destroy(
47649 struct nb_cb_destroy_args
*args
)
47651 switch (args
->event
) {
47652 case NB_EV_VALIDATE
:
47653 case NB_EV_PREPARE
:
47656 /* TODO: implement me. */
47665 * /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
47667 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_modify(
47668 struct nb_cb_modify_args
*args
)
47670 switch (args
->event
) {
47671 case NB_EV_VALIDATE
:
47672 case NB_EV_PREPARE
:
47675 /* TODO: implement me. */
47682 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_access_list_export_destroy(
47683 struct nb_cb_destroy_args
*args
)
47685 switch (args
->event
) {
47686 case NB_EV_VALIDATE
:
47687 case NB_EV_PREPARE
:
47690 /* TODO: implement me. */
47699 * /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
47701 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_modify(
47702 struct nb_cb_modify_args
*args
)
47704 switch (args
->event
) {
47705 case NB_EV_VALIDATE
:
47706 case NB_EV_PREPARE
:
47709 /* TODO: implement me. */
47716 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_import_destroy(
47717 struct nb_cb_destroy_args
*args
)
47719 switch (args
->event
) {
47720 case NB_EV_VALIDATE
:
47721 case NB_EV_PREPARE
:
47724 /* TODO: implement me. */
47733 * /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
47735 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_modify(
47736 struct nb_cb_modify_args
*args
)
47738 switch (args
->event
) {
47739 case NB_EV_VALIDATE
:
47740 case NB_EV_PREPARE
:
47743 /* TODO: implement me. */
47750 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_as_path_filter_list_export_destroy(
47751 struct nb_cb_destroy_args
*args
)
47753 switch (args
->event
) {
47754 case NB_EV_VALIDATE
:
47755 case NB_EV_PREPARE
:
47758 /* TODO: implement me. */
47767 * /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
47769 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_modify(
47770 struct nb_cb_modify_args
*args
)
47772 switch (args
->event
) {
47773 case NB_EV_VALIDATE
:
47774 case NB_EV_PREPARE
:
47777 /* TODO: implement me. */
47784 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_import_destroy(
47785 struct nb_cb_destroy_args
*args
)
47787 switch (args
->event
) {
47788 case NB_EV_VALIDATE
:
47789 case NB_EV_PREPARE
:
47792 /* TODO: implement me. */
47801 * /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
47803 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_modify(
47804 struct nb_cb_modify_args
*args
)
47806 switch (args
->event
) {
47807 case NB_EV_VALIDATE
:
47808 case NB_EV_PREPARE
:
47811 /* TODO: implement me. */
47818 int bgp_peer_groups_peer_group_afi_safis_afi_safi_ipv6_flowspec_filter_config_unsuppress_map_export_destroy(
47819 struct nb_cb_destroy_args
*args
)
47821 switch (args
->event
) {
47822 case NB_EV_VALIDATE
:
47823 case NB_EV_PREPARE
:
47826 /* TODO: implement me. */