]> git.proxmox.com Git - pve-manager.git/blobdiff - PVE/API2/Network.pm
api2: network: add bond-primary option
[pve-manager.git] / 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,