.xpath = "/frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp",
.cbs = {
.cli_show = cli_show_router_bgp,
- .create = bgp_router_create,
- .destroy = bgp_router_destroy,
+ .create = bgp_create,
+ .destroy = bgp_destroy,
}
},
{
extern const struct frr_yang_module_info frr_bgp_info;
/* prototypes */
-int bgp_router_create(struct nb_cb_create_args *args);
-int bgp_router_destroy(struct nb_cb_destroy_args *args);
+int bgp_create(struct nb_cb_create_args *args);
+int bgp_destroy(struct nb_cb_destroy_args *args);
int bgp_global_local_as_modify(struct nb_cb_modify_args *args);
int bgp_global_router_id_modify(struct nb_cb_modify_args *args);
int bgp_global_router_id_destroy(struct nb_cb_destroy_args *args);
* XPath:
* /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp
*/
-int bgp_router_create(struct nb_cb_create_args *args)
+int bgp_create(struct nb_cb_create_args *args)
{
const struct lyd_node *vrf_dnode;
struct bgp *bgp;
return NB_OK;
}
-int bgp_router_destroy(struct nb_cb_destroy_args *args)
+int bgp_destroy(struct nb_cb_destroy_args *args)
{
struct bgp *bgp;