fuel-docs/userdocs/fuel-user-guide/cli/cli_environment.rst

1.3 KiB

Environment commands

The following table describes environment management commands available in the Fuel CLI.

Environment commands
Description Command Example
View the list of environments. fuel env

Create an environment.

fuel env create --name <ENV_NAME> --rel <RELEASE_NUMBER>

By default, Fuel creates an OpenStack environment in the multinode mode, and the nova network mode. To specify other modes, you can add optional arguments:

fuel env create --name <ENV_NAME> --rel <RELEASE_NUMBER> \
--mode ha --network-mode neutron --net-segment-type vlan

Use the set action to change the name, mode, or network mode for an OpenStack environment:

fuel --env <ENV_ID> env set --name <NEW_ENV_NAME> --mode ha_compact
Delete an OpenStack environment. fuel --env <ENV_ID> env delete
Update the OpenStack environment to a newer version. To roll back a failed update, use the same command with the previous release number. fuel env --update --env <ENV_ID> --rel <RELEASE_NUMBER>