m/n/core/network: implement LLDP transmission
Implements simple LLDP transmission-only support for Monogon OS. It
advertises enough to do topology discovery through LLDP. Currently it
supports MAC address, interface name, node name and product
name/version. More information can be added in the future.
Tested using Wireshark on launch-cluster node/switch traffic.
Change-Id: If5777bc042ef87bd8d26c548324c6de6f14f7270
Reviewed-on: https://review.monogon.dev/c/monogon/+/4282
Tested-by: Jenkins CI
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index e0178c7..d3104eb 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -45,6 +45,7 @@
"com_github_mdlayher_ethtool",
"com_github_mdlayher_genetlink",
"com_github_mdlayher_kobject",
+ "com_github_mdlayher_lldp",
"com_github_mdlayher_netlink",
"com_github_mdlayher_packet",
"com_github_miekg_dns",