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 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.