mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #365] [MERGED] Overhaul: Qemu Network interfaces. #421
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/365
Author: @Tinyblargon
Created: 9/16/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @Tinyblargon
Base:
master← Head:#341📝 Commits (10+)
c8e6d6arefactor: remove typecasts674867ffeat: vlan type9a3802bfeat: MTU type74f3db4add test coverage to gitignore4ee1619refactor: moveQemuNetworkInterfaceIDto seperate filebbd2171feat: introduceQemuNetworkInterfaces103f4defeat: qemu networkmapToAPIec73853feat: qemu networkmapToSDK55f5829feat: qemu networkValidatec246f25refactor: replace magic number with constant📊 Changes
18 files changed (+1733 additions, -303 deletions)
View changed files
📝
.gitignore(+3 -0)📝
proxmox/config_qemu.go(+56 -208)📝
proxmox/config_qemu_cloudinit.go(+11 -11)📝
proxmox/config_qemu_disk.go(+25 -25)📝
proxmox/config_qemu_guestagent.go(+3 -3)➕
proxmox/config_qemu_network.go(+534 -0)➕
proxmox/config_qemu_network_test.go(+345 -0)📝
proxmox/config_qemu_test.go(+528 -19)📝
proxmox/config_qemu_tpm.go(+1 -1)➕
proxmox/type_mtu.go(+14 -0)➕
proxmox/type_mtu_test.go(+33 -0)➕
proxmox/type_vlan(s).go(+54 -0)➕
proxmox/type_vlan(s)_test.go(+75 -0)📝
proxmox/util.go(+2 -2)📝
proxmox/util_test.go(+2 -2)📝
test/api/CloudInit/shared_test.go(+16 -16)📝
test/api/Qemu/shared_test.go(+14 -16)➕
test/data/test_data_mtu/type_mtu.go(+17 -0)📄 Description
Closes #341
Re-implements the Qemu Network interfaces.
100% code coverage.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.