GatewayRoute Class

Gateway routing details.

Constructor

GatewayRoute(*args: Any, **kwargs: Any)

Variables

Name Description
local_address
str

The gateway's local address.

network
str

The route's network prefix.

next_hop
str

The route's next hop.

source_peer
str

The peer this route was learned from.

origin
str

The source this route was learned from.

as_path
str

The route's AS path sequence.

weight
int

The route's weight.

Attributes

as_path

The route's AS path sequence.

as_path: str | None

local_address

The gateway's local address.

local_address: str | None

network

The route's network prefix.

network: str | None

next_hop

The route's next hop.

next_hop: str | None

origin

The source this route was learned from.

origin: str | None

source_peer

The peer this route was learned from.

source_peer: str | None

weight

The route's weight.

weight: int | None