feat(xapi/VBD_create): returns the new VBD's ref
This commit is contained in:
@@ -68,6 +68,8 @@ module.exports = class Vbd {
|
||||
if (isVmRunning(powerState)) {
|
||||
await this.callAsync('VBD.plug', vbdRef)
|
||||
}
|
||||
|
||||
return vbdRef
|
||||
}
|
||||
|
||||
async unplug(ref) {
|
||||
|
||||
Reference in New Issue
Block a user