[pve-devel] [PATCH] linux bridge and ovs new model implementation v6
Alexandre DERUMIER
aderumier at odiso.com
Tue May 6 10:38:11 CEST 2014
>>We need this dependency anyways for the API:
>>package PVE::API2::Firewall::VM;
Oh ok, I miss that.
So, I think I can use it in:
>>/var/lib/qemu-server/pve-bridge (for qemu startup)
>>/usr/sbin/vznetaddbr (for openvz startup)
>>in API2:Qemu : vmconfig_update_net()
?
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mardi 6 Mai 2014 10:24:00
Objet: RE: [pve-devel] [PATCH] linux bridge and ovs new model implementation v6
> >>/var/lib/qemu-server/pve-bridge-fw instead of
> >>/var/lib/qemu-server/pve-bridge
> >>
> >>Wont that solve the problem?
>
> I'm not sure, because in this case we need PVE::Firewall in QemuServer.pm,
> to known which script to launch.
We need this dependency anyways for the API:
---------------------------
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 009f0a1..87b2d06 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -18,6 +18,7 @@ use PVE::RPCEnvironment;
use PVE::AccessControl;
use PVE::INotify;
use PVE::Network;
+use PVE::API2::Firewall::VM;
...
More information about the pve-devel
mailing list