HP BL680c XenServer Administrator's Guide 4.1.0 - Page 73

PIF commands

Page 73 highlights

Command line interface Create a new PBD on a XenServer Host. The read-only device-config parameter can only be set on creation as in the following example: 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 Chapter 3, Storage. 5.4.9.2. pbd-destroy pbd-destroy uuid=UUID of PBD Destroy the specified PBD. 5.4.9.3. 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. 5.4.9.4. pbd-unplug pbd-unplug uuid=UUID of PBD Attempts to unplug the PBD from the XenServer Host. 5.4.10. 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 Section 5.3.2, "Low-level param commands" for details. PIF parameters PIFs have the following parameters: Parameter Name uuid device MAC physical currently-attached MTU Description Type The unique identifier/object reference for read only the PIF machine-readable name of the interface read only (for example, eth0) the MAC address of the PIF read only If true, the PIF points to an actual physical read only network interface Is the PIF currently attached on this host? read only true or false Maximum Transmission Unit of the PIF in read only bytes. 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Command line interface
67
Create a new PBD on a XenServer Host. The read-only
device-config
parameter can only be set on
creation as in the following example:
To add a mapping of 'path' -> '/tmp', the command line should contain the argument
de-
vice-config:path=/tmp
For a full list of supported device-config key/value pairs on each SR type see Chapter 3,
Storage
.
5.4.9.2. pbd-destroy
pbd-destroy
uuid=
UUID of PBD
Destroy the specified PBD.
5.4.9.3. 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.
5.4.9.4. pbd-unplug
pbd-unplug
uuid=
UUID of PBD
Attempts to unplug the PBD from the XenServer Host.
5.4.10. 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 Section 5.3.2, “Low-level param commands” for
details.
PIF parameters
PIFs have the following parameters:
Parameter Name
Description
Type
uuid
The unique identifier/object reference for
the PIF
read only
device
machine-readable name of the interface
(for example, eth0)
read only
MAC
the MAC address of the PIF
read only
physical
If true, the PIF points to an actual physical
network interface
read only
currently-attached
Is the PIF currently attached on this host?
true or false
read only
MTU
Maximum Transmission Unit of the PIF in
bytes.
read only