cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cloudstack] andrijapanicsb commented on a change in pull request #3186: Add possibility to set KVM MTU size for all NIC
Date Fri, 01 Nov 2019 11:46:26 GMT
andrijapanicsb commented on a change in pull request #3186: Add possibility to set KVM MTU
size for all NIC
URL: https://github.com/apache/cloudstack/pull/3186#discussion_r341539248
 
 

 ##########
 File path: api/src/main/java/org/apache/cloudstack/api/command/user/vm/UpdateVmNicIpCmd.java
 ##########
 @@ -46,8 +28,25 @@
 import com.cloud.uservm.UserVm;
 import com.cloud.utils.net.NetUtils;
 import com.cloud.vm.Nic;
+import com.google.common.base.Strings;
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiCommandJobType;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.ApiConstants.VMDetails;
+import org.apache.cloudstack.api.ApiErrorCode;
+import org.apache.cloudstack.api.BaseAsyncCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.ResponseObject.ResponseView;
+import org.apache.cloudstack.api.ServerApiException;
+import org.apache.cloudstack.api.response.NicResponse;
+import org.apache.cloudstack.api.response.UserVmResponse;
+import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
 
-@APICommand(name = "updateVmNicIp", description = "Update the default Ip of a VM Nic", responseObject
= UserVmResponse.class)
+import java.util.ArrayList;
+import java.util.EnumSet;
+
+@APICommand(name = "updateVmNicIp", description = "Update the default Ip and MTU of a VM
Nic", responseObject = UserVmResponse.class)
 
 Review comment:
   "IP" not "Ip".

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message