This chatbot currently supporting OpenStack, can be used in software defined infrastructure such as an OpenStack cloud, Kubernetes to create, delete, list cloud resources by typing commands in plain English as a chat messages to the chat bot. It understands the English and converts into respective OpenStack client commands.
The main idea here to reduce the complexity in using an OpenStack cloud for novices and experts alike. No need to remember all those pesky command line words and the confusing Horizon dashboard. Just chat away your cloud needs to this bot. It will do it for you.
-
Clone repo.
git clone https://github.com/nakuldahiwade/Assistant-for-Software-Defined-Infrastructure.git
-
Edit endpoint.conf to add OpenStack Keystone endpoint IP.
-
Create Virtual Environment.
virtualenv venv
-
Source it.
source venv/bin/activate/
-
Install requirements.txt.
cd OpenStack-Hackathon-OSIC; pip install -r requirements.txt
-
For deployment, add private key with name
deploy_key.pem
in/home/ubuntu/
to deploy another OpenStack cloud on another server. The other server should be SSH'able using thedeploy_key.pem
. -
Run the API server.
python api.py
-
Open the API IP/URL in web brower by going to
http://<IP>:8081
to see a login page. Login with OpenStack credentials. -
Now you have an assistant waiting to recieve your commands. Just chat with it and it will reply back.