Change format for extended BGP communities from (string,int,int) to
(string,string,string) in order to support communities like
(generic, 0x43000000, 0x1)
* Add a method to expire cache entries, based on the ttl value
* Add a housekeeping method that will periodically expire cache
entries and also maybe configured to force a GC/SCVG run.
Add support for various cache backends in anticipation of the
merge with master that has an additional redis backend.
The current memory based cache backend is refactored to implement
the new interface.
Merge changes including version 1.11.0 of upstream.
Remove extra lines in RoutesNoExport()
Conflicts:
README.md
* Keep `birdwatcher` in the configuration path
bird/bird.go
* Keep the default order of arguments to birdc in RoutesFiltered() and RoutesNoExport()
birdwatcher.go
* Keep `gorilla/handlers` for HTTP logging
* Change the callback type to update the cache for RunAndParse()
to be a pointer to the Parsed record, which allows updating the
Parsed record before it will be stored inside the cache
* Update all functions that use the meta cache to only create
their own records and also use GetCacheKey() to request the
meta cache from other functions.
* eliminates the need for Clear() -> removed
* Add two new birdc commands:
* PipeRoutesFiltered()
* PipeRoutesFilteredCount()
This allows to determine the key in the cache, where the result of
specific functions are stored, without requiring to know what command
was executed by that function.
Also updated all functions to use GetCacheKey() to store Parsed
records.
The query can be used to determine the exact number of filtered
(not exported) prefixes from a table towards a pipe protocol for
a certain neighbor (if multiple neighbors are connected to
the given table).
* seperate Parsed and Meta cache, so that they may be locked independently
* extend the RunAndParse() function to allow the caller to specify a
callback which will update the Meta cache
* change all methods interacting with the Meta cache to use the
callback for RunAndParse() to update the Meta cache