Skip to content
Snippets Groups Projects

Feature/update router create workflow

Merged Karel van Klink requested to merge feature/update-router-create-workflow into develop
@@ -146,14 +146,18 @@ def verify_ipam_loopback(subscription: RouterProvisioning) -> State:
@inputstep("Prompt to reboot", assignee=Assignee.SYSTEM)
def prompt_reboot_router() -> FormGenerator:
def prompt_reboot_router(subscription: RouterProvisioning) -> FormGenerator:
"""Wait for confirmation from an operator that the router has been rebooted."""
class RebootPrompt(FormPage):
class Config:
title = "Please reboot before continuing"
info_label: Label = "Reboot the router, and continue the workflow once this has been completed." # type: ignore[assignment]
info_label_1: Label = (
f"Base config has been deployed. Please log in via the console using https://" # type: ignore[assignment]
f"{subscription.router.router_site.site_ts_address}."
)
info_label_2: Label = "Reboot the router, and once it is up again, press submit to continue the workflow." # type: ignore[assignment]0
yield RebootPrompt
@@ -166,11 +170,12 @@ def prompt_console_login() -> FormGenerator:
class ConsolePrompt(FormPage):
class Config:
title = "Please log in before continuing"
title = "Verify local authentication"
info_label: Label = (
"Verify that you are able to log in to the router via the console, and then continue the workflow." # type: ignore[assignment]
info_label_1: Label = (
"Verify that you are able to log in to the router via the console using the admin account." # type: ignore[assignment]
)
info_label_2: Label = "Once this is done, press submit to continue the workflow." # type: ignore[assignment]
yield ConsolePrompt
@@ -183,9 +188,10 @@ def prompt_insert_in_ims() -> FormGenerator:
class IMSPrompt(FormPage):
class Config:
title = "Please go to IMS before continuing"
title = "Update IMS mediation server"
info_label: Label = "Insert the router into IMS, and continue the workflow once this has been completed." # type: ignore[assignment]
info_label_1: Label = "Insert the router into IMS." # type: ignore[assignment]
info_label_2: Label = "Once this is done, press submit to continue the workflow." # type: ignore[assignment]
yield IMSPrompt
Loading