[GitHub] cloudstack pull request: CLOUDSTACK-8506 extra check on unknown vl...

2015-05-27 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/306 --- 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

[GitHub] cloudstack pull request: CLOUDSTACK-8506 extra check on unknown vl...

2015-05-27 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/306#issuecomment-105890045 Tested VM life cycles and creation of public networks. Everything is working fine! ![image](https://cloud.githubusercontent.com/assets/5129209/78353

[GitHub] cloudstack pull request: CLOUDSTACK-8506 extra check on unknown vl...

2015-05-27 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/306#issuecomment-105825295 Travis failed on jobs 2848.6/7. 2848.6 failed due to: Failed to execute goal on project cloud-server: Could not resolve dependencies for pro

[GitHub] cloudstack pull request: CLOUDSTACK-8506 extra check on unknown vl...

2015-05-26 Thread DaanHoogland
GitHub user DaanHoogland opened a pull request: https://github.com/apache/cloudstack/pull/306 CLOUDSTACK-8506 extra check on unknown vlan @wilderrodrigues You can merge this pull request into a Git repository by running: $ git pull https://github.com/DaanHoogland/cloudstack ma

[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/303 --- 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

[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/303#issuecomment-105469798 lgtm, the pull request builder is failing with a known issue. testing locally --- If your project is set up for it, you can reply to this email and have your r

[GitHub] cloudstack pull request: CLOUDSTACK-8506

2015-05-26 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/303 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 @DaanHoogland, could you have a look?

Re: [GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-25 Thread Daan Hoogland
This code is a bug. To split in two conditions range 1 is a /31 or range 1 is not a /31; precondition: endIp1Long == startIp1Long + 1 1: startIp2Long - startIp1Long == startIp2Long - (endIp1Long - ip31bitPrefixOffSet)# - startip2Long 2: - startIp1Long == - (endIp1Long - ip31bitPrefixOffSet)

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943691 --- Diff: utils/src/com/cloud/utils/net/NetUtils.java --- @@ -329,35 +329,46 @@ public static String getMacAddress(InetAddress address) {

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cloudstack/pull/292 --- 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

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943403 --- Diff: utils/src/com/cloud/utils/net/NetUtils.java --- @@ -329,35 +329,46 @@ public static String getMacAddress(InetAddress address) {

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/292#issuecomment-104872293 Ah, indeed. There is the logic you mentioned in the previous comment and 1 added call to NetUtils.isIpWithtInCidrRange() line 1509 which is:

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/292#issuecomment-104871936 the pr contains a lot of added final keywords, more then actual code. --- If your project is set up for it, you can reply to this email and have your reply appe

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/292#issuecomment-104871245 @DaanHoogland , I also commented on your comments. Which bit is hard to review? Put a lot of test results and also did the manual tests for the publi

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943304 --- Diff: utils/src/com/cloud/utils/net/NetUtils.java --- @@ -329,35 +329,46 @@ public static String getMacAddress(InetAddress address) {

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943291 --- Diff: server/src/com/cloud/configuration/ConfigurationManagerImpl.java --- @@ -3556,6 +3556,11 @@ private void checkPublicIpRangeErrors(long z

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread DaanHoogland
Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/292#issuecomment-104865612 hard to review this, @wilderrodrigues I made one comment on the logic. --- If your project is set up for it, you can reply to this email and have your reply app

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943140 --- Diff: server/src/com/cloud/configuration/ConfigurationManagerImpl.java --- @@ -3556,6 +3556,11 @@ private void checkPublicIpRangeErrors(long zone

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/292#discussion_r30943135 --- Diff: utils/src/com/cloud/utils/net/NetUtils.java --- @@ -329,35 +329,46 @@ public static String getMacAddress(InetAddress address) {

[GitHub] cloudstack pull request: CLOUDSTACK-8506 - Make ACS compliant with...

2015-05-23 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/292 CLOUDSTACK-8506 - Make ACS compliant with the RFC 3021 Hi @bhaisaab and @DaanHoogland Could you please have a look at this PR and also at the RFC 3021? It allows us to h