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, ...

Get OpenStack Networking Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.