[PR #268] [MERGED] Add support for the SDN APIs #358

Closed
opened 2026-02-28 00:41:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/268
Author: @liorokman
Created: 6/10/2023
Status: Merged
Merged: 6/16/2023
Merged by: @mleone87

Base: masterHead: add-sdn-api-support


📝 Commits (8)

  • efc4ce2 Zones API is supported. Start of the DNS API.
  • 1008177 Added support for vnets and subnets
  • 27b12a7 Renamed the zone source file for consistency
  • 42cfca8 commenting the delete field
  • 0769926 removed debug comment
  • f6b735d Merge branch 'Telmate:master' into add-sdn-api-support
  • 5165562 No need for an ApiToken field
  • 4e89538 making the linter happy

📊 Changes

7 files changed (+789 additions, -0 deletions)

View changed files

📝 main.go (+136 -0)
📝 proxmox/client.go (+167 -0)
proxmox/config_sdn_dns.go (+91 -0)
proxmox/config_sdn_subnet.go (+123 -0)
proxmox/config_sdn_vnet.go (+100 -0)
proxmox/config_sdn_zone.go (+163 -0)
📝 proxmox/util.go (+9 -0)

📄 Description

Add support in the library for the PVE SDN family of APIs.

Proxmox SDN documentation is here: https://pve.proxmox.com/pve-docs/chapter-pvesdn.html
To be useful, the SDN functionality must be enabled in Proxmox as described in the documentation.

This PR supports managing Zones, VNets, Subnets, and DNS configurations.

No support added by this PR for IPAM (which isn't completely working yet on the Proxmox side), and Controllers configuration.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/268 **Author:** [@liorokman](https://github.com/liorokman) **Created:** 6/10/2023 **Status:** ✅ Merged **Merged:** 6/16/2023 **Merged by:** [@mleone87](https://github.com/mleone87) **Base:** `master` ← **Head:** `add-sdn-api-support` --- ### 📝 Commits (8) - [`efc4ce2`](https://github.com/Telmate/proxmox-api-go/commit/efc4ce29c1b98e56ddf042d4f1382b87e2f800f3) Zones API is supported. Start of the DNS API. - [`1008177`](https://github.com/Telmate/proxmox-api-go/commit/10081777d6cc5d5142d3bdd7765990da327235ce) Added support for vnets and subnets - [`27b12a7`](https://github.com/Telmate/proxmox-api-go/commit/27b12a7c996e73e0721bbc88179383d5a4a7e543) Renamed the zone source file for consistency - [`42cfca8`](https://github.com/Telmate/proxmox-api-go/commit/42cfca805f955de28ff4569fe0fcdbc28716dc73) commenting the delete field - [`0769926`](https://github.com/Telmate/proxmox-api-go/commit/07699263d5528feac5579e988f5c4c504e315227) removed debug comment - [`f6b735d`](https://github.com/Telmate/proxmox-api-go/commit/f6b735dcf2f772b707417af4c2ecba7d92918332) Merge branch 'Telmate:master' into add-sdn-api-support - [`5165562`](https://github.com/Telmate/proxmox-api-go/commit/516556234691810e37e67664dcadc6a87c336b41) No need for an ApiToken field - [`4e89538`](https://github.com/Telmate/proxmox-api-go/commit/4e89538a6b826b820679c80a6828488eb4dfdd3d) making the linter happy ### 📊 Changes **7 files changed** (+789 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+136 -0) 📝 `proxmox/client.go` (+167 -0) ➕ `proxmox/config_sdn_dns.go` (+91 -0) ➕ `proxmox/config_sdn_subnet.go` (+123 -0) ➕ `proxmox/config_sdn_vnet.go` (+100 -0) ➕ `proxmox/config_sdn_zone.go` (+163 -0) 📝 `proxmox/util.go` (+9 -0) </details> ### 📄 Description Add support in the library for the PVE SDN family of APIs. Proxmox SDN documentation is here: https://pve.proxmox.com/pve-docs/chapter-pvesdn.html To be useful, the SDN functionality must be enabled in Proxmox as described in the documentation. This PR supports managing Zones, VNets, Subnets, and DNS configurations. No support added by this PR for IPAM (which isn't completely working yet on the Proxmox side), and Controllers configuration. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:41:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#358
No description provided.