summaryrefslogtreecommitdiff
path: root/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-01-28 16:53:06 -0800
committerEthan Jackson <ethan@nicira.com>2011-02-03 12:26:58 -0800
commit2776e4086038071f25e67579fc4215ef95ea26a6 (patch)
tree16ef6ee24e9ef15222270df23a8f9f0929fb7600 /xenserver/opt_xensource_libexec_InterfaceReconfigure.py
parent9f5073d8a8c6c21c4e72660b8478a0e9d78764be (diff)
downloadopenvswitch-2776e4086038071f25e67579fc4215ef95ea26a6.tar.gz
xenserver: Allow LACP configuration from xapi.
Makes required changes to interface reconfigure to allow LACP configuration from xapi. Conforms to XenServer style bonding configuration which is slightly different from OVS. Signed-off-by: Ethan Jackson <ethan@nicira.com> Bug #4213.
Diffstat (limited to 'xenserver/opt_xensource_libexec_InterfaceReconfigure.py')
-rw-r--r--xenserver/opt_xensource_libexec_InterfaceReconfigure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xenserver/opt_xensource_libexec_InterfaceReconfigure.py b/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
index e99ae5834..68f7204cb 100644
--- a/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
+++ b/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
@@ -282,7 +282,8 @@ _POOL_XML_TAG = "pool"
_ETHTOOL_OTHERCONFIG_ATTRS = ['ethtool-%s' % x for x in 'autoneg', 'speed', 'duplex', 'rx', 'tx', 'sg', 'tso', 'ufo', 'gso' ]
_PIF_OTHERCONFIG_ATTRS = [ 'domain', 'peerdns', 'defaultroute', 'mtu', 'static-routes' ] + \
- [ 'bond-%s' % x for x in 'mode', 'miimon', 'downdelay', 'updelay', 'use_carrier' ] + \
+ [ 'bond-%s' % x for x in 'mode', 'miimon', 'downdelay',
+ 'updelay', 'use_carrier', 'hashing-algorithm' ] + \
_ETHTOOL_OTHERCONFIG_ATTRS
_PIF_ATTRS = { 'uuid': (_str_to_xml,_str_from_xml),