cloudstack/server/test/com/cloud/vpc
Nicolas Vazquez 90ef67bab9 CLOUDSTACK-10109: Enable dedication of public IPs to SSVM and CPVM (#2295)
This feature allow admins to dedicate a range of public IP addresses to the SSVM and CPVM, such that they can be subject to specific external firewall rules. The option to dedicate a public IP range to the System VMs (SSVM & CPVM) is added to the createVlanIpRange API method and the UI.

Solution:
Global setting 'system.vm.public.ip.reservation.mode.strictness' is added to determine if the use of the system VM reservation is strict (when true) or preferred (false), false by default.
When a range has been dedicated to System VMs, CloudStack should apply IPs from that range to
the public interfaces of the CPVM and the SSVM depending on global setting's value:

If the global setting is set to false: then CloudStack will use any unused and unreserved public IP
addresses for system VMs only when the pool of reserved IPs has been exhausted
If the global setting is set to true: then CloudStack will fail to deploy the system VM when the pool
of reserved IPs has been exhausted, citing the lack of available IPs.
UI Changes
Under Infrastructure -> Zone -> Physical Network -> Public -> IP Ranges, button 'Account' label is refactored to 'Set reservation'.

When that button is clicked, dialog displayed is also refactored, including a new checkbox 'System VMs' which indicates if range should be dedicated for CPVM and SSVM, and a note indicating its usage.

When clicking on button for any created range, UI dialog displayed indicates whether IP range is dedicated for system vms or not.
2018-01-06 23:14:30 +05:30
..
dao CLOUDSTACK-9450: Network Offering for VPC based on DB flag 2017-11-03 12:39:23 +01:00
MockConfigurationManagerImpl.java CLOUDSTACK-10109: Enable dedication of public IPs to SSVM and CPVM (#2295) 2018-01-06 23:14:30 +05:30
MockNetworkManagerImpl.java CLOUDSTACK-10189: Adding nuage VSD managed network support to CloudStack (#2360) 2017-12-28 14:55:15 +05:30
MockNetworkModelImpl.java CLOUDSTACK-9949: add ability to specify mac address (#2143) 2017-09-16 12:16:42 +05:30
MockResourceLimitManagerImpl.java CLOUDSTACK-10104: Optimize database transactions in ListDomain API to improve performance (#2282) 2018-01-05 21:51:46 +05:30
MockSite2SiteVpnManagerImpl.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
MockSite2SiteVpnServiceProvider.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
MockVpcVirtualNetworkApplianceManager.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
NetworkACLManagerTest.java CLOUDSTACK-9245 - Deletes ACL items when destroying the VPC or deleting the ACL itself 2016-01-22 12:49:48 +01:00
NetworkACLServiceTest.java CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
Site2SiteVpnTest.java Removed trailing spaces 2013-11-21 04:08:01 -08:00
VpcApiUnitTest.java CLOUDSTACK-8656: restructure tests to ensure exception throwing 2015-08-14 15:43:54 +02:00
VpcTestConfiguration.java CLOUDSTACK-8958: add dedicated ips to domain (account for now) 2015-11-16 10:17:40 +01:00