Promote p to pe
Promote a P router to a PE router.
initial_input_form_generator(subscription_id)
Promote P router to PE router.
Source code in gso/workflows/router/promote_p_to_pe.py
run_pre_checks(subscription)
Run pre-deployment checks.
Source code in gso/workflows/router/promote_p_to_pe.py
deploy_pe_base_config_dry(subscription, tt_number, process_id)
Perform a dry run of adding the base config to the router.
Source code in gso/workflows/router/promote_p_to_pe.py
deploy_pe_base_config_real(subscription, tt_number, process_id)
Perform a real run of adding the base config to the router.
Source code in gso/workflows/router/promote_p_to_pe.py
prompt_insert_in_earl(subscription)
Wait for confirmation from an operator that the router has been inserted in EARL.
Source code in gso/workflows/router/promote_p_to_pe.py
remove_p_from_pe_dry(subscription, tt_number, process_id)
Perform a dry run of removing the P router from all the PE routers.
Source code in gso/workflows/router/promote_p_to_pe.py
remove_p_from_pe_real(subscription, tt_number, process_id)
Remove the P router from all the PE routers.
Source code in gso/workflows/router/promote_p_to_pe.py
deploy_routing_instances_dry(subscription, tt_number, process_id)
Perform a dry run of deploying routing instances.
Source code in gso/workflows/router/promote_p_to_pe.py
deploy_routing_instances_real(subscription, tt_number, process_id)
Perform a real run of deploying routing instances.
Source code in gso/workflows/router/promote_p_to_pe.py
run_post_checks(subscription)
Run post-deployment checks.
Source code in gso/workflows/router/promote_p_to_pe.py
update_subscription_model(subscription)
Update the subscription model to set router role to PE.
Source code in gso/workflows/router/promote_p_to_pe.py
delete_default_routes_dry(subscription, tt_number, process_id)
Perform a dry run of deleting the default routes.
Source code in gso/workflows/router/promote_p_to_pe.py
delete_default_routes_real(subscription, tt_number, process_id)
Perform a real run of deleting the default routes.
Source code in gso/workflows/router/promote_p_to_pe.py
add_pe_static_routes_dry(subscription, tt_number, process_id)
Perform a dry run of adding the PE static routes.
Source code in gso/workflows/router/promote_p_to_pe.py
add_pe_static_routes_real(subscription, tt_number, process_id)
Perform a real run of adding the PE static routes.
Source code in gso/workflows/router/promote_p_to_pe.py
promote_p_to_pe()
Promote a P router to a PE router.