softlayer-ruby icon indicating copy to clipboard operation
softlayer-ruby copied to clipboard

Create semantic interface for Storage/Portable Volumes

Open cbreden opened this issue 11 years ago • 1 comments

cbreden avatar Jun 11 '14 17:06 cbreden

(close was accidental)

  • [ ] Get all portable storage / query with parameters.
  • [ ] Attach / Detach portable storage volumes.
  • [ ] Wait for disk transactions

The SoftLayer_Virtual_Disk_Image seems to be the key player. Might need to discuss a flow too. If I had two virtual servers vs1 and vs2 and knew that I wanted to detach storage from the first and move it to the second, how should this go?

disk = vs1.get_portable_storage().first
disk.detach!
disk.wait_for_ready
disk.attach!(vs2)   # what about  vs2.attach!(disk)  ?
vs2.wait_for_ready   

cbreden avatar Jun 25 '14 01:06 cbreden