summaryrefslogtreecommitdiff
path: root/test/integration/targets/vmware_guest_powerstate
Commit message (Collapse)AuthorAgeFilesLines
* vmware_guest: speed up vmware_guest testsGonéri Le Bouder2019-07-261-7/+31
| | | | | | | | | | | | | | | | | | - Use predictable VM name during the tests (test_vm1, test_vm2 and test_vm2). This to simplify the teardown of the newly created resource before the next test. - Update the documentation to explain the new requirement - Avoid VM creation with `with_items` when it's not mandatory. This to: - speed up the test execution, our hypervisors have limited resources - simplify the teardown - Remove `create_d1_c1_f0_env.yml`, the test was just testing how Ansible pass environment variables. - Correct the name for the `f0` variable (`f1`) - Fix the DVS tests, the hosts can now reach the dvswitch1 vswitch - Provision the VM with a poweroff status, this to improve the idempotency and sleep up the tests - Avoid the use of `prepare_vmware_tests` to prepare virtual machines when we just need one machine
* VMware: Update vmware_guest_powerstate (#57000)Abhijeet Kasurde2019-06-013-111/+22
| | | | | | | | | | | * Updated documentation * Updated testcases * Updated example * Updated logic * Provided option to specify task name, task description, task enable status etc. Fixes: #56987 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* vmware: test-refactoringGonéri Le Bouder2019-05-232-3/+3
| | | | | | | | | | | | - In order to keep the integration with `ansible-test`, we prefer to avoid any interaction with the Ansible inventory file. - split up the prepare_vmware_tests/defaults/main.yml in two configuration files: one for vcsim and one for a real environment - remove all the access to hostvars - directly interact with the ESXi to mount/umount the datastore https://github.com/ansible/ansible/pull/56516 - record the virtual machine folder in the environment configuration - vmware_guest_move: Use https://github.com/ansible/ansible/pull/55237
* vmware: refactoring of vmware test roles -- part4Gonéri Le Bouder2019-05-012-2/+24
| | | | | | | | | | | | | | | | | | | | | | Refactoring of the following roles to make use of the new `prepare_vmware_tests` role. - `vmware_guest` - `vmware_guest_boot_facts` - `vmware_guest_custom_attribute_defs` - `vmware_guest_customization_facts` - `vmware_guest_disk_facts` - `vmware_guest_facts` - `vmware_guest_find` - `vmware_guest_move` - `vmware_guest_powerstate` - `vmware_guest_snapshot` - `vmware_guest_snapshot_facts` - `vmware_guest_tools_wait` This patch depends on: https://github.com/ansible/ansible/pull/55719 Original PR: https://github.com/ansible/ansible/pull/54882
* Reduce vcenter integration test boilerplate.Matt Clay2019-02-262-10/+0
|
* Update Shippable integration test groups. (#43118)Matt Clay2018-07-231-1/+1
| | | | | | | * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group.
* bump version of 'vcenter-test-container' to '1.3.0' (govmomi v0.18.0) (#41151)Deric Crago2018-06-062-4/+6
| | | | | | | * leave vmware_guest_powerstate tests enabled, but revert changes from: 66743f33 * leave VM poweroff tests enabled, but revert changes from: 87d6bdaf * bumped 'vcenter-test-container' version to '1.3.0' * updated test task names based on PR feedback
* Remove unnecessary destructive aliases.Matt Clay2018-05-091-1/+0
|
* Move pyvmomi install into cloud test plugin.Matt Clay2018-05-081-6/+0
|
* VMware: re-enable vmware_guest_powerstate tests (#36092)Abhijeet Kasurde2018-02-133-5/+4
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Enable tests which pass on Python 3.Matt Clay2018-01-121-1/+0
|
* Revert to stable vcsim docker image. (#33952)Abhijeet Kasurde2017-12-151-2/+3
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* VMware: check for ESXi server while creating user (#33061)Abhijeet Kasurde2017-12-152-2/+2
| | | | | | | | | This fix check for ESXi server instance before proceeding with managing local user. Also, adds integration tests for this change. Fixes: #32465 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Split up cloud tests to avoid 1 hour CI limit.Matt Clay2017-11-231-1/+1
|
* Update vmware integration tests (#31273)Abhijeet Kasurde2017-11-063-20/+11
| | | | | | * Boilerplat fixed * Standardized vcsim variables in all modules Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* New module - vmware_guest_powerstateAbhijeet Kasurde2017-10-024-0/+143
Fix adds a new module 'vmware_guest_powerstate' to manage power states of virtual machine. Fixes: #30371 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>