Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenStack Networking Essentials

You're reading from   OpenStack Networking Essentials Build and manage networks in OpenStack using Neutron

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher Packt
ISBN-13 9781785283277
Length 174 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
James Denton James Denton
Author Profile Icon James Denton
James Denton
Derek Chamorro Derek Chamorro
Author Profile Icon Derek Chamorro
Derek Chamorro
Arrow right icon
View More author details
Toc

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:

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, no routers were returned. Routers, like other OpenStack resources, are associated with a single tenant or project and can only be viewed or managed by the respective users of those projects or by administrators.

Creating a router

Creating a router with the Neutron client can be accomplished with the neutron router-create command. In this example...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime