Cisco Catalyst 9000 with Thousand Eyes agents
Project description
cat9kthousandeyesctl
Deploy Cisco Thousand Eyes agent on Cisco Catalyst 9000
cat9kthousandeyesctl deploy -c config.yaml
Deploying Thousand Eyes Agents
100.118.1.71: Thousand Eyes Agent Deployed: 100%|█████████████████████████████| 9/9 [07:42<00:00, 57.82s/it]
100.118.1.69: Thousand Eyes Agent Deployed: 100%|█████████████████████████████| 9/9 [02:14<00:00, 16.77s/it]
100.118.1.81: Thousand Eyes Agent Deployed: 100%|█████████████████████████████| 9/9 [02:45<00:00, 20.69s/it]
Prerequisites
- Network connectivity
- Internet
- DNS
- DHCP
- Cisco Thousand Eyes Account
- Token
- Cisco Catalyst 9000
- C9300
- C9400
- Cisco IOS-XE Software
- 17.3.3+
netconf-yang
enabled- Python 3
- Version: 3.7+
Installation
Python Package Index (PyPI)
pip install cat9kthousandeyesctl
cat9kthousandeyesctl --help
Config
Download config.yaml sample config
Deploy
cat9kthousandeyesctl deploy --config config.yaml
Undeploy (remove)
cat9kthousandeyesctl undeploy --config config.yaml
Features
Include a succinct summary of the features/capabilities of your project.
- Deploy
- Undeploy
- YAML Config
- VLAN
- Agent Download URL
- Interactive mode (prompt)
Technologies & Frameworks Used
Cisco Products & Services:
- Cisco Catalyst 9000
- Cisco Thousand Eyes
Tools & Frameworks:
- Python
- click
- ncclient
- tqdm
- Docker
Usage
Usage: cat9kthousandeyesctl [OPTIONS] COMMAND [ARGS]...
Manage Thousand Eyes Agent on Catalyst 9000
Options:
--version Show the version and exit.
--debug Enable logging
--help Show this message and exit.
Commands:
deploy Deploy Thousand Eyes Agent
interactive Interactive TTY mode
undeploy Remove Thousand Eyes Agent
Config
# Netconf Settings
username: admin
password: password
port: 830
timeout: 600
# Thousand Eyes Agent Settings
download_url: https://downloads.thousandeyes.com/enterprise-agent/thousandeyes-enterprise-agent-3.0.cat9k.tar
appid: thousandeyes_enterprise_agent
vlan: 1
token: thousand_eyes_token
# Devices to manage
hosts:
192.168.1.1:
192.168.1.2:
vlan: 100 # Override global vlan
10.0.0.1:
vlan: 200
10.0.0.2:
vlan: 200
Authors & Maintainers
- Robert Csapo rcsapo@cisco.com
License
This project is licensed to you under the terms of the Cisco Sample Code License.
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
cat9kthousandeyesctl-0.0.1.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for cat9kthousandeyesctl-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cbea68bf0f85d2e1165921d64f898ebded247f1a6e90d953c7f182222d4c82a |
|
MD5 | 8fb94257265d17d3ce3e516bce282100 |
|
BLAKE2b-256 | 8ad12b9ede354f5440ff5f9eeec2530ab2d257c1c91d8c869317935cf4089f8d |
Close
Hashes for cat9kthousandeyesctl-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a32e72a26cc5a913243a1212829eefa1e150931b65c1fbd42cb8bec3585c02 |
|
MD5 | ab085e7c1ac9099e78b270c43353a53a |
|
BLAKE2b-256 | 9af3377f70d76ca84c4537d1159a7def3988ce16091f62d79d762331096a30ab |