Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
40c34c0
CA-43250: prevent the accidental destruction of the "internal managem…
Feb 9, 2011
902a4bf
CA-50211: after 'xe host-management-disable' and reboot, init.d/manag…
Feb 9, 2011
ca899c0
CA-48488: Re-interpret the n/xxxx:xx:xx.x PCI passthrough keys so tha…
Feb 9, 2011
2cc02e5
CA-6996: the host internal management network now uses a well-known c…
Feb 9, 2011
7fb948b
Merge branch 'ca-6996' of https://github.com/djs55/xen-api into djs55…
Feb 10, 2011
0d8802e
Merge branch 'ca-48488' of https://github.com/djs55/xen-api into djs5…
Feb 10, 2011
82e7bd8
Merge branch 'ca-43250' of https://github.com/djs55/xen-api into ca-4…
Feb 10, 2011
41e8575
CP-2255: Remove hard-coded maximum number of pCPU constants. Instead …
Feb 3, 2011
4318f95
Merge branch 'cp-2255' of https://github.com/djs55/xen-api into djs55…
Feb 10, 2011
ce1168a
xenserver: Kill bond slaves' dhclients when bringing up bond master.
blp Jul 16, 2010
fa47db5
xenserver: Only put the primary XenServer UUID in default bridge-id
ejj Sep 22, 2010
cfa81ed
xenserver: Allow bond_mode configuration in xen.
ejj Jan 10, 2011
f62bb98
xenserver: Add miimon configuration support for xenserver.
ejj Jan 12, 2011
1f60b89
Merge branch 'ovs-2011-02-14' of https://github.com/dcurran/xen-api i…
Feb 14, 2011
44bfa49
Hide internal API-fields from HTML documentation
robhoes Feb 16, 2011
19fd782
CA-49368: Avoid copying certain fields when reverting a VM
zli Feb 16, 2011
dd81cba
Add README.markdown
matthiasgoergens Feb 17, 2011
e4bf0c0
Merge branch 'readme' of https://github.com/matthiasgoergens/xen-api …
Feb 17, 2011
64100ab
xenserver: Allow unknown other-config attributes.
ejj Jan 17, 2011
4c9c119
xenserver: Allow fail_mode to be set from xapi.
ejj Jan 15, 2011
ef59fea
xenserver: Allow NULL pool in configuration cache.
ejj Jan 19, 2011
88ec832
xenserver: Fix interface reconfigure crash when setting fail_mode.
ejj Jan 20, 2011
c35c98a
xenserver: Support fail_mode override at network level.
ejj Jan 27, 2011
d7db8a8
xenserver: Allow LACP configuration from xapi.
ejj Jan 29, 2011
28029f4
xenserver: Remove support for XenServer versions older than 5.6 FP1.
Feb 11, 2011
e563990
CA-51925: Preserve the local-cache-sr field on pool-join
jjd27 Feb 21, 2011
f2f539a
Added some binaries to .gitignore.
jjd27 Feb 21, 2011
f16c895
CA-52111: Set the crashdump and suspend-image SRs properly on pool-join
jjd27 Feb 21, 2011
fb471a4
Add helper functions to provide additional upgrade checks.
Feb 22, 2011
325adc8
Fix EOL whitespace and some blank lines in helpers.ml
Feb 22, 2011
0dd151b
Add rolling pool upgrade assertions to start_on and resume_on at the …
Feb 22, 2011
2c4b348
Call the proper Helpers.get_localhost function.
Feb 22, 2011
b0258ad
Fix whitespace.
Feb 22, 2011
95a93cf
Call appropriate Helpers.get_localhost function.
Feb 22, 2011
4996e4f
Remove old-versioned hosts from the list of candidate hosts to receiv…
Feb 22, 2011
3d833a9
Resolve merge conflict
Feb 22, 2011
9d0eb8f
To prevent blkback from pinning the device node. A Vbd.media_eject wi…
Feb 23, 2011
c030ce8
Merge branch 'ca-50383' of https://github.com/djs55/xen-api into dani…
Feb 23, 2011
6223e82
Merge branch 'ca-49854' of https://github.com/djs55/xen-api into djs-…
Feb 23, 2011
2f6df1e
CA-52129: Handle local_cache_sr = Ref.null on pool-join
jjd27 Feb 23, 2011
8b84f45
Merge branch 'master' of https://github.com/jjd27/xen-api into jjd-ca…
Feb 23, 2011
7d819a2
Reverting my patches relating to CA-52129 and CA-51925.
jjd27 Feb 23, 2011
6f33b86
Ignore WLB during rolling pool upgrade.
Feb 23, 2011
79f74bb
Remove rolling pool upgrade checks from message_forwarding.ml. There …
Feb 24, 2011
235bcb0
Remove rolling pool upgrade checks from start/resume functions. There…
Feb 24, 2011
bf721f1
Remove rolling pool upgrade checks from choose_host_for_vm and host_c…
Feb 24, 2011
2e7ebdf
Add rolling pool upgrade checks to assert_can_boot_here. This functio…
Feb 24, 2011
cbdf306
Add helper functions to provide additional upgrade checks.
Feb 22, 2011
2414b9b
Fix EOL whitespace and some blank lines in helpers.ml
Feb 22, 2011
552156e
Fix whitespace.
Feb 22, 2011
4af34e7
Call the proper Helpers.get_localhost function.
Feb 22, 2011
e5d6174
Remove rolling pool upgrade checks from start/resume functions. There…
Feb 24, 2011
f10aeb2
Add rolling pool upgrade checks to assert_can_boot_here. This functio…
Feb 24, 2011
2a79b77
Merge remote branch 'origin/pr1007' into pr1007-cherry
Feb 24, 2011
04e2f5c
Log xapi-autostart-vms error to /var/log/messages, not stdout.
Feb 24, 2011
ad860a6
Merge branch 'pr1007-cherry' into pr1007
Feb 24, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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 <[email protected]>
Bug #4213.
Signed-off-by: Dominic Curran <[email protected]>
  • Loading branch information
ejj authored and dcurran committed Feb 20, 2011
commit d7db8a813643fa4544ac101298059dfc2221af3e
1 change: 1 addition & 0 deletions scripts/InterfaceReconfigureBridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def _configure_bond_interface(pif):
"downdelay": "200",
"updelay": "31000",
"use_carrier": "1",
"hashing-algorithm": "src_mac",
}

# override defaults with values from other-config whose keys being with "bond-"
Expand Down
28 changes: 23 additions & 5 deletions scripts/InterfaceReconfigureVswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def datapath_configure_bond(pif,slaves):
"downdelay": "200",
"updelay": "31000",
"use_carrier": "1",
"hashing-algorithm": "src_mac",
}
# override defaults with values from other-config whose keys
# being with "bond-"
Expand All @@ -155,6 +156,8 @@ def datapath_configure_bond(pif,slaves):
key.startswith("bond-"), oc.items())
overrides = map(lambda (key,val): (key[5:], val), overrides)
bond_options.update(overrides)
mode = None
halgo = None

argv += ['--', 'set', 'Port', interface]
if pifrec['MAC'] != "":
Expand Down Expand Up @@ -188,15 +191,30 @@ def datapath_configure_bond(pif,slaves):
except ValueError:
log("bridge %s has invalid %s '%s'" % (bridge, name, value))
elif name == "mode":

if val in ['balance-slb', 'active-backup']:
argv += ['bond_%s=%s' % (name, val)]
else:
log("bridge %s has invalid %s '%s'" % (bridge, name, val))
mode = val
elif name == "hashing-algorithm":
halgo = val
else:
# Pass other bond options into other_config.
argv += ["other-config:%s=%s" % (vsctl_escape("bond-%s" % name),
vsctl_escape(val))]

if mode == 'lacp':
argv += ['lacp=active']

if halgo == 'src_mac':
argv += ['bond_mode=balance-slb']
elif halgo == "tcpudp_ports":
argv += ['bond_mode=balance-tcp']
else:
log("bridge %s has invalid bond-hashing-algorithm '%s'" % (bridge, halgo))
argv += ['bond_mode=balance-slb']
elif mode in ['balance-slb', 'active-backup']:
argv += ['lacp=off', 'bond_mode=%s' % mode]
else:
log("bridge %s has invalid bond-mode '%s'" % (bridge, mode))
argv += ['lacp=off', 'bond_mode=balance-slb']

return argv

def datapath_deconfigure_bond(netdev):
Expand Down