netbox_rpki.services.irr_sync
Attributes
Exceptions
Common base class for all non-exit exceptions. |
Classes
Functions
|
|
|
|
|
Module Contents
- netbox_rpki.services.irr_sync.IRR_FAMILY_ORDER = ('route', 'route6', 'route_set', 'route_set_member', 'as_set', 'as_set_member', 'aut_num', 'mntner')[source]
- exception netbox_rpki.services.irr_sync.IrrSyncError[source]
Bases:
Exception
Common base class for all non-exit exceptions.
- netbox_rpki.services.irr_sync.sync_irr_source(irr_source, *, fetch_mode=rpki_models.IrrFetchMode.LIVE_QUERY, snapshot_file=None)[source]
- Parameters:
irr_source (netbox_rpki.models.IrrSource)
fetch_mode (str)
snapshot_file (str | None)
- netbox_rpki.services.irr_sync.build_irr_inventory_batch(irr_source, *, fetch_mode, snapshot_file=None)[source]
- Parameters:
irr_source (netbox_rpki.models.IrrSource)
fetch_mode (str)
snapshot_file (str | None)
- Return type:
dict
- netbox_rpki.services.irr_sync.persist_irr_snapshot(snapshot, batch)[source]
- Parameters:
snapshot (netbox_rpki.models.IrrSnapshot)
batch (dict)