The F5 CLI provides a command-line interface (CLI) to various F5 products and services. It focuses primarily on facilitating consuming our most popular APIs and services, currently including BIG-IP (via Automation Tool Chain) and F5 Cloud Services.
Similar to other popular cloud shells, it is built on a python client library. For those looking to write custom automation scripts or workloads, one may choose to leverage the same python library it is built on (https://github.com/f5devcentral/f5-sdk-python).
The F5 CLI is currently in early development and we want to hear from you! To provide feedback on CLI or this documentation, you can file a GitHub Issue.
docker run -it -v "$HOME/.f5_cli:/root/.f5_cli" -v "$(pwd):/f5-cli" f5devcentral/f5-cli:latest /bin/bash
alias f5='docker run -it -v "$HOME/.f5_cli:/root/.f5_cli" -v "$(pwd):/f5-cli" f5devcentral/f5-cli:latest f5'
Another shortcut to launch f5-cli is to create a file containing the following content in your system's PATH (ex. cat /usr/local/bin/f5 ).
#!/usr/bin bash
docker run -it --rm -e "F5_SDK_LOG_LEVEL=INFO" -e "F5_DISABLE_SSL_WARNINGS=true" -v "$HOME/.f5_cli:/root/.f5_cli" -v "$(pwd):/f5-cli" f5devcentral/f5-cli:latest f5 $@
f5 bigip extension as3 create --declaration as3.json
docker build -t f5-cli:latest .
Content type
Image
Digest
Size
220.8 MB
Last updated
over 6 years ago
docker pull f5devcentral/f5-cli