mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-03 18:55:33 +00:00
87fa7a7a9c
Wires the 12 direct-PveHttpClient Network/SDN cmdlets (Get/New/Set/Remove-PveNetwork, Invoke-PveNetworkApply, Get/New-PveSdnZone, Get/New-PveSdnVnet, Get/New-PveSdnSubnet, Remove-PveSdnSubnet) to the existing NetworkService methods, which previously had zero callers for the New/Set/Get paths. NetworkService.ParseTask now stamps Status = "running" on the UPID-string branch, matching SnapshotService's ParseTask from PR #196 (the pattern PR). Offline tests for every wired service method are added to NetworkServiceTests.cs. Fold-in from issue #126's own comment: ValidatePattern identifier validation, already present on Remove-PveSdnZone/Vnet and Remove-PveStorage from PR #161, is added to the Zone/Vnet identifier parameters on the New-PveSdnZone/Vnet/Subnet and Remove-PveSdnSubnet cmdlets converted here. Co-authored-by: goodolclint-claude[bot] <323206664+goodolclint-claude[bot]@users.noreply.github.com>