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_conditionprofile
- 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.3.tar.gz
(12.9 kB
view hashes)
Built Distribution
Close
Hashes for pyctlmbatchtoolbox-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c31d35cc71caa638812e3eb79ea60ed0a3a56503a386739c805d2433843965 |
|
MD5 | 5b1ac6b7680967910794224386f3c383 |
|
BLAKE2b-256 | b1f5fed148c34fd2627e64a734ee6890ce82606533c04e5b5b559cf2b5ce3959 |