mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 22:09:42 +00:00
Revert "bgpd: rename router bgp callbacks"
This reverts commit feded4118b
.
This commit is contained in:
parent
2fc82a12fb
commit
23f1fa0704
@ -32,8 +32,8 @@ const struct frr_yang_module_info frr_bgp_info = {
|
|||||||
.xpath = "/frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp",
|
.xpath = "/frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp",
|
||||||
.cbs = {
|
.cbs = {
|
||||||
.cli_show = cli_show_router_bgp,
|
.cli_show = cli_show_router_bgp,
|
||||||
.create = bgp_router_create,
|
.create = bgp_create,
|
||||||
.destroy = bgp_router_destroy,
|
.destroy = bgp_destroy,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
extern const struct frr_yang_module_info frr_bgp_info;
|
extern const struct frr_yang_module_info frr_bgp_info;
|
||||||
|
|
||||||
/* prototypes */
|
/* prototypes */
|
||||||
int bgp_router_create(struct nb_cb_create_args *args);
|
int bgp_create(struct nb_cb_create_args *args);
|
||||||
int bgp_router_destroy(struct nb_cb_destroy_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_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_modify(struct nb_cb_modify_args *args);
|
||||||
int bgp_global_router_id_destroy(struct nb_cb_destroy_args *args);
|
int bgp_global_router_id_destroy(struct nb_cb_destroy_args *args);
|
||||||
|
@ -66,7 +66,7 @@ int routing_control_plane_protocols_name_validate(
|
|||||||
* XPath:
|
* XPath:
|
||||||
* /frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp
|
* /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;
|
const struct lyd_node *vrf_dnode;
|
||||||
struct bgp *bgp;
|
struct bgp *bgp;
|
||||||
@ -136,7 +136,7 @@ int bgp_router_create(struct nb_cb_create_args *args)
|
|||||||
return NB_OK;
|
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;
|
struct bgp *bgp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user