Recently I got to work with the NSX API and write a tool to do a quick health check of NSX networks.
nsxchecker is a valuable operational tool to quickly report a NSX network’s health. One of the promises of SDN is automated tooling for operational teams and with the NSX API I was quickly able to deliver.
nsxchecker accepts a NSX lswitch UUID or a neutron_net_id. Rackspace’s Neutron plugin, quark, tags created lports with a neutron_net_id. nsxchecker requires administrative access to the NSX controllers.
Neutron itself supports probes but it had a couple of drawbacks:
- It doesn’t work with all implementations
- For a large network, it’s slow
There’s more details in the README on github.