Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('zone.interface_route_id_seq'::regclass) |
|
|
Unique identifier for interface_route record. |
|||
zone_id | int4 | 10 | null |
|
|
Zone Id for interface_route record. |
||||
interface_id | int4 | 10 | null |
|
|
Interface Id for iftable_vlan record. It maps to zone.interface.id |
||||
route_id | int4 | 10 | null |
|
|
Id of route. It maps to zone.route.id |
||||
route | cidr | 2147483647 | √ | null |
|
|
Route for this interface_route record. Same value can be found from route.id for matching route_id but it is inserted here as a form of denormalization for faster data retrieval. |
|||
last_update | timestamptz | 35,6 | √ | now() |
|
|
Timestamp when this record was created/updated |
|||
first_observed | timestamptz | 35,6 | √ | now() |
|
|
Timestamp when this route was first seen. If the route is expired out and recreated, this will be the timestamp from when we last created it. |
|||
nexthop | inet | 2147483647 | √ | null |
|
|
Next hop for this route. |
|||
asnum | int8 | 19 | √ | null |
|
|
AS Number for this route. |
|||
routetype_id | int4 | 10 | √ | null |
|
|
Route Type id. Maps to zone.routetype.id |
|||
routeprotocol_id | int4 | 10 | √ | null |
|
|
Router Protocol id. Maps to zone.routerprotocol.id |
|||
aspath | _int8 | 19 | √ | null |
|
|
AS Path for this route. |
|||
withdrawn | bool | 1 | √ | false |
|
|
Has this route been withdrawn by the discovering routing protocol (currently only BGP supports this) |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_intf_route | Primary key | Asc | id |
idx_interface_interface_id | Performance | Asc | interface_id |
idx_interface_route_id | Performance | Asc | route_id |
idx_interface_route_protocol_id | Performance | Asc | routeprotocol_id |
idx_interface_routetype_id | Performance | Asc | routetype_id |
idx_zone_intf_route_nexthop | Performance | Asc | nexthop |
idx_zone_intf_route_route | Performance | Asc | route |
idx_zone_intf_route_route_ipr | Performance |