Add more GetNodeIndex options

We will want to use strings to find a node index.

Change-Id: I5b54b3e06a4804c05bf1dbe4ea125be50aac7262
diff --git a/aos/configuration.h b/aos/configuration.h
index c756215..bf2ec6c 100644
--- a/aos/configuration.h
+++ b/aos/configuration.h
@@ -83,6 +83,7 @@
 // Returns the node index for a node.  Note: will be faster if node is a pointer
 // to a node in config, but is not required.
 int GetNodeIndex(const Configuration *config, const Node *node);
+int GetNodeIndex(const Configuration *config, std::string_view name);
 
 // Returns true if we are running in a multinode configuration.
 bool MultiNode(const Configuration *config);