PyU4V has just had a new release, for customers new to REST API and VMAX you’re in a great place as the new release is easier to get started with and documentation has improved (by improved I mean exists). Because of this my blog post will be short with the links and a quick video to show how to install and make a REST call.using one of the pre-built functions.
Welcome to PyU4V’s documentation! — PyU4V 3.0.0 documentation All of the packages functions are documented here along with detailed instructions on how to get going.
Note, there are a few fundamental changes in how the new package is structured which makes scripts written with 2.0 version incompatible. The reasons for doing this will be obvious once you start to work with it, but the net result is better error handling, consistency across functions, and better organisation for future maintenance.
The functions are divided up into categories – common, provisioning, replication, and performance.
- Common covers a few utils and also covers system calls
- Provisioning covers all things provisioning and masking related, and corresponds with the ‘sloprovisioning’ endpoints
- Replication covers local and remote replication
- Performance covers all the performance related calls.
The example scripts used in my previous posts have been converted to use the new library so check those out on https://github.com/ciarams87/PyU4V
Hopefully there is less of a learning curve with this implementation, A big shout out to Ciara Stacke and Michael McAleer who did all the conversion work on this, you guys rock.