|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-api
[Xen-API] Enumeration of PBDs 
| I was looking for a function that would
allow to enumerate the physical block devices (PBDs) on a host.  Since
I could not find a function and the PBD class does not seem to cover it,
I was wondering whether it might be a generally useful one - at least I
would find it practical to have for multiple-choice reasons when building
a VM. One parameter could be a regular _expression_ that filters all devices
found in '/dev' and subdirs.
 
 device_list = host.enumerate_devices(regex)
 
 Stefan
 
 _______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-API] Enumeration of PBDs,
Stefan Berger <=
 |  |  | 
  
    |  |  |