Skip to content

Adding docs fix for issue 389#612

Merged
bhati-pradeep merged 2 commits intorelease/2.1from
imprv/389
Mar 18, 2025
Merged

Adding docs fix for issue 389#612
bhati-pradeep merged 2 commits intorelease/2.1from
imprv/389

Conversation

@george-ghawali
Copy link
Collaborator

No description provided.

@bhati-pradeep bhati-pradeep merged commit 6a0f731 into release/2.1 Mar 18, 2025
9 checks passed
bhati-pradeep added a commit that referenced this pull request Apr 7, 2025
…tection & policies, LCM and VGs (#604)

* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Readme changes for release/2.1.0 (#619)

* Readme changes for release/2.1.0

* Changes in galaxy.yml file

* Minor changes in README.md

* Added version added in some files and fixed Copyright year to 2025 in one file

* Minor fix in the filter documentation (#624)

* Update requirements file (#625)

* Update requirements file

* Update ansible version in runtime.yml file

* upgrade python version in flake8

* Readme Update for release (#626)

* Minor changes in README.md

* Adding contents in CHANGELOG.rst and changelog.yaml

* Changes in CHANGELOG.md

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
abhinavbansal29 added a commit that referenced this pull request Jul 16, 2025
…s(IAM), Objects and several bugs (#672)

* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Adding object storage management dev code

* Adding code fixes & tests

* code fixes & adding tests for create/get certificate

* Adding tests for update operation

* adding minor fix in code

* Adding fixes in dev&tests

* Adding examples, fixes in code/docs/tests

* Adding fixes in code&examples

* Adding pathlib to req file

* Adding sanity fix

* isort and sanity fix

* import pathlib instead of pathlib2

* Sanity fixes

* sanity fix

* isort fix

* flake8 fix

* minor fix in dev code

* sanity fix

* minor fix

* Resolving comments

* Adding check mode to delete object store and create certificate

* ansible lint fix

* black fix & updating versions in req files

* remove deleting bucket and object store from examples

* resolving comments

* ansible lint fix

* ansible lint fix

* resolving comments

* minor fix

* sanity fix

* black fix

* removing metadata from module spec,docs and tests

* All modules for Service Accounts in IAM namespace (#622)

* Dev code for service account

* Minor fixes

* Adding module names in runtime.yml

* Added documentation for the modules

* Fixing Isort

* Docs and test for service accounts

* Test code for service accounts

* Fixing ansible-lint

* enabling service account tests and disabling others

* Resolved Comments

* Fixed black

* Added examples for service accounts

* Fixed ansible lint

* resolved comments

* Resolved comments

* Added checkmode support for delete and revoke API keys

* Minor fix

* Minor fix

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>

* Enabling v4 test files

* Disabled storage containers tests

* Adding fix for deleting user in check mode (#674)

* Disabling all the tests except ntnx_clusters_and_hosts_v2, ntnx_lcm_v2, ntnx_power_actions_v2, ntnx_protection_policies_v2, ntnx_vms_ngt_v2

* Enabling only ntnx_storage_containers_v2 ntnx_vms_ngt_v2 ntnx_power_actions_v2

* Only ntnx_power_actions_v2 is enabled

* Enabling ntnx_prism_v2 tests

* Enabling olny deploy PC tests

* Enabled PC restore and unregister tests

* Enabling ntnx_power_actions_v2 and ntnx_storage_containers_v2, diabling prism tests

* Adding documentation for required variables in tests (#665)

* Adding test variables doc

* Adding sample variable file for all tests

* update variable name in power action test (#676)

* enable only prism to deploy pc

* enable pc deploy and power actions

* enable only power actions

* enable storage container and ngt tests

* enable only V3 tests

* enable only nutanix_vms

* disable nutanix_vms

* Fixing protection policies tests assertions (#679)

* enable only protection policies

* uncomment tests

* Removing extra comments and deleting extra var file

* disable protection policies V2

* enable v2 tests for pegasus except prism

* enable only prism tests

* enable protection policies V2

* Adding extra delay before destroying cluster in protection policies tests

* enable only protection policies V2

* enable prism object store

* enable protection policies only

* enable only prism tests

* enable deploy PC and unregister pcs in prism tests

* enable only object store backup and restore tests in prism

* enable only V1 tests

* enable only
ntnx_images_info ntnx_projects ntnx_projects_info nutanix_vms

* enable only ntnx_projects

* enable protection policies v2

* fix Cycode issue

* change api_key value with random one

* remove api key value

* enable v3 tests

* enable only ntnx_protection_policies_v2

* enable ntnx_hosts_info

* disable all tests

* Ansible lint fixes for examples (#681)

* Adding ansible lint fixes for examples

* adding more ansible lint fixes

* more ansible lint fixes

* adding ansible lint fixes

* modifying service accounts test to take full test name (#683)

* enable objects and service accounts

* revert change in req file

* enable only service accounts

* enable only deploy PC in prism tests

* enable v4 modules & update req file

* enable v3 tests only

* enable ntnx_prism_v2

* enable all prism tests

* enable ntnx_clusters_nodes_v2 only

* change SDK version to test cluster expanding in pegasus and pegasus.1

* revert SDK change

* Change SDK version to tst cluster expanding in pegasus and pegasus.1

* change SDKs versions

* change SDKs versions

* add more delay before removing node from cluster

* Added overlay subnet and deleted after test to fix pbrs automation (#685)

* Added overlay subnet and deleted after test to fix automation

* Removed commented code

* Enabled ntnx_pbrs_v2 tests

* Adding more delay in NGT tests

* removing files from req file

* Handling Prefix Length issue

* enable only prism tests

* Revert "Handling Prefix Length issue"

This reverts commit b957e9d.

* Changing req file for pegasus tests

* Enabling pbrs tests

* Added Advanced NIC to different VM in nics tests (#686)

* Added Advanced NIC to different VM

* Added internal mapping for new fields to deprecated fields

* Enabling ntnx_vms_nics_v2 tests

* Fixing black and flake8

* Changing versions of sdks to test on Pegasus setup

* Merging release2.2.0 on this branch and diabling pbrs

* enable V2 tests
ntnx_address_groups_v2 ntnx_authorization_policies_v2 ntnx_categories_v2 ntnx_clusters_and_hosts_v2 ntnx_directory_services_v2 ntnx_floating_ips_v2 ntnx_image_placement_policy_v2 ntnx_images_v2 ntnx_lcm_v2 ntnx_objects_v2 ntnx_operations_info_v2 ntnx_pbrs_v2 ntnx_power_actions_v2 ntnx_protection_policies_v2 ntnx_recovery_points_v2 ntnx_roles_v2 ntnx_routes_v2 ntnx_saml_identity_providers_v2 ntnx_service_accounts_v2 ntnx_service_groups_v2 ntnx_storage_containers_v2 ntnx_user_groups_v2 ntnx_users_v2 ntnx_vms_categories_v2 ntnx_vms_cd_rom_v2 ntnx_vms_clone_v2 ntnx_vms_disks_v2 ntnx_vms_ngt_v2 ntnx_vms_nics_v2 ntnx_vms_serial_port_v2 ntnx_vms_stage_guest_customization_v2 ntnx_vms_templates_v2 ntnx_vms_v2 ntnx_volume_groups_disks_v2 ntnx_volume_groups_iscsi_clients_v2 ntnx_volume_groups_v2 ntnx_volume_groups_vms_v2 ntnx_vpcs_v2 nutanix_subnets_v2

* Changing requirements for testing with latest sdks

* enable V3 tests only

* enable only ntnx_protection_policies_v2

* enable projects and projects info tests in V3

* enable prism only

* Idempotency fix Security Rules (#689)

* Idempotency fix Security Rules

* Enabling Security Rules tests

* Security Rules Idempotency fix in the utils file to make it generalize

* Fixing black, isort and flake8

* Fixed Isort

* Resolving Comments

* minor copyright fix

* enable ntnx_security_policies_v2

* enable ntnx_security_rules_v2

* Changing requirements for running on pegasus

* Changing requirements for integration tests to latest

* Enabling ntnx_clusters_nodes_v2 tests

* Ansible lint fixes in release 2.2.0 (#699)

* Adding ansible lint fixes

* undo cluster changes

* Adding ansible lint fix

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>
abhinavbansal29 added a commit that referenced this pull request Jul 17, 2025
* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Adding object storage management dev code

* Adding code fixes & tests

* code fixes & adding tests for create/get certificate

* Adding tests for update operation

* adding minor fix in code

* Adding fixes in dev&tests

* Adding examples, fixes in code/docs/tests

* Adding fixes in code&examples

* Adding pathlib to req file

* Adding sanity fix

* isort and sanity fix

* import pathlib instead of pathlib2

* Sanity fixes

* sanity fix

* isort fix

* flake8 fix

* minor fix in dev code

* sanity fix

* minor fix

* Resolving comments

* Adding check mode to delete object store and create certificate

* ansible lint fix

* black fix & updating versions in req files

* remove deleting bucket and object store from examples

* resolving comments

* ansible lint fix

* ansible lint fix

* resolving comments

* minor fix

* sanity fix

* black fix

* removing metadata from module spec,docs and tests

* All modules for Service Accounts in IAM namespace (#622)

* Dev code for service account

* Minor fixes

* Adding module names in runtime.yml

* Added documentation for the modules

* Fixing Isort

* Docs and test for service accounts

* Test code for service accounts

* Fixing ansible-lint

* enabling service account tests and disabling others

* Resolved Comments

* Fixed black

* Added examples for service accounts

* Fixed ansible lint

* resolved comments

* Resolved comments

* Added checkmode support for delete and revoke API keys

* Minor fix

* Minor fix

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>

* Enabling v4 test files

* Disabled storage containers tests

* Adding fix for deleting user in check mode (#674)

* Disabling all the tests except ntnx_clusters_and_hosts_v2, ntnx_lcm_v2, ntnx_power_actions_v2, ntnx_protection_policies_v2, ntnx_vms_ngt_v2

* Enabling only ntnx_storage_containers_v2 ntnx_vms_ngt_v2 ntnx_power_actions_v2

* Only ntnx_power_actions_v2 is enabled

* Enabling ntnx_prism_v2 tests

* Enabling olny deploy PC tests

* Enabled PC restore and unregister tests

* Enabling ntnx_power_actions_v2 and ntnx_storage_containers_v2, diabling prism tests

* Adding documentation for required variables in tests (#665)

* Adding test variables doc

* Adding sample variable file for all tests

* update variable name in power action test (#676)

* enable only prism to deploy pc

* enable pc deploy and power actions

* enable only power actions

* enable storage container and ngt tests

* enable only V3 tests

* enable only nutanix_vms

* disable nutanix_vms

* Fixing protection policies tests assertions (#679)

* enable only protection policies

* uncomment tests

* Removing extra comments and deleting extra var file

* disable protection policies V2

* enable v2 tests for pegasus except prism

* enable only prism tests

* enable protection policies V2

* Adding extra delay before destroying cluster in protection policies tests

* enable only protection policies V2

* enable prism object store

* enable protection policies only

* enable only prism tests

* enable deploy PC and unregister pcs in prism tests

* enable only object store backup and restore tests in prism

* enable only V1 tests

* enable only
ntnx_images_info ntnx_projects ntnx_projects_info nutanix_vms

* enable only ntnx_projects

* enable protection policies v2

* fix Cycode issue

* change api_key value with random one

* remove api key value

* enable v3 tests

* enable only ntnx_protection_policies_v2

* enable ntnx_hosts_info

* disable all tests

* Ansible lint fixes for examples (#681)

* Adding ansible lint fixes for examples

* adding more ansible lint fixes

* more ansible lint fixes

* adding ansible lint fixes

* modifying service accounts test to take full test name (#683)

* enable objects and service accounts

* revert change in req file

* enable only service accounts

* enable only deploy PC in prism tests

* enable v4 modules & update req file

* enable v3 tests only

* enable ntnx_prism_v2

* enable all prism tests

* enable ntnx_clusters_nodes_v2 only

* change SDK version to test cluster expanding in pegasus and pegasus.1

* revert SDK change

* Change SDK version to tst cluster expanding in pegasus and pegasus.1

* change SDKs versions

* change SDKs versions

* add more delay before removing node from cluster

* Added overlay subnet and deleted after test to fix pbrs automation (#685)

* Added overlay subnet and deleted after test to fix automation

* Removed commented code

* Enabled ntnx_pbrs_v2 tests

* Adding more delay in NGT tests

* removing files from req file

* Handling Prefix Length issue

* enable only prism tests

* Revert "Handling Prefix Length issue"

This reverts commit b957e9d.

* Changing req file for pegasus tests

* Enabling pbrs tests

* Added Advanced NIC to different VM in nics tests (#686)

* Added Advanced NIC to different VM

* Added internal mapping for new fields to deprecated fields

* Enabling ntnx_vms_nics_v2 tests

* Fixing black and flake8

* Changing versions of sdks to test on Pegasus setup

* Merging release2.2.0 on this branch and diabling pbrs

* enable V2 tests
ntnx_address_groups_v2 ntnx_authorization_policies_v2 ntnx_categories_v2 ntnx_clusters_and_hosts_v2 ntnx_directory_services_v2 ntnx_floating_ips_v2 ntnx_image_placement_policy_v2 ntnx_images_v2 ntnx_lcm_v2 ntnx_objects_v2 ntnx_operations_info_v2 ntnx_pbrs_v2 ntnx_power_actions_v2 ntnx_protection_policies_v2 ntnx_recovery_points_v2 ntnx_roles_v2 ntnx_routes_v2 ntnx_saml_identity_providers_v2 ntnx_service_accounts_v2 ntnx_service_groups_v2 ntnx_storage_containers_v2 ntnx_user_groups_v2 ntnx_users_v2 ntnx_vms_categories_v2 ntnx_vms_cd_rom_v2 ntnx_vms_clone_v2 ntnx_vms_disks_v2 ntnx_vms_ngt_v2 ntnx_vms_nics_v2 ntnx_vms_serial_port_v2 ntnx_vms_stage_guest_customization_v2 ntnx_vms_templates_v2 ntnx_vms_v2 ntnx_volume_groups_disks_v2 ntnx_volume_groups_iscsi_clients_v2 ntnx_volume_groups_v2 ntnx_volume_groups_vms_v2 ntnx_vpcs_v2 nutanix_subnets_v2

* Changing requirements for testing with latest sdks

* enable V3 tests only

* enable only ntnx_protection_policies_v2

* enable projects and projects info tests in V3

* enable prism only

* Idempotency fix Security Rules (#689)

* Idempotency fix Security Rules

* Enabling Security Rules tests

* Security Rules Idempotency fix in the utils file to make it generalize

* Fixing black, isort and flake8

* Fixed Isort

* Resolving Comments

* Adding Table of Content in Readme

* minor copyright fix

* Few changes in Readme file

* Minor fix in Readme file

* Adding changelog changes

* Minor fix

* Addressing comments

* Fixing ansible lint

* Fixing ansible lint

* Addressing Comments

* Minor fix

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>
abhinavbansal29 added a commit that referenced this pull request Aug 7, 2025
…ack-flake fixes (#714)

* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Adding object storage management dev code

* Adding code fixes & tests

* code fixes & adding tests for create/get certificate

* Adding tests for update operation

* adding minor fix in code

* Adding fixes in dev&tests

* Adding examples, fixes in code/docs/tests

* Adding fixes in code&examples

* Adding pathlib to req file

* Adding sanity fix

* isort and sanity fix

* import pathlib instead of pathlib2

* Sanity fixes

* sanity fix

* isort fix

* flake8 fix

* minor fix in dev code

* sanity fix

* minor fix

* Resolving comments

* Adding check mode to delete object store and create certificate

* ansible lint fix

* black fix & updating versions in req files

* remove deleting bucket and object store from examples

* resolving comments

* ansible lint fix

* ansible lint fix

* resolving comments

* minor fix

* sanity fix

* black fix

* removing metadata from module spec,docs and tests

* All modules for Service Accounts in IAM namespace (#622)

* Dev code for service account

* Minor fixes

* Adding module names in runtime.yml

* Added documentation for the modules

* Fixing Isort

* Docs and test for service accounts

* Test code for service accounts

* Fixing ansible-lint

* enabling service account tests and disabling others

* Resolved Comments

* Fixed black

* Added examples for service accounts

* Fixed ansible lint

* resolved comments

* Resolved comments

* Added checkmode support for delete and revoke API keys

* Minor fix

* Minor fix

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>

* Enabling v4 test files

* Disabled storage containers tests

* Adding fix for deleting user in check mode (#674)

* Disabling all the tests except ntnx_clusters_and_hosts_v2, ntnx_lcm_v2, ntnx_power_actions_v2, ntnx_protection_policies_v2, ntnx_vms_ngt_v2

* Enabling only ntnx_storage_containers_v2 ntnx_vms_ngt_v2 ntnx_power_actions_v2

* Only ntnx_power_actions_v2 is enabled

* Enabling ntnx_prism_v2 tests

* Enabling olny deploy PC tests

* Enabled PC restore and unregister tests

* Enabling ntnx_power_actions_v2 and ntnx_storage_containers_v2, diabling prism tests

* Adding documentation for required variables in tests (#665)

* Adding test variables doc

* Adding sample variable file for all tests

* update variable name in power action test (#676)

* enable only prism to deploy pc

* enable pc deploy and power actions

* enable only power actions

* enable storage container and ngt tests

* enable only V3 tests

* enable only nutanix_vms

* disable nutanix_vms

* Fixing protection policies tests assertions (#679)

* enable only protection policies

* uncomment tests

* Removing extra comments and deleting extra var file

* disable protection policies V2

* enable v2 tests for pegasus except prism

* enable only prism tests

* enable protection policies V2

* Adding extra delay before destroying cluster in protection policies tests

* enable only protection policies V2

* enable prism object store

* enable protection policies only

* enable only prism tests

* enable deploy PC and unregister pcs in prism tests

* enable only object store backup and restore tests in prism

* enable only V1 tests

* enable only
ntnx_images_info ntnx_projects ntnx_projects_info nutanix_vms

* enable only ntnx_projects

* enable protection policies v2

* fix Cycode issue

* change api_key value with random one

* remove api key value

* enable v3 tests

* enable only ntnx_protection_policies_v2

* enable ntnx_hosts_info

* disable all tests

* Ansible lint fixes for examples (#681)

* Adding ansible lint fixes for examples

* adding more ansible lint fixes

* more ansible lint fixes

* adding ansible lint fixes

* Adding new attribute to module spec

* update req file

* Revert "update req file"

This reverts commit 88c1c13.

* update black version

* black fixes

* flake fix

* removing ntnx_Securtiy_account_v2

* resovling comment

* enable ntnx_security_rules_v2 to run in pipeline

* disable test

* Adding check mode tests

* enable tests

* disable tests

---------

Co-authored-by: abhinavbansal29 <abhinav.bansal1@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>
Co-authored-by: Abhinav Bansal <abhinavbansal349@gmail.com>
george-ghawali added a commit that referenced this pull request Oct 29, 2025
…er Management (Password Manager), Disk Migration and several bugs and improvements (#707)

* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Adding object storage management dev code

* Adding code fixes & tests

* code fixes & adding tests for create/get certificate

* Adding tests for update operation

* adding minor fix in code

* Adding fixes in dev&tests

* Adding examples, fixes in code/docs/tests

* Adding fixes in code&examples

* Adding pathlib to req file

* Adding sanity fix

* isort and sanity fix

* import pathlib instead of pathlib2

* Sanity fixes

* sanity fix

* isort fix

* flake8 fix

* minor fix in dev code

* sanity fix

* minor fix

* Resolving comments

* Adding check mode to delete object store and create certificate

* ansible lint fix

* black fix & updating versions in req files

* remove deleting bucket and object store from examples

* resolving comments

* ansible lint fix

* ansible lint fix

* resolving comments

* minor fix

* sanity fix

* black fix

* removing metadata from module spec,docs and tests

* All modules for Service Accounts in IAM namespace (#622)

* Dev code for service account

* Minor fixes

* Adding module names in runtime.yml

* Added documentation for the modules

* Fixing Isort

* Docs and test for service accounts

* Test code for service accounts

* Fixing ansible-lint

* enabling service account tests and disabling others

* Resolved Comments

* Fixed black

* Added examples for service accounts

* Fixed ansible lint

* resolved comments

* Resolved comments

* Added checkmode support for delete and revoke API keys

* Minor fix

* Minor fix

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>

* Enabling v4 test files

* Disabled storage containers tests

* Adding fix for deleting user in check mode (#674)

* Disabling all the tests except ntnx_clusters_and_hosts_v2, ntnx_lcm_v2, ntnx_power_actions_v2, ntnx_protection_policies_v2, ntnx_vms_ngt_v2

* Enabling only ntnx_storage_containers_v2 ntnx_vms_ngt_v2 ntnx_power_actions_v2

* Only ntnx_power_actions_v2 is enabled

* Enabling ntnx_prism_v2 tests

* Enabling olny deploy PC tests

* Enabled PC restore and unregister tests

* Enabling ntnx_power_actions_v2 and ntnx_storage_containers_v2, diabling prism tests

* Adding documentation for required variables in tests (#665)

* Adding test variables doc

* Adding sample variable file for all tests

* update variable name in power action test (#676)

* enable only prism to deploy pc

* enable pc deploy and power actions

* enable only power actions

* enable storage container and ngt tests

* enable only V3 tests

* enable only nutanix_vms

* disable nutanix_vms

* Fixing protection policies tests assertions (#679)

* enable only protection policies

* uncomment tests

* Removing extra comments and deleting extra var file

* disable protection policies V2

* enable v2 tests for pegasus except prism

* enable only prism tests

* enable protection policies V2

* Adding extra delay before destroying cluster in protection policies tests

* enable only protection policies V2

* enable prism object store

* enable protection policies only

* enable only prism tests

* enable deploy PC and unregister pcs in prism tests

* enable only object store backup and restore tests in prism

* enable only V1 tests

* enable only
ntnx_images_info ntnx_projects ntnx_projects_info nutanix_vms

* enable only ntnx_projects

* enable protection policies v2

* fix Cycode issue

* change api_key value with random one

* remove api key value

* enable v3 tests

* enable only ntnx_protection_policies_v2

* enable ntnx_hosts_info

* disable all tests

* Ansible lint fixes for examples (#681)

* Adding ansible lint fixes for examples

* adding more ansible lint fixes

* more ansible lint fixes

* adding ansible lint fixes

* All modules dev, tests and examples for OVA in VMM namespace (#711)

* Dev, Tests and Examples for Ovas

* Addressing comments and ansible lint fixes

* Fixing flake8

* Fixing sanity

* Fixing isort

* Enabling ova and users tests

* Minor fix

* Fixing black

* Disabling tests

* Test Improvements in Release 2.3.0 (#682)

* renaming service account tests

* modify many tests to take full test name

* Dev ,Tests and Examples for Password managers in Cluster Management namespace using v4 SDK (#678)

* Dev code for Password manager

* Fixing black and flake8

* Minor fixes and addition of docs with dev test

* Fixing ansible lint

* Tests for Password Manager

* Resolved comments

* Fixing ansible lint and sanity

* Added Examples for Password Managers

* Fixed ansible lint

* Resolved comments

* Minor fix

* Minor fix

* Enabling tests

* Enabling Password manager tests

* Disabling tests

* Adding total available results to all info modules - issue#614 (#703)

* Adding total available results to all info modules

* sanity fix

* adding total_available_results to tests

* Adding total available results for object stores certificates

* Adding total available results to lcm entities

* docs fix

* resolving comments

* resolving comments

* Adding Images V2 examples (#712)

* Adding images examples

* remove IPs and credentials

* set variables

* resolving comments

* Create images and ovas using object lite source - release/2.3.0 (#708)

* Adding tests for creating images and ova with object store

* Ansible lint fixes

* ansible lint fixes

* sanity fix

* minor fixes

* minor fix

* variable name fix

* adding images and ovas tests in different playbooks

* change variable name in update objects

* enable update objects

* Fixing ansible-lint

* Adding Dev & Tests for VM Disk Migration - Imprv/issue#636 (#730)

* Adding dev&tests for VM disk migration

* black & flake fixes

* Sanity & ansible lint fixes

* ansible lint fix

* resolving comments

* sanity fix

* enable migrate tests

* disable migrate tests

* Adding general improvements (#743)

* Dev, Docs, Examples and Tests for getting details of PC tasks and Aborting a task (#737)

* Dev code PC tasks

* Adding Docs and tests for tasks in PC

* black, flake8 and lint fixes

* Fixing ansible lint

* Removing debug statements

* Adding Examples for prism tasks

* Fixing ansible lint

* Enabling pc tasks tests

* Disabling pc tasks tests

* Addressed Comments

* Minor fix

* Enabling tests

* Disabling tests

* Enabling only state as present and disabling any other states in some modules (#748)

* Enabling only state as present and disabling any other states in some modules

* Resolving comments

* sanity fix in ova

* enable V2 tests except prism

* enable only objects v2 tests

* adding awscli to req files

* update awscli version awscli

* Minor fix in documentation

* minor fix in objects ovas

* enable vms ovas tests

* minor fix in ovas objects

* enable V3 tests

* enable only projects tests

* enable prism tests only

* enable V2 tests

* disable all tetsts

* Password Manager fixes in release 2.3.0 (#758)

* Adding fix for password managers

* minor fix

* minor fix

* Enabling password manager tests

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@nutanix.com>

* enable objects tests

* Adding small delay after Creating image using object lite source

* spelling correction fix

* enable only deploy PC in prism

* enable prism tests

* minor fix in inventory tests cfg file

* Removing unwanted packages and adding cap to nutanix sdks (#796)

* Removing unwanted packages and adding cap to nutanix sdks

* Changing the correct requirements.txt

* Changing path of requirements in flake8 file

* Adding a new line at the end of the file as per comment

---------

Co-authored-by: abhinavbansal29 <abhinav.bansal1@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>
Co-authored-by: Abhinav Bansal <abhinavbansal349@gmail.com>
abhinavbansal29 added a commit that referenced this pull request Nov 5, 2025
…variable instead of a file (#802)

* All Modules and Tests under Prism namespace

* Tests for Prism

* All modules and tests for LCM namespace

* Ansible lint and sanity fixes

* ansible lint fix

* Ansible lint fix

* Changing example file name

* changing variable name

* minor fix

* Fixing error type in modules docs

* Adding fixes related to error attribute in result

* Adding fixes related to error attribute in response

* updating ntp server fqdn

* Fix module.fail_json arguments

* modifying copyrights and adding docs in helpers

* Updating copyrights

* Updating copyrights

* Updating copyrights

* Resolving comments

* Resolved comments

* Resolving comments

* minor fix in variable name

* minor fix in variable name

* Added idempotency fix in backup target

* resolving comments

* minor fix in check mode test

* Adding restore PC fixes to take restore point details instead of PC details

* minor fix in clusters test & changing remote pc variable name (#588)

* minor fix in clusters test & changing remote pc variable name

* Update tests/integration/targets/ntnx_recovery_points_v2/tasks/recovery_points.yml

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

---------

Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>

* Resolving comments

* Resolved dev code comments

* Resolving comments

* Adding more delay after installing or uninstalling ngt (#602)

* Added Pulse support in clusters (#589)

* Added Pulse support in clusters

* Adding pulse_status to tests

* Resolving comments

* Resolving comments

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Resolving comments

* Minor fix from comments

* resolving comments

* Resolving comments

* minor fix in comments

* Minix fix in Docs

* minor fix

* minor fixes

* Fixed flake8

* Adding protection policies and protected resources module dev&tests (#591)

* Adding protection policies and protected resources module dev&tests

* Ansible lint, isort fixes
Adding module docs for volume group categories

* Adding protection policies examples with minor fixes

* ansible-lint fix

* Resolving comments

* Removing extra variables from examples

* Fixing error type in modules docs

* Fixing error attribute

* Resolving comments

* Adding fixes related to promote and restore VMs/VGs

* resolving comments & adding delay in test

* Resolving comments & fixing examples

* Resolving comments

* resolving comments

* Adding dummy values

* Resolving dev code

* Minor fix

* minor fixes

---------

Co-authored-by: George Ghawali <george.ghawali@nutanix.com>

* Fixed flake8

* Fix SSH command for cluster CRUD and cluster expanding (#603)

* Fix SSH command for cluster CRUD and cluster expanding

* ansible lint fixes

* Fix file name (backup_restore_object_store)

* enable vms clone

* Adding assertions fixes for LCM tests

* Enabling v4 tests apart from ntnx_gpus_v2 ntnx_lcm_v2 ntnx_prism_v2

* Disabling ntnx_storage_containers_v2 and ntnx_clusters_nodes_v2 tests

* Disabled all the tests except ntnx_protection_policies_v2 ntnx_clusters_and_hosts_v2

* Added data policies and lcm clients in requirements file

* disabled ntnx_clusters_and_hosts_v2 and enabled ntnx_routes_v2

* Enabled only data policies tests

* Enabling ntnx_clusters_and_hosts_v2 and ntnx_protection_policies_v2 for pegasus testing

* Enabling prism tests for pegasus.1 and then pegasus

* Testing deploy PC only

* Testing prism backup tests on Pegasus.1

* Running Deploy PC on Pegasus setup

* Running protection policies tests on pegasus.1 setup

* disabled protection policies and enabled prism

* disabled prism & enable protection policies

* disable protection policies & enable lcm

* Adding ansible lint fixes

* enable prism and disable lcm

* Adding sanity fixes

* isort fix

* isort fix

* sanity fix

* disabled Prism and enabled LCM

* Adding docs fix for issue 389 (#612)

* Adding docs fix for imprv 389

* resolve comments

* Enabling Prism and Disabling LCM

* Adding fix for restorable domain manager info module to take total number of restorable domain managers

* black & flake8 fix

* code refactoring

* black fix

* sanity fix

* black fix

* sanity fix

* resolving comments

* Fetching restorable domain manager with filter

* Adding orderby in list all restore points to take the latest restore point (#616)

* Running pc backup tests on pegasus setup

* fix variable name

* Enabled ntnx_storage_containers_v2 and disabled ntnx_prism_v2

* Enabled PC tests and disabled storage containers

* Enabled only deploy PC tests

* Disabled Prism tests and enabled lcm

* disable LCM and enable cluster ntnx_clusters_nodes_v2

* add debug statement for testing

* remove no_log flag

* adding no log flag

* Enabling only PC restore and disabling ntnx_clusters_nodes_v2

* Disable restore PC and enable V3 modules:
ntnx_acps
ntnx_acps_info
ntnx_address_groups
ntnx_address_groups_info
ntnx_categories
ntnx_categories_info
ntnx_clusters_info
ntnx_hosts_info
ntnx_image_placement_policies_info
ntnx_image_placement_policy
ntnx_images
ntnx_images_info
ntnx_ova
ntnx_permissions_info
ntnx_roles
ntnx_roles_info
ntnx_service_groups
ntnx_service_groups_info
ntnx_static_routes
ntnx_static_routes_info
ntnx_user_groups
ntnx_users_info
nutanix_floating_ips
nutanix_floating_ips_info
nutanix_pbrs
nutanix_pbrs_info
nutanix_subnets
nutanix_subnets_info
nutanix_vms_info
nutanix_vpcs
nutanix_vpcs_info
ntnx_security_rules_info
ntnx_vms_clone
nutanix_vms
ntnx_users

* enable only ntnx_projects and ntnx_projects_info

* Adding object storage management dev code

* Adding code fixes & tests

* code fixes & adding tests for create/get certificate

* Adding tests for update operation

* adding minor fix in code

* Adding fixes in dev&tests

* Adding examples, fixes in code/docs/tests

* Adding fixes in code&examples

* Adding pathlib to req file

* Adding sanity fix

* isort and sanity fix

* import pathlib instead of pathlib2

* Sanity fixes

* sanity fix

* isort fix

* flake8 fix

* minor fix in dev code

* sanity fix

* minor fix

* Resolving comments

* Adding check mode to delete object store and create certificate

* ansible lint fix

* black fix & updating versions in req files

* remove deleting bucket and object store from examples

* resolving comments

* ansible lint fix

* ansible lint fix

* resolving comments

* minor fix

* sanity fix

* black fix

* removing metadata from module spec,docs and tests

* All modules for Service Accounts in IAM namespace (#622)

* Dev code for service account

* Minor fixes

* Adding module names in runtime.yml

* Added documentation for the modules

* Fixing Isort

* Docs and test for service accounts

* Test code for service accounts

* Fixing ansible-lint

* enabling service account tests and disabling others

* Resolved Comments

* Fixed black

* Added examples for service accounts

* Fixed ansible lint

* resolved comments

* Resolved comments

* Added checkmode support for delete and revoke API keys

* Minor fix

* Minor fix

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>

* Enabling v4 test files

* Disabled storage containers tests

* Adding fix for deleting user in check mode (#674)

* Disabling all the tests except ntnx_clusters_and_hosts_v2, ntnx_lcm_v2, ntnx_power_actions_v2, ntnx_protection_policies_v2, ntnx_vms_ngt_v2

* Enabling only ntnx_storage_containers_v2 ntnx_vms_ngt_v2 ntnx_power_actions_v2

* Only ntnx_power_actions_v2 is enabled

* Enabling ntnx_prism_v2 tests

* Enabling olny deploy PC tests

* Enabled PC restore and unregister tests

* Enabling ntnx_power_actions_v2 and ntnx_storage_containers_v2, diabling prism tests

* Adding documentation for required variables in tests (#665)

* Adding test variables doc

* Adding sample variable file for all tests

* update variable name in power action test (#676)

* enable only prism to deploy pc

* enable pc deploy and power actions

* enable only power actions

* enable storage container and ngt tests

* enable only V3 tests

* enable only nutanix_vms

* disable nutanix_vms

* Fixing protection policies tests assertions (#679)

* enable only protection policies

* uncomment tests

* Removing extra comments and deleting extra var file

* disable protection policies V2

* enable v2 tests for pegasus except prism

* enable only prism tests

* enable protection policies V2

* Adding extra delay before destroying cluster in protection policies tests

* enable only protection policies V2

* enable prism object store

* enable protection policies only

* enable only prism tests

* enable deploy PC and unregister pcs in prism tests

* enable only object store backup and restore tests in prism

* enable only V1 tests

* enable only
ntnx_images_info ntnx_projects ntnx_projects_info nutanix_vms

* enable only ntnx_projects

* enable protection policies v2

* fix Cycode issue

* change api_key value with random one

* remove api key value

* enable v3 tests

* enable only ntnx_protection_policies_v2

* enable ntnx_hosts_info

* disable all tests

* Ansible lint fixes for examples (#681)

* Adding ansible lint fixes for examples

* adding more ansible lint fixes

* more ansible lint fixes

* adding ansible lint fixes

* All modules dev, tests and examples for OVA in VMM namespace (#711)

* Dev, Tests and Examples for Ovas

* Addressing comments and ansible lint fixes

* Fixing flake8

* Fixing sanity

* Fixing isort

* Enabling ova and users tests

* Minor fix

* Fixing black

* Disabling tests

* Test Improvements in Release 2.3.0 (#682)

* renaming service account tests

* modify many tests to take full test name

* Dev ,Tests and Examples for Password managers in Cluster Management namespace using v4 SDK (#678)

* Dev code for Password manager

* Fixing black and flake8

* Minor fixes and addition of docs with dev test

* Fixing ansible lint

* Tests for Password Manager

* Resolved comments

* Fixing ansible lint and sanity

* Added Examples for Password Managers

* Fixed ansible lint

* Resolved comments

* Minor fix

* Minor fix

* Enabling tests

* Enabling Password manager tests

* Disabling tests

* Adding total available results to all info modules - issue#614 (#703)

* Adding total available results to all info modules

* sanity fix

* adding total_available_results to tests

* Adding total available results for object stores certificates

* Adding total available results to lcm entities

* docs fix

* resolving comments

* resolving comments

* Adding Images V2 examples (#712)

* Adding images examples

* remove IPs and credentials

* set variables

* resolving comments

* Create images and ovas using object lite source - release/2.3.0 (#708)

* Adding tests for creating images and ova with object store

* Ansible lint fixes

* ansible lint fixes

* sanity fix

* minor fixes

* minor fix

* variable name fix

* adding images and ovas tests in different playbooks

* change variable name in update objects

* enable update objects

* Fixing ansible-lint

* Adding Dev & Tests for VM Disk Migration - Imprv/issue#636 (#730)

* Adding dev&tests for VM disk migration

* black & flake fixes

* Sanity & ansible lint fixes

* ansible lint fix

* resolving comments

* sanity fix

* enable migrate tests

* disable migrate tests

* Adding general improvements (#743)

* Dev, Docs, Examples and Tests for getting details of PC tasks and Aborting a task (#737)

* Dev code PC tasks

* Adding Docs and tests for tasks in PC

* black, flake8 and lint fixes

* Fixing ansible lint

* Removing debug statements

* Adding Examples for prism tasks

* Fixing ansible lint

* Enabling pc tasks tests

* Disabling pc tasks tests

* Addressed Comments

* Minor fix

* Enabling tests

* Disabling tests

* Enabling only state as present and disabling any other states in some modules (#748)

* Enabling only state as present and disabling any other states in some modules

* Resolving comments

* sanity fix in ova

* enable V2 tests except prism

* enable only objects v2 tests

* adding awscli to req files

* update awscli version awscli

* Minor fix in documentation

* minor fix in objects ovas

* enable vms ovas tests

* minor fix in ovas objects

* enable V3 tests

* enable only projects tests

* enable prism tests only

* enable V2 tests

* disable all tetsts

* Password Manager fixes in release 2.3.0 (#758)

* Adding fix for password managers

* minor fix

* minor fix

* Enabling password manager tests

---------

Co-authored-by: Abhinav Bansal <abhinav.bansal1@nutanix.com>

* enable objects tests

* Adding small delay after Creating image using object lite source

* spelling correction fix

* enable only deploy PC in prism

* enable prism tests

* minor fix in inventory tests cfg file

* Removing unwanted packages and adding cap to nutanix sdks (#796)

* Removing unwanted packages and adding cap to nutanix sdks

* Changing the correct requirements.txt

* Changing path of requirements in flake8 file

* Adding a new line at the end of the file as per comment

* Adding fix to provide sysprep or cloud-init to module ntnx_vms via a variable instead of a file

* sanity and lint fixes

* resolving comments

---------

Co-authored-by: abhinavbansal29 <abhinav.bansal1@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Co-authored-by: Abhinav Bansal <abhinav.bansal1@abhinav-bansal1.r8.ubvm.nutanix.com>
Co-authored-by: Abhinav Bansal <abhinavbansal349@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants