Skip to content

Commit

Permalink
Merge pull request #407 from djberg96/supports_conversion_host
Browse files Browse the repository at this point in the history
Add supports_conversion_host to Vm

(cherry picked from commit 75c7372)

https://bugzilla.redhat.com/show_bug.cgi?id=1694229
  • Loading branch information
mansam authored and simaishi committed Mar 29, 2019
1 parent 6593995 commit 1de7b35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ManageIQ::Providers::Openstack::CloudManager::Vm < ManageIQ::Providers::Cl
end

supports :snapshots
supports :conversion_host

POWER_STATES = {
"ACTIVE" => "on",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@
expect(vm.supports_revert_to_snapshot?).to eq false
end
end

context "v2v actions" do
it "supports conversion_host" do
expect(vm.supports_conversion_host?).to eq true
end
end
end

context "#is_available?" do
Expand Down

0 comments on commit 1de7b35

Please sign in to comment.