HP BL680c XenEnterprise Management API - Page 15

Relationships Between Classes

Page 15 highlights

2.2. RELATIONSHIPS BETWEEN CLASSES CHAPTER 2. API REFERENCE 2.2 Relationships Between Classes Fields that are bound together are shown in the following table: object.field PIF.bond slave of PIF.bond master of PIF.VLAN slave of host.PBDs SR.PBDs VDI.VBDs VDI.crash dumps VBD.VM crashdump.VM VIF.VM VIF.network PIF.host PIF.network SR.VDIs VTPM.VM console.VM host.resident VMs host.host CPUs host.crashdumps host.patches pool patch.host patches object.field Bond.slaves Bond.master VLAN.tagged PIF PBD.host PBD.SR VBD.VDI crashdump.VDI VM.VBDs VM.crash dumps VM.VIFs network.VIFs host.PIFs network.PIFs VDI.SR VM.VTPMs VM.consoles VM.resident on host cpu.host host crashdump.host host patch.host host patch.pool patch relationship one-to-many many-to-one many-to-one many-to-one many-to-one many-to-one many-to-one one-to-many one-to-many one-to-many one-to-many one-to-many one-to-many many-to-one one-to-many one-to-many many-to-one many-to-one many-to-one many-to-one many-to-one The following represents bound fields (as specified above) diagramatically, using crows-foot notation to specify one-to-one, one-to-many or many-to-many relationships: PIF_metrics PIF host_metrics host_cpu host VIF_metrics console VM_metrics network VIF VM VM_guest_metrics VTPM VBD session user VDI PBD SR PBD_metrics VBD_metrics 15

  • 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
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313

2.2. RELATIONSHIPS BETWEEN CLASSES
CHAPTER 2. API REFERENCE
2.2
Relationships Between Classes
Fields that are bound together are shown in the following table:
object.field
object.field
relationship
PIF.bond
slave
of
Bond.slaves
one-to-many
PIF.bond
master
of
Bond.master
many-to-one
PIF.VLAN
slave
of
VLAN.tagged
PIF
many-to-one
host.PBDs
PBD.host
many-to-one
SR.PBDs
PBD.SR
many-to-one
VDI.VBDs
VBD.VDI
many-to-one
VDI.crash
dumps
crashdump.VDI
many-to-one
VBD.VM
VM.VBDs
one-to-many
crashdump.VM
VM.crash
dumps
one-to-many
VIF.VM
VM.VIFs
one-to-many
VIF.network
network.VIFs
one-to-many
PIF.host
host.PIFs
one-to-many
PIF.network
network.PIFs
one-to-many
SR.VDIs
VDI.SR
many-to-one
VTPM.VM
VM.VTPMs
one-to-many
console.VM
VM.consoles
one-to-many
host.resident
VMs
VM.resident
on
many-to-one
host.host
CPUs
host
cpu.host
many-to-one
host.crashdumps
host
crashdump.host
many-to-one
host.patches
host
patch.host
many-to-one
pool
patch.host
patches
host
patch.pool
patch
many-to-one
The following represents bound fields (as specified above) diagramatically, using crows-foot nota-
tion to specify one-to-one, one-to-many or many-to-many relationships:
session
host
user
VM
VM_metrics
VM_guest_metrics
console
PBD
host_metrics
host_cpu
network
VIF
VIF_metrics
PIF
PIF_metrics
SR
VDI
VBD
VBD_metrics
PBD_metrics
VTPM
15