Last active
February 16, 2016 08:38
-
-
Save yilas/4df04c435eacec81b7d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==== IAAS / Q5 ==== | |
ca = i.config.cloudApiConnection.find('main') | |
volid = 'c0a12a612e5946ea' | |
ca.disk.find(id = volid) | |
volguid = ca.disk.find(id = volid)['result'][0] | |
volguid | |
ca.disk.getObject(volguid) | |
ca.disk.iscsiUnExpose(volguid) | |
## Unexport iscsi disks | |
for volid in vols_saved: | |
volguid = ca.disk.find(id = volid)['result'][0] | |
ca.disk.iscsiUnExpose(volguid) | |
# then start VM | |
==== Storage Node ==== | |
q3 | |
q.dss.voldrv.listVolumes() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment