Skip to content

bgp_link.proto

BgpLinkWeightMgrService

Update the link weight to be used in the BGP control plane for outbound link-bandwidth advertisements if the interface is used as the directly connected peering interface.

rpc link_weights(BgpLinkWeightsRequest) BgpLinkWeightsResponse

Get the link weights for one or multiple interfaces.

rpc bulk_link_weight_set(BulkBgpLinkWeightSetRequest) BulkBgpLinkWeightSetResponse

Set the link weight for multiple interfaces.

rpc bulk_link_weight_del(BulkBgpLinkWeightDelRequest) BulkBgpLinkWeightDelResponse

Delete the link weight for multiple interfaces.

rpc link_weight_resync_init(BgpLinkWeightResyncInitRequest) BgpLinkWeightResyncInitResponse

Starts the link weight resync process, to set the link weights to a known state. The resync_complete rpc, must be called to end the resync. To remove the link weight for all interfaces use with no operations in between: link_weight_resync_init() link_weight_resync_complete()

rpc link_weight_resync_complete(BgpLinkWeightResyncCompleteRequest) BgpLinkWeightResyncCompleteResponse

Ends the current link weight resync process. All link weights not added or modified during the resync will be deleted.

Messages

BgpLinkWeightDelRequest

Name Value Description
intf_id IntfId Name of the interface.

BgpLinkWeightResyncCompleteRequest

Empty message.

BgpLinkWeightResyncCompleteResponse

Empty message.

BgpLinkWeightResyncInitRequest

Empty message.

BgpLinkWeightResyncInitResponse

Empty message.

BgpLinkWeightSetRequest

Name Value Description
intf_id IntfId Name of the interface.
link_weight uint32 Link weight associated with the interface, 0 < link_weight < 2^24.

BgpLinkWeightsRequest

Name Value Description
intf_id_regex string Optional regex to filter out interfaces. If blank, no filters will be applied.

BgpLinkWeightsResponse

Name Value Description
intf_id IntfId Name of the interface.
link_weight uint32 Link weight associated with the interface, 0 < link_weight < 2^24.

BulkBgpLinkWeightDelRequest

Name Value Description
requests repeated BgpLinkWeightDelRequest List of BgpLinkWeightDelRequests.

BulkBgpLinkWeightDelResponse

Name Value Description
processed uint64 Number of successful requests processed.
status RpcResponseStatus Error details, if any.

BulkBgpLinkWeightSetRequest

Name Value Description
requests repeated BgpLinkWeightSetRequest List of BgpLinkWeightSetRequests.

BulkBgpLinkWeightSetResponse

Name Value Description
processed uint64 Number of successful requests processed.
status RpcResponseStatus Error details, if any.