Route

typeRoute

A single announced or withdrawn path.

functionaspath(rr: Route) Option[AsPath]

Return the AsPath.

functioncommunities(rr: Route) Option[List[Community]]

Return a List of Communitys.

functionfmt_base64(rr: Route) String

Format the path attributes as base64.

functionfmt_hex(rr: Route) String

Format the path attributes as hex.

functionfmt_json(rr: Route) String

Format the NLRI and path attributes as JSON.

functionhas_attribute(rr: Route, to_match: u8) bool

Check whether this RotondaRoute contains the given Path Attribute.

functionlarge_communities(rr: Route) Option[List[LargeCommunity]]

Return a List of LargeCommunitys.

functionprefix(rr: Route) Prefix

Return the prefix for this RotondaRoute.

functionprefix_matches(rr: Route, to_match: Prefix) bool

Check whether the prefix for this RotondaRoute matches.

functionrov_status(rr: Route) RovStatus

Return the RPKI [RovStatus] for this Route.