From f438eff342d53dc3c043fd09635c0df9099890ef Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Thu, 9 Jan 2020 14:25:14 +0100 Subject: [PATCH] api2: network: add bond-primary option Signed-off-by: Alexandre Derumier --- src/PMG/API2/Network.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PMG/API2/Network.pm b/src/PMG/API2/Network.pm index b6a58da..1c3e8c1 100644 --- a/src/PMG/API2/Network.pm +++ b/src/PMG/API2/Network.pm @@ -101,6 +101,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