Follow these guidelines:
Do not use “-y” for package install
When you describe package installation, do not use the -y
option.
Instead, use apt-get install package
, yum install package
, or
zypper install package
.
Use “–option ARGUMENT”
The OpenStack CLI commands such as keystone
support both
--option ARGUMENT
and --option=ARGUMENT
. In technical publications,
use --option ARGUMENT
.
Use ”.” to source script files
When you have to source a script file, for example, a credentials file to
gain access to user-only or admin-only CLI commands, use .
instead of
source
.
Use capital letters with underscores for parameters
When you write parameters in an example command, use capital letters for the parameters, with underscore as a delimiter. For example:
$ openstack user create --project PROJECT_A --password PASSWORD USERNAME
If necessary, describe the parameters immediately after the example
command block. For example, for the PASSWORD
parameter:
Replace ``PASSWORD`` with a suitable password.
Note
Nova exposes both its own API and an EC2-compatible API. Therefore, you can
complete many tasks by using either the nova CLI or euca2ools
.
When documenting euca2ools
, limit the content to the following topics:
euca2ools
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.