You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RSVP-TE: derive peers automatically from the TED (peers="auto")
RSVP-TE required its neighbours to be listed by hand in the "peers" parameter
(interface names), per router -- tedious and error-prone for anything but tiny
topologies. But RSVP's neighbours are exactly the directly-connected routers that
run the same TE control plane, and the TED already discovers them: for every
local interface it records the neighbour's router id and address.
Add a "peers" value "auto" (now the default) that derives the peer set from the
TED instead of a manual list:
- RsvpTe::setupHello() iterates the TED's local links (advrouter == our routerId)
and sets up a HELLO with each directly-connected neighbour that runs RSVP
(RsvpTe), skipping hosts (no router id) and non-RSVP routers.
- LinkStateRouting does the same for the interfaces it floods TE link-state on,
filtering to neighbours that run link-state routing. (The two filters differ on
purpose: an LDP-TE router is a link-state peer but not an RSVP HELLO peer.)
- MplsRouterBase.ned / RsvpTe.ned default peers to "auto". An explicit
space-separated interface-name list still works as before (override).
Ordering: TED (base submodule) initializes before RsvpTe/LinkStateRouting, and
all three run at INITSTAGE_ROUTING_PROTOCOLS, so the TED is populated before the
peers are derived. Examples that set "peers" explicitly are unaffected
(byte-identical fingerprints).
string classifierModule; // The path to the module which implements the IIngressClassifier C++ interface
93
93
xml traffic = default(xml("<sessions/>")); // Specifies paths to set up
94
-
string peers; // Names of the interfaces towards RSVP peers
94
+
string peers = default("auto"); // "auto" (default) derives the RSVP peers from the TED (every directly-connected RSVP-speaking neighbour); otherwise a space-separated list of the interface names towards the RSVP peers
0 commit comments