Terminate ddos mitigation
A termination workflow for DDoS Single Upstream Setup Mitigation subscriptions.
input_form_generator(subscription_id)
Gather input from the operator.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
restore_exit_export_policy_real(subscription, process_id, partner_name, tt_number)
Restores the original export policy on the DDoS exit port.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
update_exit_export_policy_dry(subscription, process_id, partner_name, tt_number)
Perform a dry run of updating the export policy on a DDoS Single Upstream Setup Mitigation exit port.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
update_exit_export_policy_real(subscription, process_id, partner_name, tt_number)
Updates the export policy on a DDoS Single Upstream Setup Mitigation exit port.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
mark_ias_import_policy_dry(subscription, process_id, tt_number, partner_name, ias_subscription_endpoints, peer_map)
Perform a dry run of adding the DDoS victim policy to all IAS subscriptions of the partner.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
mark_ias_import_policy_real(subscription, process_id, tt_number, partner_name, ias_subscription_endpoints, peer_map)
Adds the DDoS victim policy to all IAS subscriptions of the partner.
Source code in gso/workflows/ddos_mitigation/terminate_ddos_mitigation.py
terminate_ddos_mitigation()
A Termination workflow for a DDoS Single Upstream Setup Mitigation.
This workflow: 1. Removes mitigation prefixes from NREN IAS Access Ports 2. Conditionally restores the exit upstream port export policy (only if no other active mitigations are using the same exit port)