PathAttributes

typePathAttributes

The Path attributes pertaining to a certain Route.

Currently only used in custom HTTP endpoint filters.

functionaspath(pamap: PathAttributes) Option[AsPath]

Return the AsPath.

functioncommunities(pamap: PathAttributes) Option[List[Community]]

Return a List[T] of Community.

functionlarge_communities(pamap: PathAttributes) Option[List[LargeCommunity]]

Return a List[T] of LargeCommunity.

functionotc(pamap: PathAttributes) Option[Asn]

Return the OTC attribute.