Skip to content

EC2  >  Structures  >  RouteServerRoute

RouteServerRoute

Structure Class

RouteServerRoute dataclass

Bases: _SerdeShape

Describes a route in the route server's routing database.

Attributes

as_paths class-attribute instance-attribute
as_paths: list[str] | None = ...

The AS path attributes of the BGP route.

med class-attribute instance-attribute
med: int | None = ...

The Multi-Exit Discriminator (MED) value of the BGP route.

next_hop_ip class-attribute instance-attribute
next_hop_ip: str | None = ...

The IP address for the next hop.

prefix class-attribute instance-attribute
prefix: str | None = ...

The destination CIDR block of the route.

route_installation_details class-attribute instance-attribute
route_installation_details: list[RouteServerRouteInstallationDetail] | None = ...

Details about the installation status of this route in route tables.

route_server_endpoint_id class-attribute instance-attribute
route_server_endpoint_id: str | None = ...

The ID of the route server endpoint that received this route.

route_server_peer_id class-attribute instance-attribute
route_server_peer_id: str | None = ...

The ID of the route server peer that advertised this route.

route_status class-attribute instance-attribute
route_status: str | None = ...

The current status of the route in the routing database. Values are in-rib or in-fib depending on if the routes are in the RIB or the FIB database.

The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions.

The Forwarding Information Base (FIB) serves as a forwarding table for what route server has determined are the best-path routes in the RIB after evaluating all available routing information and policies. The FIB routes are installed on the route tables. The FIB is recomputed whenever there are changes to the RIB.