CLOUDSTACK-8506 Removing the previous logic and adding a method to check if the CIDR is 31 bit prefixed Adding tests for the new method
Signed-off-by: Daan Hoogland <[email protected]> This closes #303 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/75463356 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/75463356 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/75463356 Branch: refs/heads/master Commit: 75463356fb6c4584539d8660252ac99fcbce9b7d Parents: 0552039 Author: wilderrodrigues <[email protected]> Authored: Tue May 26 08:48:43 2015 +0200 Committer: Daan Hoogland <[email protected]> Committed: Tue May 26 12:10:00 2015 +0200 ---------------------------------------------------------------------- .../configuration/ConfigurationManagerImpl.java | 2032 +++++++++--------- utils/src/com/cloud/utils/net/NetUtils.java | 93 +- .../test/com/cloud/utils/net/NetUtilsTest.java | 27 +- 3 files changed, 1094 insertions(+), 1058 deletions(-) ----------------------------------------------------------------------
