cloudstack/test/integration/component
Marcus Sorensen 1a0a61fd9f
Allow option of exposing VM domain info via instance metadata (#6710)
This PR allows the cloud admin to set either a global or domain-specific value "metadata.allow.expose.domain", and when set this allows the VM to see the name and ID of the immediate domain that contains the VM in instance metadata. This can be useful or a variety of things such as bootstrapping VM configuration and access according to domain.

This PR also deletes the CloudZonesNetworkElement because it isn't referred to anywhere, and there was initially some confusion as to whether this code needed to be updated when extending metadata. If it needs to be kept we can remove that delete from the PR.

Signed-off-by: Marcus Sorensen <mls@apple.com>
Co-authored-by: Marcus Sorensen <mls@apple.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-09-22 15:14:21 +05:30
..
cpu_limits python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
maint Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
__init__.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
find_hosts_for_migration.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_VirtualRouter_alerts.py CLOUDSTACK-10163: Component tests sanity (#2344) 2018-01-01 16:44:18 +05:30
test_acl_isolatednetwork.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_isolatednetwork_delete.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_listsnapshot.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_listvm.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_listvolume.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_sharednetwork.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acl_sharednetwork_deployVM-impersonation.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_acquire_specified_public_ip.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_add_remove_network.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_advancedsg_networks.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_affinity_groups.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_affinity_groups_projects.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_allocation_states.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_asa1000v_fw.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_assign_vm.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_baremetal.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_base_image_updation.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_bigswitch_bcf.py CLOUDSTACK-6697: bigswitch networking plugin update 2015-04-09 13:02:02 +05:30
test_blocker_bugs.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_brocade_vcs.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_browse_templates.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_browse_templates2.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_browse_volumes.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_concurrent_create_volume_from_snapshot.py CLOUDSTACK-9895 : Added support for parallel volume(s) creation from a volume snapshot 2017-05-31 11:27:30 +05:30
test_concurrent_snapshots_limit.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_configdrive.py Allow option of exposing VM domain info via instance metadata (#6710) 2022-09-22 15:14:21 +05:30
test_cpu_domain_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_cpu_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_cpu_max_limits.py CLOUDSTACK-10163: Component tests sanity (#2344) 2018-01-01 16:44:18 +05:30
test_cpu_project_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_custom_hostname.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_deploy_vgpu_vm.py api: Deprecated changeServiceForVirtualMachine API and replaced all the occurences in the tests with scaleVirtualMachine (#6540) 2022-07-09 21:52:51 +05:30
test_deploy_vm_userdata_multi_nic.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_deploy_vm_userdata_reg.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_dhcp_dns_offload.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_dynamic_compute_offering.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_egress_fw_rules.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_egress_rules.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_eip_elb.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_instances.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_ipaddresses.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_isos.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_networks.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_escalations_routers.py CLOUDSTACK-10163: Component tests sanity (#2344) 2018-01-01 16:44:18 +05:30
test_escalations_securitygroups.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_snapshots.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_escalations_templates.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_escalations_vmware.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_escalations_volumes.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_haproxy.py Fix spelling (#6064) 2022-03-08 13:02:35 -03:00
test_host.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_host_ha.py some component tests fixes (#5442) 2022-06-10 08:26:30 -03:00
test_host_ha.sh CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
test_hypervisor_capabilities.py api,server: add params for updatehypervisorcapabilities API (#5473) 2022-02-03 10:21:23 +05:30
test_implicit_planner.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_interop_xd_ccp.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_interpod_migration.py vmware: vm migration improvements (#4385) 2021-02-12 12:41:41 +05:30
test_invalid_gw_nm.py Automation for CLOUDSTACK-9214 , detect wrong GW or NM 2016-01-07 10:47:28 +05:30
test_ip_reservation.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_lb_secondary_ip.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_ldap.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_ldap_auto_import.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_list_nics.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_list_pod.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_memory_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_migrate_vol_to_maintained_pool.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_mm_domain_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_mm_max_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_mm_project_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_multi_tag_support.py PR multi tags in compute offering [#4398] (#4399) 2021-08-16 12:08:40 -03:00
test_multiple_ip_ranges.py CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case 2014-12-11 17:54:32 +05:30
test_multiple_ips_per_nic.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_multiple_nic_support.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_multiple_public_interfaces.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_multiple_subnets_in_isolated_network.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
test_multiple_subnets_in_isolated_network_rvr.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
test_multiple_subnets_in_vpc.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
test_multiple_subnets_in_vpc_rvr.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
test_ncc_integration_dedicated.py master: travis and trillian smoketests fixes and stabilisation (#3476) 2019-07-12 17:27:49 +05:30
test_ncc_integration_shared.py master: travis and trillian smoketests fixes and stabilisation (#3476) 2019-07-12 17:27:49 +05:30
test_netscaler_configs.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_netscaler_lb.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_netscaler_lb_algo.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_netscaler_lb_sticky.py CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device" 2015-06-03 15:19:04 +05:30
test_netscaler_nw_off.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_network_ipv6.py api: fix ipv6 firewall apis default role permissions (#6579) 2022-07-31 16:49:29 +05:30
test_network_offering.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_network_vpc_custom_dns.py api,server: custom dns for guest network (#6425) 2022-09-10 13:05:40 +05:30
test_non_contiguous_vlan.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_organization_states.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_overcommit.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_persistent_networks.py Synchronization of network devices on newly added hosts for Persistent Networks (#5977) 2022-04-11 23:12:05 -03:00
test_portable_ip.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_project_configs.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_project_limits.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_project_resources.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_project_usage.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_protocol_number_security_group.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_ps_domain_limits.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_ps_limits.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_ps_max_limits.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_ps_project_limits.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_ps_resize_volume.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_public_ip.py Fix spelling (#6597) 2022-08-03 15:43:47 +05:30
test_recurring_snapshots.py CLOUDSTACK-8394: Skipping recurring snapshot test cases for Hyperv and LXC 2015-05-20 11:36:15 +05:30
test_redundant_router_cleanups.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_redundant_router_services.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_redundant_router_upgrades.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
test_region_vpc.py CLOUDSTACK-7329: Fixed issues in test_region_vpc.py 2014-08-13 17:10:48 +05:30
test_regions_accounts.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_reset_ssh_keypair.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_resource_count_running_vms.py New feature: Resource count (CPU/RAM) take only running vms into calculation (#3760) 2020-01-30 10:36:50 +01:00
test_resource_limits.py travis: Fix failing travis tests on main (#6152) 2022-03-23 09:25:27 -03:00
test_rootvolume_resize.py some component tests fixes (#5442) 2022-06-10 08:26:30 -03:00
test_routers.py Health check feature for virtual router (#3575) 2020-01-30 12:39:03 +01:00
test_secsr_mount.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_security_groups.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_separate_backup_from_snapshot.py This feature separates the snapshot creation on primary and its backing up on secondary. 2017-10-04 14:39:03 +05:30
test_shared_networks.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_snapshot_gc.py Fix spelling (#6041) 2022-03-03 13:10:14 -03:00
test_snapshot_limits.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_snapshots.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_snapshots_improvement.py CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC 2015-04-30 07:49:14 +05:30
test_ss_domain_limits.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_ss_limits.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_ss_max_limits.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_ss_volume_usage.py Cloudstack 10064: Secondary storage Usage for uploadedVolume is not collected (#2258) 2017-12-27 13:21:54 +05:30
test_stopped_vm.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_storage_motion.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_tags.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_template_access_across_domains.py Added configuration and Integration test to restrict public template … (#4774) 2022-04-21 23:10:21 -03:00
test_template_from_snapshot_with_template_details.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_templates.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_updateResourceCount.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_update_vm.py CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
test_user_private_gateway.py Fix user shared networks tests (#6319) 2022-04-27 07:30:44 -03:00
test_user_shared_network.py Fix user shared networks tests (#6319) 2022-04-27 07:30:44 -03:00
test_vm_passwdenabled.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_vmware_drs.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_volume_destroy_recover.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_volumes.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_vpc.py CLOUDSTACK-10163: Component tests sanity (#2344) 2018-01-01 16:44:18 +05:30
test_vpc_distributed_routing_offering.py OVS/GRE: bug fixes (#5446) 2021-10-03 14:47:52 +05:30
test_vpc_ipv6.py test: add, refactor ipv6 network, vpc tests (#6338) 2022-07-12 12:54:53 +05:30
test_vpc_network.py spelling: Fix spelling `Occured` to `Occurred` (#6061) 2022-03-07 15:07:02 +05:30
test_vpc_network_internal_lbrules.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_vpc_network_lbrules.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_vpc_network_pfrules.py Fix spelling (#6064) 2022-03-08 13:02:35 -03:00
test_vpc_network_staticnatrule.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_vpc_offerings.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_vpc_routers.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_vpc_vm_life_cycle.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_vpc_vms_deployment.py tests: component test ports/fixes in python3 (#5082) 2021-09-02 16:03:49 +05:30
test_vpn_users.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30