Using the Neutron client
Neutron provides a command-line client for interfacing with its API. It is typically installed as part of the OpenStack distribution.
Note
The Neutron client can also be installed on your local workstation, provided you have a supported operating system. For more information on installing the client locally, refer to the OpenStack documentation at http://docs.openstack.org/user-guide/common/cli_install_openstack_command_line_clients.html.
When authenticated, Neutron commands can be run directly from the Linux command line, or the Neutron shell can be invoked by issuing the neutron
command, like this:
[root@allinone ~(keystone_admin)]# neutron (neutron)
The neutron shell
provides commands that can be used to create, read, update, and delete the networking configuration within the OpenStack cloud. By typing ?
or help
within the Neutron shell, a list of commands available within the client can be found, as shown here:
Running the neutron help
command from the Linux command...