Skip to content
Scripts leveraging the delphixpy module to be used in Enterprise Automation (i.e. Jenkins, Travis, SNOW Orchestration, etc)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests
.gitignore
LICENSE
README.md
add_windows_env.py
delphix_admin_setup.py
delphix_snapshot_group_will_plugin.py
delphix_will_plugin.py
dx_authorization.py
dx_delete_vdb.py
dx_environment.py
dx_groups.py
dx_jetstream_container.py
dx_jobs.py
dx_operations.py
dx_provision_dsource.py
dx_provision_vdb.py
dx_refresh_db.py
dx_refresh_vdb.py
dx_replication.py
dx_rewind_vdb.py
dx_skel.py
dx_snapshot_db.py
dx_update_env.py
dx_users.py
dxtools.conf
engine_network_assignment
engine_network_assignment.py
engine_setup.py
find_missing_archivelogs.py
get_engine_pub_key.py
js_bookmark.py
js_branch.py
js_container.py
js_template.py
list_all_databases.py
requirements.txt
simple_snapshot.py
snapshot_group.py
trigger_replication.py
via_httplib.py

README.md

delphixpy-examples

These are some example python scripts I put together to serve as examples for those getting started with Delphix the delphixpy python module.

Thanks

First, a lot of thanks to Corey Brune (@mcbrune) for all of his contributions that make this spaghetti look decent.

Wait... What's Delphix?

In the most simplest answer, Delphix is an awesome software that allows you to provision full multi-terabyte databases and applications in minutes. It is far more than that, but that's why Google and this blog exist.

What is delphixpy?

delphixpy is a python module created by Delphix to enable users to directly invoke the Delphix API via python.

Where can I get delphixpy?

delphixpy is available on PyPy, so you can install it by invoking pip

pip install delphixpy

How do I use these examples?

Clone this repository to your system where python is installed. Then install the pip packages in the requirements.txt file:

pip install --upgrade -r requirements.txt

Once that is complete, you are ready to use the scripts with your Delphix environment. Each of the scripts have POSIX compliant help. The options are also explained along with examples. I am going to explain more on these scripts in my blog and on the Delphix community page

Something neat worth noting

Each of the scripts leverage docopt, which is a great module for parsing POSIX compliant help documentation as arguments. It's really awesome.

Contribute

All contributors are required to sign the Delphix Contributor Agreement prior to contributing code to an open source repository. This process is handled automatically by cla-assistant. Simply open a pull request and a bot will automatically check to see if you have signed the latest agreement. If not, you will be prompted to do so as part of the pull request process.

This project operates under the Delphix Code of Conduct. By participating in this project you agree to abide by its terms.

Statement of Support

This software is provided as-is, without warranty of any kind or commercial support through Delphix. See the associated license for additional details. Questions, issues, feature requests, and contributions should be directed to the community as outlined in the Delphix Community Guidelines.

License

This is code is licensed under the Apache License 2.0. Full license is available here.

You can’t perform that action at this time.