Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1125#discussion_r46672603 --- Diff: server/src/com/cloud/network/NetworkServiceImpl.java --- @@ -1197,6 +1197,10 @@ public Network createGuestNetwork(CreateNetworkCmd cmd) throws InsufficientCapac } if (gateway != null && netmask != null) { + if(!NetUtils.isNetworkorBroadcastIP(gateway,netmask)) { + s_logger.debug("The gateway IP provided is "+ gateway + " and netmask is "+ netmask + ". The IP is either broadcast or network IP."); --- End diff -- please, check for isDebugEnabled on s_logger
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---