Support globs in maps
We need to remap sub folders. This is very annoying to do with one map
per folder. Recognize * and match it accordingly.
Change-Id: Ieae86dcec000206eadb913c29a8ee141e9e93f0f
diff --git a/aos/configuration.fbs b/aos/configuration.fbs
index c66da06..31d89e7 100644
--- a/aos/configuration.fbs
+++ b/aos/configuration.fbs
@@ -83,7 +83,9 @@
// Table to support renaming channel names.
table Map {
// Channel to match with. If the name in here matches, the name is replaced
- // with the name in rename.
+ // with the name in rename. If the name ends in *, it will be treated like a
+ // wildcard. Anything with the same prefix will match, and anything matching
+ // the * will get preserved on rename. This supports moving subfolders.
// Node specific matches are also supported.
match:Channel;
// The channel to merge in.