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
Branches
Tags
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)
return {
"subscription": subscription,
"label_text": (
"Dry run for the deployment of base config on a"
f"new {subscription.device_type}. Deployment is "
"done by the provisioning proxy, please "
"wait for the results to come back before "
"continuing."
f"Dry run for the deployment of base config on a new {subscription.device_type}. Deployment is done by the"
f" 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)
return {
"subscription": subscription,
"label_text": (
"Deployment of base config for a new "
f"{subscription.device_type}. Deployment is being "
"taken care of by the provisioning proxy, please "
"wait for the results to come back before "
"continuing."
f"Deployment of base config for a new {subscription.device_type}. Deployment is being taken care of by the"
f" 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) ->
return {
"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) ->
return {
"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
return {
"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
return {
"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
return {
"subscription": subscription,
"label_text": (
"This is a dry run for the deployment of a new IP "
"trunk ISIS interface. "
"Deployment is being taken care of by the "
"provisioning proxy, please wait for the results to "
"come back before continuing."
),
"label_text": "This is a dry run for the deployment of a new IP 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
return {
"subscription": subscription,
"label_text": (
"This is a live deployment of a new IP trunk "
"ISIS interface. "
"Deployment is being taken care of by the "
"provisioning proxy, please wait for the results to "
"come back before continuing."
),
"label_text": "This is a live deployment of a new IP trunk 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
return {
"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
return {
"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