mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
1375 lines
29 KiB
C
1375 lines
29 KiB
C
![]() |
/*
|
||
|
* Copyright (C) 2020 VmWare
|
||
|
* Sarita Patra
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify it
|
||
|
* under the terms of the GNU General Public License as published by the Free
|
||
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||
|
* any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||
|
* more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License along
|
||
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||
|
*/
|
||
|
|
||
|
#include "pimd.h"
|
||
|
#include "pim_nb.h"
|
||
|
#include "lib/northbound_cli.h"
|
||
|
|
||
|
int routing_control_plane_protocols_name_validate(
|
||
|
struct nb_cb_create_args *args)
|
||
|
{
|
||
|
const char *name;
|
||
|
|
||
|
name = yang_dnode_get_string(args->dnode, "./name");
|
||
|
if (!strmatch(name, "pim")) {
|
||
|
snprintf(args->errmsg, args->errmsg_len,
|
||
|
"pim supports only one instance with name pimd");
|
||
|
return NB_ERR_VALIDATION;
|
||
|
}
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-pim:pim/packets
|
||
|
*/
|
||
|
int pim_packets_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-pim:pim/join-prune-interval
|
||
|
*/
|
||
|
int pim_join_prune_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-pim:pim/register-suppress-time
|
||
|
*/
|
||
|
int pim_register_suppress_time_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/ecmp
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_ecmp_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/ecmp-rebalance
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_ecmp_rebalance_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/keep-alive-timer
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_keep_alive_timer_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/rp-keep-alive-timer
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_rp_keep_alive_timer_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/send-v6-secondary
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_send_v6_secondary_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_send_v6_secondary_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/spt-switchover/spt-action
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_spt_switchover_spt_action_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/spt-switchover/spt-infinity-prefix-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_spt_switchover_spt_infinity_prefix_list_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_spt_switchover_spt_infinity_prefix_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/ssm-prefix-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ssm_prefix_list_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ssm_prefix_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/ssm-pingd-source-ip
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ssm_pingd_source_ip_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_ssm_pingd_source_ip_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-mesh-group
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-mesh-group/mesh-group-name
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_mesh_group_name_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_mesh_group_name_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-mesh-group/member-ip
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_member_ip_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_member_ip_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-mesh-group/source-ip
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_source_ip_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_mesh_group_source_ip_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-peer
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_peer_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_peer_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/msdp-peer/source-ip
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_peer_source_ip_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_msdp_peer_source_ip_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/mlag
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/mlag/peerlink-rif
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_peerlink_rif_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_peerlink_rif_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/mlag/reg-address
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_reg_address_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_reg_address_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/mlag/my-role
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_my_role_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/mlag/peer-state
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_peer_state_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/register-accept-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_register_accept_list_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_register_accept_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim
|
||
|
*/
|
||
|
int lib_interface_pim_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/pim-enable
|
||
|
*/
|
||
|
int lib_interface_pim_pim_enable_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/hello-interval
|
||
|
*/
|
||
|
int lib_interface_pim_hello_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/hello-holdtime
|
||
|
*/
|
||
|
int lib_interface_pim_hello_holdtime_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_hello_holdtime_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/bfd
|
||
|
*/
|
||
|
int lib_interface_pim_bfd_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_bfd_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/bfd/min-rx-interval
|
||
|
*/
|
||
|
int lib_interface_pim_bfd_min_rx_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/bfd/min-tx-interval
|
||
|
*/
|
||
|
int lib_interface_pim_bfd_min_tx_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/bfd/detect_mult
|
||
|
*/
|
||
|
int lib_interface_pim_bfd_detect_mult_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/bsm
|
||
|
*/
|
||
|
int lib_interface_pim_bsm_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/unicast-bsm
|
||
|
*/
|
||
|
int lib_interface_pim_unicast_bsm_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/active-active
|
||
|
*/
|
||
|
int lib_interface_pim_active_active_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/dr-priority
|
||
|
*/
|
||
|
int lib_interface_pim_dr_priority_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/address-family
|
||
|
*/
|
||
|
int lib_interface_pim_address_family_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_address_family_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/address-family/use-source
|
||
|
*/
|
||
|
int lib_interface_pim_address_family_use_source_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_address_family_use_source_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/address-family/multicast-boundary-oil
|
||
|
*/
|
||
|
int lib_interface_pim_address_family_multicast_boundary_oil_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_address_family_multicast_boundary_oil_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/address-family/mroute
|
||
|
*/
|
||
|
int lib_interface_pim_address_family_mroute_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_address_family_mroute_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-pim:pim/address-family/mroute/oif
|
||
|
*/
|
||
|
int lib_interface_pim_address_family_mroute_oif_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_pim_address_family_mroute_oif_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/frr-pim-rp:rp/static-rp/rp-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/frr-pim-rp:rp/static-rp/rp-list/group-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_group_list_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_group_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-pim:pim/address-family/frr-pim-rp:rp/static-rp/rp-list/prefix-list
|
||
|
*/
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_prefix_list_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_rp_static_rp_rp_list_prefix_list_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp
|
||
|
*/
|
||
|
int lib_interface_igmp_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_igmp_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/igmp-enable
|
||
|
*/
|
||
|
int lib_interface_igmp_igmp_enable_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/version
|
||
|
*/
|
||
|
int lib_interface_igmp_version_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_igmp_version_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/query-interval
|
||
|
*/
|
||
|
int lib_interface_igmp_query_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/query-max-response-time
|
||
|
*/
|
||
|
int lib_interface_igmp_query_max_response_time_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/last-member-query-interval
|
||
|
*/
|
||
|
int lib_interface_igmp_last_member_query_interval_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/robustness-variable
|
||
|
*/
|
||
|
int lib_interface_igmp_robustness_variable_modify(struct nb_cb_modify_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/address-family
|
||
|
*/
|
||
|
int lib_interface_igmp_address_family_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_igmp_address_family_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* XPath: /frr-interface:lib/interface/frr-igmp:igmp/address-family/static-group
|
||
|
*/
|
||
|
int lib_interface_igmp_address_family_static_group_create(struct nb_cb_create_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|
||
|
|
||
|
int lib_interface_igmp_address_family_static_group_destroy(struct nb_cb_destroy_args *args)
|
||
|
{
|
||
|
switch (args->event) {
|
||
|
case NB_EV_VALIDATE:
|
||
|
case NB_EV_PREPARE:
|
||
|
case NB_EV_ABORT:
|
||
|
case NB_EV_APPLY:
|
||
|
/* TODO: implement me. */
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
return NB_OK;
|
||
|
}
|