2014-08-20 04:24:03 +00:00
|
|
|
table_name("routes")
|
2015-03-24 20:31:25 +00:00
|
|
|
description("The active route table for the host system.")
|
2014-08-20 04:24:03 +00:00
|
|
|
schema([
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("destination", TEXT, "Destination IP address"),
|
2018-09-14 15:13:37 +00:00
|
|
|
Column("netmask", INTEGER, "Netmask length"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("gateway", TEXT, "Route gateway"),
|
|
|
|
Column("source", TEXT, "Route source"),
|
|
|
|
Column("flags", INTEGER, "Flags to describe route"),
|
|
|
|
Column("interface", TEXT, "Route local interface"),
|
|
|
|
Column("mtu", INTEGER, "Maximum Transmission Unit for the route"),
|
|
|
|
Column("metric", INTEGER, "Cost of route. Lowest is preferred"),
|
|
|
|
Column("type", TEXT, "Type of route"),
|
2014-08-20 04:24:03 +00:00
|
|
|
])
|
2018-08-14 14:29:50 +00:00
|
|
|
|
|
|
|
extended_schema(POSIX, [
|
|
|
|
Column("hopcount", INTEGER, "Max hops expected"),
|
|
|
|
])
|
2016-05-18 19:23:52 +00:00
|
|
|
attributes(cacheable=True)
|
2014-10-04 01:00:15 +00:00
|
|
|
implementation("networking/routes@genRoutes")
|