gmueller-ewerk commented on a change in pull request #3186: Add possibility to
set KVM MTU size for NIC
URL: https://github.com/apache/cloudstack/pull/3186#discussion_r266767723
##########
File path: utils/src/main/java/com/cloud/utils/net/NetUtils.java
##########
@@ -487,6 +490,14 @@ public static boolean validIpRange(final String startIP,
final String endIP) {
return startIPLong <= endIPLong;
}
+ public static boolean isValidMtu(final Integer mtu) {
Review comment:
Good hint, I added a test and hope you are fully satisfied :)
----------------------------------------------------------------
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