Set of command line tools used to interact with Control-M.
Project description
Description
pyctlmbatchtoolbox
is command line wrapper around Control-M REST API. The goal is to provide a developer friendly
command line tool easy to integrate with other tools.
Install
pip install pyctlmbatchtoolbox --upgrade
SRE toolbox included
Most of the tools include list/add/delete operations.
Tools included:
- batch_condition
- batch_connectionprofile
- batch_deploy
- batch_hostgroup
- batch_logs
- batch_status
- batch_token
- batch_order
export CTM_USER=user
export CTM_PASS=***
export CTM_REST_API=https://<<controlm server instance>>:8443/automation-api
export CTM_BATCH_LOG_LEVEL=INFO
batch_order --controlm-server CTMSERVER --folder folder
batch_logs --jobname JOBID
batch_logs --jobname JOBID
batch_condition --action GET --search-criteria 'name=*&server=CTMSERVER'
batch_hostgroup --controlm-server CTMSERVER
batch_hostgroup --controlm-server CTMSERVER --hostgroup HOSTGROUP1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyctlmbatchtoolbox-0.0.4.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for pyctlmbatchtoolbox-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9060eaa6918ba31a8dc97a6825b990013e98175421c72cd9d6ec56a07b903b0 |
|
MD5 | d22b8d3e7f5ecbb91f66e455979605fe |
|
BLAKE2b-256 | 7715518c837a02d4a1831ff07ff6fd2d2467add26315a2b7278786e1e261a4f4 |