]> git.proxmox.com Git - pmg-api.git/commitdiff
api2: network: add bond-primary option
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 9 Jan 2020 13:25:14 +0000 (14:25 +0100)
committerThomas 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

index b6a58da73a4752c2cba2398028a14e366343de39..1c3e8c113a4c161285d7af5f758a1d25651206d5 100644 (file)
@@ -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,