[pve-devel] applied: [PATCH pmg-api] API2: Network: add vlan-raw-device && vlan-id options
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jan 28 21:22:57 CET 2020
On 1/28/20 11:24 AM, Alexandre Derumier wrote:
> Same than pve-manager
>
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> src/PMG/API2/Network.pm | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/src/PMG/API2/Network.pm b/src/PMG/API2/Network.pm
> index ed6651d..4bf81c2 100644
> --- a/src/PMG/API2/Network.pm
> +++ b/src/PMG/API2/Network.pm
> @@ -112,6 +112,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!
More information about the pve-devel
mailing list