You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c12ccbd
Browse filesBrowse the repository at this point in the historyBrowse files
Murali Reddy
committed
Bug 9534 : implement CPU cap
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
Copy file name to clipboardExpand all lines: api/src/com/cloud/api/commands/CreateServiceOfferingCmd.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,9 @@ public class CreateServiceOfferingCmd extends BaseCmd {
56
56
@Parameter(name=ApiConstants.OFFER_HA, type=CommandType.BOOLEAN, description="the HA for the service offering")
57
57
privateBooleanofferHa;
58
58
59
+
@Parameter(name=ApiConstants.LIMIT_CPU_USE, type=CommandType.BOOLEAN, description="restrict the CPU usage to committed service offering")
60
+
privateBooleanlimitCpuUse;
61
+
59
62
@Parameter(name=ApiConstants.STORAGE_TYPE, type=CommandType.STRING, description="the storage type of the service offering. Values are local and shared.")
protectedlongupdated; // This field should be updated everytime the state is updated. There's no set method in the vo object because it is done with in the dao code.
0 commit comments