[pdm-devel] [PATCH proxmox-yew-comp v2 1/1] sdn: add descriptions for sdn tasks

Dominik Csapak d.csapak at proxmox.com
Tue Aug 26 15:22:45 CEST 2025


this probably fits better in pdm directly? we have the most pve task 
descriptions in ui/src/tasks.rs

proxmox-yew-comp tries to be product agnostic and i guess this is only
pve specific? (e.g. no evpn zones on pbs ;) )

On 8/22/25 3:50 PM, Stefan Hanreich wrote:
> Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
> ---
>   src/utils.rs | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/src/utils.rs b/src/utils.rs
> index 1a4ad40..3d5def1 100644
> --- a/src/utils.rs
> +++ b/src/utils.rs
> @@ -225,6 +225,9 @@ pub fn init_task_descr_table_base() {
>       register_task_description("srvstop", (tr!("Service"), tr!("Stop")));
>       register_task_description("srvrestart", (tr!("Service"), tr!("Restart")));
>       register_task_description("srvreload", (tr!("Service"), tr!("Reload")));
> +
> +    register_task_description("create_zone", tr!("Create EVPN VRF (Zone)"));
> +    register_task_description("create_vnet", tr!("Create EVPN VNet"));
>   }
>   
>   /// Uses information from the given [`UPID`] to render the task description with [`format_task_description`]





More information about the pdm-devel mailing list