]> git.proxmox.com Git - pve-manager.git/commitdiff
api2: network: add bond-primary option
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 8 Jan 2020 03:31:19 +0000 (04:31 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Jan 2020 16:22:46 +0000 (17:22 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/API2/Network.pm

index 2d201c0ef8b09adfdc2f9dc5297da08e2333bf03..a754c0bf4db222f74bae8877b61eb0006c5ad317 100644 (file)
@@ -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,