TagScripting

vRealize Network Insight 3.8 – What’s new in the API?

One of my favorite products has just dropped a new version. vRealize Network Insight 3.8 (vRNI) has just hit the downloads and has a bunch of cool new stuff.

vRNI 3.6 introduced a public API with which you can do most of the day-2 operations. vRNI 3.7 didn’t bring any changes to the API, but 3.8 does. Below are the changes in the API version 1.1.0.

Fetching info in bulk

Version 1.0.0 had endpoints to grab information from entities (VMs, hosts, firewall rules, etc), but it was a bit tedious. You had to request a paged list of entities … Read more

Using PowerNSX to get all routes on NSX Edges

This is going to be a short one! I received an interesting question from Sander Martijn about retrieving all IP routes from an NSX Edge. There is no API endpoint available in NSX to get the current routes and the only way this information can get retrieved is using the NSX Central CLI. You can easily see all routes on the Central CLI by using the command: show edge edge-id ip route.

PowerNSX has an Invoke-NsxCli cmdlet which executes the Central CLI with a specific query. Because of this, you can retrieve the routes with a PowerShell script and … Read more

Storing the VMware NSX config in version control

Almost any organization that I’ve had the pleasure of talking with, uses Git either for code repositories where their developers work or for doing version control on their infrastructure systems. Git is an excellent version control tool and is widely used for both developers and also infrastructure configuration. This post goes into how to put the VMware NSX configuration into version control using Git.

Not all infrastructure components (server systems, network devices, etc) have a proper audit log on what happens in the configuration and who is doing what exactly. This is where version control can lend a helping hand … Read more

PowervRNI is now on PowerShell Gallery

PowerShell is about making things easy and consumable. Same goes for PowervRNI, making repetitive tasks in vRealize Network Insight easier and make it possible to extract information from vRNI.

It’s not that easy to load a custom module into PowerShell though, you have to download 1 or 2 files, then load it into your PowerShell session by referencing those local files. The PowerShell Gallery is a pretty awesome way to also make module management very easy. All you have to do is use the Install-Module command and it downloads and installs the module for you.

For the module authors, … Read more

Using PowervRNI to Quickly Add Applications

This is the second post in a series on how to use PowervRNI to manage Applications within your vRealize Network Insight environment. If you’d like to learn about managing Data Sources with PowervRNI, check here.

Applications

Introduced in vRealize Network Insight 3.2 in the begin of 2017, Applications are logical containers which can contain the structure of applications (including tiering). You can use these application containers to better visualize what network flows are going between specific applications or even application tiers. Next to insights into your applications, you can also use it to take a per-application approach to micro-segmentation, … Read more

Using PowervRNI to Quickly Add Data Sources

This is the first post in a series on how to use PowervRNI to manage your vRealize Network Insight environment. Starting with Data Sources.

Data Sources

Brief background; data sources in vRNI are endpoints from which vRNI retrieves information from. Examples are: vCenter, NSX, Switches, Routers, Firewalls, an AWS account or converged infrastructure systems like Cisco UCS or HP OneView.

Adding data sources is usually only performed when vRNI is installed into the environment and every time a new endpoint is added to your environment (for example a new vCenter environment, or when a new switch is plugged in).… Read more

Introducing PowervRNI

I am excited to introduce PowervRNI to the world! In the 3.6 release of vRealize Network Insight (vRNI) in November, there was a public API added. Through this API, you can offload certain tedious tasks like creating applications and managing data sources. I was using the private API for a couple of things already, like importing data sources. With the release of the public API, I could move those things to use the public (and supported) API. Ever since then, I’ve been working on PowervRNI.

PowervRNI

The first release of PowervRNI is on GitHub here. With this … Read more

© 2018 Lostdomain

Theme by Anders NorénUp ↑