projects
/
pmg-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9658c
)
api2: network: add bond-primary option
author
Alexandre Derumier
<aderumier@odiso.com>
Thu, 9 Jan 2020 13:25:14 +0000
(14:25 +0100)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Sat, 11 Jan 2020 15:20:39 +0000
(16:20 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/PMG/API2/Network.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PMG/API2/Network.pm
b/src/PMG/API2/Network.pm
index b6a58da73a4752c2cba2398028a14e366343de39..1c3e8c113a4c161285d7af5f758a1d25651206d5 100644
(file)
--- 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,