cloudstack/server/test/com/cloud/network
Rohit Yadav acc5fdcdbd
CLOUDSTACK-10290: allow config drives on primary storage for KVM (#2651)
This introduces a new global setting `vm.configdrive.primarypool.enabled` to toggle creation/hosting of config drive iso files on primary storage, the default will be false causing them to be hosted on secondary storage. The current support is limited from hypervisor resource side and in current implementation limited to `KVM` only. The next big change is that config drive is created at a temporary location by management server and shipped to either KVM or SSVM agent via cmd-answer pattern, the data of which is not logged in logs. This saves us from adding genisoimage dependency on cloudstack-agent pkg.

The APIs to reset ssh public key, password and user-data (via update VM API) requires that VM should be shutdown. Therefore, in the refactoring I removed the case of updation of existing ISO. If there are objections I'll re-put the strategy to detach+attach new config iso as a way of updation. In the refactored implementation, the folder name is changed to lower-cased configdrive. And during VM start, migration or shutdown/removal if primary storage is enable for use, the KVM agent will handle cleanup tasks otherwise SSVM agent will handle them.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-05-21 14:27:23 +05:30
..
dao Removed trailing spaces 2013-11-21 04:08:01 -08:00
element CLOUDSTACK-10290: allow config drives on primary storage for KVM (#2651) 2018-05-21 14:27:23 +05:30
firewall CLOUDSTACK-9669:Advaced zone isolated network egress destination cidr support 2017-06-06 15:51:00 +05:30
lb Fixed build failure due to commit 843f6b1691 2015-03-17 10:34:00 +05:30
router CLOUDSTACK-9592 Empty responses from site to site connection status are not handled propertly 2017-05-08 19:24:34 +05:30
security Offer a getDurationInMillis() method in the Profiler utility class 2015-06-24 09:36:40 +02:00
vpc Vpc redundancy enabled. Including Vpc & Vpc Offering creation. Marvin tests and UI. 2015-03-16 11:38:05 +01:00
vpn Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
CreatePrivateNetworkTest.java CLOUDSTACK-10189: Adding nuage VSD managed network support to CloudStack (#2360) 2017-12-28 14:55:15 +05:30
DedicateGuestVlanRangesTest.java CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
ExternalLoadBalancerDeviceManagerImplTest.java CLOUDSTACK-8672 : NCC Integration with CloudStack. 2017-07-20 12:42:43 +05:30
IpAddressManagerTest.java CLOUDSTACK-9317: Fixed disable static nat on leaving ips on interface 2017-05-17 11:03:50 +05:30
MockFirewallManagerImpl.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
MockNetworkModelImpl.java config-drive: use hostname of VM instance of internal VM id (#2645) 2018-05-16 13:19:21 +05:30
NetworkManagerTestComponentLibrary.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkModelTest.java CLOUDSTACK-9403: Support for shared networks in Nuage VSP plugin 2016-12-07 10:03:28 +01:00
UpdatePhysicalNetworkTest.java All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00