[pve-devel] [pve-network 0/4] updates

Alexandre Derumier aderumier at odiso.com
Fri Jun 4 13:24:56 CEST 2021


This is a resend of previous sended patches
+ a new patch fixing subnets/ipam is_gateway value

Alexandre Derumier (4):
  sdn: get_local_vnets : add ipam && vlanaware values
  add vnets test + ipam fixes
  vnets: subroutines: return if !$vnetid
  subnets/ipam : fix is_gateway

 PVE/Network/SDN.pm                            |   4 +-
 PVE/Network/SDN/Ipams/NetboxPlugin.pm         |  14 +-
 PVE/Network/SDN/Ipams/PVEPlugin.pm            |  17 +-
 PVE/Network/SDN/Ipams/PhpIpamPlugin.pm        |  18 +-
 PVE/Network/SDN/SubnetPlugin.pm               |   2 +-
 PVE/Network/SDN/Subnets.pm                    |   4 +-
 PVE/Network/SDN/Vnets.pm                      |  23 +-
 test/ipams/netbox/expected.add_ip_notgateway  |   9 +
 test/ipams/phpipam/expected.add_ip_notgateway |  12 +
 test/run_test_ipams.pl                        |  18 +-
 test/run_test_subnets.pl                      |  24 +-
 test/run_test_vnets.pl                        | 355 ++++++++++++++++++
 test/vnets/ipv4/ipam.db                       |  17 +
 test/vnets/ipv4/ipam_config                   |   7 +
 test/vnets/ipv4/sdn_config                    |  26 ++
 test/vnets/ipv4noipam/ipam.db                 |  17 +
 test/vnets/ipv4noipam/ipam_config             |   7 +
 test/vnets/ipv4noipam/sdn_config              |  26 ++
 test/vnets/ipv6/ipam.db                       |  16 +
 test/vnets/ipv6/ipam_config                   |   7 +
 test/vnets/ipv6/sdn_config                    |  26 ++
 21 files changed, 614 insertions(+), 35 deletions(-)
 create mode 100644 test/ipams/netbox/expected.add_ip_notgateway
 create mode 100644 test/ipams/phpipam/expected.add_ip_notgateway
 create mode 100755 test/run_test_vnets.pl
 create mode 100644 test/vnets/ipv4/ipam.db
 create mode 100644 test/vnets/ipv4/ipam_config
 create mode 100644 test/vnets/ipv4/sdn_config
 create mode 100644 test/vnets/ipv4noipam/ipam.db
 create mode 100644 test/vnets/ipv4noipam/ipam_config
 create mode 100644 test/vnets/ipv4noipam/sdn_config
 create mode 100644 test/vnets/ipv6/ipam.db
 create mode 100644 test/vnets/ipv6/ipam_config
 create mode 100644 test/vnets/ipv6/sdn_config

-- 
2.20.1





More information about the pve-devel mailing list