Skip to content

Instantly share code, notes, and snippets.

@yilas
Last active February 16, 2016 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yilas/4df04c435eacec81b7d6 to your computer and use it in GitHub Desktop.
Save yilas/4df04c435eacec81b7d6 to your computer and use it in GitHub Desktop.
==== 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