Implemented route manager redistributing routes to peer handlers (not yet announcing to peers)
Some checks failed
Rust / build (push) Has been cancelled
Some checks failed
Rust / build (push) Has been cancelled
This commit is contained in:
@ -19,7 +19,7 @@ use bgp_packet::path_attributes::PathAttribute;
|
||||
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
use crate::rib_manager::PathData;
|
||||
use crate::path::path_data::PathData;
|
||||
|
||||
/// RouteInfo encapsulates information received about a particular BGP route.
|
||||
#[derive(Clone, Debug)]
|
||||
@ -53,6 +53,8 @@ pub enum RouteUpdate {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct RouteWithdraw {
|
||||
/// The peer identifier of the peer that sent the withdrawal.
|
||||
pub peer_id: Ipv4Addr,
|
||||
/// The prefixes which have been withdrawn.
|
||||
pub prefixes: Vec<NLRI>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user