diff --git a/netsim/extra/bonding/defaults.yml b/netsim/extra/bonding/defaults.yml index d90f455be..6732164f2 100644 --- a/netsim/extra/bonding/defaults.yml +++ b/netsim/extra/bonding/defaults.yml @@ -13,11 +13,12 @@ devices: attributes: global: bonding: - mode: { type: str, valid_values: [ active-backup, balance-tlb, balance-alb ] } # Linux bonding modes that use autonomous ports + # Subset of Linux bonding modes that use autonomous ports + mode: { type: str, valid_values: [ active-backup, balance-tlb, balance-alb ] } node: bonding: - mode: { type: str, valid_values: [ active-backup, balance-tlb, balance-alb ] } + mode: interface: bonding: ifindex: { type: int, min_value: 0, _required: True } - mode: { type: str, valid_values: [ active-backup, balance-tlb, balance-alb ] } + mode: { copy: global }