This repository contains code examples for NSX-T. There are vRA, Ansible, Policy API, Terraform, PowerCLI, Java and Python samples.
- To run the Java samples, you will need the NSX-T Java SDK and runtime support, available at the VMware{code} website. See the README.md in the java directory for complete instructions.
- To run the Python samples, you will need the NSX-T Python SDK and runtime support, available at the VMware{code} website. See the README.md in the python directory for complete instructions.
Follow the steps in the java/README.md or python/README.md files.
The API samples have been tested with NSX-T version 2.3. As new releases of NSX-T become available, additional samples will be developed and a new git tag will be created indicating the NSX-T release associated with the samples. You can use "git checkout tag-name" to pull an older release of the samples if you need to.
The nsx-t project team welcomes contributions from the community. Before you start working with nsx-t, 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.