2.22.
CLASS: BOND
CHAPTER 2.
API REFERENCE
2.22
Class: Bond
2.22.1
Fields for class: Bond
Name
Bond
Description
.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
ins
master
PIF ref
The bonded interface
RO
run
slaves
(PIF ref) Set
The interfaces which are part of this
bond
RW
other config
(string
→
string) Map
additional configuration
2.22.2
RPCs associated with class: Bond
RPC name: create
Overview:
Create an interface bond.
Signature:
(Bond ref) create (session_id s, network ref network, (PIF ref) Set members, string MAC)
Arguments:
type
name
description
network ref
network
Network to add the bonded PIF to
(PIF ref) Set
members
PIFs to add to this bond
string
MAC
The MAC address to use on the bond itself.
If this parameter is the empty string then the
bond will inherit its MAC address from the
first of the specified ’members’
Return Type:
Bond ref
The reference of the created Bond object
RPC name: destroy
Overview:
Destroy an interface bond.
Signature:
void destroy (session_id s, Bond ref self)
Arguments:
type
name
description
Bond ref
self
Bond to destroy
Return Type:
void
194