]> git.proxmox.com Git - pve-network.git/commit - PVE/Network/SDN/Vnets.pm
add vnets test + ipam fixes
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 4 Jun 2021 11:24:58 +0000 (13:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 16:29:15 +0000 (18:29 +0200)
commit3c0fc96d9c21bdb0a28ace55089068e8be597ea0
tree9403f2e209eb407435b315ea32d4023c52f257bd
parent3d8799db812d5a2d81d6bdd49dd8c624d19bc6cf
add vnets test + ipam fixes

- add vnets tests with multiple subnets
- fix pve ipam ipv6 with next_free_ip (ipv6 don't have network && broadcast address)
- fix vnet next_free_ip with no ipam
13 files changed:
PVE/Network/SDN/Ipams/PVEPlugin.pm
PVE/Network/SDN/Vnets.pm
test/run_test_subnets.pl
test/run_test_vnets.pl [new file with mode: 0755]
test/vnets/ipv4/ipam.db [new file with mode: 0644]
test/vnets/ipv4/ipam_config [new file with mode: 0644]
test/vnets/ipv4/sdn_config [new file with mode: 0644]
test/vnets/ipv4noipam/ipam.db [new file with mode: 0644]
test/vnets/ipv4noipam/ipam_config [new file with mode: 0644]
test/vnets/ipv4noipam/sdn_config [new file with mode: 0644]
test/vnets/ipv6/ipam.db [new file with mode: 0644]
test/vnets/ipv6/ipam_config [new file with mode: 0644]
test/vnets/ipv6/sdn_config [new file with mode: 0644]