cloudstack/test/integration/component
Rohit Yadav 185be24ed8
Merge pull request #1577 from nlivens/CLOUDSTACK-9321
CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg fileMultiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file. Moreover, each time a new Internal LB rule is added to the corresponding InternalLbVm instance, it replaces the existing one. Thus, traffic corresponding to these un-resolved (old) Internal LB rules are getting dropped by the InternalLbVm instance.

PR contents:
1) Fix for this bug.
2) Marvin test coverage for Internal LB feature on master with native ACS setup (component directory) including validations for this bug fix.
3) Enhancements on our exiting Internal LB Marvin test code (nuagevsp plugins directory) to validate this bug fix.
4) PEP8 & PyFlakes compliance with the added Marvin test code.

* pr/1577:
  CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-11-25 13:31:45 +05:30
..
cpu_limits CLOUDSTACK-4934: Rename Limit resources tests so that they have unique names. 2013-11-08 10:25:39 +05:30
maint Added a test to test update router in sequence 2016-09-12 15:24:47 +05:30
__init__.py apply chip childers licensing patches for the test directory 2012-06-26 11:19:58 -04:00
find_hosts_for_migration.py BUG-ID: CLOUDSTACK-8484 - Hosts without tag are not listed while 2015-07-03 17:36:54 +05:30
test_VirtualRouter_alerts.py CLOUDSTACK-8582: Modifying tag for test cases which should not be run on simulator 2015-06-24 16:52:24 +05:30
test_accounts.py CLOUDSTACK-9544: Check access on account trying to generate user API keys 2016-10-27 22:15:49 +05:30
test_acl_isolatednetwork.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_acl_isolatednetwork_delete.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_acl_listsnapshot.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_listvm.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_listvolume.py test/integration: fix tearDown order in list_acl_ tests 2016-08-23 14:49:21 +05:30
test_acl_sharednetwork.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_acl_sharednetwork_deployVM-impersonation.py CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-10-12 23:38:53 -04:00
test_add_remove_network.py New test to validate starting vm after nic removal and attach Bug-Id: CLOUDSTACK-9219 2016-04-06 16:11:54 +05:30
test_advancedsg_networks.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_affinity_groups.py CLOUDSTACK-6276 Removing unused parameter in integration test 2015-11-28 20:44:56 -05:00
test_affinity_groups_projects.py CLOUDSTACK-6276 Removing unused parameter in integration test for projects 2015-11-28 20:46:24 -05:00
test_allocation_states.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_asa1000v_fw.py CLOUDSTACK-5925: Changes to regression tests as per new get_zone, get_pod etc definitions 2014-02-26 17:13:21 +05:30
test_assign_vm.py CLOUDSTACK-8509: Skip snapshot tests for LXC and Hyper-V 2015-05-25 18:03:14 +05:30
test_baremetal.py CLOUDSTACK-7135: test_baremetal.py - Tagging test case as invalid 2014-09-15 16:53:50 +05:30
test_base_image_updation.py CLOUDSTACK-8161: fixed few more wrong references in the tests while 2015-02-08 00:36:01 +05:30
test_bigswitch_bcf.py CLOUDSTACK-6697: bigswitch networking plugin update 2015-04-09 13:02:02 +05:30
test_blocker_bugs.py CLOUDSTACK-9388: Remove string conversion in assertion statement 2016-05-25 14:57:29 +05:30
test_brocade_vcs.py CLOUDSTACK-7547: Brocade Device Data was hard coded, moved it to config file 2014-09-17 14:40:30 +05:30
test_browse_templates.py CLOUDSTACK-8651: [Browser Based Upload Template] Partially uploaded templates doesn't get cleaned up after the SSVM handling it is destroyed 2015-07-29 13:40:43 +05:30
test_browse_templates2.py Moved test for CLOUDSTACK-8651 to a new .py file 2015-07-29 13:41:31 +05:30
test_browse_volumes.py CLOUDSTACK-8655: [Browser Based Upload Volume] Partially uploaded volumes are not getting destroyed as part of storage GC 2015-07-22 19:05:47 +05:30
test_concurrent_snapshots_limit.py CLOUDSTACK-8549-Update test_concurrent_snapshots_limits.py asesrt statement 2015-07-16 10:26:26 +05:30
test_cpu_domain_limits.py Skip vm migration code from the test since it is not supported on LXC 2015-05-27 11:50:00 +05:30
test_cpu_limits.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_cpu_max_limits.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_cpu_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_custom_hostname.py CLOUDSTACK-8153: Adding global setting value check for few test cases in test_custom_hostname.py 2015-02-03 17:58:42 +05:30
test_deploy_vgpu_vm.py Correcting a minor typo in test_deploy_vgpu_vm.py script 2015-02-03 17:57:33 +05:30
test_deploy_vm_userdata_multi_nic.py Marvin script for cloudstack-9365 2016-05-11 07:59:38 +02:00
test_deploy_vm_userdata_reg.py CLOUDSTACK-7433: removed hard coding for host credentials 2014-09-04 17:44:50 +05:30
test_dhcp_dns_offload.py CLOUDSTACK-8324: Added integration tests for dhcp dns offload feature 2015-07-10 09:49:32 +05:30
test_dynamic_compute_offering.py CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC 2015-02-13 15:47:19 +05:30
test_egress_fw_rules.py fix egress rule incorrect behavior 2016-09-20 16:56:06 +05:30
test_egress_rules.py CLOUDSTACK-7978 : Fixed the script 'test_egress_rules.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:32:46 -08:00
test_eip_elb.py CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports. 2014-11-14 16:39:55 +05:30
test_escalation_listTemplateDomainAdmin.py style: leading space removed 2015-07-17 13:35:37 +02:00
test_escalations_instances.py Restore VM verification tests 2015-04-08 12:39:16 +05:30
test_escalations_ipaddresses.py More typos 2015-08-20 13:04:29 +01:00
test_escalations_isos.py CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests 2014-10-13 00:29:38 -04:00
test_escalations_networks.py CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests 2014-10-13 00:29:38 -04:00
test_escalations_routers.py CLOUDSTACK-8757:FTP modules are not loaded in VR 2015-08-21 18:04:19 +05:30
test_escalations_securitygroups.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_escalations_snapshots.py Snapshot tests are not supported on Hyper-v so skipping the tests 2015-05-27 14:19:43 +05:30
test_escalations_templates.py test case automated for list template pagination 2015-08-13 15:51:16 +05:30
test_escalations_vmware.py Revert "CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9" 2015-09-11 21:18:25 +05:30
test_escalations_volumes.py CLOUDSTACK-8515: Skipping snapshots tests on HyperV and LXC hypervisors 2015-06-04 10:56:28 +05:30
test_escalations_vpncustomergateways.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_haproxy.py CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating network rules 2015-05-27 10:19:51 +05:30
test_host_ha.py CLOUDSTACK-9350: KVM-HA- Fix CheckOnHost for Local storage 2016-04-29 12:38:33 +05:30
test_host_ha.sh CLOUDSTACK-9350: KVM-HA- Fix CheckOnHost for Local storage 2016-04-29 12:38:33 +05:30
test_host_maintenance.py CLOUDSTACK-9323: Fix Cancel maintenance so that if maintenance is cancelled the host come back to normal state gracefully. 2016-04-25 15:28:32 +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 Removed medium dictionary from test_data and modified the tests dependent on it 2015-08-06 11:29:13 +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 CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly 2014-12-12 18:58:14 +05:30
test_lb_secondary_ip.py Modified test_lb_secondary_ip.py file: Local variable accessed as class variable 2015-06-02 12:33:06 +02:00
test_ldap.py More typos 2015-08-20 13:04:29 +01:00
test_memory_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_mm_domain_limits.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_mm_max_limits.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_mm_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
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 Incorporated review comments provided in PR#183 2015-04-22 15:51:01 +05:30
test_netscaler_configs.py CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly 2014-11-25 18:30:33 +05:30
test_netscaler_lb.py CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
test_netscaler_lb_algo.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_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 CLOUDSTACK-8214: test_netscaler_nw_off.py - Skip test if enough zones are not present instead of throwing exception 2015-02-05 15:50:51 +05:30
test_network_offering.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_non_contiguous_vlan.py CLOUDSTACK-8330: Adding dvs tag to test cases which can be run on DVS configuration on vmware 2015-03-31 12:37:39 +05:30
test_organization_states.py CLOUDSTACK-7732-[Automation] - Automate organization States Test Cases relating to enabling/disabling of zone,pod,host and cluster. 2014-11-21 12:32:14 -08:00
test_overcommit.py CLOUDSTACK-8439:Automation for feature CPU/Memory overcommit 2015-07-06 09:45:26 +05:30
test_persistent_networks.py CLOUDSTACK-8731-checking usage event for delete volume 2015-11-09 16:19:14 +05:30
test_portable_ip.py bug-id:CLOUDSTACK-8055cleaned up test tags, removed unecessary tags. 2015-01-20 10:23:15 +05:30
test_project_configs.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_project_limits.py Changes for Regression failures 2015-07-09 15:54:23 +05:30
test_project_resources.py CLOUDSTACK:8515: Skipping snapshot test case for HyperV and LXC 2015-06-02 16:18:51 +05:30
test_project_usage.py Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_projects.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-05-06 16:25:32 +05:30
test_ps_domain_limits.py CLOUDSTACK-8582: Skipping unsuitable test cases for simulator 2015-07-16 10:30:14 +05:30
test_ps_limits.py CLOUDSTACK-8989 test_ps_limits.py tests can also be run on a basic setup. 2015-10-27 14:30:58 +01:00
test_ps_max_limits.py CLOUDSTACK-8626 :[Automation]fixing test/integration/component/test_ps_max_limits.py for lxc hypervisor 2015-07-16 10:21:28 +05:30
test_ps_project_limits.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_ps_resize_volume.py CLOUDSTACK-8620 :skip test cases if rbd storage is not available in lxc setup 2015-07-10 15:15:50 +02:00
test_ps_resource_limits_volume.py CLOUDSTACK-9080: Resource limits for Primary arent respected during attach. 2015-11-24 11:59:31 +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 Added new test to verify restart network after destorying master VR 2016-04-07 11:15:21 +05:30
test_redundant_router_services.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_redundant_router_upgrades.py CLOUDSTACK-8534: Fixed import and pep8 issues in test_redundant_router_upgrades.py 2015-06-02 15:52:11 +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.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_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 Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_resource_limits.py Handling Basic zone failures in startVM with false condition 2015-07-09 15:54:35 +05:30
test_routers.py CLOUDSTACK-8259: Code improvement - test_routers.py 2015-02-17 18:23:34 +05:30
test_security_groups.py Tagging tests appropriately to pick them for running on basic zone 2015-09-14 16:52:13 +05:30
test_shared_networks.py CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups 2015-05-26 12:13:42 +05:30
test_simultaneous_volume_attach.py changed the testcase skip code into setup method 2015-08-13 11:39:06 +05:30
test_snapshot_gc.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_snapshot_limits.py CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() 2015-05-06 16:25:32 +05:30
test_snapshots.py CLOUDSTACK-8492: Fix string case issue 2015-05-22 15:41:13 +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 CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py 2015-07-20 14:41:52 +05:30
test_ss_limits.py Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
test_ss_max_limits.py CLOUDSTACK-8631 :changing if condition in component/test_ss_max_limits.py 2015-07-15 13:44:06 +05:30
test_ss_project_limits.py CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly 2014-12-12 18:39:24 +05:30
test_stopped_vm.py CLOUDSTACK-8588 - Remove redundant skip test for LXC 2015-07-16 09:03:25 +02:00
test_storage_motion.py CLOUDSTACK-8161: added skips for the tests which are not supported on LXC: 2015-01-30 15:52:33 +05:30
test_tags.py Incorporated review comments from the PR 2015-12-02 16:06:26 +05:30
test_templates.py CLOUDSTACK-9376: Restrict listTemplates API with filter=all for root admin 2016-05-27 15:01:15 -04: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_usage.py Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_vm_passwdenabled.py Revert "Change references of people.apache.org to home.apache.org in the test code" 2015-11-26 12:07:49 +05:30
test_vmware_drs.py CLOUDSTACK-8240: Skipping test case in test_vmware_drs.py because the scenario is not testable through automation 2015-02-11 17:02:25 +05:30
test_volumes.py Removed sleeps and used validateList as requested. 2016-04-27 10:31:50 -04:00
test_vpc.py Added few validation steps after adding vpncustomer gateway with hostname 2016-01-08 16:22:31 +05:30
test_vpc_distributed_routing_offering.py CLOUDSTACK-7407: Skip tests if physical network does not have OVS provider support 2014-09-01 13:33:38 +05:30
test_vpc_network.py Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
test_vpc_network_internal_lbrules.py CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file 2016-11-22 15:51:22 +01:00
test_vpc_network_lbrules.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_vpc_network_pfrules.py Allow test to run on tiny linux templates using busybox 2015-06-10 22:00:54 +02:00
test_vpc_network_staticnatrule.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_vpc_offerings.py CLOUDSTACK-8935 - Clean up network resources in the right order 2015-10-23 16:00:09 +02:00
test_vpc_routers.py CLOUDSTACK-8527: Skipping VPC tests on HyperV 2015-06-18 12:12:46 +02:00
test_vpc_vm_life_cycle.py CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups 2015-05-26 12:13:42 +05:30
test_vpc_vms_deployment.py CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs 2014-11-10 16:32:39 +05:30
test_vpn_service.py [CLOUDSTACK-9296] Start ipsec for client VPN 2016-05-26 11:25:09 -04:00
test_vpn_users.py CLOUDSTACK-9498: VR CsFile search utility methods fail when search string has 2016-10-28 17:45:15 +05:30