Am 20/11/2023 um 17:28 schrieb Stefan Hanreich:
> The initial URL structure was less than optimal due to Ipam as well as
> Ipams being endpoints in the API, which are too similar and might be
> confusing to users.
> 
> Move the listing of PVE IPAM to /ipams/pve/status
> Move the create / update / delete endpoints to /vnets/{vnetid}/ips
> 
> Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com>
> ---
>  src/PVE/API2/Network/SDN.pm                  |  6 --
>  src/PVE/API2/Network/SDN/Ipams.pm            | 83 +++++++++++++++++
>  src/PVE/API2/Network/SDN/{Ipam.pm => Ips.pm} | 97 ++------------------
>  src/PVE/API2/Network/SDN/Makefile            |  2 +-
>  src/PVE/API2/Network/SDN/Vnets.pm            |  6 ++
>  5 files changed, 100 insertions(+), 94 deletions(-)
>  rename src/PVE/API2/Network/SDN/{Ipam.pm => Ips.pm} (58%)
> 
>

applied, this one, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to