Skip to content

Data Files

A data file object is the representation in Peering Manager's database of a file belonging to a remote data source. Data files are synchronised automatically, and cannot be modified locally but can be deleted.

Fields

Source

The data source to which this file belongs.

Path

The path to the file, relative to its source's URL. For example, a file at /opt/data/routing/bgp/policies.yaml with a source URL of file:///opt/data/ would have its path set to routing/bgp/policies.yaml.

Last Updated

The date and time at which the file was most recently updated from its source. This attribute is updated only when the file's contents have been modified. Re-synchronising the data source will not update this timestamp if the upstream file's data has not changed.

Size

The file's size, in bytes.

Hash

A SHA256 hash of the file's data. This can be compared to a hash taken from the original file to determine whether any changes have been made.