140
Parameter Name Description Type
uuid The unique identifier/object reference for
the PBD.
read only
sr-uuid the storage repository that the PBD points to read only
device-config additional configuration information that is
provided to the SR-backend-driver of a host
read only map parameter
currently-attached True if the SR is currently attached on this
host, False otherwise
read only
host-uuid UUID of the physical machine on which the
PBD is available
read only
host The host field is deprecated. Use host_uuid
instead.
read only
other-config Additional configuration information. read/write map parameter
pbd-create
pbd-create host-uuid=<uuid_of_host>
sr-uuid=<uuid_of_sr>
[device-config:key=<corresponding_value>...]
Create a new PBD on a XenServer host. The read-only device-config parameter can only be set on creation.
To add a mapping of 'path' -> '/tmp', the command line should contain the argument device-
config:path=/tmp
For a full list of supported device-config key/value pairs on each SR type see Storage.
pbd-destroy
pbd-destroy uuid=<uuid_of_pbd>
Destroy the specified PBD.
pbd-plug
pbd-plug uuid=<uuid_of_pbd>
Attempts to plug in the PBD to the XenServer host. If this succeeds, the referenced SR (and the VDIs contained
within) should then become visible to the XenServer host.
pbd-unplug
pbd-unplug uuid=<uuid_of_pbd>
Attempt to unplug the PBD from the XenServer host.
PIF Commands
Commands for working with PIFs (objects representing the physical network interfaces).
The PIF objects can be listed with the standard object listing command (xe pif-list), and the parameters
manipulated with the standard parameter commands. See the section called “Low-level Parameter Commands”
for details.