Managing routers with the Neutron client

The Neutron command-line client provides additional functionality not found in the Horizon dashboard, including the ability to specify the type of router to create.

Creating and listing routers

Listing networks with the Neutron client is as easy as using the neutron router-list command, shown here:

Creating and listing routers

Running the router-list command as an administrator will return all routers known to Neutron, while running the command as an ordinary user will only return routers associated with the user's tenant or project. As an example, let's authenticate as the demo user and run the same command to see what is returned:

As expected, ...

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.