Skip to main content

CLI tool to interact with Apache Stratos

Project description

Apache Stratos CLI

Welcome to the Apache Stratos CLI.

The command line interface (CLI) is a powerful tool that clients can use
to communicate with Stratos services. The CLI distribution only includes one
jar file containing all dependent java libraries.

The tenant can use the CLI tool on two separate modes if needed, which
are namely single command line mode and interactive mode.

If the user executes with a command as an argument, the CLI tool
will execute that command and exit with a status code.

However, if there is no command as an argument, the CLI tool will
enter into an interactive mode.

A user will be able to carryout all the following functions via the
CLI, with the exception of registering tenants and viewing logs.

The CLI tool also supports command history and auto-completing features
in the interactive mode.

Configuring CLI Tool
Configuration guide can be found at

usage: stratos [-debug] [-h] [-p <password>] [-trace] [-u <username>]
-debug Enable debug logging
-h,--help Display this help
-p,--password <password> Password
-trace Enable trace logging
-u,--username <username> Username

Available Commands:
create-tenant Add new tenant
list-autoscale-policies List available autoscale policies
subscribe-cartridge Subscribe to a cartridge
exit Exit from Stratos Client Tool
list-available-cartridges List available cartridges
help Help for commands
list-available-partitions List available partitions
deploy-cartridge Add new cartridge deployment
unsubscribe-cartridge Unsubscribe from a subscribed cartridge
list-subscribe-cartridges List subscribed cartridges with details
deploy-partition Add new partition deployment
deploy-autoscaling-policy Add new autoscaling policy deployment
deploy-deployment-policy Add new deployment policy


Any problem with this release can be reported to Apache Stratos mailing list
or in the JIRA issue tracker. If you are sending an email to the mailing
list make sure to add the [Apache Stratos] prefix to the subject.

Mailing list subscription:

Issue Tracker


Thank you for using Apache Stratos!
The Stratos Team

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stratos-1.0.tar.gz (12.7 kB view hashes)

Uploaded source

Built Distribution

stratos-1.0-py2-none-any.whl (18.2 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page