For scripting, a useful technique is passing
xe command reference
This section provides a reference to the xe commands. They are grouped by objects that the commands address, and listed alphabetically.
Bonding commands
Commands for working with network bonds, for resilience with physical interface failover. See the section called “Creating NIC bonds on a standalone host” for details.
The bond object is a reference object which glues together master and member PIFs. The master PIF is the bonding interface which must be used as the overall PIF to refer to the bond. The member PIFs are a set of 2 or more physical interfaces which have been combined into the
Bond parameters
Bonds have the following parameters:
Parameter Name | Description | Type |
|
|
|
uuid | unique identifier/object reference for the | read only |
| bond |
|
|
|
|
master | UUID for the master bond PIF | read only |
|
|
|
members | set of UUIDs for the underlying bonded | read only set parameter |
| PIFs |
|
|
|
|
bond-create
Create a bonded network interface on the network specified from a list of existing PIF objects. The command will fail if PIFs are in another bond already, if any member has a VLAN tag set, if the referenced PIFs are not on the same XenServer host, or if fewer than 2 PIFs are supplied.
bond-destroy
Delete a bonded interface specified by its UUID from the XenServer host.
147