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.
The following table describes network group management commands available in the Fuel CLI.
Description | Command | Example |
---|---|---|
List all available network groups. | fuel network-group |
|
List network groups in a particular node group. | fuel network-group --node-group <GROUP_ID> |
fuel network-group --node-group 1
|
Create a new network group. Variables:
|
fuel network-group --create --node-group <NODE_GROUP_ID> --name \
<NAME> --release <RELEASE_ID> --vlan <VLAN_ID> --cidr <CIDR> --gateway \
<GATEWAY_IP> --meta <META_INFO> |
fuel network-group --create --node-group 2 --name "new network" \
--release 2 --vlan 100 --cidr 10.0.0.0/24 --gateway 10.0.0.1 \
--meta 'meta information in JSON format'
|
Set parameters for a network group. Variables:
|
fuel network-group --set --network <ID> --<PARAMETER> <NEW_VALUE> |
fuel network-group --set --network 1 --name new_name
|
Delete a network group. | fuel network-group --delete --network <GROUP_ID> |
Delete a single network group: fuel network-group --delete --network 1
Delete multiple network groups: fuel network-group --delete --network 2,3,4
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.