diff options
author | Dan Prince <dprince@redhat.com> | 2016-04-05 12:51:37 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-04-05 14:01:39 -0400 |
commit | 5f7a330f8ce82d6109a5ff17048eaf11e244ab88 (patch) | |
tree | 3926f7df5d269852d2bca146c6f66be9a0c599d3 /os_net_config/tests/__init__.py | |
parent | 4da6d609bbcd25438a41de87111aed3180a10007 (diff) |
Add MASTER=bond SLAVE=yes to linux bond interfaces
When configuring a linux bond with interfaces we have a bug
(due to a missing unit test) where the interfaces weren't
being configured with MASTER=<bond_name> SLAVE=yes. This
patch adds a unit test to check for the required configuration
and cleans up the logic in impl_ifcfg.py to handle it correctly
by simply checking for the linux_bond_name property which
is already set for us via objects.py.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1323717
Change-Id: Ic632c52265dcbbe6c0ace782e633a2030ad25e6f
Closes-bug: 1566428
Diffstat (limited to 'os_net_config/tests/__init__.py')
0 files changed, 0 insertions, 0 deletions