Caution
The Fuel command-line interface has been updated. Although old
fuel
commands are still available, we recommend that you use
the new fuel2
commands instead. See
the Fuel CLI commands comparison matrix.
Fuel CLI implements standard CRUD for operations on a node role. The following table describes the role management commands available in the Fuel CLI.
Description | Command | Example |
---|---|---|
List roles. | fuel role --rel <release_id> |
fuel role --rel 2
System response: name | id
--------------|---
controller | 9
compute | 10
cinder | 11
cinder-vmware | 12
ceph-osd | 13
mongo | 14
zabbix-server | 15
base-os | 16
|
Create a new role from the .yaml file. |
fuel role --rel <2> --create --file <file.yaml> |
|
Update the role data | fuel role --rel <release_id> --update --file <file> |
fuel role --rel <2> --update --file <swift.yaml>
|
Delete the role. | fuel role --rel <release_id> --delete --role <file> |
fuel role --rel <2> --delete --role <swift>
line 573
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.