An interactive Bash CLI tool for day‑to‑day OpenStack operations.
This tool helps sysadmins and DevOps engineers handle common OpenStack tasks faster using menus—without typing long CLI commands.
It wraps familiar OpenStack utilities (openstack, nova, cinder) in a clean interactive workflow.
Managing OpenStack via raw CLI can be repetitive and error‑prone.
OpenStack Toolbox simplifies routine operations by guiding the user through prompts and executing the correct OpenStack commands.
It focuses on speed, clarity, and reducing mistakes in everyday tasks.
- Interactive menus for quick operations
- List servers, volumes, images, networks, hypervisors
- Create security groups and add ingress/egress rules
- Attach interfaces to instances
- Boot new instances with optional parameters
- Reset instance/volume states
- Set Windows password
- Simple Bash implementation (no heavy dependencies)
The following tools must be installed:
- bash
- openstack CLI
- nova CLI
- cinder CLI
Also ensure OpenStack environment variables are exported:
OS_AUTH_URLOS_USERNAMEOS_PASSWORDOS_PROJECT_NAMEOS_USER_DOMAIN_NAME(if needed)OS_PROJECT_DOMAIN_NAME(if needed)
Check CLIs:
openstack --version
nova --version
cinder --versionClone the repository:
git clone https://github.com/amirhoseinjafari1/OpenStack-ToolBox.git
cd openstack-toolboxMake the script executable:
chmod +x openstack-cmd.shRun the tool:
./openstack-cmd.shThe script will present a menu and guide you through operations like:
- listing resources
- creating security groups
- adding firewall rules
- booting instances
- attaching interfaces
- resetting states
OpenStack Toolbox currently supports:
-
Server management
- list servers
- show details
- reset state
- set Windows password
-
Volume management
- list volumes
- reset volume state
-
Network operations
- list networks
- attach interface to instance
-
Security groups
- create Security Groups
- add ingress/egress rules
-
Compute resources
- list images, flavors, hypervisors
- boot new instances with options
- Run the toolbox
- Choose operation from menu
- Provide required parameters
- Execute the task
- Verify results in OpenStack
The script is a Bash wrapper that runs standard OpenStack commands such as:
openstack server list
openstack volume list
nova boot ...
cinder reset-state ...This approach keeps everything compatible with your existing OpenStack CLI environment.
. ├── openstack-cmd.sh ├── README.md └── LICENSE
This tool is useful for:
- Everyday OpenStack administration
- Fast repetitive operations
- Reducing CLI errors
- Training new team members
MIT License