O'Reilly logo

OpenStack Networking Essentials by James Denton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A look at our environment

In the previous chapter, we created multiple Neutron networks that launched a series of automated events, including:

  • The creation of network namespaces
  • The startup of DHCP services for each network
  • The connecting of each namespace to the virtual switch
  • The configuration of virtual switch ports

The following commands are useful in seeing how the virtual network infrastructure is represented on the host:

Command

Purpose

ovs-vsctl show

Shows all virtual switches on the host

ovs-vsctl dump-flows <bridge>

Shows the flow rules for the specified bridge

ovs-vsctl add-br <bridge>

Creates a virtual switch

ovs-vsctl add-port <bridge> <interface>

Adds an interface to a virtual switch

ovs-vsctl list-ports <bridge>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required