Copyright © 2020 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: MIT
NSX Power Operations is a platform that provides NSX users a way to document and healthcheck their VMware NSX-T environment. Through a series of python scripts, you have the ability to output healthchecks to the terminal or output documentation option in Microsoft Excel format that are easily consumable and referable. The documentation not only captures the Desired State (configuration) but also the Realized State (for example: routing & forwarding tables) across the distributed environment.
Current version: Supports NSX-T 3.x API (December 2020)
NSX-T PowerOps does not perform any ESXi Commands to retrieve data.
NSX-T PowerOps authenticates to NSX-T Manager only
NSX-T PowerOps Master branch is for PowerOps-CLI (see below for PowerOps-UI)
For the UI Version of NSX-T PowerOps, please go to: https://github.com/vmware/nsx-powerops/tree/NSX-T-PowerOps-UI
The easiest method to build and run NSX-T PowerOps is to download the nsxt-powerops ova:
https://drive.google.com/file/d/1VMFGne92ygtY6vhYXACy5_pXti1EuW3N/view?usp=sharing
Once deployed, login to the powerops VM and ensure you are in /home/powerops
Default Username / Password: powerops/powerops
Git clone the NSX-T-PowerOps repo:
Modify the config.yml with all the relevant information (NSX IP or FQDN, cert path, output folder for XLS files)
Please see 'Optional Pre-Requisite' below for details on Principal Identity certificate authentication
Source 'run_powerops' from /home/powerops/nsx-powerops (source ./run_powerops)
If you prefer a manual installation, you will need to prepare an environment (for example an 'NSX-T PowerOps' Virtual Machine) with the following:
Example installation using Ubuntu 20.04:
If you wish to use PowerOps with a Pricipal Identity Certificate Based user, please create your Principal Identity user in NSX-T and have access to the certificate and key files. Files must be in .crt and .key extension.
To run NSX-T PowerOps:
From /home/powerops git clone the repo (following will clone the master branch of NSX-T PowerOps):
git clone https://github.com/vmware/nsx-powerops.git
Install all python modules used by powerops:
Modify the config.yml with all the relevant information (NSX IP or FQDN, cert path, output folder for XLS files)
Source 'run_powerops' from /home/powerops/nsx-powerops (source ./run_powerops)
The NSX-PowerOps project team welcomes contributions from the community. Before you start working with NSX-PowerOps, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to the Contribution Guidelines.
NSX Power Operations
Copyright 2020 VMware, Inc. All rights reserved
The MIT license (the ìLicenseî) set forth below applies to all parts of the NSX Power Operations project. You may not use this file except in compliance with the License.†
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSX Power Operations
Copyright (c) 2020 VMware, Inc. All Rights Reserved.
This product is licensed to you under the MIT license (the "License"). You may not use this product except in compliance with the MIT License.
This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file.
Dominic Foley (dfoley@vmware.com) and Stephen Sauer (sauers@vmware.com)