From 9d0ecfa813820991523daa3bb481ddbd8f1e3ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Thu, 7 Nov 2024 21:50:31 +0000 Subject: make object types configurable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- config.py.sample | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.py.sample') diff --git a/config.py.sample b/config.py.sample index 05a0650..9e3ba44 100644 --- a/config.py.sample +++ b/config.py.sample @@ -6,6 +6,13 @@ # Defaults to "www.peeringdb.com", # but can eg. be set to "beta.peeringdb.com" for testing # +# object_types: array of object types to sync +# defaults to finding them through the machine-readable +# API documentaion, but if that is too slow (parsing a big YAML file), +# then you can just set it statically. +# This is also useful if you only want a subset of object types: +# Example: 'object_types': [ 'org', 'net', 'poc' ] +# # db_conn_str: libpq database connection string # https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING # -- cgit v1.2.1