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 …
August 2014 archive
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=529
Aug 26 2014
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 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=519
Aug 26 2014
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 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=489
Aug 26 2014
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 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=469
Aug 26 2014
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 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=476
Aug 25 2014
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 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=461
Aug 21 2014
The Goal is Worth the Journey
On August 5, 2014, I attempted my first VCDX defense on network virtualization in Reston VA. It was a culmination of 4 months of hard work and sleepless nights. I even sent my family away on vacation half way around the world, so I can study and prepare without interruption. During my defense, I was …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=443