* [pve-devel] [pve-container: Bump maximum number of container net interfaces from 10 to 32 0/1] @ 2020-08-23 11:38 Stephan Leemburg 2020-08-23 11:38 ` [pve-devel] [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 Stephan Leemburg 0 siblings, 1 reply; 3+ messages in thread From: Stephan Leemburg @ 2020-08-23 11:38 UTC (permalink / raw) To: pve-devel; +Cc: Stephan Leemburg Bump maximum number of container net interfaces from 10 to 32 For some environments firewalls with more than 10 interfaces are required. With KVM (qm) this can be achieved, but with LXC (pct) not yet. As lxc is much more lightweight than kvm, there can be a preference for using that. This patch enables containers to have up to 32 interfaces. Stephan Leemburg (1): Bump maximum number of container net interfaces from 10 to 32 src/PVE/LXC/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 2020-08-23 11:38 [pve-devel] [pve-container: Bump maximum number of container net interfaces from 10 to 32 0/1] Stephan Leemburg @ 2020-08-23 11:38 ` Stephan Leemburg 2020-08-27 10:53 ` [pve-devel] applied: " Thomas Lamprecht 0 siblings, 1 reply; 3+ messages in thread From: Stephan Leemburg @ 2020-08-23 11:38 UTC (permalink / raw) To: pve-devel; +Cc: Stephan Leemburg Signed-off-by: Stephan Leemburg <stephan.leemburg@it-functions.nl> --- src/PVE/LXC/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm index 5bf12d5..044e2e1 100644 --- a/src/PVE/LXC/Config.pm +++ b/src/PVE/LXC/Config.pm @@ -712,7 +712,7 @@ our $netconf_desc = { }; PVE::JSONSchema::register_format('pve-lxc-network', $netconf_desc); -my $MAX_LXC_NETWORKS = 10; +my $MAX_LXC_NETWORKS = 32; for (my $i = 0; $i < $MAX_LXC_NETWORKS; $i++) { $confdesc->{"net$i"} = { optional => 1, -- 2.25.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] applied: [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 2020-08-23 11:38 ` [pve-devel] [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 Stephan Leemburg @ 2020-08-27 10:53 ` Thomas Lamprecht 0 siblings, 0 replies; 3+ messages in thread From: Thomas Lamprecht @ 2020-08-27 10:53 UTC (permalink / raw) To: Proxmox VE development discussion, Stephan Leemburg Am 8/23/20 um 1:38 PM schrieb Stephan Leemburg: > Signed-off-by: Stephan Leemburg <stephan.leemburg@it-functions.nl> > --- > src/PVE/LXC/Config.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied, thanks! ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-27 10:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-23 11:38 [pve-devel] [pve-container: Bump maximum number of container net interfaces from 10 to 32 0/1] Stephan Leemburg 2020-08-23 11:38 ` [pve-devel] [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 Stephan Leemburg 2020-08-27 10:53 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox