CloudGenix Slackbot (Preview)
CloudGenix AppFabric plugin functions for lins05/slackbot.
Synopsis
Slackbot for CloudGenix Items.
Features
Create a bot, ask it about your network. Details/examples to be added. Ask your bot @botname help
Requirements
- Active CloudGenix Account
- Python >=3.6
- Python modules:
- Slackbot - https://github.com/lins05/slackbot
- CloudGenix Python SDK >= 5.2.1b1 - https://github.com/CloudGenix/sdk-python
- Tabulate - https://github.com/astanin/python-tabulate
- IDNA - https://github.com/kjd/idna
- FuzzyWuzzy - https://github.com/seatgeek/fuzzywuzzy
- Pandas - https://pandas.pydata.org/
License
MIT
Installation:
-
PIP:
pip install slackbot-cloudgenix
. After install, configure the following:- Copy
slackbot_settings.py.example
toslackbot_settings.py
, and edit/fill out. - Run
python3 ./run_bot.py
- Send
@your_bot_name help
message to bot on slack, try out the commands.
- Copy
Examples of usage:
Aaron Edwards 10:21 PM
@cloudgenix_bot show sites
✅
CloudGenix BotAPP 10:21 PM
@aaron:
Name Admin State Tags Domain
---------------------- ------------- ------------- -------------------
Chicago Branch 2 active AUTO-zscaler East Coast Branches
New York Branch 1 active Prisma_Access East Coast Branches
San Francisco DC 1 active
Seattle Branch 3 active West Coast Branches
Washington D.C. - DC 2 active
Caveats and known issues:
- This is a PREVIEW release, hiccups to be expected. Please file issues on Github for any problems.
Version
Version | Build | Changes |
---|---|---|
0.5.0 | b1 | Initial Release |
0.0.1 | b1 | Placeholder Release |