attach & detach volumes apis for compute

Add portable storage attach/detach function.
Change-Id: I1a7abcfc83f581601c730d93440dca7d447a53a0
The outer parens aren't needed and are stylistically not pythonic (there's a couple more cases of this)