Add support for multiple hostnames for a given node
This will be useful both on a roboRIO and to allow encoding the team
number in the hostnames on the Pis.
Change-Id: I3975785240d7502bc3922c92e9faad4bdadda0d9
diff --git a/aos/configuration.fbs b/aos/configuration.fbs
index 317c100..576616e 100644
--- a/aos/configuration.fbs
+++ b/aos/configuration.fbs
@@ -126,6 +126,12 @@
hostname:string;
// Port to serve forwarded data from.
port:ushort = 9971;
+
+ // An alternative to hostname which allows specifying multiple hostnames,
+ // any of which will match this node.
+ //
+ // Don't specify a hostname in multiple nodes in the same configuration.
+ hostnames:[string];
}
// Overall configuration datastructure for the pubsub.