mdominka 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_r343570075
########## 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: changed, please check again ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
