code: func (nDB *NetworkDB) GetTableByNetwork(tname, nid string) map[string]*TableElem {
  	entries := make(map[string]*TableElem)
  	nDB.indexes[byTable].WalkPrefix(fmt.Sprintf("/%s/%s", tname, nid), func(k string, v interface{}) bool {
  		entry := v.(*entry)
  		if entry.deleting {
  			return false
  		}
  		key := k[strings.LastIndex(k, "/")+1:]
  		entries[key] = &TableElem{Value: entry.value, owner: entry.node}
  		return false
  	})
  	return entries
  }
docs: // GetTableByNetwork walks the networkdb by the give table and network id and
  // returns a map of keys and values