From 7942a7bb5b0ca46d64fcbc7caf689e351594a12a Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Wed, 8 Jan 2020 04:31:19 +0100 Subject: [PATCH] api2: network: add bond-primary option Signed-off-by: Alexandre Derumier --- PVE/API2/Network.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm index 2d201c0e..a754c0bf 100644 --- a/PVE/API2/Network.pm +++ b/PVE/API2/Network.pm @@ -110,6 +110,11 @@ my $confdesc = { optional => 1, type => 'string', enum => $bond_mode_enum, }, + 'bond-primary' => { + description => "Specify the primary interface for active-backup bond.", + optional => 1, + type => 'string', format => 'pve-iface', + }, bond_xmit_hash_policy => { description => "Selects the transmit hash policy to use for slave selection in balance-xor and 802.3ad modes.", optional => 1, -- 2.39.2