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>

Get OpenStack Networking Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.