def remove_storage(self, storage):
if not hasattr(storage, '<STR_LIT:address>'):<EOL><INDENT>raise Exception(<EOL>('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>)<EOL><DEDENT>self.cloud_manager.detach_storage(server=self.uuid, address=storage.address)<EOL>self.storage_devices.remove(storage)<EOL>
Remove Storage from a Server.

The Storage must be a reference to an object in
Server.storage_devices or the method will throw and Exception.

A Storage from get_storage(uuid) will not work as it is missing the 'address' property.