>>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" <[email protected]> À: "Alexandre DERUMIER" <[email protected]> Cc: [email protected] 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; ... _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
