This commit is contained in:
@ -77,8 +77,20 @@ message PeerStatus {
|
||||
|
||||
message PeerStatusResponse { repeated PeerStatus peer_status = 1; }
|
||||
|
||||
message AnnouncementRequest {
|
||||
string peer_name = 1;
|
||||
Prefix prefix = 2;
|
||||
repeated string large_communities = 3;
|
||||
}
|
||||
|
||||
message AnnouncementResponse {}
|
||||
|
||||
// BGPServerAdminService implements an administrative interface to
|
||||
// view the status and control the operation of this BGP server.
|
||||
service BGPServerAdminService {
|
||||
// Get the status of a specific peer.
|
||||
rpc PeerStatus(PeerStatusRequest) returns (PeerStatusResponse);
|
||||
|
||||
// Make a BGP announcement to a specific peer.
|
||||
rpc AnnounceToPeer(AnnouncementRequest) returns (AnnouncementResponse);
|
||||
}
|
||||
Reference in New Issue
Block a user