#[non_exhaustive]pub struct ForwardingTable {
pub export: Vec<String>,
pub ecmp_fast_reroute: bool,
pub indirect_next_hop: Option<bool>,
pub indirect_next_hop_change_acknowledgements: Option<bool>,
pub krt_nexthop_ack_timeout: Option<String>,
pub remnant_holdtime: Option<String>,
pub multicast_composite_delete_defer_timeout: Option<String>,
pub unicast_reverse_path: Option<String>,
pub srv6_chain_merge: bool,
}Expand description
The global forwarding-table settings. chained-composite-next-hop and the EVPN statements are not 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.export: Vec<String>Policies that decide which routes are installed in the forwarding table.
ecmp_fast_reroute: bool§indirect_next_hop: Option<bool>Some(true) for indirect-next-hop, Some(false) for no-indirect-next-hop.
indirect_next_hop_change_acknowledgements: Option<bool>§krt_nexthop_ack_timeout: Option<String>§remnant_holdtime: Option<String>Seconds.
multicast_composite_delete_defer_timeout: Option<String>Seconds.
unicast_reverse_path: Option<String>active-paths or feasible-paths.
srv6_chain_merge: boolMerges SRv6 chain next hops in the platform layer.
Trait Implementations§
Source§impl Clone for ForwardingTable
impl Clone for ForwardingTable
Source§impl Debug for ForwardingTable
impl Debug for ForwardingTable
impl Eq for ForwardingTable
Source§impl PartialEq for ForwardingTable
impl PartialEq for ForwardingTable
impl StructuralPartialEq for ForwardingTable
Auto Trait Implementations§
impl Forget for ForwardingTable
impl Freeze for ForwardingTable
impl Move for ForwardingTable
impl RefUnwindSafe for ForwardingTable
impl Send for ForwardingTablewhere
RawVecInner: Send,
impl Sync for ForwardingTablewhere
RawVecInner: Sync,
impl Unpin for ForwardingTable
impl UnsafeUnpin for ForwardingTablewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ForwardingTablewhere
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