Tag: automation

VMware’s NSX: Integrator deploys SDN tech at CBOSS

Along with my colleague and Advizex teammate Chris Miller, I had the pleasure of working with Muhammed Faisal of CBOSS to implement this NSX project. I am very happy that this project was a success and look forward to working with Muhammed, Chris and the rest of my Advizex coworkers on the next phase. VMware’s NSX …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=636

NSX Automation Part 7 – Ubuntu OVA

In parts 1-6 of this series, we looked at how to work with curl and the NSX API to do many different tasks.  In this post, we are going to put all of the things we learned in an Ubuntu OVA that we can use to do some basic NSX API configurations.   The software: …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=554

NSX Automation Part 6 – Delete Logical Switches

In part 5 of this series, we looked at how to remove LIFs from an existing DLR.  In this post, we will look at removing Logical Switches or VXLANs from NSX.   From the API Guide: Delete a VXLAN Virtual Wire You can delete a VXLAN virtual Wire. Example 6-26. Delete virtual wire Request: DELETE https://<vsm-ip>/api/2.0/vdn/virtualwires/virtualWireID   …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=529

NSX Automation Part 5 – Delete LIFs on an Existing DLR

In part 4 of this series, we looked at how to add LIFs to an existing DLR.  In this post, we will look at removing LIFs from a DLR.  The process of deleting LIFs is much simpler than adding LIFs and we will cover it pretty quickly.   From the API Guide: Delete Interfaces Deletes …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=519

NSX Automation Part 4 – Attach LIFs to an Existing DLR

To create a DLR is not the most time consuming task and frankly, if you are only creating 2 or 3, doing it through the GUI is faster than trying to automate it.  What is very time consuming though is the task of attaching Logical Switches to a DLR (LIFs or SVIs).  A DLR might …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=489

NSX Automation Part 3 – Create CSV from Existing Logical Switches Partial Data

In part 2 of this series, we looked at how to extract all  the information for the Logical Switches from NSX manager.  There are some instances where we might want to extract certain fields.  This post shows how to get certain fields for the Logical Switches from the NSX manager and put it in a CSV …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=469

NSX Automation Part 2 – Create CSV from Existing Logical Switches

In order to manipulate existing Logical Switches, we will need to gather all the information for those Logical Switches.  This post shows how to get that data from the NSX manager and put it in a CSV file.  We will massage that file in later posts for other uses.   Items required: curl python python …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=476

NSX Automation Part 1 – Create Logical Switches from CSV

NSX is a great technology and automating it with the REST API allows us to quickly provision networking.  Here is a sample on how to create Logical Switches from a CSV file:   Contents of CSV file ndaher@ubuntu:~$ cat ls.csv name,description,tenantIdls-1,ls-1 desc,virtual wire tenantls-2,ls-2 desc,virtual wire tenantls-3,ls-3 desc,virtual wire tenantls-4,ls-4 desc,virtual wire tenantls-5,ls-5 desc,virtual wire …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=461