Skip to content

yasensim/nsxt-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name: vmware-nsxt-ansible Repo Name: nsxt-ansible

Repository for vmware-nsxt-ansible VMware OSS Ticket 1136798 with Apache-2 License

PROJECT HAS DECOMMISSION DATE IN WINTER 2018

It is an unofficial code!!!

For usage with NSX-T 2.1 please clone and follow readme in the v2.1 branch.

git clone -b v2.1 https://github.com/yasensim/nsxt-ansible.git

There might be changed in the master branch!

Getting started

I assume you already have ansible installed. Connecting VMs to NSX-T Logical Switches is supported from Ansible 2.6. Anyway, using the modules in this repo is also possible with eralier versions. ansible/ansible#37979

Download nsxt python sdk and vapi from here https://my.vmware.com/web/vmware/details?downloadGroup=NSX-T-220-SDK-PYTHON&productId=673

You should have the following files locally:

nsx_python_sdk-2.2.0.0.0.8360417-py2.py3-none-any.whl
vapi_common-2.9.0-py2.py3-none-any.whl
vapi_common_client-2.9.0-py2.py3-none-any.whl
vapi_runtime-2.9.0-py2.py3-none-any.whl

Install the dependancies and the required packages.

apt-get -y update
apt-get -y install python-pip openssl libxml2 libxml2-dev libxslt1-dev libssl-dev libffi-dev python-dev build-essential

pip install --upgrade pip wheel setuptools 
pip install --upgrade lxml enum cffi
pip install --upgrade cryptography pyopenssl enum34

pip install nsx_python_sdk-2.2.0.0.0.8360417-py2.py3-none-any.whl
pip install vapi_common-2.9.0-py2.py3-none-any.whl
pip install vapi_common_client-2.9.0-py2.py3-none-any.whl
pip install vapi_runtime-2.9.0-py2.py3-none-any.whl
git clone https://github.com/yasensim/nsxt-ansible.git

About

vmware-nsxt-ansible

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages