Enum snowcap_main::Scenario[][src]

pub enum Scenario {
    FullMesh2RouteReflector,
    RouteReflector2FullMesh,
    DoubleIgpWeight,
    HalveIgpWeight,
    DoubleLocalPref,
    HalveLocalPref,
    IntroduceSecondRouteReflector,
    RemoveSecondRouteReflector,
    NetworkAcquisition,
    NetworkSplit,
    DisconnectRouter,
    ConnectRouter,
    VerifyTransientCondition,
    VerifyTransientConditionReverse,
}

Variants

FullMesh2RouteReflector

Scenario, where we start with a iBGP full mesh, and end up with a topology, where one single router is elected as a Route Reflectors, and all others pair with that router.

RouteReflector2FullMesh

Scenario, where we start with a topology, where one single router is elected as a Route Reflectors, and all others pair with that router, and we end up wiht an iBGP full mesh.

DoubleIgpWeight

Scenario, where every IGP weight is doubled

HalveIgpWeight

Scenario, where every IGP weight is halved

DoubleLocalPref

Scenario, where every loacl pref is doubled

HalveLocalPref

Scenario, where every local pref is halved

IntroduceSecondRouteReflector

Scenario, where we start with a single Route-Reflector, to which all other routers pair, and end with a second Route-Reflector as a backup, where all other routers have a session to both reflectors, and the two reflectors are connected with a peer.

RemoveSecondRouteReflector

Scenario, where we start with a second Route-Reflector as a backup, where all other routers have a session to both reflectors, and the two reflectors are connected with a peer, and end with a single Route-Reflector, to which all other routers pair.

NetworkAcquisition

Scenario, where we start with two different connected components, both having connection to the outside world, and we merge them by adding the links in between.

NetworkSplit

Reverse scenario of the Network Acquisition

DisconnectRouter

Disconnect a random non-border router form the network by setting all of its link weights to infinity. The IBGP topoogy will be a Route-Reflector topology, and the router disabled will not be selected as root!

ConnectRouter

Connect a random non-border router to the network by setting all of its link weights to a normal number. The IBGP topoogy will be a Route-Reflector topology, and the router disabled will not be selected as root!

VerifyTransientCondition

Test scenario for verifying transient state conditions. This scenario contains only a single modifier, which adds an eBGP session.

VerifyTransientConditionReverse

Test scenario for verifying transient state conditions. This scenario contains only a single modifier, which adds an eBGP session.

Trait Implementations

impl ArgEnum for Scenario[src]

impl Clap for Scenario[src]

impl Clone for Scenario[src]

impl Debug for Scenario[src]

impl Display for Scenario[src]

impl FromArgMatches for Scenario[src]

impl Into<Scenario> for Scenario[src]

impl IntoApp for Scenario[src]

impl Subcommand for Scenario[src]

Auto Trait Implementations

impl RefUnwindSafe for Scenario[src]

impl Send for Scenario[src]

impl Sync for Scenario[src]

impl Unpin for Scenario[src]

impl UnwindSafe for Scenario[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]