2014-08-20 20:27:41 +00:00
|
|
|
table_name("interface_addresses")
|
2015-02-07 03:05:50 +00:00
|
|
|
description("Network interfaces and relevant metadata.")
|
2014-08-20 20:27:41 +00:00
|
|
|
schema([
|
2015-02-10 02:18:22 +00:00
|
|
|
Column("interface", TEXT, "Interface name"),
|
|
|
|
Column("address", TEXT, "Specific address for interface"),
|
|
|
|
Column("mask", TEXT, "Interface netmask"),
|
|
|
|
Column("broadcast", TEXT, "Broadcast address for the interface"),
|
|
|
|
Column("point_to_point", TEXT, "PtP address for the interface"),
|
2018-08-31 13:28:26 +00:00
|
|
|
Column("type", TEXT, "Type of address. One of dhcp, manual, auto, other, unknown")
|
2014-08-20 20:27:41 +00:00
|
|
|
])
|
2017-09-13 23:30:30 +00:00
|
|
|
extended_schema(WINDOWS, [
|
|
|
|
Column("friendly_name", TEXT, "The friendly display name of the interface."),
|
|
|
|
])
|
2016-05-18 19:23:52 +00:00
|
|
|
attributes(cacheable=True)
|
2014-10-14 04:58:26 +00:00
|
|
|
implementation("interfaces@genInterfaceAddresses")
|