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? Tests: Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS === ok Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS === ok Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS === ok Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS === ok Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS === ok Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS === ok Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS === ok Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS === ok Test migrate VM ... SKIP: At least two hosts should be present in the zone for migration Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 10 tests in 2662.908s OK (SKIP=1) /tmp//MarvinLogs/test_vm_life_cycle_R8HIX4/results.txt (END Manual tests: Added 2 pub networks on my KVM based DC  Smae was done for XenServer 6.32 Cheers, Wilder You can merge this pull request into a Git repository by running: $ git pull https://github.com/schubergphilis/cloudstack fix/RFC_3021_31_Bit_Prefixes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/303.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #303 ---- commit 62736abeb29f1250e3078ec474fc246f7960d80d Author: wilderrodrigues <wrodrig...@schubergphilis.com> Date: 2015-05-26T06:48:43Z 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 ---- --- 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. ---