Network management in OpenStack
OpenStack can be managed in a variety of ways, including through the Horizon dashboard, the Neutron API, and the OpenStack CLI. A command-line client, provided by the python-openstackclient
package, gives users the ability to execute commands from a shell that interfaces with the Neutron API. To enter the shell, type openstack
in a terminal connected to the controller
node, like so:
root@controller01:~# openstack (openstack)
The openstack
shell features tab completion and a help
command that lists all of the available commands within the shell. Openstack-related commands can also be executed straight from the Linux command line by using the openstack
client like so:
# openstack network list # openstack server create
The client provides a number of commands that assist with the creation, modification, and deletion of networks, subnets, and ports.
Note
The openstack
client is preferred over the neutron
client moving forward, but may not have complete command parity...