>>applied, thanks! the same would be then also nice for PMG - even if network is >>there a bit more limited :)
Yes, sure , I'll send patch tomorrow. (I'll also work on gui side to add vlan form, I'm not sure how to handle differents format for now, I'll send an rfc for this) ----- Mail original ----- De: "Thomas Lamprecht" <t.lampre...@proxmox.com> À: "pve-devel" <pve-devel@pve.proxmox.com>, "aderumier" <aderum...@odiso.com> Envoyé: Samedi 25 Janvier 2020 16:06:05 Objet: applied: [pve-devel] [PATCH pve-manager 1/1] API2: Network: add vlan-raw-device && vlan-id options. On 1/25/20 10:30 AM, Alexandre Derumier wrote: > Signed-off-by: Alexandre Derumier <aderum...@odiso.com> > --- > PVE/API2/Network.pm | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm > index 49a38746..a32f6c01 100644 > --- a/PVE/API2/Network.pm > +++ b/PVE/API2/Network.pm > @@ -121,6 +121,18 @@ my $confdesc = { > type => 'string', > enum => ['layer2', 'layer2+3', 'layer3+4' ], > }, > + 'vlan-raw-device' => { > + description => "Specify the raw interface for the vlan interface.", > + optional => 1, > + type => 'string', format => 'pve-iface', > + }, > + 'vlan-id' => { > + description => "vlan-id for a custom named vlan interface (ifupdown2 > only).", > + optional => 1, > + type => 'integer', > + minimum => 1, > + maximum => 4094, > + }, > gateway => { > description => 'Default gateway address.', > type => 'string', format => 'ipv4', > applied, thanks! the same would be then also nice for PMG - even if network is there a bit more limited :) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel