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

reformat strings in workflow steps

parent 807d5d73
No related branches found
No related tags found
1 merge request!45update documentation of the provisioning proxy
Pipeline #83672 passed
...@@ -128,11 +128,8 @@ def provision_device_dry(subscription: DeviceProvisioning, process_id: UUIDstr) ...@@ -128,11 +128,8 @@ def provision_device_dry(subscription: DeviceProvisioning, process_id: UUIDstr)
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": ( "label_text": (
"Dry run for the deployment of base config on a" f"Dry run for the deployment of base config on a new {subscription.device_type}. Deployment is done by the"
f"new {subscription.device_type}. Deployment is " f" provisioning proxy, please wait for the results to come back before continuing."
"done by the provisioning proxy, please "
"wait for the results to come back before "
"continuing."
), ),
} }
...@@ -144,11 +141,8 @@ def provision_device_real(subscription: DeviceProvisioning, process_id: UUIDstr) ...@@ -144,11 +141,8 @@ def provision_device_real(subscription: DeviceProvisioning, process_id: UUIDstr)
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": ( "label_text": (
"Deployment of base config for a new " f"Deployment of base config for a new {subscription.device_type}. Deployment is being taken care of by the"
f"{subscription.device_type}. Deployment is being " f" provisioning proxy, please wait for the results to come back before continuing."
"taken care of by the provisioning proxy, please "
"wait for the results to come back before "
"continuing."
), ),
} }
......
...@@ -108,7 +108,7 @@ def provision_ip_trunk_iface_dry(subscription: Iptrunk, process_id: UUIDstr) -> ...@@ -108,7 +108,7 @@ def provision_ip_trunk_iface_dry(subscription: Iptrunk, process_id: UUIDstr) ->
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "Provision of the Trunk interface [DRY]" "Please refresh to get the results of the playbook", "label_text": "[DRY RUN] Provisioning trunk interface, please refresh to get the results of the playbook.",
} }
...@@ -118,7 +118,7 @@ def provision_ip_trunk_iface_real(subscription: Iptrunk, process_id: UUIDstr) -> ...@@ -118,7 +118,7 @@ def provision_ip_trunk_iface_real(subscription: Iptrunk, process_id: UUIDstr) ->
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "Provision of the Trunk interface [REAL]" "Please refresh to get the results of the playbook", "label_text": "Provisioning trunk interface, please refresh to get the results of the playbook.",
} }
...@@ -128,7 +128,7 @@ def provision_ip_trunk_lldp_iface_dry(subscription: Iptrunk, process_id: UUIDstr ...@@ -128,7 +128,7 @@ def provision_ip_trunk_lldp_iface_dry(subscription: Iptrunk, process_id: UUIDstr
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "Provision of the LLDP interface [DRY]" "Please refresh to get the results of the playbook", "label_text": "[DRY RUN] Provisioning LLDP interface, please refresh to get the results of the playbook.",
} }
...@@ -138,7 +138,7 @@ def provision_ip_trunk_lldp_iface_real(subscription: Iptrunk, process_id: UUIDst ...@@ -138,7 +138,7 @@ def provision_ip_trunk_lldp_iface_real(subscription: Iptrunk, process_id: UUIDst
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "Provision of the LLDP interface [REAL]" "Please refresh to get the results of the playbook", "label_text": "Provisioning LLDP interface, please refresh to get the results of the playbook.",
} }
......
...@@ -34,13 +34,8 @@ def provision_ip_trunk_isis_iface_dry(subscription: Iptrunk, process_id: UUIDstr ...@@ -34,13 +34,8 @@ def provision_ip_trunk_isis_iface_dry(subscription: Iptrunk, process_id: UUIDstr
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": ( "label_text": "This is a dry run for the deployment of a new IP trunk ISIS interface. Deployment is being taken"
"This is a dry run for the deployment of a new IP " " care of by the provisioning proxy, please wait for the results to come back before continuing.",
"trunk ISIS interface. "
"Deployment is being taken care of by the "
"provisioning proxy, please wait for the results to "
"come back before continuing."
),
} }
...@@ -50,13 +45,8 @@ def provision_ip_trunk_isis_iface_real(subscription: Iptrunk, process_id: UUIDst ...@@ -50,13 +45,8 @@ def provision_ip_trunk_isis_iface_real(subscription: Iptrunk, process_id: UUIDst
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": ( "label_text": "This is a live deployment of a new IP trunk ISIS interface. Deployment is being taken care of by"
"This is a live deployment of a new IP trunk " " the provisioning proxy, please wait for the results to come back before continuing.",
"ISIS interface. "
"Deployment is being taken care of by the "
"provisioning proxy, please wait for the results to "
"come back before continuing."
),
} }
......
...@@ -49,7 +49,7 @@ def deprovision_ip_trunk_dry(subscription: Iptrunk, process_id: UUIDstr) -> Stat ...@@ -49,7 +49,7 @@ def deprovision_ip_trunk_dry(subscription: Iptrunk, process_id: UUIDstr) -> Stat
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "This is a dry run for the termination of an IP " "trunk. " "Press refresh to get the results", "label_text": "[DRY RUN] Terminating IP trunk, please refresh to get the results of the playbook.",
} }
...@@ -59,7 +59,7 @@ def deprovision_ip_trunk_real(subscription: Iptrunk, process_id: UUIDstr) -> Sta ...@@ -59,7 +59,7 @@ def deprovision_ip_trunk_real(subscription: Iptrunk, process_id: UUIDstr) -> Sta
return { return {
"subscription": subscription, "subscription": subscription,
"label_text": "This is a termination of an IP trunk. " "Press refresh to get the results", "label_text": "Terminating IP trunk, please refresh to get the results of the playbook.",
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment