Sha256: a074b83c20d4af1904e4dc7ca5a44e70d4fbce5345d3946c15a5221058e148fb
Contents?: true
Size: 666 Bytes
Versions: 85
Compression:
Stored size: 666 Bytes
Contents
module Fog module Compute class OpenStack class Real def live_migrate_server(server_id, host, block_migration, disk_over_commit) body = { 'os-migrateLive' => { 'host' => host, 'block_migration' => block_migration, 'disk_over_commit' => disk_over_commit, } } server_action(server_id, body) end end class Mock def live_migrate_server(server_id, host, block_migration, disk_over_commit) response = Excon::Response.new response.status = 202 response end end end end end
Version data entries
85 entries across 85 versions & 13 rubygems