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