Signed-off-by: Alexandre Derumier
---
PVE/QemuMigrate.pm | 420 +++--
1 file changed, 214 insertions(+), 206 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index 111eeb0..7dd3455 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
igration
job.
- source vm is shutdown
- target with is restart
Changelog v4:
- bugfix: no not override cpu with empty config if targetcpu is not defined
- small cleanups with params
Changelov V5:
- Fix fiona comments
- use "restart" param instead "target-reboot"
- split ta
This patch add support for migration without memory transfert.
After the optionnal storage migration, we cleanly shutdown source vm
and restart the target vm. (like a virtual restart between source/dest)
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 19 +++
PVE/CLI
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 7 +++
PVE/CLI/qm.pm | 7 +++
PVE/QemuMigrate.pm | 1 +
3 files changed, 15 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index c0ae516..291eb2b 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
Do it on vnet update instead throwing a warning at config generation.
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
b/src/PVE/Network/SDN/Zones
don't try to add|del ip from ipam here
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 75 +
1 file changed, 18 insertions(+), 57 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/PVE/Network/SDN/Dhcp.pm
index e4c4078..1c
simple: zone1
ipam pve
dhcp dnsmasq
simple: zone2
ipam pve
dhcp dnsmasq
This generate 1 dhcp by zone/vrf.
Don't use dhcp.cfg anymore
It's reuse node filtering from zone.
same subnets in 2 differents zones can't use
same dhcp server
Signed-of
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 12 ++--
src/PVE/Network/SDN/Ipams/Plugin.pm| 7 +++
src/PVE/Network/SDN/Subnets.pm | 22 +++---
src/PVE/Network/SDN/Vnets.pm | 4 ++--
4 files changed, 34
dd add it to local dhcp
reversation file
also reuse currently vnet add_next_free_ip, as it's already plugged with dns
too.
Alexandre Derumier (3):
define dhcpplugin in zone
dhcp : add|del_ip_mapping: only add|del dhcp reservervation
vnet|subnet: add_next_free_ip : implement dhc
don't try to add|del ip from ipam here
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 75 +
1 file changed, 18 insertions(+), 57 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/PVE/Network/SDN/Dhcp.pm
index e4c4078..1c
ed if defined.
I have only implemented calls in qemu-server for now
pve-network:
Alexandre Derumier (9):
define dhcpplugin in zone
dhcp : add|del_ip_mapping: only add|del dhcp reservervation
vnet|subnet: add_next_free_ip : implement dhcprange ipam search
ipam : add macs.db for fast mac l
Signed-off-by: Alexandre Derumier
---
vm-network-scripts/pve-bridge | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vm-network-scripts/pve-bridge b/vm-network-scripts/pve-bridge
index c6b3ea8..24efaad 100755
--- a/vm-network-scripts/pve-bridge
+++ b/vm-network-scripts/pve
use to cache mac-ip list association.
can be use by external ipam, firewall,etc for fast lookup
Signed-off-by: Alexandre Derumier
---
src/PVE/Cluster.pm | 1 +
src/pmxcfs/status.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm
index cfa2583
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 32 --
1 file changed, 32 deletions(-)
diff --git a/src/PVE/Network/SDN/Ipams/PVEPlugin.pm
b/src/PVE/Network/SDN/Ipams/PVEPlugin.pm
index 0bc2b65..776eff8 100644
--- a/src/PVE/Network/SDN
Signed-off-by: Alexandre Derumier
---
vm-network-scripts/pve-bridgedown | 19 ---
1 file changed, 19 deletions(-)
diff --git a/vm-network-scripts/pve-bridgedown
b/vm-network-scripts/pve-bridgedown
index a220660..d18d88f 100755
--- a/vm-network-scripts/pve-bridgedown
+++ b/vm
First look ip mac.db cache
if not, lookup in ipam , and cache result in mac.db
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm| 8 ++
src/PVE/Network/SDN/Ipams.pm | 19 +++--
src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 25
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 36
src/PVE/Network/SDN/Ipams/PVEPlugin.pm| 12 +++
src/PVE/Network/SDN/Ipams/Plugin.pm | 7
src/PVE/Network/SDN/Subnets.pm| 21 +---
src/PVE/Network/SDN
simple: zone1
ipam pve
dhcp dnsmasq
simple: zone2
ipam pve
dhcp dnsmasq
This generate 1 dhcp by zone/vrf.
Don't use dhcp.cfg anymore
It's reuse node filtering from zone.
same subnets in 2 differents zones can't use
same dhcp server
Signed-of
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 19 +++
1 file changed, 19 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 511f644..e4cc80d 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2339,6 +2339,9 @@ sub destroy_vm
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 6 ++
PVE/QemuServer.pm | 15 +++
2 files changed, 21 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 38bdaab..a0f8243 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -991,6 +991,8
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams.pm | 61 +-
src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 4 +-
src/PVE/Network/SDN/Subnets.pm | 8 +++-
src/test/run_test_subnets.pl | 6 +++
4 files changed, 75 insertions(+), 4
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Subnets.pm | 4 +---
src/PVE/Network/SDN/Vnets.pm | 27 ---
2 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/src/PVE/Network/SDN/Subnets.pm b/src/PVE/Network/SDN/Subnets.pm
index b2125a1..905ec77
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 38 +++
vm-network-scripts/pve-bridge | 2 +-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 31e3919..5c109b1 100644
--- a/PVE
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 64895ef..21a6ddd 100644
--- a/src/PVE/Network/SDN
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Subnets.pm | 4 ++--
src/PVE/Network/SDN/Vnets.pm | 12 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/PVE/Network/SDN/Subnets.pm b/src/PVE/Network/SDN/Subnets.pm
index 905ec77..2bd1ec8 100644
--- a
Signed-off-by: Stefan Hanreich
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 40
1 file changed, 40 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index c465fb6..beea2cb 100644
--- a/PVE/QemuServer.pm
+++ b/PVE
Signed-off-by: Alexandre Derumier
---
src/PVE/LXC.pm| 17 +
src/PVE/LXC/Config.pm | 12
2 files changed, 29 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 7ec816b..7ccef08 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -961,6 +961,12
instead.
So, I really think that we should disable dynamic leases in dnsmasq (not sure
exactly how)
pve-network:
Alexandre Derumier (3):
fix subnets && netbox ipam tests
add add_dhcp_mapping
dhcp: delete remove_mapping
src/PVE/API2/Network/SDN/Ipam.pm | 1 -
Signed-off-by: Alexandre Derumier
---
src/test/ipams/netbox/expected.add_ip| 2 +-
src/test/ipams/netbox/expected.add_ip_notgateway | 2 +-
src/test/ipams/netbox/expected.add_next_freeip | 2 +-
src/test/ipams/netbox/expected.update_ip | 2 +-
src/test/run_test_subnets.pl
also delete ips in case of failure
Signed-off-by: Alexandre Derumier
---
src/PVE/API2/LXC.pm | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index ccacbd2..f18d23b 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
Signed-off-by: Alexandre Derumier
---
src/PVE/LXC/Config.pm | 15 +++
1 file changed, 15 insertions(+)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index c884313..f9e5303 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -1471,6 +1471,12 @@ sub
Co-Authored-By: Stefan Hanreich
Signed-off-by: Stefan Hanreich
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 17 +
1 file changed, 17 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 7248346..4c52026 100644
--- a/PVE/QemuServer.pm
+++ b/PVE
also delete ips on create failure
Signed-off-by: Alexandre Derumier
---
src/PVE/API2/LXC.pm | 4
src/PVE/LXC.pm | 13 +
2 files changed, 17 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 28d14de..ccacbd2 100644
--- a/src/PVE/API2/LXC.pm
+++ b
The cleanup of old mac is now done when we add a new mac/ip
Signed-off-by: Alexandre Derumier
---
src/PVE/API2/Network/SDN/Ipam.pm| 1 -
src/PVE/Network/SDN/Dhcp.pm | 15 -
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 34 -
src/PVE/Network/SDN/Dhcp
We want to notify guest of the change, so it can resubmit dhcp request,
or send gratuitous arp,...
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 13 +
1 file changed, 13 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 4c52026..1f785a1 100644
--- a
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 9 ---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 40 -
src/PVE/Network/SDN/Dhcp/Plugin.pm | 2 +-
src/PVE/Network/SDN/Vnets.pm| 15 +++
4 files changed, 56 insertions(+), 10
Signed-off-by: Alexandre Derumier
---
src/lxc-pve-prestart-hook | 15 +++
1 file changed, 15 insertions(+)
diff --git a/src/lxc-pve-prestart-hook b/src/lxc-pve-prestart-hook
index 936d0bf..fc577e4 100755
--- a/src/lxc-pve-prestart-hook
+++ b/src/lxc-pve-prestart-hook
@@ -21,6 +21,12
Signed-off-by: Alexandre Derumier
---
src/PVE/LXC.pm | 16
1 file changed, 16 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 7ccef08..6f1c6b9 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -46,6 +46,7 @@ use PVE::LXC::Tools;
my $have_sdn;
eval
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index beea2cb..d157f9e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5336,6 +5336,7 @@ sub vmconfig_update_net {
if ($have_sdn
Signed-off-by: Stefan Hanreich
Signed-off-by: Alexandre Derumier
---
vm-network-scripts/pve-bridge | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vm-network-scripts/pve-bridge b/vm-network-scripts/pve-bridge
index d37ce33..e8f8798 100755
--- a/vm-network-scripts/pve-bridge
+++ b/vm
Signed-off-by: Stefan Hanreich
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 6 ++
PVE/QemuServer.pm | 15 +++
2 files changed, 21 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 38bdaab..a0f8243 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 46172c5..2db7f4f 100644
--- a/src/PVE/Network/SDN/Dhcp/Dnsmas
---
src/rfc2131.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/rfc2131.c b/src/rfc2131.c
index 17e97b5..2a4ce76 100644
--- a/src/rfc2131.c
+++ b/src/rfc2131.c
@@ -1095,7 +1095,7 @@ size_t dhcp_reply(struct dhcp_context *context, char
*iface_name, int int
:ed:c8:36
Nov 15 22:46:02 formationkvm3 dnsmasq-dhcp[846333]: DHCPACK(vnetpve)
192.168.2.10 12:45:a3:ed:c8:36 testovn1
Alexandre Derumier (1):
purge old ip-mac lease on dhcpreply
src/rfc2131.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
--
2.39.2
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 2db7f4f..f4225d0 100644
--- a/src/PVE/Network/SDN/Dhcp
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 46172c5..2db7f4f 100644
--- a/src/PVE/Network/SDN/Dhcp/Dnsmas
g.dtd";>
Alexandre Derumier (2):
dnsmasq: configure static range for each subnet
dnsmasq: enable dbus && purge old ip lease on reservation
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 26 ++---
- add vmid in in ipam.db
- remove ip value in ipam.db (is already the key)
Signed-off-by: Alexandre Derumier
---
src/test/run_test_subnets.pl | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/test/run_test_subnets.pl b/src/test/run_test_subnets.pl
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 26 ++
1 file changed, 26 insertions(+)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 0dd6436..7b54532 100644
--- a/src/PVE/Network/SDN/Dhcp
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 763ad09..652b146 100644
--- a/src/PVE/Network/SDN/Dhcp/Dnsmas
rks fine for me, but I can't get router avertisement
working. I don't see any RA packet sent by dnsmasq.
(works fine with radvd daemon for example).
Alexandre Derumier (7):
fix subnet tests
api2: ipam : remove add|del_mapping in mac/ip management
dhcp : remove del_ip_mapping
The cleanup is done in add_ip_mapping
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 34 -
src/PVE/Network/SDN/Dhcp/Plugin.pm | 5 -
2 files changed, 39 deletions(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE
only register/del ip in ipam here.
The dhcp mapping is done a vm start.
Signed-off-by: Alexandre Derumier
---
src/PVE/API2/Network/SDN/Ipam.pm | 7 ---
1 file changed, 7 deletions(-)
diff --git a/src/PVE/API2/Network/SDN/Ipam.pm b/src/PVE/API2/Network/SDN/Ipam.pm
index e71ca7d..722baa4
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm
index 652b146..b469272 100644
--- a/src/PVE/Network/SDN/Dhcp
ether file should have 1 line by mac address with ip4+ip6
ip6 address should be in braced [ip6]
for now: don't update ip6 through bus as it seem to be incorrect
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 64 +
1 file change
Hi,
This patch is fixing a regression in ifupdown2 with evpn vxlan,
where on reload, ifupdown2 is now trying to delete mac entries from bridges fdb,
then it's breaking vm access on reload.
Could be great to have it for pve 8.1, because it's really impact production
Alexandre Derumier
Signed-off-by: Alexandre Derumier
---
debian/patches/series | 1 +
...-compare-between-remote-ips-and-old_.patch | 33 +++
2 files changed, 34 insertions(+)
create mode 100644
debian/patches/upstream/0001-addons-vxlan-fix-compare-between-remote-ips-and
- don't listen to ip address, but use interface= instead
- generate 1 config file by vnet instead 1 by subnet
- enable-ra is global to server, enable it in default conf
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 33 +-
src/PVE/Networ
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 4
1 file changed, 4 insertions(+)
diff --git a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index f320139..e536226 100644
--- a/src/PVE/Network/SDN
- don't duplicate ip
- ipv6 use "ipv6 route"
- order correctly
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 16 -
.../expected_controller_config| 7
.../exitnodenullroute/expected_sdn_interfaces | 8 +
Some values have been reordered in last version
- bump version to 8.5.2
- move no bgp graceful-restart notification
- move neighbor VTEP activate
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 6 +++---
.../zones/evpn/advertise_subnets
This patch serie is fixing 1 critical bug with multiple exit-nodes
and other minor ipv6 bug with prefix-list && null routes.
Also cleaning the re-ordering of some values in frr.conf to match
the output of frr running config.
Alexandre Derumier (4):
controllers: evpn: add ipv6 pre
iple-exit-nodes.137362/
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 26 ++-
.../evpn/exitnode/expected_controller_config | 13 +++---
.../expected_controller_config| 13 +++---
.../expected
---
PVE/QemuServer.pm | 6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 2063e66..eba26f3 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5991,6 +5991,12 @@ sub vm_start_nolock {
eval { PVE::QemuServer::PCI::reserve_pci_usage($pci_
ofile 524289
But maybe users could already have tuned it for containers,
so I think it's better to only change limit for qemu process.
Alexandre Derumier (1):
fix #4507 : increase qemu max openfiles limit
PVE/QemuServer.pm | 6 ++
1 file changed, 6 insertions(+)
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer/CPUConfig.pm | 7 +++
1 file changed, 7 insertions(+)
diff --git a/PVE/QemuServer/CPUConfig.pm b/PVE/QemuServer/CPUConfig.pm
index 750d3b6..ca2946b 100644
--- a/PVE/QemuServer/CPUConfig.pm
+++ b/PVE/QemuServer/CPUConfig.pm
@@ -109,6
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
b/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
index 561d127..6c20b68 100644
--- a/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
+++ b
launch dnsmasq in a vrf context with "ip vrf exec dnsmasq.."
use "default" vrf if plugin don't return a specific vrf
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 3 ++-
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 3 ++-
src
Signed-off-by: Alexandre Derumier
---
src/services/01-dnsmasq-vrf.conf | 4
src/services/Makefile| 1 +
2 files changed, 5 insertions(+)
create mode 100644 src/services/01-dnsmasq-vrf.conf
diff --git a/src/services/01-dnsmasq-vrf.conf b/src/services/01-dnsmasq-vrf.conf
new
it;a=commit;h=a889c554a7df71ff93a8299ef96037fbe05f2f55
I have tested it, just applying this patch on current debian source is enough
to get is working.
Alexandre Derumier (3):
dhcp: add vrf support
dnsmasq service: run service in vrf
zones: evpn: add dhcp support
src/PVE/Network/SDN/Dhcp.pm | 3
gateway should be optionnal (for user have 2 nic, 1 routable + 1 flat, we
don't want to send 2 gateway).
Use dnsmasq server ip field (like ipv6 layer 2 plugin ?) + empty gateway field
don't announce ra for theses subnets (not sure how to handle this in dnsmasq
range)
Alexandre D
launch dnsmasq in a vrf context with "ip vrf exec dnsmasq.."
use "default" vrf if plugin don't return a specific vrf
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp.pm | 3 ++-
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 3 ++-
src
add gateway ip to vnet and force /32 for ipv4 to avoid
arp problem, and disable forwarding by security
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/VlanPlugin.pm | 33 +++
.../zones/vlan/dhcp/expected_sdn_interfaces | 27 +++
src/test/zones
add gateway ip to vnet and force /32 for ipv4 to avoid
arp problem, and disable forwarding by security
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/VxlanPlugin.pm | 32 +++
.../zones/vxlan/dhcp/expected_sdn_interfaces | 19 +++
src/test/zones
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
b/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
index 3c3278a..26a22c7 100644
--- a/src/PVE/Network/SDN/Zones/EvpnPlugin.pm
+++ b
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 4 ++--
src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 2 +-
src/PVE/Network/SDN/Zones/Plugin.pm | 2 +-
src/PVE/Network/SDN/Zones/SimplePlugin.pm | 9 +
4 files changed, 13 insertions(+), 4 deletions
add gateway ip to vnet and force /32 for ipv4 to avoid
arp problem, and disable forwarding by security
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Zones/QinQPlugin.pm | 32 +
.../zones/qinq/dhcp/expected_sdn_interfaces | 34 +++
src/test
Signed-off-by: Alexandre Derumier
---
src/services/01-dnsmasq-vrf.conf | 4
src/services/Makefile| 1 +
2 files changed, 5 insertions(+)
create mode 100644 src/services/01-dnsmasq-vrf.conf
diff --git a/src/services/01-dnsmasq-vrf.conf b/src/services/01-dnsmasq-vrf.conf
new
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN.pm | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/PVE/Network/SDN.pm b/src/PVE/Network/SDN.pm
index 3af09b5..b8f27d9 100644
--- a/src/PVE/Network/SDN.pm
+++ b/src/PVE/Network/SDN.pm
@@ -264,10 +264,9 @@ sub
This patch serie is fixing multiple bug in phpipam,
and dd_next_freeip in differents ipams
Alexandre Derumier (5):
sdn: add proxy support for api calls
ipams : add_next_freeip : return ip not cidr
ipam: phpipam: fix subnet create
ipam: phpipam: fix get_ip_from_mac
ipam: phpipam
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
b/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
index 7b3168d..f3f22b5 100644
--- a/src/PVE/Network/SDN
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
b/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
index f3f22b5..bb9f322 100644
--- a/src/PVE/Network
Currently is not possible in phpipam to search in specific range,
fallback to full subnet search
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 12
1 file changed, 12 insertions(+)
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
b/src
we want same result than add_next_free_range
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 13 -
src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 2 +-
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 2 +-
3 files changed, 6 insertions(+), 11
ly the ips reservation
- Static: ip is auto assigned at vm create && removed at vm delete
- Dynamic: ip is auto assigned at vm start && removed at vm stop (not yet
implemented)
pve-network:
Alexandre Derumier (4):
vnets: use ipam without dhcp
vnets: add_next_free_cidr : skip
Signed-off-by: Alexandre Derumier
---
PVE/QemuServer.pm | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 600d0a8..a00e09e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5279,7 +5279,7 @@ sub vmconfig_apply_pending
Signed-off-by: Alexandre Derumier
---
src/PVE/API2/Network/SDN/Ipams.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/Network/SDN/Ipams.pm
b/src/PVE/API2/Network/SDN/Ipams.pm
index 27ead02..a70a2f3 100644
--- a/src/PVE/API2/Network/SDN/Ipams.pm
+++ b/src/PVE
Manual: user need to manually do reservation
static: ip is auto assign at vm create && remove at vm delete
dynamic: ip is auto assign at vm start && remove at vm stop (not yet
implemented)
Signed-off-by: Alexandre Derumier
---
www/manager6/sdn/zones/Base.js | 12
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Vnets.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Vnets.pm b/src/PVE/Network/SDN/Vnets.pm
index 060cb3c..0268684 100644
--- a/src/PVE/Network/SDN/Vnets.pm
+++ b/src/PVE/Network/SDN/Vnets.pm
User should be able to use ipam without need to use dhcp.
(with static configuration for example).
Could be use to firewall rules or other rules based on ipam
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Vnets.pm | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Subnets.pm | 13 +
src/PVE/Network/SDN/Vnets.pm | 4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/PVE/Network/SDN/Subnets.pm b/src/PVE/Network/SDN/Subnets.pm
index 3b08dcd..4767850 100644
--- a
upstream patch: https://github.com/ceph/ceph/pull/54918
---
...ocksb-inherit-parent-cmake-cxx-flags.patch | 57 +++
patches/series| 3 +-
2 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644 patches/0022-rocksb-inherit-parent-cmake-c
ma-hosting.fr
and submit latency /3
https://pbs.twimg.com/media/GDFmBJOW8AApWYZ?format=jpg&name=large
Alexandre Derumier (2):
patch: debian/rules: fix build type
patch: add 0022-rocksb-inherit-parent-cmake-cxx-flags.patch
patches/0021-debian-rules-fix-buildtype.patch | 22 +++
...ock
source: https://github.com/ceph/ceph/pull/54891
build packages with 'RelWithDebInfo' to avoid to build rocksdb in debug
This is already the default in ubuntu packages
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1894453
---
patches/0021-debian-rules-fix-buildtype.patch | 22 ++
New epyc cpu already support 168 threads
qemu 8.1 support 1024 cores with q35
---
www/manager6/qemu/ProcessorEdit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/qemu/ProcessorEdit.js
b/www/manager6/qemu/ProcessorEdit.js
index b845ff66..b3538727 100644
--- a/w
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN.pm | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/PVE/Network/SDN.pm b/src/PVE/Network/SDN.pm
index 3af09b5..b8f27d9 100644
--- a/src/PVE/Network/SDN.pm
+++ b/src/PVE/Network/SDN.pm
@@ -264,10 +264,9 @@ sub
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
b/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
index 7b3168d..f3f22b5 100644
--- a/src/PVE/Network/SDN
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm
b/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm
index 14a69d9..d923269 100644
--- a/src/PVE/Network/SDN/Ipams
Currently is not possible in phpipam to search in specific range,
fallback to full subnet search
Signed-off-by: Alexandre Derumier
---
src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 12
1 file changed, 12 insertions(+)
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm
b/src
multiples ipam fixes
v2:
add netbox ipam ip_is_gateway fix
Alexandre Derumier (6):
ipams : add_next_freeip : return ip not cidr
sdn: add proxy support for api calls
ipam: phpipam: fix subnet create
ipam: phpipam: fix get_ip_from_mac
ipam: phpipam: add_range_next_freeip
ipam: netbox
1 - 100 of 1458 matches
Mail list logo