#[non_exhaustive]pub struct BgpFamily {Show 28 fields
pub afi: String,
pub safi: Option<String>,
pub prefix_limit: Option<PrefixLimit>,
pub accepted_prefix_limit: Option<PrefixLimit>,
pub add_path: Option<AddPath>,
pub loops: Option<String>,
pub aigp: Option<bool>,
pub rib_group: Option<String>,
pub no_validate: Option<String>,
pub defer_initial_multipath_build_max_delay: Option<String>,
pub damping: bool,
pub resolve_vpn: bool,
pub no_install: bool,
pub protection: bool,
pub strip_nexthop: bool,
pub auto_discovery_only: bool,
pub per_group_label: bool,
pub explicit_null: bool,
pub extended_nexthop: bool,
pub advertise_srv6_service: bool,
pub accept_srv6_service: bool,
pub extended_nexthop_color: bool,
pub extended_nexthop_tunnel: bool,
pub output_queue_priority: Option<String>,
pub route_refresh_priority: Option<String>,
pub withdraw_priority: Option<String>,
pub entropy_label: Option<EntropyLabel>,
pub graceful_restart: Option<FamilyGracefulRestart>,
}Expand description
An address family of a peer, e.g. family inet { unicast { ... } }. Families are not inherited between the
bgp, group and neighbor levels, so none is resolved here. Only the more common per-family statements are
extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.afi: Stringinet, inet6, inet-vpn, l2vpn, evpn, route-target, …
safi: Option<String>unicast, labeled-unicast, signaling, …; None for a family written without one.
prefix_limit: Option<PrefixLimit>§accepted_prefix_limit: Option<PrefixLimit>§add_path: Option<AddPath>§loops: Option<String>§aigp: Option<bool>Some(true) for aigp, Some(false) for aigp { disable; }.
rib_group: Option<String>§no_validate: Option<String>The policy of no-validate.
defer_initial_multipath_build_max_delay: Option<String>Seconds, from defer-initial-multipath-build { maximum-delay ...; }.
damping: bool§resolve_vpn: bool§no_install: bool§protection: bool§strip_nexthop: bool§auto_discovery_only: bool§per_group_label: bool§explicit_null: bool§extended_nexthop: bool§advertise_srv6_service: boolSends the SRv6 service SID with the routes of this family.
accept_srv6_service: boolAccepts the SRv6 service SID of received routes.
extended_nexthop_color: boolResolves colored prefixes over inetcolor.0 or inet6color.0 for segment routing traffic engineering.
extended_nexthop_tunnel: bool§output_queue_priority: Option<String>expedited or priority <n>, as written.
route_refresh_priority: Option<String>§withdraw_priority: Option<String>§entropy_label: Option<EntropyLabel>§graceful_restart: Option<FamilyGracefulRestart>Trait Implementations§
impl Eq for BgpFamily
impl StructuralPartialEq for BgpFamily
Auto Trait Implementations§
impl Forget for BgpFamily
impl Freeze for BgpFamily
impl Move for BgpFamily
impl RefUnwindSafe for BgpFamily
impl Send for BgpFamilywhere
RawVecInner: Send,
impl Sync for BgpFamilywhere
RawVecInner: Sync,
impl Unpin for BgpFamily
impl UnsafeUnpin for BgpFamilywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BgpFamilywhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more