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
  • Loading branch information
mansam authored Dec 3, 2018
2 parents 5748c8d + 05c3dea commit 75c7372
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 75c7372

Please sign in to comment.