netbox_rpki.services.routing_intent

Attributes

MATCH_SCORES

REPLACEMENT_REASON_TEXT

REPLACEMENT_REASON_PRIORITY

INTENT_RESULT_FROM_REPLACEMENT_REASON

PUBLISHED_RESULT_FROM_REPLACEMENT_REASON

REPLACEMENT_INTENT_RESULT_TYPES

Exceptions

RoutingIntentExecutionError

Inappropriate argument value (of correct type).

Classes

PublishedAuthorization

Functions

derive_roa_intents(profile, *[, trigger_mode, run_name])

reconcile_roa_intents(derivation_run, *[, ...])

run_routing_intent_pipeline(profile, *[, ...])

create_roa_change_plan(reconciliation_run, *[, name])

Module Contents

exception netbox_rpki.services.routing_intent.RoutingIntentExecutionError[source]

Bases: ValueError

Inheritance diagram of netbox_rpki.services.routing_intent.RoutingIntentExecutionError

Inappropriate argument value (of correct type).

class netbox_rpki.services.routing_intent.PublishedAuthorization[source]
source_key: str[source]
source_name: str[source]
roa: netbox_rpki.models.Roa | None[source]
roa_prefix: netbox_rpki.models.RoaPrefix | None[source]
imported_authorization: netbox_rpki.models.ImportedRoaAuthorization | None[source]
network: netaddr.IPNetwork[source]
prefix_cidr_text: str[source]
origin_asn_value: int | None[source]
max_length: int | None[source]
stale: bool[source]
netbox_rpki.services.routing_intent.MATCH_SCORES[source]
netbox_rpki.services.routing_intent.REPLACEMENT_REASON_TEXT[source]
netbox_rpki.services.routing_intent.REPLACEMENT_REASON_PRIORITY[source]
netbox_rpki.services.routing_intent.INTENT_RESULT_FROM_REPLACEMENT_REASON[source]
netbox_rpki.services.routing_intent.PUBLISHED_RESULT_FROM_REPLACEMENT_REASON[source]
netbox_rpki.services.routing_intent.REPLACEMENT_INTENT_RESULT_TYPES[source]
netbox_rpki.services.routing_intent.derive_roa_intents(profile, *, trigger_mode=rpki_models.IntentRunTriggerMode.MANUAL, run_name=None)[source]
Parameters:
Return type:

netbox_rpki.models.IntentDerivationRun

netbox_rpki.services.routing_intent.reconcile_roa_intents(derivation_run, *, comparison_scope=rpki_models.ReconciliationComparisonScope.LOCAL_ROA_RECORDS, provider_snapshot=None, run_name=None)[source]
Parameters:
Return type:

netbox_rpki.models.ROAReconciliationRun

netbox_rpki.services.routing_intent.run_routing_intent_pipeline(profile, *, trigger_mode=rpki_models.IntentRunTriggerMode.MANUAL, comparison_scope=rpki_models.ReconciliationComparisonScope.LOCAL_ROA_RECORDS, provider_snapshot=None)[source]
Parameters:
Return type:

tuple[netbox_rpki.models.IntentDerivationRun, netbox_rpki.models.ROAReconciliationRun]

netbox_rpki.services.routing_intent.create_roa_change_plan(reconciliation_run, *, name=None)[source]
Parameters:
Return type:

netbox_rpki.models.ROAChangePlan