Commit 9163013
Feat/ram reservation (#4662)
* remove hot enable cpu und memory in case of reservation
ram and cpu reservation have not relation to ram and cpu hot add
* add custom ram_reservation and it to vm details
* system vms haven't this property, for this reason add additional check
* Update plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
Co-authored-by: dahn <[email protected]>
* replace 0.0 with NumberUtils
* remove default value and remove return MinRam(seems to be not necessary)
* Update plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/guru/VmwareVmImplementer.java
Co-authored-by: davidjumani <[email protected]>
* Update plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
Co-authored-by: davidjumani <[email protected]>
Co-authored-by: DK101010 <[email protected]>
Co-authored-by: dahn <[email protected]>
Co-authored-by: davidjumani <[email protected]>1 parent 8bc120b commit 9163013
File tree
5 files changed
+7
-8
lines changed- api/src/main/java/com/cloud/vm
- plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor
- guru
- vmware/resource
- server/src/main/java/com/cloud/api/query
- vmware-base/src/main/java/com/cloud/hypervisor/vmware/util
5 files changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1976 | 1976 | | |
1977 | 1977 | | |
1978 | 1978 | | |
1979 | | - | |
1980 | 1979 | | |
1981 | 1980 | | |
1982 | 1981 | | |
| |||
2977 | 2976 | | |
2978 | 2977 | | |
2979 | 2978 | | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
2980 | 2983 | | |
2981 | 2984 | | |
2982 | 2985 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3822 | 3822 | | |
3823 | 3823 | | |
3824 | 3824 | | |
| 3825 | + | |
3825 | 3826 | | |
3826 | 3827 | | |
3827 | 3828 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | 551 | | |
558 | 552 | | |
559 | 553 | | |
| |||
0 commit comments