A plugin providing chatbot capabilities for Nautobot
Project description
nautobot-chatops
A multi-platform ChatOps bot plugin for Nautobot.
- Support for multiple chat platforms (currently Slack, Microsoft Teams, and WebEx Teams)
- Write a command once and run it on every supported platform, including rich content formatting
- Extensible - other Nautobot plugins can provide additional commands which will be dynamically discovered.
- Automatic generation of basic help menus (accessed via
help
,/command help
, or/command sub-command help
) - Metrics of command usage via the
nautobot_capacity_metrics
plugin.
Installation
The plugin is available as a Python package in pypi and can be installed with pip
pip install nautobot-chatops
The plugin is compatible with Nautobot 1.0.0beta1 and higher
Once installed, the plugin needs to be enabled in your nautobot_config.py
# In your nautobot_config.py
PLUGINS = ["nautobot_chatops"]
PLUGINS_CONFIG = {
"nautobot_chatops": {
# ADD YOUR SETTINGS HERE
}
}
Nautobot supports Slack
, MS Teams
and Webex Teams
as backends but by default all of them are disabled. You need to explicitly enable the chat platform(s) that you want to use in the PLUGINS_CONFIG
with one or more of enable_slack
, enable_ms_teams
or enable_webex_teams
.
The plugin behavior can be controlled with the following list of general settings:
Configuration Setting | Description | Mandatory? | Default |
---|---|---|---|
delete_input_on_submission |
After prompting the user for additional inputs, delete the input prompt from the chat history | No | False |
For details on the platform-specific settings needed to enable Nautobot for the chat platform(s) of your choice, refer to the documentation.
Documentation
Contributing
Thank you for your interest in helping to improve Nautobot! Refer to the contributing guidelines for details.
Questions
For any questions or comments, please check the FAQ first and feel free to swing by the Network to Code slack channel (channel #nautobot). Sign up here
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
Built Distribution
File details
Details for the file nautobot-chatops-1.0.0.tar.gz
.
File metadata
- Download URL: nautobot-chatops-1.0.0.tar.gz
- Upload date:
- Size: 68.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.7 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90d38f78e98079f99fbd83536f1c83fb0ca8c6940b4cd2cc2154a508940a85d9 |
|
MD5 | 56afbf8b65419e3dc15234f67e16a4e8 |
|
BLAKE2b-256 | 85a090efae02ce135e68dce18a4ec0b249c4a16456359c17aa6d9ef3f749952d |
File details
Details for the file nautobot_chatops-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nautobot_chatops-1.0.0-py3-none-any.whl
- Upload date:
- Size: 92.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.7 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6872249faeb1accfe7d7e4f0b2b58f36c161746fca228ee00948fb03e633da52 |
|
MD5 | e84293c8b81ea8bf279914c270b3699b |
|
BLAKE2b-256 | 225f4b02d22c370da535154788065beefd9b36a91255585472817233024c757e |