From 0f11a5b92fec983d3cd0c044a3903a75b7305fb5 Mon Sep 17 00:00:00 2001 From: Andrey Veselov Date: Mon, 13 Mar 2017 16:14:33 +0100 Subject: [PATCH] Expose attach/detach method for volume --- .../service_models/miq_ae_service_cloud_volume.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_cloud_volume.rb b/lib/miq_automation_engine/service_models/miq_ae_service_cloud_volume.rb index 3e8ad68a154..311185740c3 100644 --- a/lib/miq_automation_engine/service_models/miq_ae_service_cloud_volume.rb +++ b/lib/miq_automation_engine/service_models/miq_ae_service_cloud_volume.rb @@ -10,5 +10,7 @@ class MiqAeServiceCloudVolume < MiqAeServiceModelBase expose :cloud_volume_backups, :association => true expose :cloud_volume_snapshots, :association => true expose :attachments, :association => true + expose :attach_volume, :override_return => nil + expose :detach_volume, :override_return => nil end end