This project is an unofficial project because NSX-T editor (Vmware) currently don't provide ansible modules to interact with new nsx-t api policy.
This repository contains NSX-T Ansible Modules, which one can use with Ansible to work with VMware NSX-T Data Center.
For general information about Ansible, visit the GitHub project page.
These modules are maintained by Forterro.
Documentation on the NSX platform can be found at the NSX-T Documentation page
The modules in this repository are focused on enabling automation of installation workflows of NSX-T with new API formely called policy.
To be updated when first release will be available
- nsxt_policy_edgeclusters_facts
- nsxt_policy_edges_facts
- nsxt_policy_inventory_groups
- nsxt_policy_inventory_groups_facts
- nsxt_policy_ipblock_facts
- nsxt_policy_ipblocks
- nsxt_policy_ippools
- nsxt_policy_ippools_facts
- nsxt_policy_ippools_static_subnets
- nsxt_policy_ippools_static_subnets_facts
- nsxt_policy_lb_monitor_profiles_facts
- nsxt_policy_lb_pools
- nsxt_policy_lb_pools_facts
- nsxt_policy_lb_tcp_monitor_profiles
- nsxt_policy_lb_virtual_servers
- nsxt_policy_lb_virtual_servers_facts
- nsxt_policy_load_balancers
- nsxt_policy_load_balancers_facts
- nsxt_policy_router_locale_services
- nsxt_policy_router_locale_services_facts
- nsxt_policy_router_locale_services_interfaces
- nsxt_policy_router_static_routes
- nsxt_policy_router_static_routes_facts
- nsxt_policy_security_policies
- nsxt_policy_security_policies_facts
- nsxt_policy_segments
- nsxt_policy_segments_facts
- nsxt_policy_segments_ports
- nsxt_policy_segments_ports_facts
- nsxt_policy_segments_security_profiles
- nsxt_policy_segments_security_profiles_facts
- nsxt_policy_tier0s
- nsxt_policy_tier0s_facts
- nsxt_policy_tier1s
- nsxt_policy_tier1s_facts
- nsxt_policy_transport_zones_facts
- nsxt_policy_virtual_machines_tags
We assume that ansible is already installed. These modules support ansible version 2.7 and onwards.
-
PyVmOmi - Python library for vCenter api.
-
OVF Tools - Ovftool is used for ovf deployment.
Install PyVmOmi
pip install --upgrade pyvmomi pyvim requests ssl
Download and Install Ovf tool 4.3 - Ovftool (Note: Using ovftool version 4.0/4.1 causes OVA/OVF deployment failure with Error: cURL error: SSL connect error\nCompleted with errors\n)
Clone ansible-for-nsxt-policy.
To be updated when first release will be available
The following versions of NSX are supported:
- NSX-T 3.2.x
- Ansible 2.9 and above
The forterro/ansible-for-nsxt-policy project team welcomes contributions from the community.
Because this project is based on ansible-for-nsxt we keep rules from vmware github
Before you start working with ansible-for-nsxt-policy, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.
The NSX-T Ansible modules in this repository are community supported. For bugs and feature requests please open a Github Issue and label it appropriately. As this is a community supported solution there is no SLA for resolutions.