diff options
author | Dan Sneddon <dsneddon@redhat.com> | 2016-07-08 13:46:57 -0700 |
---|---|---|
committer | Dan Sneddon <dsneddon@redhat.com> | 2016-07-25 21:33:39 +0000 |
commit | 311df0c3828fe7571079fad9763bca9e2414b51a (patch) | |
tree | 89495aec84485c89a29411515f6685c95e45b760 /os_net_config/impl_eni.py | |
parent | f17add2e8e3c40f79cf211b0cb82a359104ad675 (diff) |
Add adapter teaming support using teamd for ifcfg-systems
This change adds support for Linux adapter teams using teamd to
manage the bonds instead of the kernel bonding module. Adapter
teams using teamd can act like bonds, but also support additional
features and possibly more robust fault tolerance.
This implementation is fairly straightforward, in order to maintain
backward compatibility with templates made for Linux bonds. The only
difference in the syntax between the two is type: team instead of
type: linux_bond, and the bonding_options format is different.
The configuration files for teams should contain the team options
as a JSON string. The options that can be used are documented in
the teamd.conf(5) man page.
If an interface is marked as primary, the priority will be changed
from default 0 to 100, making this interface the preferred one. In
addition, the MAC address of the Team and all member interfaces will
be set to that of the primary interface. At this time, there is no
way to set the priority of link members individually, only the
interface marked primary will have a non-default priority.
This change has been tested on bare metal and worked for a team
with two bonded interfaces using LACP. The team was part of an
OVS bridge, and there was a VLAN interface on the team. Everything
worked as expected. Unit tests are included and passing.
Change-Id: If1d516ce8f9ada76375c3a52c5557d3f7348981a
Implements: blueprint os-net-config-teaming
Diffstat (limited to 'os_net_config/impl_eni.py')
0 files changed, 0 insertions, 0 deletions