Skip to content
Snippets Groups Projects
Verified Commit 45657a7c authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Allow running the prefix validation workflow on out-of-sync subscriptions

parent c1b49206
No related branches found
No related tags found
1 merge request!410Feature/prefix list validation
Pipeline #93603 passed
"""Initialisation class that imports all workflows into GSO."""
from orchestrator.services.subscriptions import WF_USABLE_MAP
from orchestrator.services.subscriptions import WF_USABLE_MAP, WF_USABLE_WHILE_OUT_OF_SYNC
from orchestrator.types import SubscriptionLifecycle
from orchestrator.workflows import LazyWorkflowInstance
......@@ -28,6 +28,8 @@ WF_USABLE_MAP.update({
"validate_iptrunk": [SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE],
})
WF_USABLE_WHILE_OUT_OF_SYNC.extend(["validate_geant_ip_prefix_list"])
# IP trunk workflows
LazyWorkflowInstance("gso.workflows.iptrunk.activate_iptrunk", "activate_iptrunk")
LazyWorkflowInstance("gso.workflows.iptrunk.create_iptrunk", "create_iptrunk")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment