Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity: detach all luns from host #318

Open
Murray-LIANG opened this issue Jul 10, 2020 · 0 comments
Open

Unity: detach all luns from host #318

Murray-LIANG opened this issue Jul 10, 2020 · 0 comments

Comments

@Murray-LIANG
Copy link
Contributor

Murray-LIANG commented Jul 10, 2020

Currently, the user needs to do as follow to detach all LUNs from a host:

u = storops.UnitySystem(……
host = u.get_host(name='host-abc')
for lun in host.host_luns.lun:
    host.detach(lun)

All the attach/detach operation is done on the lun object including host.detach which calls lun.detach. Need to find out if there is any REST api for detaching all luns on host object in the engineering mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant