Getting started with the Delphix python module
Delphix Express is no longer offered, but these examples will work with your Delphix installation
In short, delphixpy is a way to call the Delphix API from within python so that you can leverage all that object oriented goodness that python provides. This also allows you to treat json as dictionaries and many other powerful things of python. I have posted three common examples for DevOps, CI/CD, and Enterprise Automation shops and did try to meticulously comment them. I have recorded an intro video where I walk you through getting your Landshark environment setup to run the scripts and run the examples against a Landshark environment so that you can easily follow along where ever you are.
There will be much more information to come very soon, we are just getting started!
You can get my examples from GitHub here
You can post questions, etc on the Delphix Community Site here
Landshark and Delphix Express download and setup instructions here
Summary of preparation commands:
- ssh into the Landshark LinuxTarget as the delphix user.
- assume root: su –
- yum install git -y
- pip install virtualenv
- exit root (you should now be the delphix user again)
- git clone https://github.com/CloudSurgeon/delphixpy-examples
- virtualenv –system-site-packages ~/landshark
- source ~/landshark/bin/activate
- pip install –upgrade -r ~/delphixpy-examples/requirements.txt
Recent Comments