mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
This features will allow attributes to have aliases. Our use case today is between bond-slaves and bridge-ports, which be a little confusing. It follows the kernel api and existing linux tools. Bonding driver calls them slaves and to the bridge driver they are ports. With NCLU we we would like to be more consistent. We will now also support "bond-ports"a Ticket: CM-12763 Reviewed By: Roopa Testing Done: $ ifquery -a -c auto bond0 iface bond0 [pass] bond-slaves swp1 [pass] auto bond1 iface bond1 [pass] bond-ports swp2 [pass] root@cel-redxp-06:~# ifquery -a -r auto bond0 iface bond0 bond-lacp-bypass-allow 0 bond-slaves swp1 bond-mode 802.3ad bond-use-carrier 1 bond-lacp-rate 1 bond-min-links 1 bond-miimon 100 bond-xmit-hash-policy layer3+4 auto bond1 iface bond1 bond-lacp-bypass-allow 0 bond-slaves swp2 bond-mode 802.3ad bond-use-carrier 1 bond-lacp-rate 1 bond-min-links 1 bond-miimon 100 bond-xmit-hash-policy layer3+4 Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>