Adding the valid/documented 'slaves' option.

This /should/ be possible, but will be stripped.

iface bond0 inet manual
        slaves eth0 eth1
This commit is contained in:
Michael Lustfield 2016-12-02 18:45:01 -06:00
parent b6b1adc091
commit 3afd7b6cf4

View file

@ -451,6 +451,8 @@ IPV4_ATTR_MAP = {
'dstaddr': __ipv4_quad,
'local': __ipv4_quad,
'ttl': __int,
# bond
'slaves': __anything,
# ppp
'provider': __anything,
'unit': __int,
@ -488,6 +490,8 @@ IPV6_ATTR_MAP = {
'preferred-lifetime': __int,
'dad-attempts': __int, # 0 to disable
'dad-interval': __float,
# bond
'slaves': __anything,
}