[pve-devel] applied: [PATCH pve-network 1/2] api: refactor URL structure for Ipam
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 20 17:43:06 CET 2023
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.hanreich at 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!
More information about the pve-devel
mailing list