Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Viewing a VNI assigned to a Neutron Network


In this recipe, we will see how to view the VNI assigned to a VXLAN-based virtual network. Knowing the VNI that is assigned to a virtual network is very useful to troubleshoot communication problems between the VMs or other network services.

Getting ready

For this recipe, you will need the following information:

  • The SSH login credentials for the node where the Neutron client packages are installed

  • A shell RC file that initializes the environment variables for CLI

How to do it…

The following steps will show you how you can view the VNI using the OpenStack CLI:

  1. Log in to a node with access to OpenStack.

  2. Source your RC file to set up access credentials as an administrator.

  3. You can view all the Networks created using the neutron net-list command:

  4. Use the neutron net-show command to view further details for any network. In case the Network name is not unique, use its ID instead of the name:

We can also achieve the same using Horizon. The steps are as follows:

  1. Log...