Skip to content

Commit

Permalink
Merge pull request #538 from sjd78/issue499
Browse files Browse the repository at this point in the history
Send a "memory_policy" update with addNewVm and editVm API calls
  • Loading branch information
mareklibra authored Mar 28, 2018
2 parents 62f2331 + 8375ede commit ecd63c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ovirtapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ OvirtApi = {
type: vm.type,

memory: vm.memory,
memory_policy: {
max: vm.memory_policy.max,
guaranteed: vm.memory_policy.guaranteed,
},

cpu: {
topology: {
cores: vm.cpu.topology.cores,
Expand Down

0 comments on commit ecd63c3

Please sign in to comment.