Synchronised Data
Some Peering Manager models support automatic synchronisation of certain attributes from remote data sources, such as a git repository . Data from the authoritative remote source is synchronised locally in Peering Manager as data files.
Permissions
A user must be assigned the
core | data source | Can synchronise data source
permission in order to
synchronise local files from a remote data source.
GitHub Authentication
For private git repositories hosted on GitHub, personal access tokens can be used to perform authentication. A personal access token should be set into the password field when creating/editing a data source.
The following features support the use of synchronised data:
Device configuration supports retrieving template via a data source, but it also supports committing and pushing a rendered configuration to a data source.
A convenient CLI command called datasource
is provided to synchronise data
sources regularly. It takes a --all
to synchronise all known data sources or
the individual names of each data source to synchronise, space delimited.